Add more tests of atan.
[glibc.git] / ChangeLog
blobd4181e2782ed9a9d163f5d880ef67223766cdaf5
1 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Add more tests of atan.
4         * math/auto-libm-test-out: Regenerated.
5         * sysdeps/i386/fpu/libm-test-ulps: Update.
6         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8 2015-04-08  Florian Weimer  <fweimer@redhat.com>
10         * elf/pldd.c (main): Rewrite to use struct
11         scratch_buffer instead of extend_alloca.
12         * elf/pldd-xx.c (find_maps): Likewise.
13         * grp/initgroups.c: Include <scratch_buffer.h> instead of
14         <alloca.h>.
15         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
16         scratch_buffer instead of extend_alloca.
17         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
18         grp/compat-initgroups.c.
19         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20         Rewrite to use struct scratch_buffer instead of extend_alloca.
21         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
22         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
24 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
26         * math/auto-libm-test-in: Add more tests of cbrt.
27         * math/auto-libm-test-out: Regenerated.
28         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30         * math/auto-libm-test-in: Add more tests of cabs.
31         * math/auto-libm-test-out: Regenerated.
32         * sysdeps/i386/fpu/libm-test-ulps: Update.
33         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35         [BZ #18210]
36         [BZ #18211]
37         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38         (__ieee754_atan2): Set FE_TONEAREST mode for internal
39         computations.
40         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
41         clog10.
42         * math/auto-libm-test-out: Regenerated.
43         * sysdeps/i386/fpu/libm-test-ulps: Update.
44         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46         [BZ #18197]
47         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
48         (atan): Set FE_TONEAREST mode for internal computations.
49         * math/auto-libm-test-in: Add more tests of atan.
50         * math/auto-libm-test-out: Regenerated.
52 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
54         [BZ #17930]
55         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
57 2015-04-07  Florian Weimer  <fweimer@redhat.com>
59         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
61 2015-04-07  Florian Weimer  <fweimer@redhat.com>
63         * include/scratch_buffer.h: New file.
64         * malloc/scratch_buffer_grow.c: Likewise.
65         * malloc/scratch_buffer_grow_preserve.c: Likewise.
66         * malloc/scratch_buffer_set_array_size.c: Likewise.
67         * malloc/tst-scratch_buffer.c: Likewise.
68         * malloc/Makefile (routines): Add scratch_buffer_grow.
69         (tests): Add test case.
70         * malloc/Versions (GLIBC_PRIVATE): Export
71         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
72         __libc_scratch_buffer_set_array_size.
74 2015-04-06  Richard Henderson  <rth@redhat.com>
76         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
77         * sysdeps/alpha/fpu/libm-test-ulps: Update.
79         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
80         unsigned int before printing.
82 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
84         [BZ #17596]
85         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
86         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
88 2015-04-02  Florian Weimer  <fweimer@redhat.com>
90         * include/libc-internal.h (libc_max_align_t): Define.
92 2015-04-02  Andreas Schwab  <schwab@suse.de>
94         [BZ #16850]
95         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
97 2015-04-02  Mel Gorman  <mgorman@suse.de>
99         [BZ #17195]
100         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
101         as well as the main arena.
103 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
105         [BZ #18185]
106         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
107         sharing L2 cache to 2 for Silvermont/Knights Landing.
109 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
111         [BZ #17711]
112         * config.make.in (have-protected-data): New.
113         * configure.ac: Check linker support for protected data symbol.
114         * configure: Regenerated.
115         * elf/Makefile (modules-names): Add tst-protected1moda and
116         tst-protected1modb if $(have-protected-data) is yes.
117         (tests): Add tst-protected1a and tst-protected1b if
118         $(have-protected-data) is yes.
119         ($(objpfx)tst-protected1a): New.
120         ($(objpfx)tst-protected1b): Likewise.
121         (tst-protected1modb.so-no-z-defs): Likewise.
122         * elf/tst-protected1a.c: New file.
123         * elf/tst-protected1b.c: Likewise.
124         * elf/tst-protected1mod.h: Likewise.
125         * elf/tst-protected1moda.c: Likewise.
126         * elf/tst-protected1modb.c: Likewise.
128 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
130         [BZ #17711]
131         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
132         indicates it is called from do_lookup_x on relocation against
133         protected data, skip the data definion in the executable from
134         copy reloc.
135         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
136         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
137         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
138         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
139         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
140         otherwise to 0.
141         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
142         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
143         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
144         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
145         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
146         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
148 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
150         * sysdeps/nptl/pthread.h: Remove duplicate definition of
151         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
153 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
155         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
156         THREAD_SETMEM_NC.
157         * sysdeps/x86_64/nptl/tls.h: Ditto.
159 2015-03-27  Roland McGrath  <roland@hack.frob.com>
161         * dlfcn/tststatic.c (main): Converted to ...
162         (do_test): ... this.
163         (TEST_FUNCTION): New macro.
164         Include test-skeleton.c.
166 2015-03-26  Alan Modra  <amodra@gmail.com>
168         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
169         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
170         zero for undefined weak.
171         (elf_machine_plt_conflict): Similarly.
173 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
175         * math/auto-libm-test-in: Add more tests of acosh, asinh and
176         atanh.
177         * math/auto-libm-test-out: Regenerated.
178         * sysdeps/i386/fpu/libm-test-ulps: Update.
179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
181         * math/auto-libm-test-in: Add another test of asin.
182         * math/auto-libm-test-out: Regenerated.
183         * sysdeps/i386/fpu/libm-test-ulps: Update.
184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
186         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
187         Remove macro.
188         (LLL_EBX_REG): Likewise.
189         (LLL_ENTER_KERNEL): Likewise.
191         * math/auto-libm-test-in: Add more tests of asin.
192         * math/auto-libm-test-out: Regenerated.
193         * sysdeps/i386/fpu/libm-test-ulps: Update.
194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
196         [BZ #18138]
197         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
198         libc_do_syscall_args): New structure.
199         (INTERNAL_SYSCALL_MAIN_0): New macro.
200         (INTERNAL_SYSCALL_MAIN_1): Likewise.
201         (INTERNAL_SYSCALL_MAIN_2): Likewise.
202         (INTERNAL_SYSCALL_MAIN_3): Likewise.
203         (INTERNAL_SYSCALL_MAIN_4): Likewise.
204         (INTERNAL_SYSCALL_MAIN_5): Likewise.
205         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
206         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
207         Replace conditional definitions by conditional definitions of ....
208         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
209         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
210         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
211         (libpthread-sysdep_routines): Add libc-do-syscall.
212         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
213         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
214         to __NR_futex not 240.
216 2015-03-25  Alan Modra  <amodra@gmail.com>
218         * NEWS: Advertise TLS optimization.
219         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
220         (DT_PPC_NUM): Increment.
221         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
222         (CHECK_STATIC_TLS): Use here.
223         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
224         TLS descriptors.
225         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
226         * sysdeps/powerpc/dl-tls.c: New file.
227         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
228         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
229         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
230         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
235 2015-03-25  Alan Modra  <amodra@gmail.com>
237         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
238         for overlapping .opd entries" to "support...".
239         * sysdeps/powerpc/powerpc64/configure: Regenerate
241 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
243         * math/auto-libm-test-in: Add more tests of acos.
244         * math/auto-libm-test-out: Regenerated.
245         * sysdeps/i386/fpu/libm-test-ulps: Update.
246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
248         * math/auto-libm-test-in: Add more tests of expm1.
249         * math/auto-libm-test-out: Regenerated.
250         * sysdeps/i386/fpu/libm-test-ulps: Update.
251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
253 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
255         * math/auto-libm-test-in: Add more tests of cosh and sinh.
256         * math/auto-libm-test-out: Regenerated.
257         * sysdeps/i386/fpu/libm-test-ulps: Update.
258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
263         * math/auto-libm-test-in: Add more tests of log2.
264         * math/auto-libm-test-out: Regenerated.
265         * sysdeps/i386/fpu/libm-test-ulps: Update.
266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
268 2015-03-23  Roland McGrath  <roland@hack.frob.com>
270         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
271         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
272         _IO_IS_APPENDING bit in READ_WRITE instead.
274 2015-03-23  Florian Weimer  <fweimer@redhat.com>
276         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
277         (__determine_cpumask_size): Replace extend_alloca with a
278         variable-length array.  Do not treat res == 0 as an error.
280 2015-03-23  Florian Weimer  <fweimer@redhat.com>
282         [BZ #18100]
283         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
284         and integer overflow.
285         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
286         (main): Add integer overflow tests.
287         * manual/pattern.texi (Calling Wordexp): Document additional use
288         for WRDE_SYNTAX.
290 2015-03-23  Alan Modra  <amodra@gmail.com>
292         * config.h.in: Remove HAVE_ASM_PPC_REL16.
293         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
294         and false branch of conditional.
295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
296         Likewise.
298 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
300         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
301         libc-modules.h
302         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
303         unused declaration of _hurd_intr_rpc_msg_in_trap.
304         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
305         defined instead of whether it is non-zero.
306         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
307         input constraint instead of both input and output constraint.  Use ecx
308         clobber instead of %ecx.
309         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
310         mutex_unlock): Use a statement expression instead of an expression list.
311         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
312         type to vm_size_t instead of vm_address_t.
313         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
314         defined instead of whether it is non-zero.
315         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
316         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
317         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
318         comparisons with mapaddr.
319         * nscd/nscd-client.h: Include <time.h>.
320         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
321         9th parameter to __vm_region instead of int.
322         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
323         * scripts/check-local-headers.sh (exclude): Add device/,
324         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
325         cthreads.h.
327 2015-03-19  Roland McGrath  <roland@hack.frob.com>
329         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
330         to account for alignment padding.
331         * sysdeps/arm/memmove.S: Likewise.
333 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
335         * sysdeps/unix/sysv/linux/generic/README: New file.
337 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
339         [BZ #18138]
340         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
341         (futex_abstimed_wait)
342         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
343         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
344         of lll_futex_timed_wait.
346 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
348         [BZ #17542]
349         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
351 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
353         [BZ #17090]
354         [BZ #17620]
355         [BZ #17621]
356         [BZ #17628]
357         * NEWS: Update.
358         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
359         entries with Static TLS too.  Skip entries past the end of the
360         allocated DTV, from Alan Modra.
361         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
362         Static TLS DTV entry set up from...
363         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
364         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
365         * nptl/allocatestack.c (init_one_static_tls): ... and here...
366         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
367         for Static TLS.
368         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
369         that the slot we find is associated with the given map before
370         using its generation count.
371         * nptl_db/db_info.c: Include ldsodefs.h.
372         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
373         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
374         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
375         (link_map::l_tls_offset): New struct field.
376         (dtv_t::counter): Likewise.
377         (rtld_global): New struct.
378         (_rtld_global): New rtld variable.
379         (dl_tls_dtv_slotinfo_list): New rtld global field.
380         (dtv_slotinfo_list): New struct.
381         (dtv_slotinfo): Likewise.
382         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
383         (td_lookup): Rename to...
384         (td_mod_lookup): ... this.  Use new mod parameter instead of
385         LIBPTHREAD_SO.
386         * nptl_db/td_thr_tlsbase.c: Include link.h.
387         (dtv_slotinfo_list, dtv_slotinfo): New functions.
388         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
389         addresses even if the DTV is out of date or missing them.
390         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
391         index zero-length arrays.
392         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
393         (td_lookup): Make it a macro implemented in terms of...
394         (td_mod_lookup): ... this declaration.
395         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
396         (DB_MAIN_VARIABLE): Likewise.
398 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
400         [BZ #18134]
401         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
403 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
405         * stdlib/setenv.c (__add_to_environ): Revert previous change.
407 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
409         [BZ #18128]
410         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
411         (atomic_add, atomic_increment_and_test)
412         (atomic_decrement_and_test): Fix 64-bit arithmetic.
414 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
416         * stdlib/setenv.c (__add_to_environ):
417         Dump core quickly if setenv (..., NULL, ...) is called.
419 2015-03-13  Roland McGrath  <roland@hack.frob.com>
421         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
422         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
423         all the necessary asm magic in one place.
424         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
425         using those.
427 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
429         [BZ #14906]
430         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
431         traced file mtime. Use consistent log message.
432         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
433         (register_traced_file): Call install_watches. Always set mtime.
434         (invalidate_cache): Iterate over all trace files. Call install_watches.
435         (inotify_check_files): Don't inline. Handle watching parent
436         directories and configuration file movement in and out.
437         (handle_inotify_events): New function.
438         (main_loop_poll): Call handle_inotify_events.
439         (main_loop_epoll): Likewise.
440         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
441         (struct traced_file): Use array of inotify fds. Add parent directory,
442         and basename.
443         (struct database_dyn): Remove unused file_mtime.
444         (init_traced_file): New inline function.
445         (define_traced_file): New macro.
446         * nss/nss_db/db-init.c: Use define_traced_file.
447         (_nss_db_init): Use init_traced_file.
448         * nss/nss_files/files-init.c: Use define_traced_file.
449         (_nss_files_init): Use init_traced_file.
451 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
453         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
454         [_LIBC]: Do not include <stdlib.h>.
455         [!_LIBC] (abort): Remove declaration.
456         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
457         _FP_STATIC_ASSERT instead of conditionally calling abort.
458         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
459         (_FP_EXTEND_CNAN): Likewise.
460         (FP_TRUNC): Likewise.
461         (__FP_CLZ): Likewise.
462         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
464 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
466         * manual/string.texi (XPG basename): Fix prototype.
468 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
470         [BZ #18080]
471         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
472         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
473         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
474         (__setcontext): Likewise.
475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
476         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
477         Call rt_sigprocmask syscall one time to set new signal mask
478         and retrieve the current signal mask instead of two calls.
479         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
480         (__swapcontext): Likewise.
481         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
482         * stdlib/tst-setcontext2.c: New file.
484 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
486         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
488 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
490         [BZ #18093]
491         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
492         the wrong size.
494 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
496         [BZ #18043]
497         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
499 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
501         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
502         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
503         Remove define.
504         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
505         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
506         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
507         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
508         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
509         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
510         define.
511         * nptl_db/td_symbol_list.c (td_lookup): Remove
512         HAVE_ASM_GLOBAL_DOT_NAME code.
513         * sysdeps/powerpc/powerpc64/configure.ac: Remove
514         HAVE_ASM_GLOBAL_DOT_NAME check.
515         * sysdeps/powerpc/powerpc64/configure: Regenerate.
516         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
517         (DOT_LABEL): Remove define.
518         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
519         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
520         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
521         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
522         (__TLS_GET_ADDR): Likewise.
523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
524         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
526 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
528         [BZ #18111]
529         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
530         (_FPU_SETCW): Initialize cw from fpsr before storing.
531         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
532         (fesetexceptflag): Rewrite using fpu_control.h.
533         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
535 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
537         [BZ #18110]
538         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
539         asms.
540         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
542 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
544         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
545         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
546         abort.
547         (_FP_FMA): Likewise.
548         (_FP_DIV): Likewise.
550 2015-03-10  Roland McGrath  <roland@hack.frob.com>
552         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
553         with 0 in that case.
554         * Makefile (summarize-tests): New canned sequence, factored out of
555         commands for targets tests and xtests.  Display summary lines that
556         don't start with PASS: or XFAIL: rather than ones that do start with
557         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
558         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
559         do start with ERROR: or FAIL:.
560         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
561         (except for [$(build-shared) = yes]).
562         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
563         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
564         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
565         * nptl/Makefile: Revert 2015-03-04 changes.
566         [$(CXX) empty] (tests-unsupported): New variable.
567         * debug/Makefile: Likewise.
569         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
570         gnulib file.  Replace __attribute with __attribute__ throughout.
572 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
574         * sysdeps/hppa/fpu/libm-test-ulps: Update.
576 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
578         [BZ #18104]
579         * math/auto-libm-test-in: Add another test of pow.
580         * math/auto-libm-test-out: Regenerated.
582 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
584         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
585         $(config-cflags-nofma).
587 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
589         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
590         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
591         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
592         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
593         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
594         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
595         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
596         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
597         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
598         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
599         Add comment on closing #endif.
601 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
603         * posix/wordexp.c (CHAR_IN_SET): New macro.
604         (parse_param): Use it.
606 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
608         * sysdeps/powerpc/fpu/libm-test-ulps: update.
610 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
612         [BZ #18043]
613         * posix/wordexp.c (parse_param): Fix buffer overflow.
614         * posix/wordexp-test.c (test_case): Add test case.
616 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
618         [BZ #18042]
619         * posix/wordexp.c (parse_backtick): Fix off-by-one.
620         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
622 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
624         [BZ #18043]
625         * posix/wordexp-test.c (test_case): Add test for BZ #18043
626         (do_bz18043): Delete.
627         (at_page_end): New.
628         (testit): Refactor to have words at the edge of unreadable page.
630 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
632         [BZ #16734]
633         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
634         Cleanup read-only streams as well.
635         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
637 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
639         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
640         <bits/libc-lockP.h>
642 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
644         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
645         on [__KERNEL__].
646         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
647         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
648         * soft-fp/op-common.h (_FP_DECL): Likewise.
650 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
652         * elf/ifuncdep2.c (global): Replace
653         __attribute__((visibility("protected"))) with
654         asm (".protected global").
655         * elf/ifuncmod1.c (global): Likewise.
656         * elf/ifuncmod5.c (global): Likewise.
658 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
660         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
661         <asm/sfp-machine.h> instead of <sfp-machine.h>.
663 2015-03-06  Roland McGrath  <roland@hack.frob.com>
665         * manual/install.texi (Configuring and compiling):
666         Document test-wrapper-env-only.
667         * INSTALL: Regenerated.
669 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
671         [BZ #18043]
672         * posix/wordexp.c (parse_param): Fix buffer overflow.
673         * posix/wordexp-test.c (do_bz18043): Add test case.
675 2015-03-06  Vincent Bernat  <vincent@bernat.im>
677         * time/tst-strptime2.c (do_test): Ensure failing tests are
678         reported correctly.
679         * time/tst-strptime3.c (do_test): Likewise.
681 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
683         Fix aio_error thread-safety.
684         * sysdeps/pthread/aio_error.c: New file
685         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
686         synchronization.
688 2015-03-06  Florian Weimer  <fweimer@redhat.com>
690         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
691         (group_number, vfprintf): Use it.
692         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
693         (JUMP, REF): Use it.
694         (WORK_BUFFER_SIZE): New enum constant.
695         (process_arg, vfprintf): Use it.
697 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
699         * manual/errno.texi (Error Messages): Complete example function
700         by adding missing #define.
701         (program_invocation_name): Add statement indicating GNU
702         extension and reference which header file declares the variable.
703         (program_invocation_short_name): Likewise.
705 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
707         * manual/errno.texi (Error Messages): Delete strerror ISO C89
708         compatibility note.
710 2015-03-05  Roland McGrath  <roland@hack.frob.com>
712         * Makeconfig (test-wrapper-env-only): New variable.
713         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
714         then use that with $(test-wrapper-env-only) rather than using
715         $(test-wrapper-env) $(run-program-env) $($*-ENV).
717 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
719         [BZ #18082]
720         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
721         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
722         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
723         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
724         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
725         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
726         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
727         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
728         Likewise.
729         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
730         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
731         Likewise.
732         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
733         Likewise.
734         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
735         Likewise.
736         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
737         Likewise.
738         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
739         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
740         Likewise.
741         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
742         Likewise.
743         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
744         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
746 2015-03-04  Roland McGrath  <roland@hack.frob.com>
748         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
749         (ETH_ALEN): New macro.
750         (struct ether_addr): Use it for length of ether_addr_octet.
752         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
753         (setdb): Don't call __nss_configure_lookup for "rpc".
754         (do_test): Don't call test_rpc.
755         (output_rpcent, test_rpc): Functions moved ...
756         * sunrpc/test-rpcent.c: ... to this new file.
757         * sunrpc/Makefile (tests): Add it.
759         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
760         __xpg_sigpause.
761         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
762         * nptl/tst-signal6.c: Likewise.
763         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
764         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
766         * configure.ac (libc_cv_cxx_link_ok): New check.
767         Reset CXX to empty if it fails to link.
768         * configure: Regenerated.
769         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
770         bug-atexit3-lib only if $(CXX) is nonempty.
771         * nptl/Makefile (tests): Likewise for tst-cancel24.
772         (tests, tests-static): Likewise for tst-cancel24-static.
773         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
774         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
775         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
776         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
778 2015-03-04  Andreas Schwab  <schwab@suse.de>
780         [BZ #17631]
781         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
782         for non-GCC compilers.
783         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
784         Likewise.
786 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
788         [BZ #17776]
789         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
790         integer before bitwise and assembly operations.
791         (feclearexcept): Likewise.
792         * math/test-fenvinline.c: New file.
793         * math/Makefile: Add test-fenvinline test.
795 2015-03-03  Alan Modra  <amodra@gmail.com>
797         [BZ #16512]
798         * scripts/localplt.awk: Strip off symbol version.
799         * NEWS: Mention bug fix.
801 2015-03-02  Roland McGrath  <roland@hack.frob.com>
803         * sysdeps/pthread/timer_routines.c
804         (timer_free_list, thread_free_list, thread_active_list): Make static.
806 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
808         [BZ #17779]
809         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
810         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
811         Undefine.
812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
813         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
814         Likewise.
815         * sysdeps/unix/sysv/linux/sh/kernel-features.h
816         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
817         Likewise.
819 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
821         [BZ #18036]
822         * posix/fnmatch_loop.c (END): Detect invalid pattern.
823         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
825 2015-03-02  Andreas Schwab  <schwab@suse.de>
827         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
828         variable name.
830 2015-03-02  Florian Weimer  <fweimer@redhat.com>
832         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
833         Return error status.
835 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
837         [BZ #15969]
838         * locale/findlocale.c (_nl_find_locale): Introduce const
839         version of loc_name and drop unsafe type casts.
841 2015-02-27  Roland McGrath  <roland@hack.frob.com>
843         * dlfcn/tststatic2.c (main): Converted to ...
844         (do_test): ... this.
845         (TEST_FUNCTION): New macro.
846         Include test-skeleton.c.
848 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
850         [BZ #17711]
851         * elf/Makefile (tests): Add vismain only if PIE is enabled.
852         (tests-pie): Add vismain.
853         (CFLAGS-vismain.c): New.
854         * elf/vismain.c: Add comments for PIE requirement.
856 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
858         [BZ #18046]
859         [BZ #18047]
860         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
861         0x1p-56L as threshold for just returning the argument.
862         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
863         0x1p-32L as threshold for just returning the argument.
864         * math/auto-libm-test-in: Add more tests of atanh.
865         * math/auto-libm-test-out: Regenerated.
866         * sysdeps/i386/fpu/libm-test-ulps: Update.
867         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
869 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
871         * string/bcopy.c (bcopy): Call memmove for performance.
873 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
875         * string/bzero.c (__bzero): Call memset for performance.
877 2015-02-27  John David Anglin  <dave.anglin@bell.net>
879         [BZ #18068]
880         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
881         to 00100000.
883 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
885         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
887 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
889         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
890         (__kernel_standard): Use CSTR macro when setting exc.name.
891         * sysdeps/ieee754/Makefile [$(subdir) = math]
892         (CFLAGS-k_standard.c): Remove variable.
894         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
895         setting p and q from "else if" to "else".
896         (qzero): Likewise.
897         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
898         (qone): Likewise.
899         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
900         (qzerof): Likewise.
901         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
902         (qonef): Likewise.
903         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
904         (qzero): Likewise.
905         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
906         (qone): Likewise.
908         [BZ #18038]
909         [BZ #18039]
910         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
911         return pi/2 for arguments below 0x1p-113L.
912         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
913         return pi/2 for arguments below 0x1p-106L.
914         * math/auto-libm-test-in: Add more tests of acos.
915         * math/auto-libm-test-out: Regenerated.
917         [BZ #16351]
918         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
919         (MO): New macro.
920         (__ieee754_asin): Force underflow exception for results with small
921         absolute value.
922         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
923         (MO): New macro.
924         (__ieee754_asinf): Force underflow exception for results with
925         small absolute value.
926         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
927         (__ieee754_asin): Force underflow exception for results with small
928         absolute value.
929         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
930         (__ieee754_asinf): Force underflow exception for results with
931         small absolute value.
932         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
933         (__ieee754_asinl): Force underflow exception for results with
934         small absolute value.
935         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
936         (__ieee754_asinl): Force underflow exception for results with
937         small absolute value.
938         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
939         (__ieee754_asinl): Force underflow exception for results with
940         small absolute value.
941         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
942         Include <math.h>.
943         * math/auto-libm-test-in: Do not mark underflow exceptions as
944         possibly missing for bug 16351.
945         * math/auto-libm-test-out: Regenerated.
947         [BZ #18030]
948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
949         of power of 2 down when low part has opposite sign.
950         * math/libm-test.inc (logb_test_data): Add more tests.
952 2015-02-26  Andreas Schwab  <schwab@suse.de>
954         [BZ #18032]
955         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
956         over collating symbol inside a bracket expression.  Minor cleanup.
957         * posix/tst-fnmatch3.c (do_test): Add test case.
959 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
961         [BZ #18029]
962         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
963         Adjust exponent of power of 2 down when low part has opposite
964         sign.
965         * math/libm-test.inc (ilogb_test_data): Add more tests.
967 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
969         [BZ #15969]
970         * locale/findlocale.c (_nl_find_locale): Fix constness error in
971         the previous change.
973         [BZ #15969]
974         * locale/findlocale.c (_nl_find_locale): Retry archive search
975         after alias expansion.
977 2015-02-25  Roland McGrath  <roland@hack.frob.com>
979         * iconv/tst-iconv3.c (main): Converted to ...
980         (do_test): ... this.
981         (TEST_FUNCTION): New macro.
982         Include test-skeleton.c.
984         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
985         (convert): Make function static.
986         (test_unalign): Likewise.  Add const to argument pointee types.
987         (main): Replace with static function do_test.
988         Print "Succeeded." only if RET is zero.
989         (TEST_FUNCTION): New macro.
990         Include test-skeleton.c.
992         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
993         returns a null pointer.
995 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
997         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
998         to __memcpy_ppc only for static builds.
1000 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
1002         [BZ #18020]
1003         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1004         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1005         * math/auto-libm-test-in: Add more tests of asinh.
1006         * math/auto-libm-test-out: Regenerated.
1007         * sysdeps/i386/fpu/libm-test-ulps: Update.
1008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1010 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1012         [BZ #15850]
1013         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1014         and ip6_mtuinfo definitions here.
1015         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1016         in this define too.  Update comment.
1018 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1020         * elf/sprof.c (load_shobj): Tweak error message to match others.
1022 2015-02-24  Kevin Easton  <kevin@guarana.org>
1024         [BZ #16145] (partial fix)
1025         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1026         to reduce lock contention.
1028 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1030         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1031         (struct timex): Update time comment.
1032         (ADJ_SETOFFSET): Define.
1034 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1036         [BZ #18019]
1037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1038         2**56 not 2**28 as threshold for log (2x) formula.
1039         * math/auto-libm-test-in: Add more tests of acosh.
1040         * math/auto-libm-test-out: Regenerated.
1041         * sysdeps/i386/fpu/libm-test-ulps: Update.
1042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1046         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1047         parenthesis around the buf assignment.
1048         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1050 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1052         [BZ #16783]
1053         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1054         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1055         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1056         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1057         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1058         * math/libm-test.inc (scalb_test_data): Add more tests.
1060 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1062         [BZ #17916]
1063         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1064         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1066 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1068         [BZ #17523]
1069         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1070         * io/bits/fcntl2.h (open): Use it.
1071         (openat): Likewise.
1072         * io/open.c (__libc_open): Likewise.
1073         * io/open64.c (__libc_open64): Likewise.
1074         * io/open64_2.c (__open64_2): Likewise.
1075         * io/open_2.c (__open_2): Likewise.
1076         * io/openat.c (__openat): Likewise.
1077         * io/openat64.c (__openat64): Likewise.
1078         * io/openat64_2.c (__openat64_2): Likewise.
1079         * io/openat_2.c (__openat_2): Likewise.
1080         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1081         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1082         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1083         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1084         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1085         (__open_nocancel): Likewise.
1086         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1087         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1088         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1090 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1092         [BZ #14841]
1093         * resolv/gethnamaddr.c (getanswer): Skip logging if
1094         RES_USE_DNSSEC is set.
1095         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1097 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1099         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1101 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1103         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1104         201304L, for Unicode 7.
1106 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1108         [BZ #17836]
1109         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1110         shared library.  Add gmon-start.os otherwise.
1111         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1112         $(objpfx)gmon-start.os if builing shared library.
1113         ($(objpfx)g$(static-start-installed-name)): Likewise.
1115 2015-02-23  Andreas Schwab  <schwab@suse.de>
1117         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1119 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1121         [BZ #17269]
1122         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1123         (enlarge_userbuf): Likewise.
1125 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1127         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1128         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1129         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1130         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1132 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1134         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1135         expression inside statement expression.
1137 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1139         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1140         <sysdeps/nptl/lowlevellock.h> and remove macros and
1141         functions that are now defined there.
1142         (SYS_futex): Remove.
1143         (lll_compare_and_swap): Remove.
1144         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1146 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1148         [BZ #17999]
1149         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1150         instead of scandirat.
1151         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1152         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1153         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1154         __scandirat.
1155         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1156         (__scandirat): Declare.  Use libc_hidden_proto.
1157         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1158         Remove variable.
1159         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1161 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1163         [BZ #15319]
1164         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1165         (MO): New macro.
1166         (__ieee754_atan2): For results with small absolute value, force
1167         underflow exception and remove excess range and precision from
1168         return value.
1169         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1170         (MO): New macro.
1171         (__ieee754_atan2f): For results with small absolute value, force
1172         underflow exception and remove excess range and precision from
1173         return value.
1174         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1175         (MO): New macro.
1176         (__atan): For results with small absolute value, force underflow
1177         exception and remove excess range and precision from return value.
1178         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1179         (MO): New macro.
1180         (__atanf): For results with small absolute value, force underflow
1181         exception and remove excess range and precision from return value.
1182         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1183         <math.h>.
1184         (__ieee754_atan2): Force underflow exception for results with
1185         small absolute value.
1186         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1187         <math_private.h>.
1188         (atan): Force underflow exception for results with small absolute
1189         value.
1190         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1191         (__atanf): Force underflow exception for results with small
1192         absolute value.
1193         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1194         <math.h>.
1195         (__atanl): Force underflow exception for results with small
1196         absolute value.
1197         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1198         (__atanl): Force underflow exception for results with small
1199         absolute value.
1200         * sysdeps/x86/fpu/bits/mathinline.h
1201         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1202         (__ieee754_atan2): Only define inline for long double.
1203         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1204         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1205         * math/auto-libm-test-in: Do not mark underflow exceptions as
1206         possibly missing for bug 15319.  Add more tests of atan2.
1207         * math/auto-libm-test-out: Regenerated.
1208         * math/libm-test.inc (casin_test_data): Do not mark underflow
1209         exceptions as possibly missing for bug 15319.
1210         (casinh_test_data): Likewise.
1211         * sysdeps/i386/fpu/libm-test-ulps: Update.
1213 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1215         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1216         * sysdeps/mips/bits/endian.h: Fix comments.
1218 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1220         [BZ #17996]
1221         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1222         (hdestroy_r): Likewise.
1223         (hsearch_r): Likewise.
1224         (__hcreate_r): Declare and use libc_hidden_proto.
1225         (__hdestroy_r): Likewise.
1226         (__hsearch_r): Likewise.
1227         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1228         (hcreate): Call __hcreate_r instead of hcreate_r.
1229         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1230         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1231         as weak alias of __hcreate_r.
1232         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1233         __hdestroy_r.
1234         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1235         __hsearch_r.
1236         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1237         Remove variable.
1238         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1239         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1241         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1243 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1245         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1246         arena_lock into a single arena_get.
1248 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1250         * dl-reloc.c: Inlucde libc-internal.h.
1251         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1252         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1253         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1254         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1255         (grow_heap): Likewise.
1256         * malloc/malloc.c: Include libc-internal.h.
1257         (do_check_malloc): Call powerof2.
1258         (sysmalloc): Use pagesize. Call ALIGN_UP.
1259         (systrim): Use pagesize.
1260         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1261         (__libc_valloc): Use pagesize.
1262         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1264 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1266         [BZ #17991]
1267         * include/sys/resource.h (__getrlimit64): Declare.  Use
1268         libc_hidden_proto.
1269         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1270         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1271         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1272         getrlimit64.
1273         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1274         __getrlimit64.
1275         [!getrlimit64] (getrlimit64): Define as weak alias of
1276         __getrlimit64.  Use libc_hidden_weak.
1277         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1278         using __getrlimit64 not __new_getrlimit64.
1279         (__GI_getrlimit64): Likewise.
1280         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1281         Likewise.
1282         (__GI_getrlimit64): Likewise.
1283         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1285         (getrlimit): Add __getrlimit64 alias.
1286         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1287         Likewise.
1288         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1289         Remove variable.
1290         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1291         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1293 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1295         * libio/fileops.c: Add missing sys/mman.h
1296         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1298 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1300         * manual/math.texi (Errors in Math Functions): Clarify goals
1301         regarding inexact and underflow exceptions.
1303 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1305         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1306         * sysdeps/mips/memset.S: Ditto.
1308 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1310         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1312 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1314         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1315         (__v1longjmp): Remove versioned symbol.
1316         (__v1siglongjmp): Remove alias and versioned symbol.
1317         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1318         (__v2siglongjmp): Likewise.
1320 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1322         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1324 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1326         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1328 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1330         [BZ #17987]
1331         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1332         zero result does not depend on the sign resulting from
1333         subtraction.
1334         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1335         Likewise.
1336         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1337         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1338         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1339         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1340         * math/libm-test.inc (remquo_test_data): Add more tests.
1342 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1344         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1345         Problem reported by J William Piggott.
1347 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1349         [BZ #17978]
1350         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1351         products 4 * y and 2 * y where those would overflow.
1352         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1353         Likewise.
1354         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1355         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1356         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1357         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1358         * math/libm-test.inc (remquo_test_data): Add more tests.
1360         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1362         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1363         [defined _COMPILING_NEWLIB].
1364         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1365         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1367         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1368         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1370 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1372         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1373         acquired.
1375 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1377         [BZ #17792]
1378         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1379         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1380         HOST_STACK_END_ADDR): Likewise.
1382 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1384         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1385         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1386         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1388 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1390         * sysdeps/generic/c++-types.data: New file.
1391         * sysdeps/generic/ld.abilist: New file.
1392         * sysdeps/generic/libBrokenLocale.abilist: New file.
1393         * sysdeps/generic/libanl.abilist: New file.
1394         * sysdeps/generic/libc.abilist: New file.
1395         * sysdeps/generic/libcrypt.abilist: New file.
1396         * sysdeps/generic/libdl.abilist: New file.
1397         * sysdeps/generic/libm.abilist: New file.
1398         * sysdeps/generic/libpthread.abilist: New file.
1399         * sysdeps/generic/libresolv.abilist: New file.
1400         * sysdeps/generic/librt.abilist: New file.
1402 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1404         [BZ #17569]
1405         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1406         Compute absolute value of x as modified by fmod, not original
1407         value of x.
1408         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1409         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1410         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1411         RUN_TEST_ffI_f1_mod8.
1412         (remquo_test_data): Add more tests.
1414 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1416         * sysdeps/init_array/pt-crti.S: New file.
1418 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1420         [BZ #17967]
1421         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1422         __builtin_fmaf instead of relying on contraction of a * b + c.
1424 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1426         [BZ #17969]
1427         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1428         node.
1430 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1432         [BZ #17964]
1433         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1434         __builtin_fma instead of relying on contraction of a * b + c.
1436 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1438         * Makeconfig (ASFLAGS): Add -Werror=undef.
1439         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1440         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1441         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1443         * Makeconfig (after-link): New variable.
1444         (+link-pie, +link-pie-tests): Use it.
1445         (+link-static, +link-static-tests): Likewise.
1446         (+link, +link-tests): Likewise.
1447         * Makerules (build-module, build-module-asneeded): Likewise.
1448         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1449         Likewise.
1450         * elf/Makefile ($(objpfx)ld.so): Likewise.
1452 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1454         [BZ #17965]
1455         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1456         both struct timeval and struct timespec.
1458 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #16560]
1461         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1462         and redefine.
1463         (__ieee754_exp2l): Do not multiply small fractional parts by
1464         M_LN2l.
1465         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1466         small argument.
1467         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1468         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1469         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1470         * math/auto-libm-test-in: Add more tests of exp2.
1471         * math/auto-libm-test-out: Regenerated.
1473 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1475         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1476         unaligned path.
1478 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1480         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1481         little endian.
1483 2015-02-12  Andreas Schwab  <schwab@suse.de>
1485         [BZ #15790]
1486         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1487         Filter out elision flags from value returned in kind.
1488         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1489         * nptl/tst-pthread-mutexattr.c: New file.
1491 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1493         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1494         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1495         into gnu-gnu, and update comment to refer to abi-tags.
1497 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1499         [BZ #15467]
1500         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1501         (__sincos): Set errno to EDOM for infinite argument.
1502         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1503         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1504         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1505         (__sincosl): Set errno to EDOM for infinite argument.
1506         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1507         (__sincosl): Set errno to EDOM for infinite argument.
1508         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1509         (__sincosl): Set errno to EDOM for infinite argument.
1510         * math/libm-test.inc (sincos_test_data): Test errno setting.
1512 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1514         * string/strxfrm_l.c: Remove #define STRCMP.
1515         * string/strcoll_l.c: Remove #define STRLEN.
1516         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1517         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1519 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1521         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1522         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1523         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1524         * sysdeps/mips/mips64/Makefile: ... here.
1525         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1526         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1527         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1528         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1529         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1530         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1531         * sysdeps/mips/mips64/n64/Implies: Likewise.
1533 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1535         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1536         <sys/time.h>, <string.h>, and <errno.h>.
1537         (dest_offset, dest_address, value, zero): Remove unused variables.
1538         (ldouble): Remove typedef.
1539         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1540         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1541         1).  Fix code style.
1542         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1543         (check): Function removed.
1544         (CHECK): New macro.
1545         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1546         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1547         Don't call set_sigaction_FP and remove_sigaction_FP here.
1548         (ldouble_test): Just use 'long double' as macro argument, no need for
1549         the 'ldouble' typedef.
1550         (do_test): Set up SIGFPE handler at start, using plain signal rather
1551         than sigaction.  Fix code style.
1553 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1555         [BZ #17949]
1556         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1557         jump label.
1559 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1561         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1562         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1564         * sysdeps/powerpc/configure.ac: Remove file.
1565         * sysdeps/powerpc/configure: Likewise.
1567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1568         [sysdep_routines]: Remove wordcopy-power6 object.
1569         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1570         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1572         (__memmove_ppc32): Likewise.
1573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1574         file.
1575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1576         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1577         Remove preprocessor.
1579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1580         [sysdep_routines]: Remove wide chars objects.
1581         [wcsmbs]: New rule for wide char objects.
1583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1584         Remove wordcopy-power6 obejct.
1585         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1586         Use local call for wordcopy and memcpy symbols.
1587         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1588         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1589         implementation for loader.
1590         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1593         Remove wordcopy-power7 object.
1594         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1595         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1596         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1597         (_wordcopy_fwd_dest_aligned): Likewise.
1598         (_wordcopy_bwd_aligned): Likewise.
1599         (_wordcopy_bwd_dest_aligned): Likewise.
1601         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1602         Rewrite to call __memmove_ppc instead of include default
1603         implementation.
1605         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1606         Remove wide chars objects.
1607         [wcsmbs]: New rule for wide char objects.
1609 2015-02-09  Andreas Schwab  <schwab@suse.de>
1611         [BZ #17912]
1612         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1613         in terms of __O_DIRECTORY.
1615 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1617         * time/getdate.c: Include <stdbool.h>.
1618         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1619         call PTR_MANGLE.
1620         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1621         PTR_DEMANGLE.
1623 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1625         Add ersatz _Static_assert on older C hosts
1626         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1627         pre-C11 C platform that is not known to support _Static_assert.
1629 2015-02-07  Richard Braun  <rbraun@sceen.net>
1631         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1632         sigstate.
1633         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1635 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1637         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1638         priority against unexistent AIO_PRIO_DELTA_MAX.
1639         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1640         instead of int.
1641         * misc/fchflags.c (fchflags): Likewise.
1642         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1643         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1644         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1645         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1646         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1647         Declare macros.
1648         [__USE_MISC] (chflags, fchflags): Declare functions.
1649         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1650         EINVAL when nfds is greater than FD_SETSIZE.
1651         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1652         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1653         45.
1654         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1655         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1656         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1657         MACH_RCV_TIMED_OUT.
1658         * hurd/hurd/signal.h (_hurd_self_sigstate,
1659         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1660         Explicit casts from void *.
1661         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1662         * abi-tags: Rename gnu-gnu os into gnu.
1664         [BZ #4719]
1665         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1666         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1667         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1668         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1669         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1670         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1672         [BZ #17944]
1673         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1674         duplicates ADDR->sun_path with sockaddr LEN limitation.
1675         * sysdeps/mach/hurd/connect.c: Include <string.h>
1676         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1677         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1678         * sysdeps/mach/hurd/sendto.c: Likewise.
1679         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1680         implementing it by hand.
1682 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1684         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1685         Use sfi_breg on ldr.
1686         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1687         Likewise.
1689         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1690         it's defined.
1691         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1692         Test SIGSETXID only if it's defined.
1694         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1696         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1697         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1699         * nptl/tst-align2.c: Moved ...
1700         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1701         * nptl/Makefile (tests): Remove tst-align2.
1702         * sysdeps/unix/sysv/linux/Makefile
1703         [$(subdir) = nptl] (tests): Add tst-align-clone.
1704         * nptl/tst-getpid1.c: Moved ...
1705         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1706         * nptl/tst-getpid2.c: Moved ...
1707         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1708         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1709         * sysdeps/unix/sysv/linux/Makefile
1710         [$(subdir) = nptl] (tests): ... here.
1711         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1712         * sysdeps/unix/sysv/linux/Makefile
1713         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1715         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1716         Drop trailing \n from perror argument.  Use return rather than exit.
1718         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1719         on [SA_SIGINFO].
1720         * nptl/tst-cancel21.c (do_test): Likewise.
1721         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1722         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1723         [!SA_SIGINFO]: Make it a stub test.
1725         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1726         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1728         * posix/tst-getlogin.c: Move to ...
1729         * login/tst-getlogin.c: ... here.
1730         * posix/Makefile (tests): Move tst-getlogin to ...
1731         * login/Makefile (tests): ... here.
1733         * libio/tst-atime.c (do_test): Move local variables SV and E
1734         inside [ST_NOATIME] conditional.
1736         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1738         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1740         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1741         (wait_code): New function replaces macro.
1742         Call nanosleep rather than syscall.
1744         * nptl/pt-system.c: Rewritten.  Put everything under
1745         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1746         Use IFUNC to redirect when possible.
1748         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1749         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1750         Use IFUNC to redirect when possible.
1752         * nptl/pt-fork.c: Rewritten.  Put everything under
1753         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1754         Use IFUNC to redirect when possible.
1755         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1757         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1758         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1759         unconditionally nowadays.  This included the only reference to
1760         __vdso_clock_gettime that appears outside libc proper.
1761         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1762         Remove version set (containing only __vdso_clock_gettime).
1763         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1764         Add attribute_hidden.
1765         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1766         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1767         libc_hidden_data_def.
1768         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1769         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1771         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1772         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1773         setrpcent, and getrpcport to ...
1774         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1775         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1776         getrpcbynumber_r, and getrpcent_r to ...
1777         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1778         * inet/getrpcbyname.c: Moved ...
1779         * sunrpc/getrpcbyname.c: ... here.
1780         * inet/getrpcbyname_r.c: Moved ...
1781         * sunrpc/getrpcbyname_r.c: ... here.
1782         * inet/getrpcbynumber.c: Moved ...
1783         * sunrpc/getrpcbynumber.c: ... here.
1784         * inet/getrpcbynumber_r.c: Moved ...
1785         * sunrpc/getrpcbynumber_r.c: ... here.
1786         * inet/getrpcent.c: Moved ...
1787         * sunrpc/getrpcent.c: ... here.
1788         * inet/getrpcent_r.c: Moved ...
1789         * sunrpc/getrpcent_r.c: ... here.
1790         * inet/Makefile (routines): Move those to ...
1791         * sunrpc/Makefile (routines): ... here.
1792         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1793         the $(subdirs) list.
1794         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1795         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1796         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1797         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1799         * elf/Makefile (routines): Include $(all-dl-routines), not just
1800         $(dl-routines).
1801         (rtld-routines): Likewise.  Use = rather than :=.
1802         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1803         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1804         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1805         * sysdeps/arm/Makefile: Likewise.
1806         * sysdeps/i386/Makefile: Likewise.
1807         * sysdeps/x86_64/Makefile: Likewise.
1808         * sysdeps/hppa/Makefile [$(subdir) = elf]
1809         (sysdep_routines, sysdep-rtld-routines): Don't add
1810         $(sysdep-dl-routines) to these.
1811         * sysdeps/ia64/Makefile: Likewise.
1812         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1813         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1814         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1815         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1816         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1817         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1818         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1819         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1820         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1821         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1822         these; sysdep-dl-routines alone is enough.
1824 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1826         [BZ #17932]
1827         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1828         where multiplication results in zero and third argument is finite
1829         and nonzero.
1830         * math/auto-libm-test-in: Add more tests of fma.
1831         * math/auto-libm-test-out: Regenerated.
1833         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1834         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1835         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1836         (_FP_CMP_EQ): Likewise.
1837         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1839         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1840         extra argument CHECK_NAN.  Redefine as wrapper around
1841         _FP_EXTEND_CNAN.
1843 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1845         * version.h (RELEASE): Set to "stable".
1846         (VERSION): Set to "2.21"
1847         * include/features.h (__GLIBC_MINOR__): Set to 21.
1849         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1851 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1852             Paul Eggert  <eggert@cs.ucla.edu>
1854         [BZ #16618]
1855         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1856         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1857         size in bytes. Store needed elements in wpmax. Use needed size
1858         in bytes for extend_alloca.
1860 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1862         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1863         binutls 2.25, and texinfo 5.2.
1864         * INSTALL: Regenerate.
1865         * sysdeps/nios2/configure: Regenerate.
1866         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1867         * manual/contrib.texi: Update.
1868         * po/be.po: Update.
1869         * po/bg.po: Update.
1870         * po/ca.po: Update.
1871         * po/cs.po: Update.
1872         * po/da.po: Update.
1873         * po/de.po: Update.
1874         * po/el.po: Update.
1875         * po/eo.po: Update.
1876         * po/es.po: Update.
1877         * po/fi.po: Update.
1878         * po/fr.po: Update.
1879         * po/gl.po: Update.
1880         * po/hr.po: Update.
1881         * po/hu.po: Update.
1882         * po/ia.po: Update.
1883         * po/id.po: Update.
1884         * po/it.po: Update.
1885         * po/ja.po: Update.
1886         * po/ko.po: Update.
1887         * po/lt.po: Update.
1888         * po/nb.po: Update.
1889         * po/nl.po: Update.
1890         * po/pl.po: Update.
1891         * po/pt_BR.po: Update.
1892         * po/ru.po: Update.
1893         * po/rw.po: Update.
1894         * po/sk.po: Update.
1895         * po/sl.po: Update.
1896         * po/sv.po: Update.
1897         * po/tr.po: Update.
1898         * po/uk.po: Update.
1899         * po/vi.po: Update.
1900         * po/zh_CN.po: Update.
1901         * po/zh_TW.po: Update.
1903         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1904         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1905         * sysdeps/hppa/dl-irel.h: Remove #warning.
1906         * sysdeps/hppa/entry.h: Provide prototype for
1907         __canonicalize_funcptr_for_compare and cast argument.
1908         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1909         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1910         * sysdeps/hppa/sotruss-lib.c: New file.
1911         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1912         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1913         (atomic_compare_and_exchange_bool_acq): Likewise.
1914         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1915         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1917         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1918         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1919         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1921 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1923         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1924         called function in non-PIC case.
1926 2015-01-31  David S. Miller  <davem@davemloft.net>
1928         * sysdeps/sparc/sparc32/bits/atomic.h
1929         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1930         unlock not after it.
1931         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1932         volatile register usage warnings from the compiler.
1934         * sysdeps/sparc/nptl/sem_init.c: Delete.
1935         * sysdeps/sparc/nptl/sem_post.c: Delete.
1936         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1937         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1938         * sysdeps/sparc/sparc32/sem_init.c: New file.
1939         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1940         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1941         padding explicitly initialized.
1942         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1943         padding for in-semaphore spinlock.
1944         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1945         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1946         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1947         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1948         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1949         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1950         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1951         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1952         version.
1953         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1954         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1956 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1958         [BZ #17801]
1959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1960         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1961         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1962         New.
1963         (index_AVX_Fast_Unaligned_Load): Likewise.
1964         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1965         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1966         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1967         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1968         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1969         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1970         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1971         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1972         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1974 2015-01-29  Andreas Schwab  <schwab@suse.de>
1976         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1978 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1980         [BZ #17892]
1981         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1983 2015-01-28  Martin Sebor  <msebor@redhat.com>
1985         * math/README.libm-test: Clarify. Add "How to read the test output."
1987 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1989         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1990         Define to 0.
1992 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1994         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1995         (__HAVE_64B_ATOMICS): Define to 0.
1997 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1999         [BZ #17885]
2000         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2001         value to set as new flag.
2003         [BZ #16576]
2004         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2005         and use _ARCH_PPCSQ instead.
2006         (__ieee754_sqrt): Likewise.
2007         (__ieee754_sqrtf): Likewise.
2008         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2009         _ARCH_PPCSQ is defined.
2010         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2011         fsqrt instruction.
2012         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2013         _ARCH_PPCSQ is defined.
2014         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2015         fsqrts instruction.
2016         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2018 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2020         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2021         bug (GCC BZ #64739).
2023 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2025         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2026         Mark _retval as used.
2027         (lll_futex_wake_unlock): Likewise.
2028         (lll_futex_timed_wait_requeue_pi): Likewise.
2030         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2031         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2032         register variables.
2034         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2035         libm_hidden_def.
2037         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2038         (__bswap_64): Mark as __always_inline.
2040 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2042         [BZ #15378]
2043         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2044         when none of the search directories exist.
2046 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2048         [BZ #17869]
2049         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2050         power8 in .machine directive.
2052         [BZ #17868]
2053         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2054         set dependency from opd value.
2056 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2059         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2060         architecture.
2062 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2064         [BZ #17870]
2065         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2066         with uint64_t.
2067         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2068         (uint64_t) 1.
2069         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2070         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2071         Replace 1UL with (uint64_t) 1.
2072         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2073         int with uint64_t.
2075 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2077         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2078         (if_freenameindex): Likewise.
2080         * resource/getrlimit64.c: Add missing libc_hidden_def.
2082 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2084         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2085         __label__.
2086         (_FP_FMA): Likewise.
2087         (_FP_TO_INT_ROUND): Likewise.
2088         (_FP_FROM_INT): Likewise.
2090 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2092         [BZ #16418]
2093         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2094         Make code racy and cancel safe.
2096 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2098         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2099         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2100         attribution.
2102         * pwd/tst-getpw.c: Rewrite.
2104         [BZ #17702]
2105         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2106         (modules-names): Add moddummy1 and moddummy2.
2107         ($(objpfx)tst-rec-dlopen): Define.
2108         * dlfcn/moddummy1.c: New file.
2109         * dlfcn/moddummy2.c: New file.
2110         * dlfcn/tst-rec-dlopen.c: New file.
2111         * elf/dl-cache.c (_dl_load_cache_lookup):
2112         Return char*. Copy result with alloca/strcpy/strdup.
2113         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2114         returns char*. Free cached. If not saving realname
2115         free cached.
2116         * elf/dl-open.c (dl_open_worker): Do not assert that
2117         _r_debug->r_state is RT_CONSISTENT.
2118         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2119         returns char*.
2121 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2122             Carlos O'Donell  <carlos@redhat.com>
2124         [BZ #12674]
2125         * nptl/sem_waitcommon.c: New file.
2126         * nptl/sem_wait.c: Include sem_waitcommon.c.
2127         (__sem_wait_cleanup, do_futex_wait): Remove.
2128         (__new_sem_wait): Adapt.
2129         (__new_sem_trywait): New function.
2130         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2131         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2132         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2133         (sem_timedwait): Adapt.
2134         * nptl/sem_post.c (__new_sem_post): Adapt.
2135         (futex_wake): New function.
2136         (__old_sem_post): Add release MO fence.
2137         * nptl/sem_open.c (sem_open): Adapt.
2138         * nptl/sem_init.c (__new_sem_init): Adapt.
2139         (futex_private_if_supported): New function.
2140         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2141         (__old_sem_getvalue): Add using previous code.
2142         * sysdeps/nptl/internaltypes.h: Adapt.
2143         * nptl/tst-sem13.c (do_test): Adapt.
2144         * nptl/tst-sem11.c (main): Adapt.
2145         * nptl/sem_trywait.c: Remove.
2146         * nptl/DESIGN-sem.txt: Remove.
2147         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2148         (gen-as-const-headers): Remove structsem.sym.
2149         * nptl/structsem.sym: Remove.
2150         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2151         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2152         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2153         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2154         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2155         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2156         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2157         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2158         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2159         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2160         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2161         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2162         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2163         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2164         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2165         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2166         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2167         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2168         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2169         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2170         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2171         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2173 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2175         * INSTALL: Regenerated.
2177         * po/libc.pot: Regenerated.
2179 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2180             Sandra Loosemore  <sandra@codesourcery.com>
2181             Andrew Jenner  <andrew@codesourcery.com>
2182             Joseph Myers  <joseph@codesourcery.com>
2183             Nathan Sidwell  <nathan@codesourcery.com>
2185         * NEWS: Mention new Nios II port.
2186         * sysdeps/nios2/Implies: New file.
2187         * sysdeps/nios2/Makefile: New file.
2188         * sysdeps/nios2/Subdirs: New file.
2189         * sysdeps/nios2/Versions: New file.
2190         * sysdeps/nios2/__longjmp.S: New file.
2191         * sysdeps/nios2/abort-instr.h: New file.
2192         * sysdeps/nios2/backtrace.c: New file.
2193         * sysdeps/nios2/bits/endian.h: New file.
2194         * sysdeps/nios2/bits/fenv.h: New file.
2195         * sysdeps/nios2/bits/link.h: New file.
2196         * sysdeps/nios2/bits/setjmp.h: New file.
2197         * sysdeps/nios2/bsd-_setjmp.S: New file.
2198         * sysdeps/nios2/bsd-setjmp.S: New file.
2199         * sysdeps/nios2/configure: New generated file.
2200         * sysdeps/nios2/configure.ac: New file.
2201         * sysdeps/nios2/crti.S: New file.
2202         * sysdeps/nios2/crtn.S: New file.
2203         * sysdeps/nios2/dl-init.c: New file.
2204         * sysdeps/nios2/dl-machine.h: New file.
2205         * sysdeps/nios2/dl-sysdep.h: New file.
2206         * sysdeps/nios2/dl-tls.h: New file.
2207         * sysdeps/nios2/dl-trampoline.S: New file.
2208         * sysdeps/nios2/gccframe.h: New file.
2209         * sysdeps/nios2/gmp-mparam.h: New file.
2210         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2211         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2212         * sysdeps/nios2/ldsodefs.h: New file.
2213         * sysdeps/nios2/libc-tls.c: New file.
2214         * sysdeps/nios2/libm-test-ulps: New file.
2215         * sysdeps/nios2/machine-gmon.h: New file.
2216         * sysdeps/nios2/math-tests.h: New file.
2217         * sysdeps/nios2/math_private.h: New file.
2218         * sysdeps/nios2/memusage.h: New file.
2219         * sysdeps/nios2/nptl/Makefile: New file.
2220         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2221         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2222         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2223         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2224         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2225         * sysdeps/nios2/nptl/tls.h: New file.
2226         * sysdeps/nios2/preconfigure: New file.
2227         * sysdeps/nios2/s_fma.c: New file.
2228         * sysdeps/nios2/s_fmaf.c: New file.
2229         * sysdeps/nios2/setjmp.S: New file.
2230         * sysdeps/nios2/sfp-machine.h: New file.
2231         * sysdeps/nios2/sotruss-lib.c: New file.
2232         * sysdeps/nios2/stackguard-macros.h: New file.
2233         * sysdeps/nios2/stackinfo.h: New file.
2234         * sysdeps/nios2/start.S: New file.
2235         * sysdeps/nios2/sysdep.h: New file.
2236         * sysdeps/nios2/tls-macros.h: New file.
2237         * sysdeps/nios2/tst-audit.h: New file.
2238         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2239         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2240         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2241         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2242         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2243         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2244         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2245         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2246         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2247         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2248         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2249         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2250         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2251         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2252         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2253         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2254         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2255         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2256         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2257         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2258         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2259         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2260         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2261         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2262         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2263         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2264         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2265         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2266         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2267         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2268         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2269         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2270         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2271         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2272         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2273         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2274         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2275         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2276         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2277         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2278         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2279         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2280         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2281         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2283 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2285         [BZ #17844]
2286         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2287         (getutent): Use weak_alias in non SHARED case
2288         and default_symbol_version in SHARED case.
2289         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2290         (getutent_r, pututline): Likewise.
2291         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2292         (getutid): Likewise.
2293         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2294         (getutid_r): Likewise.
2295         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2296         (getutline): Likewise.
2297         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2298         (getutline_r): Likewise.
2299         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2300         (updwtmp): Likewise.
2302 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2304         [BZ #17848]
2305         * sysdeps/s390/s390-32/memcmp.S
2306         (memcmp_g5): Rename to __memcmp_g5.
2307         * sysdeps/s390/s390-32/memcpy.S
2308         (memcpy_g5): Rename to __memcpy_g5.
2309         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2310         (memcpy_mvcle) Rename to __memcpy_mvcle.
2311         * sysdeps/s390/s390-32/memset.S
2312         (memset_g5): Rename to __memset_g5.
2313         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2314         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2315         and use prefixed functions.
2316         * sysdeps/s390/s390-32/multiarch/memcmp.S
2317         (memcmp_z196): Rename to __memcmp_z196.
2318         (memcmp_z10): Rename to __memcmp_z10.
2319         (memcmp): Set alias to __memcmp_g5.
2320         (bcmp): Set alias to __memcmp_g5.
2321         * sysdeps/s390/s390-32/multiarch/memcpy.S
2322         (memcpy_z196): Rename to __memcpy_z196.
2323         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2324         (memcpy_z10): Rename to __memcpy_z10.
2325         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2326         (memcpy): Set alias to __memcpy_g5.
2327         * sysdeps/s390/s390-32/multiarch/memset.S
2328         (memset_z196): Rename to __memset_z196.
2329         Jump to __memset_mvcle instead of memset_mvcle.
2330         (memset_z10): Rename to __memset_z10.
2331         Jump to __memset_mvcle instead of memset_mvcle.
2332         (memset_mvcle) Rename to __memset_mvcle.
2333         (memset): Set alias to __memset_g5.
2334         * sysdeps/s390/s390-64/memcmp.S
2335         (memcmp_z900): Rename to __memcmp_z900.
2336         * sysdeps/s390/s390-64/memcpy.S
2337         (memcpy_z900): Rename to __memcpy_z900.
2338         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2339         (memcpy_mvcle) Rename to __memcpy_mvcle.
2340         * sysdeps/s390/s390-64/memset.S
2341         (memset_z900): Rename to __memset_z900.
2342         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2343         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2344         and use prefixed functions.
2345         * sysdeps/s390/s390-64/multiarch/memcmp.S
2346         (memcmp_z196): Rename to __memcmp_z196.
2347         (memcmp_z10): Rename to __memcmp_z10.
2348         (memcmp): Set alias to __memcmp_z900.
2349         (bcmp): Set alias to __memcmp_z900.
2350         * sysdeps/s390/s390-64/multiarch/memcpy.S
2351         (memcpy_z196): Rename to __memcpy_z196.
2352         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2353         (memcpy_z10): Rename to __memcpy_z10.
2354         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2355         (memcpy): Set alias to __memcpy_z900.
2356         * sysdeps/s390/s390-64/multiarch/memset.S
2357         (memset_z196): Rename to __memset_z196.
2358         Jump to __memset_mvcle instead of memset_mvcle.
2359         (memset_z10): Rename to __memset_z10.
2360         Jump to __memset_mvcle instead of memset_mvcle.
2361         (memset_mvcle) Rename to __memset_mvcle.
2362         (memset): Set alias to __memset_z900.
2364 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2366         [BZ #17748]
2367         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2368         __fesetenv instead of fesetenv.
2370 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2372         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2373         macro.
2375 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2377         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2378         regression on LE.
2380         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2381         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2382         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2383         strncmp-power8 object.
2384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2385         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2386         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2387         * NEWS: Update.
2389 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2390             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2392         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2393         trailing byte check.
2395 2015-01-13  David S. Miller  <davem@davemloft.net>
2397         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2399 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2401         * login/logout.c (logout): Use memset rather than bzero.
2402         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2403         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2404         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2405         (_gethtbyaddr): Likewise.
2406         * locale/programs/simple-hash.c (bcopy): Macro removed.
2408 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2410         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2411         Add strcmp-power8 object.
2412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2413         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2414         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2415         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2416         __strcmp_power8 implementation.
2417         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2418         * NEWS: Update.
2420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2421         Add strncpy-power8 and stpncpy-power8 objects.
2422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2423         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2424         implementations.
2425         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2426         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2427         __stpncpy_power8 implementation.
2428         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2429         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2430         __strncpy_power8 implementation.
2431         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2432         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2433         * NEWS: Update.
2435         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2436         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2437         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2440         strncat-power8 object.
2441         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2442         __strcat_power8 implementation.
2443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2444         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2445         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2446         optimized strcat for power8.
2448         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2449         strcpy-power8 and stpcpy-power8 objects.
2450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2451         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2452         implementations.
2453         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2454         multiarch stpcpy implementation for POWER8.
2455         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2456         multiarch strcpy implementation for POWER8.
2457         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2458         __strcpy_power8 function.
2459         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2460         stpcpy for POWER8.
2461         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2462         strcpy for POWER8.
2463         * NEWS: Update.
2465 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2467         [BZ #16009]
2468         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2469         weights and rules. Use do_xfrm_cached if data fits in cache,
2470         do_xfrm otherwise.  Moved former main loop to...
2471         * (do_xfrm_cached): New function.
2472         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2473         find_idx, find_position and stack_push.
2474         * (find_idx): New function.
2475         * (find_position): Likewise.
2476         * localedata/sort-test.sh: Added test run for do_xfrm.
2477         * localedata/xfrm-test.c (main): Added command line option
2478         -nocache to run the test with strings that are too large for
2479         the STRXFRM cache.
2481 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2483         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2484         variable to lll_futex_wake call, not the value itself.
2486 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2488         [BZ #17803]
2489         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2490         twom64.  Adjust value to 0x1p-64L.
2491         (__scalblnl): Only return standard underflowing result for K <=
2492         -64 not K <= -63; adjust exponent for underflowing result by 64
2493         not 63.
2494         * math/libm-test.inc (scalbn_test_data): Add more tests.
2495         (scalbln_test_data): Likewise.
2497         [BZ #17834]
2498         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2499         0x1p63L.
2500         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2501         not HX.
2502         * math/libm-test.inc (scalbn_test_data): Add more tests.
2503         (scalbln_test_data): Likewise.
2505 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2506             Stefani Seibold  <stefani@seibold.net>
2508         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2509         (sysdep_routines): Add dl-vdso here, ...
2510         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2511         (sysdep_routines): ... not here.
2512         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2513         fallback when vDSO is not presented.
2514         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2515         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2516         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2517         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2518         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2519         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2520         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2521         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2522         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2523         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2524         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2525         fallback configurable symbol when vDSO is not available.
2526         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2527         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2528         be able to redefine fallback symbol when vDSO is not available.
2529         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2530         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2532 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2534         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2535         (TLS_INIT_TP): Add tm_capable initialization.
2536         (TLS_DEFINE_INIT_TP): Likewise.
2537         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2538         TCB.
2539         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2540         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2541         calculation.
2542         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2543         transactoion is lock elision is built and TCB tm_capable is set.
2544         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2546         (INTERNAL_SYSCALL_NCS): Likewise.
2547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2548         (INTERNAL_SYSCALL_NCS): Likewise.
2549         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2551         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2552         for powerpc.
2553         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2554         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2555         and remove it for 32 bits case.
2556         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2558         initialization.
2559         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2560         Disable lock elision with rdlocks if elision is not available.
2562         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2563         (sysdep_routines): Add lock elision objects.
2564         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2565         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2566         [pthread_mutex_t] (__elision): Add field.
2567         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2568         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2569         elision definitions for powerpc.
2570         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2571         implementation of lock elision for powerpc.
2572         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2573         implementation of timed lock elision for powerpc.
2574         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2575         implementation of trylock with lock elision for powerpc.
2576         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2577         implementaion of unlock for lock elision for powerpc.
2578         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2579         automatic enable lock elision for mutexes.
2580         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2581         transaction execution definitions for powerpc.
2582         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2583         definitions.
2584         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2585         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2586         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2587         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2588         * NEWS: Update.
2590 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2592         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2593         for #include of <shm-directory.h>.
2595 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2597         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2598         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2600 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2602         [BZ #17791]
2603         * NEWS: Mention bug fix.
2604         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2605         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2606         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2608 2015-01-09  Torvald Riegel <triegel@redhat.com>
2610         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2612 2015-01-09  Torvald Riegel <triegel@redhat.com>
2614         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2616 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2618         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2619         pointer and cast to uintptr_t.
2621 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2623         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2624         removed.
2625         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2627 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2629         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2630         of 0.
2632 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2634         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2635         <nptl/pthreadP.h> instead.
2636         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2638         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2639         already defined.
2640         [__SIGRTMIN] (init): Function removed.
2641         [__SIGRTMIN] (initialized): Variable removed.
2642         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2643         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2644         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2645         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2646         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2647         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2648         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2649         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2650         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2651         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2652         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2653         * sysdeps/nptl/allocrtsig.c: New file.
2654         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2655         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2656         * sysdeps/generic/testrtsig.h: File removed.
2658         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2659         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2661         * nptl/nptl-init.c (pthread_functions): Conditionalize
2662         .ptr__nptl_setxid initialization on [SIGSETXID].
2664         * sysdeps/nptl/sys/procfs.h: New file.
2665         * nptl_db/Makefile (headers): Add it.
2666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2668         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2669         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2670         * nptl/pthread_attr_setaffinity.c: Include it.
2671         * nptl/pthread_setattr_default_np.c: Likewise.
2672         * nptl/check-cpuset.h: New file.
2674 2015-01-08  Richard Henderson  <rth@redhat.com>
2676         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2677         (CFLAGS-tst-execstack-prog.c): Likewise.
2678         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2680 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2681             Sandra Loosemore  <sandra@codesourcery.com>
2682             Andrew Jenner  <andrew@codesourcery.com>
2683             Joseph Myers  <joseph@codesourcery.com>
2684             Nathan Sidwell  <nathan@codesourcery.com>
2686         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2687         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2688         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2689         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2690         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2691         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2692         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2693         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2694         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2695         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2696         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2697         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2698         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2699         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2700         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2701         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2702         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2704 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2706         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2707         timespec struct member in syscall macro.
2708         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2709         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2710         first timeval struct member in syscall macro.
2711         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2713 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2715         [BZ #17748]
2716         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2717         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2718         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2719         __feupdateenv and define as weak alias of __feupdateenv.  Use
2720         libm_hidden_weak.
2721         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2722         libm_hidden_def.
2723         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2724         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2725         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2726         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2727         libm_hidden_def.
2728         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2729         __feupdateenv and define as weak alias of __feupdateenv.  Use
2730         libm_hidden_weak.
2731         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2732         libm_hidden_def.
2733         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2734         __feupdateenv and define as weak alias of __feupdateenv.  Use
2735         libm_hidden_weak.
2736         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2737         libm_hidden_def.
2738         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2739         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2740         (__feupdateenv): Likewise.
2741         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2742         __feupdateenv and define as weak alias of __feupdateenv.  Use
2743         libm_hidden_weak.
2744         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2745         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2746         libm_hidden_def.
2747         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2748         function.
2749         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2750         libm_hidden_def.
2751         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2752         __feupdateenv instead of feupdateenv.
2753         (default_libc_feupdateenv_test): Likewise.
2754         (libc_feresetround_ctx): Likewise.
2756 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2758         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2759         prototype.
2761 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2763         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2764         COLL_SYM in a couple of places to avoid uninitialized variable
2765         wanings on tilegx gcc 4.8.2.
2767 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2769         * sysdeps/aarch64/strcpy.S: New file.
2770         * sysdeps/aarch64/stpcpy.S: New file.
2771         * NEWS: Updated.
2773 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2775         * sysdeps/aarch64/strrchr.S: New file.
2776         * NEWS: Updated.
2778 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2780         [BZ #17658]
2781         * stdlib/setenv.c: Fix memory leak when setting large,
2782         duplicate string.
2784 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2786         [BZ #17273]
2787         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2788         and tabs from buffer before parsing fstab entry.
2789         * misc/tst-mntent.c (main): Add test for mount entry with
2790         trailing spaces and tabs.
2792 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2794         [BZ #17748]
2795         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2796         * math/fesetround.c (fesetround): Rename to __fesetround and
2797         define as weak alias of __fesetround.  Use libm_hidden_weak.
2798         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2799         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2800         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2801         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2802         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2803         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2804         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2805         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2806         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2807         __fesetround_inline.
2808         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2809         __fesetround_inline instead of __fesetround.
2810         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2811         __fesetround and define as weak alias of __fesetround.  Use
2812         libm_hidden_weak.  Call __fesetround_inline instead of
2813         __fesetround.
2814         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2815         __fesetround and define as weak alias of __fesetround.  Use
2816         libm_hidden_weak.
2817         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2818         Likewise.
2819         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2820         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2821         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2822         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2823         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2824         __fesetround and define as weak alias of __fesetround.  Use
2825         libm_hidden_weak.
2826         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2827         __fesetround instead of fesetround.
2828         (default_libc_feholdexcept_setround): Likewise.
2829         (libc_feholdsetround_ctx): Likewise.
2830         (libc_feholdsetround_noex_ctx): Likewise.
2832         [BZ #17748]
2833         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2834         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2835         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2836         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2837         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2838         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2839         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2840         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2841         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2842         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2843         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2844         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2845         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2846         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2847         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2848         libm_hidden_def.
2849         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2850         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2851         Likewise.
2852         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2853         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2854         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2855         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2856         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2857         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2858         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2859         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2860         __fesetenv instead of fesetenv.
2861         (libc_feresetround_noex_ctx): Likewise.
2862         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2863         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2864         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2865         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2866         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2867         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2868         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2869         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2870         (__feupdateenv): Likewise.
2871         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2872         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2873         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2874         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2876 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2878         [BZ #17806]
2879         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2880         addresses have been freed.
2882 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2884         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2885         and nservall.
2887 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2889         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2890         Clean up check_pf allocation pattern. addresses
2892 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2894         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2895         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2896         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2897         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2898         * nptl/pthread_join.c (pthread_join): Likewise.
2899         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2900         * sysdeps/posix/waitid.c (__waitid): Likewise.
2901         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2902         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2903         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2904         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2906         Likewise.
2907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2908         (__libc_pread64): Likewise.
2909         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2910         (__libc_pwrite): Likewise.
2911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2912         (__libc_pwrite64): Likewsie.
2913         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2914         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2915         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2916         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2917         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2918         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2919         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2921         Likewise.
2922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2923         (__libc_pread64): Likewise.
2924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2925         Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2927         (__libc_pwrite64): Likewise.
2928         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2929         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2930         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2931         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2932         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2933         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2934         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2935         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2936         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2937         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2938         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2939         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2940         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2941         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2942         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2943         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2944         Likewise.
2946 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2948         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2949         (CFLAGS-test-double.c): Likewise.
2950         (CFLAGS-test-ldouble.c): Likewise.
2951         (CPPFLAGS-test-ifloat.c): Likewise.
2952         (CPPFLAGS-test-idouble.c): Likewise.
2953         (CPPFLAGS-test-ildoubl.c): Likewise.
2954         (CFLAGS-test-test-fenv.c): Remove variable.
2955         (CFLAGS-test-misc.c): Likewise.
2957 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2959         [BZ #17797]
2960         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2961         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2962         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2963         CLOCKS_PER_SEC == 1000000.
2964         * time/clocktest.c (main): Replace %ld with %jd and cast to
2965         intmax_t.
2967 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2969         * sysdeps/generic/unwind-resume.h: New file.
2970         * sysdeps/gnu/unwind-resume.c: Include it.
2971         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2972         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2973         argument list.
2974         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2975         global rather than static.
2976         (_Unwind_Resume): Update user.
2977         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2978         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2979         rather than static.  Add __attribute__ ((cold)).
2980         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2981         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2982         * sysdeps/arm/arm-unwind-resume.S: New file.
2983         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2984         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2985         * sysdeps/arm/Makefile [$(subdir) = csu]
2986         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2987         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2988         Add rt-arm-unwind-resume.
2989         [$(subdir) = nptl]
2990         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2991         Add pt-arm-unwind-resume.
2992         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2993         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2995 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2997         [BZ #17748]
2998         * include/fenv.h (__feholdexcept): Declare.  Use
2999         libm_hidden_proto.
3000         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3001         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
3002         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3003         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3004         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3005         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3006         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3007         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3008         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3009         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3010         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3011         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3012         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3013         (feholdexcept): Likewise.
3014         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3015         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3016         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3017         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3018         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3019         __feholdexcept instead of feholdexcept.
3020         (default_libc_feholdexcept_setround): Likewise.
3022 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3024         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3025         to avoid using stl/str to align destination.
3027 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3029         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3031 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3033         [BZ #17796]
3034         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3035         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3036         Define as weak alias not strong alias.
3038 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3040         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3041         bltzal with addiupc.
3042         (RTLD_START): Ditto.
3044 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3046         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3047         for __vdso_* functions in declarations.
3048         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3049         definitions.
3050         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3051         INTERNAL_VSYSCALL): Use struct return types to check for error.
3053         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3054         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3055         function with cast from llround().
3056         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3057         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3058         Define.
3060 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3062         [BZ #17793]
3063         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3064         Define as weak alias not strong alias.
3066         [BZ #17635]
3067         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3068         ...
3069         * ctype/ctype-extn.c: ... here.
3070         (__isblank_l): Move to ...
3071         * ctype/ctype-c99_l.c: ... here.  New file.
3072         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3073         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3074         Remove variable.
3075         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3076         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3077         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3078         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3079         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3081         [BZ #17777]
3082         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3083         (posix_fadvise64): Define as weak alias not strong alias.
3084         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3085         (posix_fallocate64): Likewise.
3086         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3087         Remove variable.
3088         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3089         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3090         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3091         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3092         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3094 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3096         [BZ #16191]
3097         * NEWS: Mention bug fix.
3098         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3099         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3100         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3101         (HOST_STACK_END_ADDR): Likewise.
3103 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3105         [BZ #17748]
3106         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3107         * math/fegetround.c (fegetround): Rename to __fegetround and
3108         define as weak alias of __fegetround.  Use libm_hidden_weak.
3109         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3110         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3111         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3112         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3113         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3114         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3115         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3116         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3117         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3118         Undefine after rather than before function definition; use
3119         parentheses around function name in definition.
3120         (__fegetround): Also undefine macro after function definition.
3121         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3122         __fegetround and define as weak alias of __fegetround.  Use
3123         libm_hidden_weak.  Do not undefine as macro.
3124         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3125         Likewise.
3126         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3127         __fegetround and define as weak alias of __fegetround.  Use
3128         libm_hidden_weak.
3129         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3130         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3131         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3132         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3133         __fegetround and define as weak alias of __fegetround.  Use
3134         libm_hidden_weak.
3135         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3136         __fegetround instead of fegetround.
3138         [BZ #17782]
3139         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3140         Condition macro definition on [__USE_MISC].
3142         [BZ #17781]
3143         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3144         (struct sigaction): Change type of sa_flags field to int.
3146         [BZ #17780]
3147         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3148         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3149         __glibc_reserved0.
3151         * nptl/version.c (banner): Use single year in copyright notice.
3153         * NEWS: Update copyright dates.
3154         * catgets/gencat.c (print_version): Likewise.
3155         * csu/version.c (banner): Likewise.
3156         * debug/catchsegv.sh: Likewise.
3157         * debug/pcprofiledump.c (print_version): Likewise.
3158         * debug/xtrace.sh (do_version): Likewise.
3159         * elf/ldconfig.c (print_version): Likewise.
3160         * elf/ldd.bash.in: Likewise.
3161         * elf/pldd.c (print_version): Likewise.
3162         * elf/sotruss.sh: Likewise.
3163         * elf/sprof.c (print_version): Likewise.
3164         * iconv/iconv_prog.c (print_version): Likewise.
3165         * iconv/iconvconfig.c (print_version): Likewise.
3166         * locale/programs/locale.c (print_version): Likewise.
3167         * locale/programs/localedef.c (print_version): Likewise.
3168         * login/programs/pt_chown.c (print_version): Likewise.
3169         * malloc/memusage.sh (do_version): Likewise.
3170         * malloc/memusagestat.c (print_version): Likewise.
3171         * malloc/mtrace.pl: Likewise.
3172         * manual/libc.texinfo: Likewise.
3173         * nptl/version.c (banner): Likewise.
3174         * nscd/nscd.c (print_version): Likewise.
3175         * nss/getent.c (print_version): Likewise.
3176         * nss/makedb.c (print_version): Likewise.
3177         * posix/getconf.c (main): Likewise.
3178         * scripts/test-installation.pl: Likewise.
3179         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3181 2015-01-02  Will Newton  <will.newton@linaro.org>
3183         * sysdeps/arm/armv7/configure: Removed.
3184         * sysdeps/arm/armv7/configure.ac: Likewise.
3186 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3188         * All files with FSF copyright notices: Update copyright dates
3189         using scripts/update-copyrights.
3190         * intl/plural.c: Regenerated.
3191         * locale/programs/charmap-kw.h: Likewise.
3192         * locale/programs/locfile-kw.h: Likewise.
3194 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3196         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3198 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3200         [BZ #17748]
3201         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3202         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3203         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3204         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3205         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3206         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3207         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3208         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3209         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3210         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3211         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3212         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3213         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3214         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3215         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3216         libm_hidden_def.
3217         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3218         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3219         Likewise.
3220         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3221         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3222         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3223         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3224         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3225         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3226         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3227         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3228         __fegetenv instead of fegetenv.
3229         (libc_feholdsetround_noex_ctx): Likewise.
3231 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3233         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3234         (Elf_MIPS_ABIFlags_v0): New structure.
3235         (EF_MIPS_FP64): Define.
3236         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3237         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3238         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3239         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3240         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3241         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3242         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3243         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3244         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3245         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3246         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3247         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3248         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3249         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3250         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3251         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3252         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3253         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3254         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3255         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3256         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3257         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3258         field.
3259         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3260         EF_MIPS_FP64.
3261         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3262         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3263         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3264         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3265         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3266         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3267         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3268         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3269         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3270         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3271         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3272         record the current FP ABI extension.
3273         (mips-mode-switch): Define to show if kernel headers support mode
3274         switching.
3275         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3276         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3277         supported SYSV ABI version to 3.
3278         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3279         feature.
3281 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3282             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3284         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3285         path.
3286         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3288 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3290         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3291         __fegetround and redefine to call __fegetround.  Remove condition
3292         on [!__NO_MATH_INLINES].
3293         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3294         function.
3295         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3296         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3297         Remove macro.
3298         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3299         instead of <fenv_libc.h>.
3300         (__llrintl): Call fegetround instead of __fegetround.
3301         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3302         instead of <fenv_libc.h>.
3303         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3304         (__lrintl): Call fegetround instead of __fegetround.
3305         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3306         instead of <fenv_libc.h>.
3307         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3308         (__rintl): Call fegetround instead of __fegetround.
3310 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3312         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3313         arrays.
3315 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3317         [BZ #17775]
3318         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3319         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3320         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3322 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3324         * sysdeps/i386/tls-macros.h: Include <features.h>.
3325         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3326         (TLS_IE): Likewise.
3327         (TLS_LD): Likewise.
3328         (TLS_GD): Likewise.
3329         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3330         define for GCC >= 5.0.
3332 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3334         * math/test-fenv.c (test_single_exception, set_single_exc,
3335         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3336         feexcp_mask_test, feenable_test, fe_single_test): Add
3337         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3338         case where they are not used.
3339         * math/libm-test.inc: Likewise.
3340         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3341         unused in the absence of FP rounding/exception support.
3342         * stdio-common/tst-printf-round.c: Likewise.
3343         * stdlib/tst-strtod-round.c: Likewise.
3344         * stdlib/tst-strtod-underflow.c: Likewise.
3346 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3348         [BZ #17723]
3349         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3350         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3351         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3352         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3353         libm_hidden_weak.
3354         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3355         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3356         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3357         libm_hidden_def.
3358         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3359         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3360         libm_hidden_weak.
3361         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3362         Likewise.
3363         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3364         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3365         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3366         libm_hidden_weak.
3367         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3368         libm_hidden_def.
3369         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3370         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3371         (__feraiseexcept): Likewise.
3372         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3373         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3374         libm_hidden_weak.
3375         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3376         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3377         libm_hidden_def.
3378         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3379         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3380         Use libm_hidden_def.
3381         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3382         libm_hidden_def.
3383         (feraiseexcept): Define as weak not strong alias.  Use
3384         libm_hidden_weak.
3385         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3386         New inline function.  Factored out of ...
3387         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3388         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3389         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3390         feraiseexcept.
3391         * math/w_acos.c (__acos): Likewise.
3392         * math/w_asin.c (__asin): Likewise.
3393         * math/w_ilogb.c (__ilogb): Likewise.
3394         * math/w_j0.c (y0): Likewise.
3395         * math/w_j1.c (y1): Likewise.
3396         * math/w_jn.c (yn): Likewise.
3397         * math/w_log.c (__log): Likewise.
3398         * math/w_log10.c (__log10): Likewise.
3399         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3400         * sysdeps/aarch64/fpu/math_private.h
3401         (libc_feupdateenv_test_aarch64): Likewise.
3402         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3403         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3404         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3405         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3406         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3407         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3408         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3409         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3410         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3411         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3413 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3415         [BZ #17732]
3416         * io/test-utime.c (main): Replace %ld with %jd and cast to
3417         intmax_t.
3418         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3419         * nptl/tst-mutex5.c: Include <stdint.h>.
3420         (do_test): Replace %ld with %jd and cast to intmax_t.
3421         * posix/tst-regex.c (run_test): Likewise.
3422         (run_test_backwards): Likewise.
3423         * rt/tst-clock.c: Include <stdint.h>.
3424         (clock_test): Replace %ld with %jd and cast to intmax_t.
3425         * rt/tst-cpuclock1.c: Include <stdint.h>.
3426         (do_test): Replace %lu with %ju and cast to uintmax_t.
3427         * rt/tst-cpuclock2.c: Include <stdint.h>.
3428         (do_test): Replace %lu with %ju and cast to uintmax_t.
3429         * rt/tst-mqueue1.c: Include <stdint.h>.
3430         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3431         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3432         intmax_t.
3433         * rt/tst-mqueue4.c (do_test): Likewise.
3434         * rt/tst-timer4.c: Include <stdint.h>.
3435         (check_ts): Replace %ld with %jd and cast to intmax_t.
3436         (do_test): Likewise.
3437         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3438         and cast to intmax_t.
3439         * sysdeps/pthread/tst-timer.c (main): Likewise.
3440         * time/clocktest.c (main): Likewise.
3441         * time/tst-posixtz.c (do_test): Likewise.
3442         * timezone/tst-timezone.c (main): Likewise.
3444 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3445             H.J. Lu  <hongjiu.lu@intel.com>
3447         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3448         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3449         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3450         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3451         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3452         version if bit_Fast_Unaligned_Load is set.
3453         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3454         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3455         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3456         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3457         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3458         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3460         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3461         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3462         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3463         to 4.
3464         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3465         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3466         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3467         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3469 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3471         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3472         instead of #if to avoid a Wundef warning.
3473         * stdlib/tst-limits.c (do_test): Likewise.
3475         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3476         parallel other exception macros.
3477         (fegetenv): Convert from macro to extern inline so that it applies
3478         retroactively to inline functions already seen by the compiler.
3479         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3481         * posix/Makefile (before-compile): Use $(objpfx) for
3482         posix-conf-vars-def.h.
3484 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3486         * posix/getconf.c (main): Use size_t for type of I.
3487         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3488         NSPEC.
3490         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3491         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3492         * posix/posix-envs.def: Likewise.
3493         * sysdeps/posix/sysconf.c: Likewise.
3494         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3495         (specs): Remove array.
3496         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3497         array.
3499         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3500         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3501         (__sysconf): Use CONF_IS_* macros.
3503         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3504         ($(objpfx)posix-conf-vars-def.h): New target.
3505         * posix/posix-conf-vars.list: New file.
3506         * posix/posix-conf-vars.h: New file.
3507         * posix/confstr.c: Include posix-conf-vars.h.
3508         (confstr): Use CONF_IS_* macros.
3509         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3510         CONF_IS_* macros.
3511         * scripts/gen-posix-conf-vars.awk: New file.
3513 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3515         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3516         fegetround): Add no-op macros to avoid linknamespace issues.
3518         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3519         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3521         * sysdeps/unix/sysv/linux/tile/sysdep.h
3522         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3523         assembly-specific section to avoid a redefinition warning.
3525         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3526         long before casting to pointer to avoid a cast warning.
3528 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3530         * sysdeps/tile/tilegx/Implies: New file.
3532 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3534         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3536 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3538         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3540 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3542         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3543         not define.
3544         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3545         <kernel-features.h>.
3546         (__utimes) [__NR_utimes]: Make code unconditional.
3547         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3548         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3549         (__ASSUME_UTIMES): Do not undefine.
3550         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3551         (__ASSUME_UTIMES): Likewise.
3552         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3553         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3554         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3555         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3557 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3559         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3561 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3563         [BZ #17747]
3564         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3565         alias to weak alias for j0l, y0l.
3566         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3567         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3569         [BZ #17746]
3570         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3571         conversion.
3573 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3575         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3576         to zero if not already defined.
3578 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3580         [BZ #17724]
3581         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3582         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3583         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3584         (char *) casts added.
3585         * sysdeps/ieee754/k_standardf.c: New file.
3586         * sysdeps/ieee754/k_standardl.c: Likewise.
3587         * math/Makefile (libm-support): Remove k_standard.
3588         (libm-calls): Add k_standard.
3590 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3592         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3593         Optimize to avoid an unnecessary FPCR read.
3595 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3597         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3598         Optimize to reduce FPCR/FPSR accesses.
3600 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3602         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3603         Call libc_fetestexcept_aarch64.
3605 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3607         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3608         Call libc_fesetround_aarch64.
3610 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #17733]
3613         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3614         (__bind): Do not define as weak alias.
3615         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3616         define.
3617         (__getsockname): Do not define as weak alias.
3619 2014-12-22  Will Newton  <will.newton@linaro.org>
3621         * manual/install.texi: Document that we require bison 2.7
3622         or above.
3623         * INSTALL: Regenerate.
3624         * configure.ac: Use AC_CHECK_PROG_VER instead of
3625         AC_PATH_PROG when checking for bison and check for
3626         version 2.7 or above.
3627         * configure: Regenerate.
3629 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3631         [BZ #17745]
3632         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3633         * sysdeps/tile/ffsll.c (ffsll): To here.
3635         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3637 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3639         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3640         if not defined.
3641         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3642         definition.
3643         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3644         hidden ___tls_get_addr.
3645         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3646         hidden __tls_get_addr.
3647         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3648         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3649         Likewise.
3651 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3653         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3654         _dl_init call.
3656 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3658         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3659         from "call _dl_init@PLT".
3660         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3662 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3664         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3665         guarantees.
3667 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3669         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3671 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3673         [BZ #17744]
3674         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3675         strnlen.
3677 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3679         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3680         of multu on MIPSr6.
3681         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3682         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3683         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3684         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3685         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3687 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3689         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3690         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3691         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3692         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3693         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3694         mips32r6/mips64r6.
3695         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3697 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3699         * string/strncat.c (STRNCAT): Simplify implementation.
3701 2014-12-19  David S. Miller  <davem@davemloft.net>
3703         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3704         access the quad as both a long double and as a series of 4 words.
3706         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3707         link_map->l_info array access.
3709 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3711         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3713         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3714         * math/atest-exp2.c (TIMEOUT): Likewise.
3715         * math/atest-sincos.c (TIMEOUT): Likewise.
3717 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3719         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3720         -Wno-error with -fno-builtin-lround.
3722 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3724         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3725         Contains futex constants and functions moved over from ...
3726         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3727         <lowlevellock-futex.h>.
3728         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3729         (lll_timedwait_tid): Add comments and parentheses around macro
3730         arguments.
3732 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3734         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3735         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3736         (__lll_private_flag): Remove.
3737         (lll_futex_wait): Likewise.
3738         (lll_futex_timed_wait): Likewise.
3739         (lll_futex_wake): Likewise.
3740         (lll_futex_requeue): Likewise.
3741         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3742         (__lll_timedwait_tid): Spell out argument names.
3743         (lll_timedwait_tid): Add comments and parentheses around macro
3744         arguments.
3745         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3746         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3748 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3750         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3751         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3752         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3753         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3754         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3755         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3756         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3757         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3758         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3759         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3760         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3761         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3762         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3763         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3764         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3765         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3766         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3767         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3768         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3770 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3772         * sysdeps/x86_64/x32/Makefile: New file.
3774 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3776         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3777         1L with (mp_limb_t) 1.
3779 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3781         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3782         * nptl/libc_pthread_init.c: ... here.
3783         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3784         * nptl/register-atfork.c: ... here.
3786         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3787         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3788         Use assert_perror to check its return value.
3789         (__gai_create_helper_thread): Likewise.
3791         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3793         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3795 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3797         [BZ #17725]
3798         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3799         __profil_counter.
3800         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3801         Likewise.
3802         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3803         Likewise.
3804         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3805         Likewise.
3806         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3807         (profil_counter): Likewise.
3808         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3809         (profil_counter): Likewise.
3810         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3811         Likewise.
3812         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3813         Likewise.
3814         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3815         (profil_counter): Likewise.
3816         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3817         Likewise.
3818         [!__profil_counter] (profil_counter): Define as weak alias of
3819         __profil_counter.
3820         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3821         (profil_counter): Rename to __profil_counter.
3822         [!__profil_counter] (profil_counter): Define as weak alias of
3823         __profil_counter.
3824         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3825         (profil_counter): Rename to __profil_counter.
3826         [!__profil_counter] (profil_counter): Define as weak alias of
3827         __profil_counter.
3828         * sysdeps/posix/profil.c: Update comment referring to
3829         profil_counter.
3830         (__profil): Use __profil_counter instead of profil_counter.
3831         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3832         __profil_counter.  Use __profil_counter_ushort and
3833         __profil_counter_uint in definitions.
3834         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3835         instead of profil_counter_uint and profil_counter_ushort.
3837         [BZ #17722]
3838         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3839         define as weak alias of __inet_makeaddr.
3840         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3841         as weak alias of __inet_addr.
3842         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3843         as weak alias of __inet_pton.  Use libc_hidden_weak.
3844         * include/arpa/inet.h (__inet_pton): Declare.  Use
3845         libc_hidden_proto.
3846         (inet_makeaddr): Don't use libc_hidden_proto.
3847         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3848         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3849         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3850         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3851         Remove variable.
3852         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3853         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3855 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3857         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3859 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3861         * stdio-common/bug-vfprintf-nargs.c (do_test):
3862         Cast value to intptr_t to avoid format warning
3863         for usage with PRIdPTR printing macro.
3865 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3867         * libio/tst-widetext.c (do_test):
3868         Use format type %td instead of %Zd for ptrdiff_t
3869         in order to avoid format warning.
3871 2014-12-17  Andreas Schwab  <schwab@suse.de>
3873         * nscd/mem.c (gc): Add size_t cast to match printf format.
3875 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3877         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3878         (init): Apply PTR_MANGLE to pointers before storing them.
3879         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3880         before using them.
3882 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3884         [BZ #17719]
3885         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3886         define as weak alias of __memrchr.
3887         (__memrchr): Do not define as strong alias of memrchr.
3888         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3889         Remove variable.
3890         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3891         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3892         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3894         [BZ #17717]
3895         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3896         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3897         (if_indextoname): Rename to __if_indextoname and define as weak
3898         alias of __if_indextoname.  Use libc_hidden_weak.
3899         (if_freenameindex): Rename to __if_freenameindex and define as
3900         weak alias of __if_freenameindex.
3901         (if_nameindex): Rename to __if_nameindex and define as weak alias
3902         of __if_nameindex.
3903         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3904         __if_nametoindex and define as weak alias of __if_nametoindex.
3905         Use libc_hidden_weak.
3906         (if_freenameindex): Rename to __if_freenameindex and define as
3907         weak alias of __if_freenameindex.
3908         (if_nameindex): Rename to __if_nameindex and define as weak alias
3909         of __if_nameindex.
3910         (if_indextoname): Rename to __if_indextoname and define as weak
3911         alias of __if_indextoname.  Use libc_hidden_weak.
3912         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3913         __if_nametoindex and define as weak alias of __if_nametoindex.
3914         Use libc_hidden_weak.
3915         (if_freenameindex): Rename to __if_freenameindex and define as
3916         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3917         (if_nameindex_netlink): Use __if_freenameindex instead of
3918         if_freenameindex.
3919         (if_nameindex): Rename to __if_nameindex and define as weak alias
3920         of __if_nameindex.  Use libc_hidden_weak.
3921         (if_indextoname): Rename to __if_indextoname and define as weak
3922         alias of __if_indextoname.  Use libc_hidden_weak.
3923         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3924         libc_hidden_proto.
3925         [!_ISOMAC] (__if_freenameindex): Likewise.
3926         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3927         if_nametoindex.
3928         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3929         variable.
3930         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3931         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3932         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3933         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3934         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3935         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3936         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3938         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3939         Remove variable.
3940         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3941         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3943 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3945         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3946         subscript above bounds'
3948         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3949         bounds.
3951 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3953         * libio/tst-fopenloc.c: Use test-skeleton.c.
3955         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3956         (entry): Rename to ITEM.
3957         (do_test, comp): Adjust.
3959         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3961 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3963         * string/tester.c: Include <libc-internal.h>.
3964         (test_memset): Ignore -Wmemset-transposed-args.
3966 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3968         * misc/tst-mntent2.c (do_test): Fix warning.
3970 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3972         * elf/tst-unique4lib.cc(a): Mark as used.
3974 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3976         [BZ #17630]
3977         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3978         names.
3980 2014-12-16  Allan McRae  <allan@archlinux.org>
3982         * stdio-common/Makefile (tests): Re-add bug26.
3984 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3986         [BZ #17657]
3987         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3988         static array.
3990 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3992         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3993         (__lll_lock_wait): Likewise.
3994         (__lll_timedlock_wait): Likewise.
3995         (__lll_timedwait_tid): Likewise.
3996         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3997         (__lll_robust_timedlock_wait): Likewise.
3998         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3999         (lll_cond_trylock): Likewise.
4000         (__lll_lock): Likewise.
4001         (__lll_robust_lock): Likewise.
4002         (__lll_cond_lock): Likewise.
4003         (lll_robust_cond_lock): Likewise.
4004         (__lll_timedlock): Likewise.
4005         (__lll_robust_timedlock): Likewise.
4006         (__lll_unlock): Likewise.
4007         (__lll_robust_unlock): Likewise.
4008         (lll_wait_tid): Likewise.
4009         (lll_timedwait_tid): Likewise.
4011 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4013         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4015 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4017         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4019 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4021         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4022         * stdio-common/tst-sprintf.c: Likewise.
4024 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4026         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4028 2014-12-15  Jeff Law  <law@redhat.com>
4030         [BZ #16617]
4031         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4032         on the heap.  (CVE-2012-3406)
4033         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4034         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4035         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4037 2014-12-15  Will Newton  <will.newton@linaro.org>
4039         * manual/install.texi: Bump required version of texinfo
4040         to 4.7 from 4.5.
4041         * INSTALL: Regenerated.
4042         * configure.ac: Check for makeinfo version 4.7 and above.
4043         * configure: Regenerated.
4045 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4047         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4048         PREFIX, string constant to insert between directory and name.
4049         * sysdeps/posix/shm_open.c: Update caller.
4050         * sysdeps/posix/shm_unlink.c: Likewise.
4051         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4052         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4053         (SEM_SHM_PREFIX): New macro.
4054         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4055         [$(have-thread-library) = no].
4056         * nptl/Makefile (libpthread-routines): Add shm-directory.
4057         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4058         * sysdeps/nptl/shm-directory.h: New file.
4059         * sysdeps/posix/shm-directory.c
4060         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4061         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4062         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4063         INTERNAL_SYSCALL.
4064         (__where_is_shmfs): Function removed.
4065         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4066         Variables removed.
4067         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4068         Use SHM_GET_NAME.
4069         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4071         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4072         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4073         unconditional for use inside libpthread.
4074         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4076 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4078         * nptl/pthread_getaffinity.c: New file.
4079         * nptl/pthread_setaffinity.c: New file.
4080         * nptl/pthread_getname.c: New file.
4081         * nptl/pthread_setname.c: New file.
4083         * nptl/pthread_create.c (START_THREAD_DEFN)
4084         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4086 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4087             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4089         * resolv/res_send.c (send_vc): Disable warning resplen may
4090         be used uninitialized.
4092 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4094         * nptl/tst-mutex6.c
4095         (ATTR_NULL): New define checks ATTR against NULL.
4096         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4097         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4099 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4101         [BZ #17581]
4102         * malloc/hooks.c
4103         (mem2mem_check): Revert my previous change.
4104         (malloc_check_get_size): Revert my previous change.
4105         (mem2chunk_check): Revert my previous change.
4107 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4109         * sysdeps/posix/shm-directory.c: New file.
4110         * sysdeps/posix/shm-directory.h: New file.
4111         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4112         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4113         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4114         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4115         Transmute EPERM to EACCES.
4116         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4117         from ...
4118         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4119         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4121 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4123         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4124         pointer and cast to uintptr_t.
4125         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4126         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4127         Add cast to avoid warning.
4128         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4130 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4132         * nptl/semaphore.h: Move to ...
4133         * sysdeps/pthread/semaphore.h: ... here.
4134         * Makefile (installed-headers): Change nptl/semaphore.h to
4135         sysdeps/pthread/semaphore.h.
4137 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4139         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4140         generated error format strings.
4142         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4143         -Wformat-extra-args warnings for scanf formats.
4144         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4145         test of zero-length format (duh).
4146         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4147         corner-case scanf format test.
4148         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4149         generated fprintf format string.
4150         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4151         corner-case sprintf format tests.
4152         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4153         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4154         -Wformat-extra-args warnings throughout.
4155         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4156         (CFLAGS-scanf4.c): Likewise.
4157         (CFLAGS-scanf7.c): Likewise.
4158         (CFLAGS-tst-sprintf.c): Likewise.
4159         (CFLAGS-tst-printf.c): Likewise.
4160         (CFLAGS-tst-printfsz.c): Likewise.
4162 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4164         * include/cpio.h: New file.
4165         * include/fmtmsg.h: Likewise.
4167         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4168         corresponding format argument to size_t.
4169         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4170         arguments.
4171         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4172         corresponding format argument to size_t.
4173         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4174         arguments.
4175         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4176         corresponding format argument to size_t.
4177         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4178         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4179         (CFLAGS-tst-mbswcs2.c): Likewise.
4180         (CFLAGS-tst-mbswcs3.c): Likewise.
4181         (CFLAGS-tst-mbswcs4.c): Likewise.
4182         (CFLAGS-tst-mbswcs5.c): Likewise.
4183         (CFLAGS-tst-trans.c): Likewise
4185 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4187         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4188         rather than assuming they won't contain any '%'s.
4190 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4192         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4193         inhibit_loop_to_libcall to avoid recursive calls.
4194         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4195         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4197 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4199         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4200         prototype.
4202 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4204         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4205         integer value instead of boolean.
4207 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4209         * malloc/malloc.c: Fix powerof2 check.
4211 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4213         * locale/programs/locfile.h (maybe_swap_uint32):
4214         Remove inline and add unused attribute.
4216 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4219         Truncating assembler expression to a .long expression.
4221 2014-12-11  Andreas Schwab  <schwab@suse.de>
4223         * elf/rtld.c (struct map_args): Constify str member.
4224         (do_preload): Constify fname argument.
4226 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4228         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4229         constants definition.
4231 2014-12-11  Andreas Schwab  <schwab@suse.de>
4233         [BZ #16657]
4234         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4235         FORCE_ELISION instead of DO_ELISION.
4236         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4237         Remove.
4238         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4239         Likewise.
4241         * iconvdata/gconv-modules: Remove duplicate entry.
4243 2014-12-11  Will Newton  <will.newton@linaro.org>
4245         Merge gettext 0.19.3 into intl/.
4247         This involves a number of cosmetic changes to comments
4248         and ANSI function definitions and prototypes throughout
4249         all the files. The gettext copyright header is used but
4250         with the date ranges taken from the glibc copy.
4252         * NEWS: Add gettext merge to 2.21.
4253         * intl/bindtextdom.c: Switch to gettext copyright.
4254         Use ANSI definitions and prototypes.
4255         Use gl_* locking primitives rather than __libc_* ones.
4256         Use __builtin_expect rather than __glibc_likely/unlikely.
4257         * intl/dcgettext.c: Switch to gettext copyright.
4258         Use ANSI definitions and prototypes.
4259         * intl/dcigettext.c: Switch to gettext copyright.
4260         Use ANSI definitions and prototypes.
4261         (INTDIV0_RAISES_SIGFPE): New define.
4262         Use gl_* locking primitives rather than __libc_* ones.
4263         Include eval-plural.h instead of plural-eval.c.
4264         Use __builtin_expect rather than __glibc_likely/unlikely.
4265         * intl/dcngettext.c: Switch to gettext copyright.
4266         Use ANSI definitions and prototypes.
4267         * intl/dgettext.c: Likewise.
4268         * intl/dngettext.c: Likewise.
4269         * intl/plural-eval.c: Renamed to...
4270         * intl/eval-plural.h: ...this.
4271         * intl/explodename.c: Switch to gettext copyright.
4272         Use ANSI definitions and prototypes.
4273         (_nl_explode_name): Use strchr instead of __rawmemchr.
4274         * intl/finddomain.c: Switch to gettext copyright.
4275         Use ANSI definitions and prototypes.
4276         Use gl_* locking primitives rather than __libc_* ones.
4277         (_nl_find_domain): Use malloc rather than alloca for
4278         allocation of temporary locale name.
4279         * intl/gettext.c: Switch to gettext copyright.
4280         Use ANSI definitions and prototypes.
4281         * intl/gettextP.h: Switch to gettext copyright.
4282         Use ANSI definitions and prototypes.
4283         Use gl_* locking primitives rather than __libc_* ones.
4284         * intl/gmo.h: Switch to gettext copyright.
4285         (struct sysdep_string): Move struct segment_pair outside of
4286         struct definition.
4287         * intl/hash-string.c: Use ANSI definitions and prototypes.
4288         * intl/hash-string.h: Switch to gettext copyright.
4289         Use ANSI definitions and prototypes.
4290         * intl/l10nflist.c: Switch to gettext copyright.
4291         Use ANSI definitions and prototypes.
4292         (_nl_normalize_codeset): Avoid integer overflow.
4293         * intl/loadinfo.h: Switch to gettext copyright.
4294         Use ANSI definitions and prototypes.
4295         (LIBINTL_DLL_EXPORTED): New define.
4296         (PATH_SEPARATOR): New define.
4297         * intl/loadmsgcat.c: Switch to gettext copyright.
4298         * intl/localealias.c: Switch to gettext copyright.
4299         Use ANSI definitions and prototypes.
4300         (_nl_expand_alias): Use PATH_SEPARATOR.
4301         * intl/ngettext.c: Switch to gettext copyright.
4302         Use ANSI definitions and prototypes.
4303         * intl/plural-exp.c: Likewise.
4304         * intl/plural-exp.h: Switch to gettext copyright.
4305         Use ANSI definitions and prototypes.
4306         (struct expression): Move definition of enum operator outside
4307         of struct definition.
4308         * intl/plural.c: Regenerate.
4309         * intl/plural.y: Switch to gettext copyright.
4310         Use ANSI definitions and prototypes.
4311         Port to bison 3.0.
4312         * intl/textdomain.c: Switch to gettext copyright.
4313         Use ANSI definitions and prototypes.
4314         Use gl_* locking primitives rather than __libc_* ones.
4316 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4318         * debug/warning-nop.c: Add used atrribute.
4320 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4322         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4324         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4325         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4326         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4328 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4329             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4331         [BZ #17634]
4332         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4333         Undefine after defining function.  Define as weak alias of
4334         __wcschr.  Use libc_hidden_weak.
4335         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4336         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4337         (libc_hidden_def): Also define __GI___wcschr alias.
4338         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4339         __wcschr and define as weak alias of __wcschr.
4340         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4341         __wcschr.
4342         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4343         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4344         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4345         libc_hidden_weak.  Do not use libc_hidden_def.
4346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4347         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4348         __GI___wcschr alias.
4349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4350         [IS_IN (libc)] (wcschr): Define as macro expanding to
4351         __redirect_wcschr.
4352         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4353         [IS_IN (libc)] (__wcschr_power6): Likewise.
4354         [IS_IN (libc)] (__wcschr_power7): Likewise.
4355         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4356         instead of wcschr.
4357         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4358         __libc_wcschr.
4359         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4360         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4361         __wcschr and define as weak alias of __wcschr.  Use
4362         libc_hidden_builtin_def.
4363         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4364         as weak alias of __wcschr.  Use libc_hidden_weak.
4365         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4366         wcschr.
4367         * time/era.c (_nl_init_era_entries): Likewise.
4368         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4369         variable.
4370         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4371         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4373 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4375         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4376         format for long int variable.
4378 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4380         [BZ #10672]
4381         * manual/search.texi: (Array Sort Function): Remove claim how to make
4382         qsort stable.
4384 2014-12-10  Andreas Schwab  <schwab@suse.de>
4386         [BZ #12847]
4387         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4388         user-controlled locks.
4390 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4392         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4393         register.
4395 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4397         * configure.ac (--disable-werror): New configure option.
4398         (enable_werror): New AC_SUBST.
4399         * configure: Regenerated.
4400         * config.make.in (enable-werror): New variable.
4401         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4402         -Wno-error=undef.
4403         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4404         * manual/install.texi (Configuring and compiling): Document
4405         --disable-werror.
4406         * INSTALL: Regenerated.
4407         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4408         (CFLAGS-tst-chk2.c): Likewise.
4409         (CFLAGS-tst-chk3.c): Likewise.
4410         (CFLAGS-tst-chk4.cc): Likewise.
4411         (CFLAGS-tst-chk5.cc): Likewise.
4412         (CFLAGS-tst-chk6.cc): Likewise.
4413         (CFLAGS-tst-lfschk1.c): Likewise.
4414         (CFLAGS-tst-lfschk2.c): Likewise.
4415         (CFLAGS-tst-lfschk3.c): Likewise.
4416         (CFLAGS-tst-lfschk4.cc): Likewise.
4417         (CFLAGS-tst-lfschk5.cc): Likewise.
4418         (CFLAGS-tst-lfschk6.cc): Likewise.
4420         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4421         (main): Disable -Wdeprecated-declarations around calls to
4422         register_printf_function.
4424         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4425         (do_test): Disable -Wdiv-by-zero around some calls to
4426         fwrite_unlocked and fread_unlocked.
4428         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4429         (DIAG_POP_NEEDS_COMMENT): Likewise.
4430         (_DIAG_STR1): Likewise.
4431         (_DIAG_STR): Likewise.
4432         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4433         * stdio-common/bug21.c: Include <libc-internal.h>.
4434         (do_test): Disable -Wformat around call to sscanf.
4435         * stdio-common/scanf14.c: Include <libc-internal.h>.
4436         (main): Disable -Wformat around some calls to scanf functions.
4438 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4440         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4442 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4444         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4445         stack variable alignment.
4447 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4449         [BZ #17682]
4450         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4451         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4452         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4453         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4454         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4455         __getrlimit instead of getrlimit.
4456         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4457         __gettimeofday instead of gettimeofday.
4458         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4459         Likewise.
4460         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4461         Likewise.
4462         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4463         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4464         Remove variable.
4465         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4466         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4468 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4470         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4471         for wide-character tests.
4473 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4475         * io/openat64.c: #include <libc-internal.h>
4476         (__openat64): Prototypify.  Use ignore_value on MODE.
4477         * io/openat.c: Likewise.
4478         * misc/reboot.c: #include <libc-internal.h>
4479         (reboot): Prototypify.  Use ignore_value on HOWTO.
4480         * misc/ptrace.c: #include <libc-internal.h>
4481         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4483 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4485         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4486         XPG4, UNIX98 and XOPEN2K.
4487         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4488         Remove variable.
4489         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4491 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4493         * libio/fileops.c: Use ISO C style for function definitions.
4494         * libio/iofopen.c: Likewise.
4495         * libio/wfileops.c: Likewise.
4497         [BZ #17653]
4498         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4499         offset on EOF.
4500         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4501         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4502         (fgets_func): Function pointer to fgets and fgetws.
4503         (do_ftell_test): Add test to verify ftell value after read
4504         EOF.
4505         (do_test): Set fgets_func.
4507         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4508         O_TRUNC flag for w and w+ modes.
4509         (do_rewind_test): Likewise.
4510         (do_ftell_test): Likewise.
4511         (do_write_test): Likewise.
4513         [BZ #17647]
4514         * libio/fileops.c (do_ftell): Seek only when there are
4515         unflushed writes.
4516         * libio/wfileops.c (do_ftell_wide): Likewise.
4517         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4518         test case.
4519         (do_one_test): Call it.
4521 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4523         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4524         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4525         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4526         Remove variable.
4527         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4528         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4529         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4531 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4533         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4534         Remove variable.
4535         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4537         [BZ #17668]
4538         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4539         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4540         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4541         __freeifaddrs.  Use libc_hidden_weak.
4542         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4543         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4544         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4545         __freeifaddrs.  Use libc_hidden_weak.
4546         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4547         __getifaddrs and define as weak alias of __getifaddrs.  Use
4548         libc_hidden_weak.
4549         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4550         __freeifaddrs.  Use libc_hidden_weak.
4551         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4552         Remove variable.
4553         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4554         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4556 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4558         [BZ #17601]
4559         * sysdeps/mips/start.S (__start): Use indirect jump to call
4560         __libc_start_main.
4562 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4564         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4566         * nptl/tst-mutex1.c: Include <stdbool.h>.
4567         [!ATTR] (ATTR_NULL): New macro.
4568         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4569         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4570         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4572         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4573         to char *.
4575         [BZ #17665]
4576         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4577         Change conditional to [__USE_MISC].
4579         [BZ #17664]
4580         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4581         fgets_unlocked.
4582         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4583         __fgets_unlocked.
4584         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4585         fgets_unlocked.
4586         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4587         Remove variable.
4588         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4589         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4590         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4591         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4592         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4593         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4594         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4595         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4596         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4598         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4600 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4603         Remove strpbrk objects.
4604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4605         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4606         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4607         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4608         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4609         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4612         Remove strcspn objects.
4613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4614         (__libc_ifunc_impl_list): Remove strcspn implementation.
4615         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4616         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4617         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4618         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4621         Remove strspn objetcs.
4622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4623         (__libc_ifunc_impl_list): Remove strspn implementation.
4624         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4625         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4626         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4627         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4629 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4631         [BZ #17581]
4632         * malloc/hooks.c
4633         (mem2mem_check): Add a terminator to the chain of checking blocks.
4634         (malloc_check_get_size): Use it here.
4635         (mem2chunk_check): Ditto.
4637 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4639         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4640         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4642 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4644         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4646         * nptl/nptl-init.c: Include libc-internal.h.
4647         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4649         * elf/ldconfig.c (search_dir): Expand comment.
4651 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4653         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4654         variable.
4655         (linknamespace-symlist-stdlibs-tests): Likewise.
4656         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4657         instead of $(objpfx)symlist-stdlibs.
4658         (linknamespace-libs-isoc): New variable.
4659         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4660         (linknamespace-libs-ISO): New variable.
4661         (linknamespace-libs-ISO99): Likewise.
4662         (linknamespace-libs-ISO11): Likewise.
4663         (linknamespace-libs-XPG3): Likewise.
4664         (linknamespace-libs-XPG4): Likewise.
4665         (linknamespace-libs-POSIX): Likewise.
4666         (linknamespace-libs-UNIX98): Likewise.
4667         (linknamespace-libs-XOPEN2K): Likewise.
4668         (linknamespace-libs-POSIX2008): Likewise.
4669         (linknamespace-libs-XOPEN2K8): Likewise.
4670         ($(objpfx)symlist-stdlibs): Replace by
4671         $(linknamespace-symlist-stdlibs-tests).  Use
4672         $(linknamespace-libs-$*) as set of libraries.
4673         ($(linknamespace-header-tests)): Update dependencies.  Use
4674         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4675         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4676         * conform/linknamespace.pl: Remove comment about considering
4677         definitions of symbols from irrelevant libraries.
4679 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4681         [BZ #13862]
4682         * elf/dl-tls.c: Include <atomic.h>.
4683         (oom): Remove #ifdef SHARED/#endif.
4684         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4685         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4686         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4687         big enough.
4688         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4689         * nptl/Makefile (tests): Add tst-stack4.
4690         (modules-names): Add tst-stack4mod.
4691         ($(objpfx)tst-stack4): New.
4692         (tst-stack4mod.sos): Likewise.
4693         ($(objpfx)tst-stack4.out): Likewise.
4694         ($(tst-stack4mod.sos)): Likewise.
4695         (clean): Likewise.
4696         * nptl/tst-stack4.c: New file.
4697         * nptl/tst-stack4mod.c: Likewise.
4699 2014-11-27  J. Brown  <jb999@gmx.de>
4701         * sysdeps/x86/bits/string.h: Add recent CPUs.
4703 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4705         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4706         sigblock.
4708         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4709         feof.
4711         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4712         variable.
4714 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4716         * nscd/connections.c: Include libc-internal.h because of macro
4717         usage ignore_value.
4719 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4721         * string/bits/string3.h (__warn_memset_zero_len): Don't
4722         declare for gcc newer than 5.0.
4723         (memset): Don't test for zero-length __LEN for gcc newer than
4724         5.0.
4726 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4728         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4729         size_t for %zu format.
4731         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4732         difference, not %ju.
4734 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4736         * include/libc-internal.h (ignore_value): New macro.
4737         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4738         with ignore_value.
4740         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4741         definition.
4743         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4744         pthread_cleanup_push to void *.
4746         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4747         Undefine.
4749         [BZ #16619]
4750         [BZ #16740]
4751         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4752         instead of 1L << 52.
4754         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4755         * libio/bug-rewind2.c (do_test): Likewise.
4757         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4758         * debug/test-strcpy_chk-ifunc.c: Likewise.
4759         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4760         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4761         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4762         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4763         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4764         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4765         * Rules [$(multi-arch) = no] (tests): Do not filter out
4766         $(tests-ifunc).
4767         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4768         * debug/Makefile (tests-ifunc): Remove variable.
4769         (tests): Do not add $(tests-ifunc).
4770         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4771         (tests): Do not add $(tests-ifunc).
4772         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4773         [TEST_IFUNC]: Remove conditionals.
4774         * string/test-string.h (TEST_IFUNC): Remove macro.
4775         [TEST_IFUNC]: Remove conditionals.
4777         * string/test-strchr.c [!WIDE] (L): New macro.
4778         [WIDE] (L): Likewise.
4779         (check1): Use CHAR instead of char.  Use L on string and character
4780         constants.
4782 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4784         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4785         tests.
4786         * sysdeps/powerpc/bits/atomic.h
4787         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4788         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4789         (atomic_exchange_and_add_acq): Likewise.
4790         (atomic_exchange_and_add_rel): Likewise.
4791         * sysdeps/powerpc/powerpc32/bits/atomic.h
4792         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4793         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4794         * sysdeps/powerpc/powerpc64/bits/atomic.h
4795         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4796         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4798 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4800         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4801         Change synchronization of __sched_fifo_min_prio and
4802         __sched_fifo_max_prio.
4803         * nptl/pthread_mutexattr_getprioceiling.c
4804         (pthread_mutexattr_getprioceiling): Likewise.
4805         * nptl/pthread_mutexattr_setprioceiling.c
4806         (pthread_mutexattr_setprioceiling): Likewise.
4807         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4808         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4809         Likewise.
4811 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4813         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4814         void.
4816 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4818         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4819         third argument const.
4821 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4823         fnmatch: work around GCC compiler warning bug with uninit var
4824         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4825         This works around a bug with x86-64 GCC 4.9.2 and earlier
4826         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4827         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4828         used uninitialized in this function [-Wmaybe-uninitialized]".
4830 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4832         * posix/bug-regex31.c (main): Return RES not 0.
4834 2014-11-25  Anton Blanchard <anton@samba.org>
4836         * sysdeps/powerpc/bits/atomic.h
4837         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4839 2014-11-24  Sterling Augustine  <saugustine@google.com>
4841         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4843 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4845         [BZ #17608]
4846         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4848 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4850         [BZ #17633]
4851         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4852         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4853         variable.
4854         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4855         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4857 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4859         * string/strncpy.c (strncpy): Improve performance by using memset.
4861 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4863         * string/strcpy.c (strcpy):
4864         Improve performance by using strlen and memcpy.
4866 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4868         * string/strcoll_l.c (get_next_seq): __always_inline.
4869         * string/strcoll_l.c (do_compare): __always_inline.
4871 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4873         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4874         defined.
4875         * include/mqueue.h: Likewise.
4876         * include/stdlib.h: Likewise.
4878         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4879         (get_null_defines): Adjust.
4880         * sunrpc/Makefile: Adjust comment.
4881         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4882         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4883         (CFLAGS-interp.c): Likewise.
4884         (CFLAGS-ldconfig.c): Likewise.
4885         (CPPFLAGS-.os): Likewise.
4886         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4887         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4888         * extra-modules.mk (extra-modules.mk): Likewise.
4889         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4890         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4891         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4892         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4893         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4894         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4895         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4896         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4897         * iconvdata/Makefile (CPPFLAGS): Likewise.
4898         (cpp-srcs-left): Add libof for all iconvdata routines.
4899         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4900         * include/assert.h: Likewise.
4901         * include/ctype.h: Likewise.
4902         * include/errno.h: Likewise.
4903         * include/libc-symbols.h: Likewise.
4904         * include/math.h: Likewise.
4905         * include/netdb.h: Likewise.
4906         * include/resolv.h: Likewise.
4907         * include/stdio.h: Likewise.
4908         * include/stdlib.h: Likewise.
4909         * include/string.h: Likewise.
4910         * include/sys/stat.h: Likewise.
4911         * include/wctype.h: Likewise.
4912         * intl/l10nflist.c: Likewise.
4913         * libidn/idn-stub.c: Likewise.
4914         * libio/libioP.h: Likewise.
4915         * nptl/libc_multiple_threads.c: Likewise.
4916         * nptl/pthreadP.h: Likewise.
4917         * posix/regex_internal.h: Likewise.
4918         * resolv/res_hconf.c: Likewise.
4919         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4920         * sysdeps/arm/memmove.S: Likewise.
4921         * sysdeps/arm/sysdep.h: Likewise.
4922         * sysdeps/generic/_itoa.h: Likewise.
4923         * sysdeps/generic/symbol-hacks.h: Likewise.
4924         * sysdeps/gnu/errlist.awk: Likewise.
4925         * sysdeps/gnu/errlist.c: Likewise.
4926         * sysdeps/i386/i586/memcpy.S: Likewise.
4927         * sysdeps/i386/i586/memset.S: Likewise.
4928         * sysdeps/i386/i686/memcpy.S: Likewise.
4929         * sysdeps/i386/i686/memmove.S: Likewise.
4930         * sysdeps/i386/i686/mempcpy.S: Likewise.
4931         * sysdeps/i386/i686/memset.S: Likewise.
4932         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4933         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4934         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4935         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4936         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4938         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4939         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4940         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4941         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4942         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4943         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4944         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4945         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4946         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4947         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4948         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4949         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4950         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4951         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4952         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4953         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4954         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4955         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4956         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4957         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4958         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4959         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4960         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4961         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4962         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4963         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4965         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4966         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4968         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4969         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4970         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4971         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4972         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4973         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4974         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4975         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4976         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4977         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4978         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4979         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4980         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4981         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4982         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4983         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4984         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4985         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4986         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4987         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4988         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4989         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4990         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4991         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4992         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4993         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4994         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4995         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4996         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4997         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4998         * sysdeps/posix/closedir.c: Likewise.
4999         * sysdeps/posix/opendir.c: Likewise.
5000         * sysdeps/posix/readdir.c: Likewise.
5001         * sysdeps/posix/rewinddir.c: Likewise.
5002         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5003         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5004         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5005         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5006         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5010         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5011         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5013         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5014         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5015         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5016         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5017         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5018         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5019         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5020         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5021         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5023         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5024         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5025         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5026         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5027         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5028         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5029         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5030         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5032         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5037         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5038         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5039         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5040         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5041         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5042         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5043         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5044         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5045         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5048         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5049         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5050         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5051         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5052         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5053         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5054         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5055         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5056         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5057         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5059         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5060         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5061         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5062         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5063         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5064         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5065         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5066         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5067         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5068         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5069         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5070         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5071         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5072         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5073         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5074         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5075         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5076         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5077         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5078         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5079         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5080         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5081         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5082         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5083         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5084         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5085         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5086         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5087         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5088         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5089         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5090         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5091         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5092         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5093         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5094         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5096         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5097         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5098         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5099         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5100         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5101         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5102         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5103         * sysdeps/unix/alpha/sysdep.S: Likewise.
5104         * sysdeps/unix/alpha/sysdep.h: Likewise.
5105         * sysdeps/unix/make-syscalls.sh: Likewise.
5106         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5107         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5108         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5109         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5110         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5111         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5112         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5113         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5114         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5115         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5116         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5117         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5119         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5120         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5121         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5122         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5123         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5124         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5125         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5126         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5127         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5128         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5129         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5130         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5131         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5132         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5135         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5136         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5138         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5140         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5141         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5143         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5144         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5145         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5146         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5147         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5149         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5150         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5151         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5153         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5154         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5155         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5156         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5157         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5158         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5159         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5160         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5161         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5162         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5163         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5164         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5165         * sysdeps/x86_64/memcpy.S: Likewise.
5166         * sysdeps/x86_64/memmove.c: Likewise.
5167         * sysdeps/x86_64/memset.S: Likewise.
5168         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5169         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5170         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5171         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5172         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5173         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5174         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5175         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5176         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5177         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5178         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5179         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5180         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5181         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5182         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5183         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5184         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5185         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5186         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5187         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5188         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5189         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5190         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5191         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5192         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5193         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5194         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5195         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5196         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5197         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5198         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5199         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5200         * sysdeps/x86_64/strcmp.S: Likewise.
5202         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5204         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5205         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5206         * elf/rtld-Rules: Likewise.
5207         * elf/setup-vdso.h: Likewise.
5208         * include/assert.h: Likewise.
5209         * include/bits/stdlib-float.h: Likewise.
5210         * include/errno.h: Likewise.
5211         * include/sys/stat.h: Likewise.
5212         * include/unistd.h: Likewise.
5213         * sysdeps/aarch64/setjmp.S: Likewise.
5214         * sysdeps/alpha/setjmp.S: Likewise.
5215         * sysdeps/arm/__longjmp.S: Likewise.
5216         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5217         * sysdeps/arm/setjmp.S: Likewise.
5218         * sysdeps/arm/sysdep.h: Likewise.
5219         * sysdeps/generic/_itoa.h: Likewise.
5220         * sysdeps/generic/dl-sysdep.h: Likewise.
5221         * sysdeps/generic/ldsodefs.h: Likewise.
5222         * sysdeps/i386/dl-tls.h: Likewise.
5223         * sysdeps/i386/setjmp.S: Likewise.
5224         * sysdeps/m68k/setjmp.c: Likewise.
5225         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5226         * sysdeps/mach/hurd/opendir.c: Likewise.
5227         * sysdeps/posix/getcwd.c: Likewise.
5228         * sysdeps/posix/opendir.c: Likewise.
5229         * sysdeps/posix/profil.c: Likewise.
5230         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5231         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5232         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5233         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5234         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5235         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5236         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5237         * sysdeps/s390/dl-tls.h: Likewise.
5238         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5239         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5240         * sysdeps/sh/sh3/setjmp.S: Likewise.
5241         * sysdeps/sh/sh4/setjmp.S: Likewise.
5242         * sysdeps/unix/alpha/sysdep.h: Likewise.
5243         * sysdeps/unix/arm/sysdep.S: Likewise.
5244         * sysdeps/unix/i386/sysdep.S: Likewise.
5245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5246         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5247         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5248         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5249         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5250         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5251         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5252         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5253         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5254         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5255         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5256         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5257         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5260         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5261         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5263         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5264         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5265         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5266         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5268         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5269         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5272         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5273         * sysdeps/x86_64/setjmp.S: Likewise.
5275         * include/math.h: Use IS_IN instead of IS_IN_libm.
5276         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5277         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5279         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5281         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5283         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5285         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5286         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5287         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5288         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5289         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5290         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5291         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5292         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5293         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5294         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5295         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5296         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5297         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5298         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5299         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5300         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5301         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5302         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5303         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5304         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5305         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5306         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5307         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5308         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5310         Likewise.
5311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5312         Likewise.
5313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5314         Likewise.
5315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5316         Likewise.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5318         Likewise.
5319         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5320         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5321         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5322         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5323         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5324         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5330         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5331         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5332         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5333         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5334         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5335         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5336         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5337         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5338         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5339         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5340         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5341         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5342         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5343         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5345         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5347         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5348         * nptl/pthreadP.h: Likewise.
5349         * nptl_db/structs.def: Likewise.
5350         * sysdeps/arm/sysdep.h: Likewise.
5351         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5352         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5353         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5354         * sysdeps/unix/alpha/sysdep.h: Likewise.
5355         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5357         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5358         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5359         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5360         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5361         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5362         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5363         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5364         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5365         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5366         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5367         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5368         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5371         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5372         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5373         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5374         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5375         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5376         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5377         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5378         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5379         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5380         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5382         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5383         * nptl/pthreadP.h: Likewise.
5384         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5385         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5386         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5387         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5388         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5389         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5390         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5391         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5392         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5393         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5394         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5395         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5397         Likewise.
5398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5399         Likewise.
5400         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5402         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5403         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5405         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5406         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5407         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5409         * dlfcn/dladdr.c: Use IS_IN.
5410         * dlfcn/dladdr1.c: Likewise.
5411         * dlfcn/dlclose.c: Likewise.
5412         * dlfcn/dlerror.c: Likewise.
5413         * dlfcn/dlinfo.c: Likewise.
5414         * dlfcn/dlmopen.c: Likewise.
5415         * dlfcn/dlopen.c: Likewise.
5416         * dlfcn/dlsym.c: Likewise.
5417         * dlfcn/dlvsym.c: Likewise.
5419         * include/ifaddrs.h: Use IS_IN.
5420         * inet/check_pf.c: Likewise.
5421         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5422         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5424         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5425         IS_IN_ldconfig.
5426         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5427         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5429         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5430         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5431         IS_IN (libc).
5433         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5435         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5436         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5437         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5438         * include/libc-symbols.h (IS_IN_LIB): New macro.
5439         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5440         * include/netdb.h: Likewise.
5441         * include/stap-probe.h: Remove all uses of IN_LIB.
5443         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5444         instead of IN_MODULE.
5445         * include/libc-symbols.h (IN_MODULE): Define using
5446         MODULE_NAME.
5447         (PASTE_NAME, PASTE_NAME1): New macros.
5448         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5449         of IN_LIB.
5450         (STAP_PROBE_ASM): Likewise.
5452 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5454         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5455         __mach_init in dlopened libc.
5457 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5459         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5460         * sysdeps/arm/preconfigure: Regenerate.
5462 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5464         * nptl/pthread_create.c (__pthread_create_2_1): Set
5465         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5466         when copying values from IATTR into PD.
5468 2014-11-21  Will Newton  <will.newton@linaro.org>
5469             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5471         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5472         Refactor inline-asm.  Also add comment.
5474         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5475         ElfW macro instead of hardcoded Elf64 types.
5476         (la_aarch64_gnu_pltenter): Likewise.
5477         * sysdeps/aarch64/dl-machine.h
5478         (elf_machine_runtime_setup): Use ElfW(Addr).
5480         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5481         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5482         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5483         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5484         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5485         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5486         (R_AARCH64_TLS_DTPMOD): This.
5487         (R_AARCH64_TLS_DTPREL64): Rename to ...
5488         (R_AARCH64_TLS_DTPREL): This.
5489         (R_AARCH64_TLS_TPREL64): Rename to ...
5490         (R_AARCH64_TLS_TPREL): This.
5491         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5492         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5493         R_AARCH64_TLS_TPREL64.
5494         (elf_machine_rela): Likewise.
5496 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5498         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5499         by setting it to 0.  64b atomics are not supported currently.
5501 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5503         [BZ #16469]
5504         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5505         search domain names.
5507 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5509         [BZ #16469]
5510         * NEWS: Update.
5511         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5512         trailing dot.
5513         * posix/tst-getaddrinfo5.c: New.
5514         * posix/Makefile (tests): Add it.
5516 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5518         [BZ #14498]
5519         * NEWS: Fixed.
5520         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5521         after parsing line but before break_if_match.
5522         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5523         if there is a protocol mismatch.
5525 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5527         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5528         because the potential race is on the user-supplied stream.
5530 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5532         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5533         string literal if not passed a buffer.
5534         * manual/job.texi (ctermid): Update reasoning, note deviation
5535         from posix, suggest mtasurace when not passed a buffer, for
5536         future non-preliminary safety notes.
5538 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5540         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5541         of not passing it a buffer.
5542         Reported by Peng Haitao.
5544 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5546         * manual/Makefile ($(objpfx)stamp-summary): Require
5547         check-safety.sh to pass.
5548         * manual/check-safety.sh: Wish for verification that every
5549         @deftypefn and @deftypefun is followed by a @safety remark.
5551 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5553         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5555         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5556         PTHREAD_CANCEL_ASYNCHRONOUS.
5557         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5558         send SIGCANCEL.
5560         * nptl/default-sched.h: New file.
5561         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5562         * nptl/pthread_create.c: Include it.
5563         (__pthread_create_2_1): Use collect_default_sched instead of making
5564         Linux syscalls here directly.
5566 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5568         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5569         __pthread_once): Use C11 atomics.
5571 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5573         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5575 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5577         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5578         atomic_thread_fence_acquire, atomic_thread_fence_release,
5579         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5580         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5581         atomic_compare_exchange_weak_relaxed,
5582         atomic_compare_exchange_weak_acquire,
5583         atomic_compare_exchange_weak_release,
5584         atomic_exchange_acquire, atomic_exchange_release,
5585         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5586         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5587         atomic_fetch_and_acquire,
5588         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5590 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5592         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5593         USE_ATOMIC_COMPILER_BUILTINS): Define.
5594         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5595         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5596         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5597         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5598         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5599         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5600         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5601         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5602         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5603         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5604         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5606         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5608         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5610         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5612         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5614         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5616         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5618         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5620         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5622         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5624         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5626         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5628         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5629         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5630         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5632         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5635 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5637         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5638         the sched_priority value here.  It was already checked when the user
5639         called pthread_attr_setschedparam.
5641         * nptl/tst-bad-schedattr.c: New file.
5642         * nptl/Makefile (tests): Add it.
5644 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5645             Florian Weimer  <fweimer@redhat.com>
5646             Joseph Myers  <joseph@codesourcery.com>
5647             Adam Conrad  <adconrad@0c3.net>
5648             Andreas Schwab  <schwab@suse.de>
5649             Brooks  <bmoses@google.com>
5651         [BZ #17625]
5652         * wordexp-test.c (__dso_handle): Add prototype.
5653         (__register_atfork): Likewise.
5654         (__app_register_atfork): New function.
5655         (registered_forks): New global.
5656         (register_fork): New function.
5657         (test_case): Add 3 new tests for WRDE_CMDSUB.
5658         (main): Call __app_register_atfork.
5659         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5660         fork count is non-zero fail the test.
5661         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5662         is set.
5663         (parse_dollars): Remove check for WRDE_NOCMD.
5664         (parse_dquote): Likewise.
5666 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5668         * Makeconfig (built-modules): List non-library modules to be
5669         built.
5670         (module-cppflags): Include libc-modules.h for
5671         everything except shlib-versions.v.i.
5672         (CPPFLAGS): Use it.
5673         (before-compile): Add libc-modules.h.
5674         ($(common-objpfx)libc-modules.h,
5675         $(common-objpfx)libc-modules.stmp): New targets.
5676         (common-generated): Add libc-modules.h and libc-modules.stmp.
5677         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5678         * include/libc-symbols.h: Don't include libc-modules.h.
5679         * include/libc-modules.h: Remove file.
5680         * scripts/gen-libc-modules.awk: New script to generate
5681         libc-modules.h.
5682         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5683         Depend on libc-modules.stmp.
5685         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5687         * Makeconfig (in-module): Get value of libof set for the
5688         translation unit.
5689         (CPPFLAGS): Use $(in-module).
5690         * Makerules: Don't suffix routine names for nonlib.
5691         * include/libc-modules.h: New file.
5692         * include/libc-symbols.h: Include libc-modules.h
5693         (IS_IN): New macro to replace IS_IN_* macros.
5694         * elf/Makefile: Set libof-* for each routine.
5695         * elf/rtld-Rules: Likewise.
5696         * extra-modules.mk: Likewise.
5697         * iconv/Makefile: Likewise.
5698         * iconvdata/Makefile: Likewise.
5699         * locale/Makefile: Likewise.
5700         * malloc/Makefile: Likewise.
5701         * nss/Makefile: Likewise.
5702         * sysdeps/gnu/Makefile: Likewise.
5703         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5704         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5705         * sysdeps/s390/s390-64/Makefile: Likewise.
5706         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5707         CPPFLAGS for nscd instead of nonlib.
5709 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5711         * nptl/createthread.c: New file.
5713         * nptl/createthread.c: Moved ...
5714         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5716         * nptl/createthread.c: Add proper top-line comment.
5717         (do_clone): Folded into ...
5718         (create_thread): ... here.  Take new arguments STOPPED_START and
5719         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5720         increment __nptl_threads, do event-reporting logic, do
5721         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5722         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5723         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5724         just send SIGCANCEL.
5725         * nptl/pthread_create.c: Forward-declare create_thread before
5726         including createthread.c.
5727         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5728         declaration, and new macro START_THREAD_SELF to replace argument.
5729         Remove return statement.
5730         (report_thread_creation): New function.
5731         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5732         synchronization logic, and __nptl_nthreads increment here, around
5733         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5734         PD->parent_cancelhandling here, before create_thread.  When
5735         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5736         __deallocate_stack, and ENOMEM translation here.
5738 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5740         [BZ #17616]
5741         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5742         (mptwo): Rename to __mptwo.
5743         (__inv): Use __mptwo instead of mptwo.
5744         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5745         (mptwo): Rename to __mptwo.
5746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5747         of mpone and __mptwo instead of mptwo.
5748         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5749         instead of mpone.
5750         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5751         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5752         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5753         of mpone and __mptwo instead of mptwo.
5754         (__mpranred): Use __mpone instead of mpone.
5755         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5756         variable.
5757         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5758         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5759         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5760         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5761         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5762         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5763         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5764         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5765         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5766         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5767         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5768         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5769         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5770         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5771         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5772         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5773         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5774         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5775         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5777 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5779         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5780         replace BSD Handler xref with BSD Signal Handling.
5782 2014-11-17  Richard Henderson  <rth@redhat.com>
5784         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5785         (_FP_PACK_RAW_2): Remove.
5786         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5787         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5788         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5789         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5790         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5791         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5792         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5793         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5794         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5795         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5796         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5797         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5798         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5799         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5800         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5801         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5803 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5805         * signal/signal.h [__USE_MISC]
5806         (struct sigvec): Remove type.
5807         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5808         (sigvec): Remove declaration.
5809         * sysdeps/posix/sigvec.c: Moved ...
5810         * signal/sigvec.c: ... here, replacing old file.
5811         (struct sigvec): New type, copied from old signal.h definition.
5812         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5813         (__sigvec): Convert definition to prototype.
5814         (sigvec): Replace weak_alias with compat_symbol.
5815         * signal/Versions (libc: GLIBC_2.21): New version set.
5816         * include/signal.h: Remove __sigvec declaration.
5817         * sysdeps/unix/bsd/sigvec.c: Remove file.
5818         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5819         * manual/signal.texi (BSD Handler): Remove subsection.
5820         Move siginterrupt up to ...
5821         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5822         (Blocking in BSD): Fold subsection into its parent.
5823         * NEWS: Mention sigvec removal.
5825 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5827         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5828         (DLA_FMS): Make definition conditional only on [__FMA4__].
5829         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5830         definition.
5832         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5833         Make definition conditional only on [PROF].
5834         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5835         definition.
5836         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5837         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5839         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5840         !__GNUC__].
5841         * include/signal.h (__sigpause): Move declaration above call to
5842         libc_hidden_proto.
5843         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5844         variable.
5845         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5846         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5848 2014-11-14  David S. Miller  <davem@davemloft.net>
5850         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5851         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5853 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5855         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5856         * configure: Regenerated.
5857         * manual/install.texi (Tools for Compilation): Document a
5858         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5859         compiler verified to work.
5860         * INSTALL: Regenerated.
5862         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5863         redeclare with asm name.
5864         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5865         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5866         including <string.h>.
5867         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5868         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5869         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5870         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5871         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5873         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5875 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5877         * stdlib/strtol.c (__strtol): Use prototype definition.
5879         [BZ #17594]
5880         * stdlib/strtol.c (SYM__): New macro.
5881         (SYM__1): Likewise.
5882         (__strtol): Likewise.
5883         (strtol): Rename to __strtol and define as weak alias of
5884         __strtol.  Use libc_hidden_weak.
5886 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5888         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5889         Use numbered labels in inline assembly.
5891 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5893         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5894         Add setjmp LIBC_PROBE.
5895         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5896         Likewise.
5897         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5898         Add longjmp, longjmp_target LIBC_PROBE.
5899         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5900         Likewise.
5902 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5904         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5905         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5906         to get rid of unused variable warning.
5908 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5910         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5911         Check for unwind_backtrace ==  NULL only in SHARED case.
5912         (__backchain_backtrace): Compile only in SHARED case.
5913         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5914         Likewise.
5915         (__backchain_backtrace): Declare as static.
5917 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5919         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5920         (__libc_multiple_threads_ptr): Variable moved ...
5921         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5923 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5925         * conform/GlibcConform.pm: New file.
5926         * conform/conformtest.pl: Use GlibcConform module.
5927         * conform/linknamespace.pl: New file.
5928         * conform/list-header-symbols.pl: Likewise.
5929         * conform/Makefile (linknamespace-symlists-base): New variable.
5930         (linknamespace-symlists-tests): Likewise.
5931         (linknamespace-header-base): Likewise.
5932         (linknamespace-header-tests): Likewise.
5933         (tests-special): Add new tests.
5934         ($(linknamespace-symlists-tests)): New rule.
5935         (linknamespace-libs): New variable.
5936         ($(objpfx)symlist-stdlibs): New rule.
5937         ($(linknamespace-header-tests)): Likewise.
5938         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5939         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5940         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5941         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5942         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5943         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5944         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5945         (test-xfail-ISO/math.h/linknamespace): Likewise.
5946         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5947         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5948         (test-xfail-ISO/time.h/linknamespace): Likewise.
5949         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5950         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5951         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5952         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5953         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5954         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5955         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5956         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5957         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5958         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5959         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5960         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5961         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5962         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5963         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5964         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5965         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5966         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5967         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5968         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5969         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5970         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5971         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5972         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5973         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5974         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5975         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5976         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5977         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5978         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5979         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5980         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5981         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5982         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5983         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5984         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5985         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5986         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5987         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5988         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5989         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5990         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5991         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5992         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5993         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5994         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5995         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5996         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5997         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5998         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5999         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6000         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6001         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6002         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6003         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6004         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6005         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6006         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6007         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6008         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6009         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6010         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6011         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6012         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6013         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6014         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6015         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6016         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6017         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6018         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6019         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6020         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6021         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6022         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6023         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6024         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6025         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6026         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6027         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6028         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6029         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6030         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6031         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6032         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6033         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6034         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6035         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6036         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6037         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6038         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6039         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6040         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6041         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6042         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6043         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6044         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6045         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6046         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6047         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6048         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6049         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6050         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6051         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6052         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6053         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6054         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6055         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6056         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6057         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6058         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6059         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6060         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6061         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6062         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6063         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6064         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6065         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6066         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6067         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6068         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6069         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6070         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6071         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6072         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6073         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6074         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6075         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6076         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6077         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6078         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6079         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6080         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6081         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6082         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6083         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6084         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6085         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6086         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6087         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6088         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6089         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6090         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6091         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6092         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6093         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6094         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6095         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6096         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6097         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6098         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6100         [BZ #17589]
6101         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6102         of fgets_unlocked.
6104         [BZ #17585]
6105         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6106         (memmem): Rename to __memmem and define as weak alias of
6107         __memmem.  Use libc_hidden_weak.
6108         (__memmem): Use libc_hidden_def.
6109         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6110         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6111         memmem.
6113         [BZ #17582]
6114         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6115         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6116         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6117         and define as weak alias of __fgets_unlocked.  Use
6118         libc_hidden_weak.
6119         (__fgets_unlocked): Use libc_hidden_def.
6120         * include/stdio.h (__fgets_unlocked): Declare.  Use
6121         libc_hidden_proto.
6122         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6123         __fgets_unlocked instead of fgets_unlocked.
6124         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6125         (GET_NPROCS_CONF_PARSER): Likewise.
6126         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6127         (GET_NPROCS_CONF_PARSER): Likewise.
6129         [BZ #17574]
6130         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6131         weak alias of __wmemset.  Use libc_hidden_weak.
6132         (__wmemset): Use libc_hidden_def.
6133         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6134         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6135         of wmemset.
6137         [BZ #17573]
6138         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6139         with asm name __mempcpy.
6140         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6142         [BZ #17572]
6143         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6144         and define as weak alias of __rawmemchr.
6145         (__rawmemchr): Do not define as strong alias of rawmemchr.
6147         [BZ #17571]
6148         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6149         alias of __qsort_r.
6150         (qsort): Call __qsort_r instead of qsort_r.
6151         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6152         (__qsort_r): Declare.  Call libc_hidden_proto.
6153         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6154         instead of qsort_r.
6155         * nscd/gai.c (__qsort_r): Define to qsort_r.
6156         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6157         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6158         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6160         [BZ #17570]
6161         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6162         define as weak alias of __malloc_info.
6164         [BZ #17584]
6165         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6166         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6167         (__rewinddir): Use libc_hidden_def.
6168         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6169         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6170         (__rewinddir): Use libc_hidden_def.
6171         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6172         weak alias of __rewinddir.  Don't use libc_hidden_def.
6173         (__rewinddir): Use libc_hidden_def.
6174         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6175         (__rewinddir): Use libc_hidden_proto.
6176         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6177         rewinddir.
6178         (__getcwd): Use __rewinddir instead of rewinddir.
6180         [BZ #17583]
6181         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6182         alias of __fileno.  Use libc_hidden_weak.
6183         (__fileno): Use libc_hidden_def.
6184         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6185         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6186         alias of __ftello.
6187         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6188         __ftello.
6189         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6190         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6191         libc_hidden_def.
6192         (fread_unlocked): Don't use libc_hidden_ver.
6193         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6194         and define as weak alias of __fread_unlocked.  Don't use
6195         libc_hidden_def.
6196         (__fread_unlocked): Use libc_hidden_def.
6197         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6198         (ftello): Don't use libc_hidden_proto.
6199         (__ftello): Declare.  Use libc_hidden_proto.
6200         (fread_unlocked): Don't use libc_hidden_proto.
6201         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6202         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6203         and __ftello instead of fileno, fread_unlocked and ftello.
6205 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6207         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6208         GOT12.
6209         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6210         Likewise.
6211         (_dl_start_user): Likewise.
6212         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6214 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6215             Siddhesh Poyarekar  <siddhesh@redhat.com>
6217         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6218         Move argv and envp down instead of moving argc up.
6219         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6221 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6223         [BZ #17506]
6224         * test-skeleton.c (main): Return successful if one of
6225         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6226         * string/tst-strcoll-overflow.c: Define expected status.
6228 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6230         [BZ #17475]
6231         * locale/iso-639.def: Define Bhili and Tulu language codes.
6233 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6235         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6237 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6239         [BZ #17555]
6240         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6242 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6244         * configure.ac: Updated check of minimal required version to
6245         2.22.
6246         * manual/install.texi (Tools for Compilation): Updated version
6247         number.
6248         * configure: Regenerated.
6249         * INSTALL: Likewise.
6251 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6253         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6254         __tls_get_addr.
6256 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6258         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6259         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6260         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6261         libc_hidden_weak.
6262         (waitpid): Define as alias of __waitpid.
6263         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6264         __waitpid.
6265         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6266         libc_hidden_weak.
6267         (waitpid): Define as alias of __waitpid.
6268         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6269         __libc_waitpid alias.
6270         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6271         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6272         Likewise.
6273         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6274         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6275         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6276         alias.
6277         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6278         __waitpid.
6279         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6280         libc_hidden_weak.
6281         (waitpid): Define as alias of __waitpid.
6283 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6285         * manual/llio.texi: Add comment that write safety has been
6286         fixed in Linux.
6288         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6289         (localplt-build-dso): Add elf/ld.so.
6290         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6291         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6292         and free for ld.so.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6294         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6298         Likewise.
6299         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6300         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6301         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6302         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6303         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6304         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6305         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6306         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6307         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6308         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6309         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6311 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6313         [BZ #14132]
6314         * include/libc-symbols.h (INTUSE): Remove macro.
6315         (INTDEF): Likewise.
6316         (INTVARDEF): Likewise.
6317         (_INTVARDEF): Likewise.
6318         (INTDEF2): Likewise.
6319         (INTVARDEF2): Likewise.
6320         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6321         rtld_hidden_def instead of INTVARDEF.
6322         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6323         (_dl_starting_up_internal): Remove declaration.
6324         (_dl_starting_up): Use rtld_hidden_proto.
6325         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6326         declaration.
6327         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6328         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6329         _dl_starting_up.
6330         * elf/dl-writev.h (_dl_writev): Likewise.
6331         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6332         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6333         _dl_starting_up_internal.
6335 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6337         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6338         test-skeleton.c.
6340 2014-11-05  Will Newton  <will.newton@linaro.org>
6342         * benchtests/Makefile: (bench-malloc): Add malloc thread
6343         scalability benchmark.
6344         * benchtests/bench-malloc-threads.c: New file.
6346 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6348         * sysdeps/aarch64/strchrnul.S: New file.
6350 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6352         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6353         definition.
6354         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6355         Likwise.
6356         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6357         Likewise.
6358         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6359         Likewise.
6360         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6361         Likewise.
6362         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6363         Likewise.
6365 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6367         * catgets/test-gencat.c: Use test-skeleton.c.
6368         * catgets/tst-catgets.c: Likewise.
6369         * csu/tst-empty.c: Likewise.
6370         * elf/tst-audit2.c: Likewise.
6371         * elf/tst-global1.c: Likewise.
6372         * elf/tst-pathopt.c: Likewise.
6373         * elf/tst-piemod1.c: Likewise.
6374         * elf/tst-tls10.c: Likewise.
6375         * elf/tst-tls11.c: Likewise.
6376         * elf/tst-tls12.c: Likewise.
6377         * gnulib/tst-gcc.c: Likewise.
6378         * iconvdata/tst-e2big.c: Likewise.
6379         * iconvdata/tst-loading.c: Likewise.
6380         * iconv/tst-iconv1.c: Likewise.
6381         * iconv/tst-iconv2.c: Likewise.
6382         * inet/test-inet6_opt.c: Likewise.
6383         * inet/tst-gethnm.c: Likewise.
6384         * inet/tst-network.c: Likewise.
6385         * inet/tst-ntoa.c: Likewise.
6386         * intl/tst-codeset.c: Likewise.
6387         * intl/tst-gettext2.c: Likewise.
6388         * intl/tst-gettext3.c: Likewise.
6389         * intl/tst-ngettext.c: Likewise.
6390         * intl/tst-translit.c: Likewise.
6391         * io/test-stat.c: Likewise.
6392         * libio/test-fmemopen.c: Likewise.
6393         * libio/tst-freopen.c: Likewise.
6394         * libio/tst-sscanf.c: Likewise.
6395         * libio/tst-ungetwc1.c: Likewise.
6396         * libio/tst-ungetwc2.c: Likewise.
6397         * libio/tst-widetext.c: Likewise.
6398         * localedata/tst-ctype.c: Likewise.
6399         * localedata/tst-digits.c: Likewise.
6400         * localedata/tst-leaks.c: Likewise.
6401         * localedata/tst-mbswcs1.c: Likewise.
6402         * localedata/tst-mbswcs2.c: Likewise.
6403         * localedata/tst-mbswcs3.c: Likewise.
6404         * localedata/tst-mbswcs4.c: Likewise.
6405         * localedata/tst-mbswcs5.c: Likewise.
6406         * localedata/tst-setlocale.c: Likewise.
6407         * localedata/tst-trans.c: Likewise.
6408         * localedata/tst-wctype.c: Likewise.
6409         * localedata/tst-xlocale1.c: Likewise.
6410         * login/tst-grantpt.c: Likewise.
6411         * malloc/tst-calloc.c: Likewise.
6412         * malloc/tst-malloc.c: Likewise.
6413         * malloc/tst-mallocstate.c: Likewise.
6414         * malloc/tst-mcheck.c: Likewise.
6415         * malloc/tst-mtrace.c: Likewise.
6416         * malloc/tst-obstack.c: Likewise.
6417         * math/atest-exp2.c: Likewise.
6418         * math/atest-exp.c: Likewise.
6419         * math/atest-sincos.c: Likewise.
6420         * math/test-matherr.c: Likewise.
6421         * math/test-misc.c: Likewise.
6422         * math/test-powl.c: Likewise.
6423         * math/tst-definitions.c: Likewise.
6424         * misc/tst-dirname.c: Likewise.
6425         * misc/tst-efgcvt.c: Likewise.
6426         * misc/tst-fdset.c: Likewise.
6427         * misc/tst-hsearch.c: Likewise.
6428         * misc/tst-mntent2.c: Likewise.
6429         * nptl/tst-sem7.c: Likewise.
6430         * nptl/tst-sem8.c: Likewise.
6431         * nptl/tst-sem9.c: Likewise.
6432         * nss/test-netdb.c: Likewise.
6433         * posix/tst-fnmatch.c: Likewise.
6434         * posix/tst-getlogin.c: Likewise.
6435         * posix/tst-gnuglob.c: Likewise.
6436         * posix/tst-mmap.c: Likewise.
6437         * pwd/tst-getpw.c: Likewise.
6438         * resolv/tst-inet_ntop.c: Likewise.
6439         * rt/tst-timer.c: Likewise.
6440         * stdio-common/test-fseek.c: Likewise.
6441         * stdio-common/test-popen.c: Likewise.
6442         * stdio-common/test-vfprintf.c: Likewise.
6443         * stdio-common/tst-cookie.c: Likewise.
6444         * stdio-common/tst-fileno.c: Likewise.
6445         * stdio-common/tst-gets.c: Likewise.
6446         * stdio-common/tst-obprintf.c: Likewise.
6447         * stdio-common/tst-perror.c: Likewise.
6448         * stdio-common/tst-sprintf2.c: Likewise.
6449         * stdio-common/tst-sprintf3.c: Likewise.
6450         * stdio-common/tst-sprintf.c: Likewise.
6451         * stdio-common/tst-swprintf.c: Likewise.
6452         * stdio-common/tst-tmpnam.c: Likewise.
6453         * stdio-common/tst-unbputc.c: Likewise.
6454         * stdio-common/tst-wc-printf.c: Likewise.
6455         * stdlib/tst-environ.c: Likewise.
6456         * stdlib/tst-fmtmsg.c: Likewise.
6457         * stdlib/tst-limits.c: Likewise.
6458         * stdlib/tst-rand48-2.c: Likewise.
6459         * stdlib/tst-rand48.c: Likewise.
6460         * stdlib/tst-random2.c: Likewise.
6461         * stdlib/tst-random.c: Likewise.
6462         * stdlib/tst-strtol.c: Likewise.
6463         * stdlib/tst-strtoll.c: Likewise.
6464         * stdlib/tst-tls-atexit.c: Likewise.
6465         * stdlib/tst-xpg-basename.c: Likewise.
6466         * string/test-ffs.c: Likewise.
6467         * string/tst-bswap.c: Likewise.
6468         * string/tst-inlcall.c: Likewise.
6469         * string/tst-strtok.c: Likewise.
6470         * string/tst-strxfrm.c: Likewise.
6471         * sysdeps/x86_64/tst-audit10.c: Likewise.
6472         * sysdeps/x86_64/tst-audit3.c: Likewise.
6473         * sysdeps/x86_64/tst-audit4.c: Likewise.
6474         * sysdeps/x86_64/tst-audit5.c: Likewise.
6475         * time/tst-ftime_l.c: Likewise.
6476         * time/tst-getdate.c: Likewise.
6477         * time/tst-mktime3.c: Likewise.
6478         * time/tst-mktime.c: Likewise.
6479         * time/tst-posixtz.c: Likewise.
6480         * time/tst-strptime2.c: Likewise.
6481         * time/tst-strptime3.c: Likewise.
6482         * wcsmbs/tst-btowc.c: Likewise.
6483         * wcsmbs/tst-mbrtowc.c: Likewise.
6484         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6485         * wcsmbs/tst-wchar-h.c: Likewise.
6486         * wcsmbs/tst-wcpncpy.c: Likewise.
6487         * wcsmbs/tst-wcrtomb.c: Likewise.
6488         * wcsmbs/tst-wcsnlen.c: Likewise.
6489         * wcsmbs/tst-wcstof.c: Likewise.
6491 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6493         [BZ #14132]
6494         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6495         INTDEF.
6496         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6497         declaration.
6498         (_dl_mcount): Use rtld_hidden_proto.
6499         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6500         _dl_mcount.
6501         * elf/rtld.c (_rtld_global_ro): Likewise.
6503         [BZ #14132]
6504         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6505         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6506         of _dl_init_internal.
6507         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6508         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6509         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6510         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6511         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6512         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6513         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6514         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6515         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6516         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6517         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6518         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6519         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6520         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6521         * sysdeps/tile/dl-start.S (_start): Likewise.
6522         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6523         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6525         [BZ #14132]
6526         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6527         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6528         (rtld_progname): Make macro definition unconditional.
6529         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6530         INTDEF.
6531         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6532         (dl_main): Likewise.
6533         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6534         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6535         instead of _dl_argv_internal.
6536         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6537         __GI__dl_argv instead of INTUSE(_dl_argv).
6538         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6539         __GI__dl_argv instead of _dl_argv_internal.
6541         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6542         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6543         macro.
6544         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6545         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6546         New macro.
6547         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6548         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6549         macro.
6550         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6551         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6553 2014-11-04  Andreas Schwab  <schwab@suse.de>
6555         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6557 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6559         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6560         mtvsrd instruction in binary form.
6562 2014-11-03  Andreas Schwab  <schwab@suse.de>
6564         [BZ #17522]
6565         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6566         for less than MB_LEN_MAX use a local buffer of that size.
6567         * libio/tst-fputws.c: New file.
6568         * libio/Makefile (tests): Add tst-fputws.
6570 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6572         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6573         the size of the fpu_fr.fpu_dregs[] array.
6575 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6577         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6578         (__nanosleep): Do not define as alias.
6579         (nanosleep): Define as alias of __nanosleep.
6580         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6581         __libc_nanosleep name.
6583 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6585         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6586         install.texi in comment.
6588 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6590         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6591         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6592         ... add here and use lwsync or sync ...
6593         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6594         ... and add here using lwsync.
6596 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6598         * elf/dl-machine-reject-phdr.h: New file.
6599         * elf/dl-load.c: #include that.
6600         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6601         if that returned true.
6603 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6605         [BZ #17496]
6606         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6607         gen-as-const-headers chunk.  Add a big scare comment after the last
6608         safe place to touch before-compile.
6610 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6612         * manual/install.texi (Tools for Compilation): Update autoconf
6613         version requirements.
6614         * INSTALL: Regenerated.
6616         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6617         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6618         (__libc_pselect): Likewise.
6620         [BZ #14138]
6621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6626 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6628         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6629         correct barrier instruction.
6630         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6631         Likewise.
6632         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6633         Likewise.
6635 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6637         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6638         after defining inlines.  Instead, just use parens to defeat macro
6639         expansion of __isctype in its declaration.
6641 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6643         * include/sys/uio.h (__libc_readv): Remove declaration.
6644         (__libc_writev): Likewise.
6645         * misc/readv.c (__libc_readv): Rename to __readv.
6646         (__readv): Do not define as alias.
6647         (readv): Define as alias of __readv.
6648         * misc/writev.c (__libc_writev): Rename to __writev.
6649         (__writev): Do not define as alias.
6650         (writev): Define as alias of __writev.
6651         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6652         (__readv): Do not define as alias.
6653         (readv): Define unconditionally as alias of __readv.
6654         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6655         (__writev): Do not define as alias.
6656         (writev): Define unconditionally as alias of __writev.
6657         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6658         name.
6659         (writev): Do not define __libc_writev name.
6661 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6663         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6664         (convert_charseq): New function, broken out of ...
6665         (use_from_charmap): ... here.  Call it.
6666         (use_to_charmap): Use convert_charseq and free instead of duplicating
6667         its code with a variable-length stack struct.
6669 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6671         * include/fcntl.h (__libc_creat): Remove declaration.
6672         * io/creat.c (__libc_creat): Rename to creat.
6673         (creat): Do not define as alias.
6674         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6675         of creat instead of __libc_creat.
6676         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6677         to creat.
6678         (creat): Do not define as alias.
6679         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6680         __libc_creat.
6681         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6682         __libc_creat name.
6683         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6684         Likewise.
6686 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6688         * manual/llio.texi: Add comments discussing why write() may be
6689         considered MT-unsafe on Linux.
6691 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6693         * dl-load.c (local_strdup): Remove.
6694         (expand_dynamic_string_token): Use __strdup.
6695         (decompose_rpath): Likewise.
6696         (_dl_map_object): Likewise.
6698 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6700         [BZ #14132]
6701         * sysdeps/generic/unwind-dw2-fde.c
6702         (__register_frame_info_bases_internal): Do not declare.
6703         (__register_frame_info_table_bases_internal): Likewise.
6704         (__deregister_frame_info_bases_internal): Likewise.
6705         (__register_frame_info_bases): Declare and use hidden_proto before
6706         definition.  Use hidden_def instead of INTDEF.
6707         (__register_frame_info_table_bases): Likewise.
6708         (__deregister_frame_info_bases): Likewise.
6709         (__register_frame_info): Do not use INTUSE.
6710         (__register_frame): Likewise.
6711         (__register_frame_info_table): Likewise.
6712         (__register_frame_table): Likewise.
6713         (__deregister_frame_info): Likewise.
6714         (__deregister_frame): Likewise.
6716 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6718         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6719         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6720         not undefine.
6721         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6722         Likewise.
6723         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6724         Likewise.
6726 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6728         [BZ #14138]
6729         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6730         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6731         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6732         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6733         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6734         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6735         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6737         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6738         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6739         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6740         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6741         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6742         syscall.
6743         (setfsuid): Likewise.
6744         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6745         (setfsuid): Likewise.
6746         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6747         (setfsuid): Likewise.
6748         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6749         Likewise.
6750         (setfsuid): Likewise.
6751         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6752         (setfsuid): Likewise.
6753         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6754         Likewise.
6755         (setfsuid): Likewise.
6757 2014-10-27  Andreas Schwab  <schwab@suse.de>
6759         [BZ #17501]
6760         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6761         check for Slow_SSE4_2 feature bit.
6762         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6763         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6764         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6765         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6767 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6769         * configure.ac: Validate compiler version with a empirical test of
6770         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6771         $CC -v output.
6772         * configure: Regenerated.
6774         * inet/htons.c (htons): Prototypify.
6775         * inet/htonl.c (htonl): Likewise.
6777 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6779         * string/strncat.c (strncat): Improve performance by using strlen.
6781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6783         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6785 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6787         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6788         Call libc_fetestexcept_aarch64.
6790 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6792         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6793         Call libc_feholdexcept_aarch64.
6795 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6797         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6798         Call get_rounding_mode.
6800 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6802         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6803         Simplify logic.
6805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6807         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6808         Simplify logic.
6810 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6812         [BZ #14138]
6813         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6814         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6815         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6816         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6817         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6818         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6819         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6820         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6821         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6822         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6823         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6824         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6825         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6826         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6827         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6828         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6829         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6830         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6831         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6832         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6833         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6834         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6835         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6836         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6837         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6838         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6839         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6840         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6841         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6842         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6843         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6844         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6845         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6846         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6847         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6848         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6849         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6850         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6851         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6852         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6853         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6854         syscall.
6855         (geteuid): Likewise.
6856         (getgid): Likewise.
6857         (getuid): Likewise.
6858         (getresgid): Likewise.
6859         (getresuid): Likewise.
6860         (getgroups): Likewise.
6861         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6862         (geteuid): Likewise.
6863         (getgid): Likewise.
6864         (getuid): Likewise.
6865         (getresgid): Likewise.
6866         (getresuid): Likewise.
6867         (getgroups): Likewise.
6868         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6869         (geteuid): Likewise.
6870         (getgid): Likewise.
6871         (getuid): Likewise.
6872         (getresgid): Likewise.
6873         (getresuid): Likewise.
6874         (getgroups): Likewise.
6875         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6876         Likewise.
6877         (geteuid): Likewise.
6878         (getgid): Likewise.
6879         (getuid): Likewise.
6880         (getresgid): Likewise.
6881         (getresuid): Likewise.
6882         (getgroups): Likewise.
6883         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6884         (geteuid): Likewise.
6885         (getgid): Likewise.
6886         (getuid): Likewise.
6887         (getresgid): Likewise.
6888         (getresuid): Likewise.
6889         (getgroups): Likewise.
6890         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6891         Likewise.
6892         (geteuid): Likewise.
6893         (getgid): Likewise.
6894         (getuid): Likewise.
6895         (getgroups): Likewise.
6897         [BZ #14138]
6898         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6899         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6900         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6901         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6902         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6903         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6904         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6905         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6906         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6907         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6908         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6909         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6910         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6911         __chown.
6912         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6913         (lchown): Likewise.
6914         (fchown): Likewise.
6915         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6916         Likewise.
6917         (lchown): Likewise.
6918         (fchown): Likewise.
6919         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6920         (lchown): Likewise.
6921         (fchown): Likewise.
6922         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6923         Likewise.
6924         (lchown): Likewise.
6925         (fchown): Likewise.
6927 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6929         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6930         Simplify logic.
6932 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6934         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6935         Cleanup logic.
6937 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6939         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6940         Remove unused include.
6942 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6944         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6945         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6946         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6947         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6949 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6950             Helge Deller <deller@gmx.de>
6952         [BZ #17508]
6953         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6954         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6955         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6957 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6959         [BZ #14132]
6960         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6961         Remove macro definition.
6962         (__ashrdi3_v_glibc20): Likewise.
6963         (__lshrdi3_v_glibc20): Likewise.
6964         (__cmpdi2_v_glibc20): Likewise.
6965         (__ucmpdi2_v_glibc20): Likewise.
6966         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6967         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6968         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6969         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6970         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6971         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6973 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6975         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6976         old GNU extension [0] syntax.
6977         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6978         alloca rather than an array member with variable length.
6979         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6980         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6981         (parse_opt): ... here.  Likewise use alloca there.
6982         Validate the -i argument before checking for rootness.
6983         (send_shutdown): New function, broken out of ...
6984         (parse_opt): ... here.
6986 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6988         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6989         macro to get at the _rt_local_ro field.
6990         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6991         ([PIC] case) or _dl_hwcap ([!PIC] case).
6992         * sysdeps/arm/setjmp.S: Likewise.
6994         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6995         * sysdeps/arm/configure.ac: New check to define it.
6996         * sysdeps/arm/configure: Regenerated.
6997         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6998         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6999         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7000         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7001         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7002         Use move/movt pair instead of a load.
7003         (LDST_GLOBAL): Macro removed.
7004         (LDR_GLOBAL): New macro replaces it.
7005         (LDR_HIDDEN): New macro.
7006         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7007         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7009         * setjmp/tst-setjmp-static.c: New file.
7010         * setjmp/Makefile (tests): Add it.
7011         (tests-static): New variable.
7013 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7015         [BZ #17485]
7016         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7018 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7020         [BZ #14132]
7021         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7023 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7025         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7027 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7029         * io/fts.c (dirent_not_directory): New function.
7030         (fts_build): Call it.
7032 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7034         * nptl/version.c (__nptl_main): Use normal __write rather than
7035         INTERNAL_SYSCALL.
7036         (banner): Update copyright years.
7038         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7039         gettimeofday.
7040         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7041         * nptl/pthread_cond_timedwait.c: Likewise.
7042         * nptl/pthread_mutex_timedlock.c: Likewise.
7043         * nptl/sem_timedwait.c: Likewise.
7045         * sysdeps/nptl/bits/libc-lock.h
7046         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7047         (__libc_lock_init_recursive): Return void, not 0.
7048         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7049         (__libc_rwlock_init): Likewise.
7050         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7052 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7054         [BZ #15215]
7055         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7056         (__pthread_once_slow): ... here.
7057         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7058         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7060 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7062         [BZ #15215]
7063         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7064         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7065         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7066         * nptl/pthread_once.c (__pthread_once): Likewise.
7067         Update comments.
7069 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7071         [BZ #14138]
7072         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7073         name.
7074         (writev): Use __libc_writev as strong name.
7075         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7076         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7078 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7080         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7082         * sysdeps/i386/nptl/tls.h
7083         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7084         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7085         New macros.
7086         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7087         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7088         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7089         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7090         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7091         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7093         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7094         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7095         on [__NR_futex].
7096         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7097         broken out of ...
7098         (__pthread_mutex_init): ... here.  Call it.
7099         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7100         Conditionalize PI cases on [__NR_futex].
7101         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7102         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7103         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7105         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7106         conditional on [SIGSETXID].
7107         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7108         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7109         is defined.  Likewise for SIGSETXID.
7110         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7111         Conditionalize definitions on [SIGSETXID].
7112         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7113         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7114         unblocking on [SIGCANCEL].
7116         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7117         [__NR_set_robust_list].
7119 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7121         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7122         (do_compare): Likewise.
7124 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7126         [BZ #15884]
7127         * string/strcoll_l.c: Don't include stdio.h.
7128         (coll_seq): Remove members idxarr and rulearr.
7129         (get_next_seq_cached): Remove function.
7130         (get_next_seq): Likewise.
7131         (get_next_seq_nocache): Rename to get_next_seq.
7132         (do_compare): Remove function.
7133         (do_compare_nocache): Rename to do_compare.
7134         (STRCOLL): Remove weight and rules cache.
7136 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7138         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7139         * sysdeps/arm/sfp-machine.h: ... to here.
7140         * sysdeps/arm/Implies: Remove arm/soft-fp.
7142 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7144         * conform/data/sys/utsname.h-data (*_t): Allow.
7145         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7146         [POSIX] (WEXITED): Do not expect constant.
7147         [POSIX] (WSTOPPED): Likewise.
7148         [POSIX] (WNOHANG): Likewise.
7149         [POSIX] (WNOWAIT): Likewise.
7150         [POSIX] (siginfo_t): Do not expect type or elements.
7151         [POSIX] (pid_t): Do not expect type.
7152         [POSIX] (signal.h): Do not allow header.
7153         [POSIX] (sys/resource.h): Likewise.
7154         [POSIX] (si_*): Do not allow pattern.
7155         [POSIX] (W*): Likewise.
7156         [POSIX] (P_*): Likewise.
7157         [POSIX] (BUS_*): Likewise.
7158         [POSIX] (CLD_*): Likewise.
7159         [POSIX] (FPE_*): Likewise.
7160         [POSIX] (ILL_*): Likewise.
7161         [POSIX] (POLL_*): Likewise.
7162         [POSIX] (SEGV_*): Likewise.
7163         [POSIX] (SI_*): Likewise.
7164         [POSIX] (TRAP_*): Likewise.
7165         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7166         variable.
7168 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7170         [BZ #12926]
7171         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7172         infinite loop when __recvmsg returns 0.
7174 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7176         * CANCEL-FCT-WAIVE: Remove file.
7177         * CANCEL-FILE-WAIVE: Likewise.
7179         [BZ #14132]
7180         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7181         instead of INTVARDEF.
7182         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7183         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7184         rtld_hidden_data_def instead of INTVARDEF.
7185         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7186         * elf/dl-deps.c (expand_dst): Likewise.
7187         * elf/dl-load.c (_dl_dst_count): Likewise.
7188         (_dl_dst_substitute): Likewise.
7189         (decompose_rpath): Likewise.
7190         (_dl_init_paths): Likewise.
7191         (open_path): Likewise.
7192         (_dl_map_object): Likewise.
7193         * elf/rtld.c (dl_main): Likewise.
7194         (process_dl_audit): Likewise.
7195         (process_envvars): Likewise.
7196         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7197         Remove declaration.
7198         (__libc_enable_secure): Use rtld_hidden_proto.
7200 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7202         * elf/dl-load.c
7203         (add_path): New function broken out of _dl_rtld_di_serinfo.
7204         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7206 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7208         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7209         parentheses around macro arguments.
7210         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7212         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7213         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7221         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7225         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7226         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7231         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7232         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7235         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7236         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7239         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7240         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7241         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7243         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7244         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7245         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7246         Likewise.
7247         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7248         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7252         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7253         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7254         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7255         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7256         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7257         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7258         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7259         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7260         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7261         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7262         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7263         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7264         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7265         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7266         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7267         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7268         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7269         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7270         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7271         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7272         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7273         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7274         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7275         (_FP_FRAC_SRS_1): Likewise.
7276         (_FP_FRAC_CLZ_1): Likewise.
7277         (_FP_MUL_MEAT_1_imm): Likewise.
7278         (_FP_MUL_MEAT_1_wide): Likewise.
7279         (_FP_MUL_MEAT_1_hard): Likewise.
7280         (_FP_SQRT_MEAT_1): Likewise.
7281         (_FP_FRAC_ASSEMBLE_1): Likewise.
7282         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7283         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7284         (__FP_CLZ_2): Likewise.
7285         (_FP_MUL_MEAT_2_wide): Likewise.
7286         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7287         (_FP_MUL_MEAT_2_gmp): Likewise.
7288         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7289         (_FP_SQRT_MEAT_2): Likewise.
7290         (_FP_FRAC_ASSEMBLE_2): Likewise.
7291         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7292         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7293         (_FP_FRAC_CLZ_4): Likewise.
7294         (_FP_MUL_MEAT_4_wide): Likewise.
7295         (_FP_MUL_MEAT_4_gmp): Likewise.
7296         (_FP_SQRT_MEAT_4): Likewise.
7297         (_FP_FRAC_ASSEMBLE_4): Likewise.
7298         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7299         * soft-fp/op-common.h (_FP_CMP): Likewise.
7300         (_FP_CMP_EQ): Likewise.
7301         (_FP_CMP_UNORD): Likewise.
7302         (_FP_TO_INT): Likewise.
7303         (_FP_FROM_INT): Likewise.
7304         [!__FP_CLZ] (__FP_CLZ): Likewise.
7305         (_FP_DIV_HELP_imm): Likewise.
7306         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7307         Likewise.
7308         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7309         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7310         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7311         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7312         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7313         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7314         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7315         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7316         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7317         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7318         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7319         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7320         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7321         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7322         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7323         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7324         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7325         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7326         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7327         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7328         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7331         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7332         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7335         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7336         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7337         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7338         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7339         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7340         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7341         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7342         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7343         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7344         (FP_UNPACK_RAW_SP): Likewise.
7345         (FP_PACK_RAW_S): Likewise.
7346         (FP_PACK_RAW_SP): Likewise.
7347         (FP_UNPACK_S): Likewise.
7348         (FP_UNPACK_SP): Likewise.
7349         (FP_UNPACK_SEMIRAW_S): Likewise.
7350         (FP_UNPACK_SEMIRAW_SP): Likewise.
7351         (FP_PACK_S): Likewise.
7352         (FP_PACK_SP): Likewise.
7353         (FP_PACK_SEMIRAW_S): Likewise.
7354         (FP_PACK_SEMIRAW_SP): Likewise.
7355         (_FP_SQRT_MEAT_S): Likewise.
7356         (FP_CMP_S): Likewise.
7357         (FP_CMP_EQ_S): Likewise.
7358         (FP_CMP_UNORD_S): Likewise.
7359         (FP_TO_INT_S): Likewise.
7360         (FP_FROM_INT_S): Likewise.
7362         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7364         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7365         (FP_EX_INVALID_IMZ): Likewise.
7366         (FP_EX_INVALID_IMZ_FMA): Likewise.
7367         (FP_EX_INVALID_ISI): Likewise.
7368         (FP_EX_INVALID_ZDZ): Likewise.
7369         (FP_EX_INVALID_IDI): Likewise.
7370         (FP_EX_INVALID_SQRT): Likewise.
7371         (FP_EX_INVALID_CVI): Likewise.
7372         (FP_EX_INVALID_VC): Likewise.
7373         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7374         "invalid" exceptions.
7375         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7376         (_FP_ADD_INTERNAL): Likewise.
7377         (_FP_MUL): Likewise.
7378         (_FP_FMA): Likewise.
7379         (_FP_DIV): Likewise.
7380         (_FP_CMP_CHECK_NAN): Likewise.
7381         (_FP_SQRT): Likewise.
7382         (_FP_TO_INT): Likewise.
7383         (FP_EXTEND): Likewise.
7385 2014-10-09  Allan McRae  <allan@archlinux.org>
7387         * po/fr.po: Update French translation from translation project.
7389 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7391         [BZ #14132]
7392         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7393         of INTDEF.
7394         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7395         (__cxa_atexit): Use libc_hidden_proto.
7396         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7398         [BZ #14132]
7399         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7400         declaration.
7401         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7402         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7403         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7404         [!_ISOMAC] (__iswctype_internal): Likewise.
7405         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7406         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7407         alias.
7408         (fcntl): Remove __fcntl_internal alias.
7409         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7410         __connect_internal alias.
7411         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7412         Likewise.
7414         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7415         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7416         FP_DENORM_ZERO.
7417         (_FP_CHECK_FLUSH_ZERO): New macro.
7418         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7419         (_FP_CMP): Likewise.
7420         (_FP_CMP_EQ): Likewise.
7421         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7422         FP_DENORM_ZERO.
7423         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7424         (FP_TRUNC): Likewise.
7426         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7427         treated as invalid conversion, not as normal exponent.
7429         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7430         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7431         (_FP_CMP_EQ): Likewise.
7432         (_FP_CMP_UNORD): Likewise.
7433         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7434         (FP_CMP_EQ_D): Likewise.
7435         (FP_CMP_UNORD_D): Likewise.
7436         * soft-fp/extended.h (FP_CMP_E): Likewise.
7437         (FP_CMP_EQ_E): Likewise.
7438         (FP_CMP_UNORD_E): Likewise.
7439         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7440         (FP_CMP_EQ_Q): Likewise.
7441         (FP_CMP_UNORD_Q): Likewise.
7442         * soft-fp/single.h (FP_CMP_S): Likewise.
7443         (FP_CMP_EQ_S): Likewise.
7444         (FP_CMP_UNORD_S): Likewise.
7445         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7446         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7447         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7448         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7449         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7450         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7451         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7452         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7453         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7454         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7455         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7456         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7457         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7458         to FP_CMP_Q.
7459         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7460         FP_CMP_Q.
7461         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7462         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7463         FP_CMP_EQ_Q.
7464         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7465         FP_CMP_Q.
7466         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7467         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7468         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7469         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7470         FP_CMP_EQ_Q.
7471         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7472         FP_CMP_Q.
7473         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7474         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7475         FP_CMP_EQ_Q.
7476         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7477         FP_CMP_Q.
7478         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7479         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7480         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7481         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7482         FP_CMP_EQ_Q.
7484         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7485         a subnormal result, set the underflow exception if trapping on
7486         underflow is enabled.
7487         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7488         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7489         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7490         redefine to 0.
7491         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7492         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7493         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7494         * soft-fp/extendxftf2.c (__extendxftf2): Use
7495         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7497         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7498         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7499         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7500         FP_HANDLE_EXCEPTIONS.
7501         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7502         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7503         FP_HANDLE_EXCEPTIONS.
7504         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7505         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7506         FP_HANDLE_EXCEPTIONS.
7507         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7508         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7509         FP_HANDLE_EXCEPTIONS.
7511 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7513         [BZ #14132]
7514         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7515         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7516         use INTUSE.
7517         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7518         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7519         Remove alias.
7520         (__adjtimex): Define using libc_hidden_ver.
7521         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7522         Remove declaration.
7523         (ntp_gettime): Call __adjtimex directly.
7524         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7525         Remove declaration.
7526         (ntp_gettimex): Call __adjtimex directly.
7527         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7528         __adjtimex_internal alias.
7530 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7532         [BZ #17460]
7533         * nscd/nscd.c (more_help): Rewrite list of tables collection
7534         using xstrdup and asprintf.
7536         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7538 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7539             Roland McGrath  <roland@hack.frob.com>
7541         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7542         (do_lookup_unique): ... local function 'enter' here; update callers.
7544 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7546         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7547         compat_symbol calls on [SHARED].
7548         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7549         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7550         Remove.
7551         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7552         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7553         (oldsetrlimit): Remove.
7554         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7556         (lchown): New syscall entry.
7557         (oldsetrlimit): Remove.
7558         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7559         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7560         (oldsetrlimit): Remove.
7561         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7563         [BZ #14138]
7564         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7565         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7566         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7567         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7568         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7569         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7570         (fchown): Likewise.
7571         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7572         (fchown): Likewise.
7573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7574         Likewise.
7576 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7578         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7579         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7580         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7581         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7582         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7583         Likewise.
7584         (__old_sem_post): Likewise.
7586 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7588         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7589         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7590         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7591         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7592         Use INLINE_VSYSCALL macro.
7593         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7594         __vdso_clock_gettime.
7595         * sysdeps/unix/sysv/linux/tile/init-first.c
7596         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7597         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7598         __vdso_clock_gettime.
7600         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7601         to set up frame more cleanly.
7603         * sysdeps/tile/memcmp.c: New file.
7605         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7607         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7608         * sysdeps/tile/tilegx/strcasestr.c: New file.
7609         * sysdeps/tile/tilegx/strnlen.c: New file.
7610         * sysdeps/tile/tilegx/strstr.c: New file.
7612         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7614 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7616         * nptl/tst-setuid3.c: Write errors to stdout.
7618 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7620         * elf/dl-deps.c
7621         (preload): New functions broken out of _dl_map_object_deps.
7622         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7624 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7626         [BZ #14138]
7627         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7628         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7630 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7632         * sysdeps/mips/strcmp.S: New.
7634 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7636         [BZ #14138]
7637         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7638         (linkat): Likewise.
7639         (mkdirat): Likewise.
7640         (readlinkat): Likewise.
7641         (renameat): Likewise.
7642         (symlinkat): Likewise.
7643         (unlinkat): Likewise.
7644         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7645         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7646         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7647         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7648         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7649         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7650         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7652 2014-09-30  Will Newton  <will.newton@linaro.org>
7654         * math/math.h: Define long double math functions if
7655         _LIBC_TEST is defined.
7656         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7658         * localedata/Makefile: Move assignment to tests-special
7659         into an ifdef testing run-built-tests.
7660         * timezone/Makefile: Likewise.
7662 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7664         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7665         with $(BASH) not $(SHELL).
7667 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7668             Matthew LeGendre  <legendre1@llnl.gov>
7670         [BZ #17411]
7671         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7672         l_reloc_result.
7674 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7676         * stdio-common/printf_fp.c
7677         (hack_digit): New function, broken out of ...
7678         (__printf_fp): ... local function here.  Update call sites.
7679         hack_digit now takes an additional parameter that is a pointer
7680         to a struct of the referenced locals.  Those locals moved inside
7681         the struct and references updated.
7683 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7685         * aclocal.m4: Require autoconf 2.69.
7686         * configure: Regenerated.
7687         * sysdeps/aarch64/configure: Likewise.
7688         * sysdeps/alpha/configure: Likewise.
7689         * sysdeps/arm/armv7/configure: Likewise.
7690         * sysdeps/arm/configure: Likewise.
7691         * sysdeps/ia64/configure: Likewise.
7692         * sysdeps/mach/configure: Likewise.
7693         * sysdeps/mips/configure: Likewise.
7694         * sysdeps/s390/configure: Likewise.
7695         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7698         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7699         file.
7700         * sysdeps/ia64/configure.ac: Likewise.
7702 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7705         specify symbol version for ld.so.  Do not include entry for
7706         libpthread.
7707         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7708         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7709         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7711         [BZ #14171]
7712         * Makeconfig [$(build-shared) = yes]
7713         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7714         makefiles.
7715         [$(build-shared) = yes && $(soversions.mk-done) = t]
7716         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7717         [$(build-shared) = yes && $(soversions.mk-done) = t]
7718         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7719         to Makerules.
7720         [$(build-shared) = yes && $(soversions.mk-done) = t]
7721         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7722         here.
7723         [$(build-shared) = yes && $(soversions.mk-done) = t]
7724         (common-generated): Don't append gnu/lib-names.h and
7725         gnu/lib-names.stmp here.
7726         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7727         (lib-names-h-abi): New variable.
7728         [$(build-shared) = yes && $(soversions.mk-done) = t]
7729         (lib-names-stmp-abi): Likewise.
7730         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7731         abi-variants] (before-compile): Append
7732         $(common-objpfx)$(lib-names-h-abi).
7733         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7734         abi-variants] (common-generated): Append gnu/lib-names.h.
7735         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7736         abi-variants] (install-others-nosubdir): Depend on
7737         $(inst_includedir)/$(lib-names-h-abi).
7738         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7739         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7740         [$(build-shared) = yes && $(soversions.mk-done) = t]
7741         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7742         [$(build-shared) = yes && $(soversions.mk-done) = t]
7743         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7744         [$(build-shared) = yes && $(soversions.mk-done) = t]
7745         (common-generated): Append $(lib-names-h-abi) and
7746         $(lib-names-stmp-abi).
7747         * scripts/lib-names.awk: Do not handle multi being set.
7748         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7749         Remove variable.
7750         (abi-lp64_be-ld-soname): Likewise.
7751         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7752         Likewise.
7753         (abi-hard-ld-soname): Likewise.
7754         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7755         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7756         Remove variable.
7757         (abi-o32_hard-ld-soname): Likewise.
7758         (abi-o32_soft_2008-ld-soname): Likewise.
7759         (abi-o32_hard_2008-ld-soname): Likewise.
7760         (abi-n32_soft-ld-soname): Likewise.
7761         (abi-n32_hard-ld-soname): Likewise.
7762         (abi-n32_soft_2008-ld-soname): Likewise.
7763         (abi-n32_hard_2008-ld-soname): Likewise.
7764         (abi-n64_soft-ld-soname): Likewise.
7765         (abi-n64_hard-ld-soname): Likewise.
7766         (abi-n64_soft_2008-ld-soname): Likewise.
7767         (abi-n64_hard_2008-ld-soname): Likewise.
7768         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7769         Likewise.
7770         (abi-64-v2-ld-soname): Likewise.
7771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7772         ld.so entries.
7773         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7774         variable.
7775         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7776         entry.
7777         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7778         variable.
7779         (abi-64-ld-soname): Likewise.
7780         (abi-x32-ld-soname): Likewise.
7781         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7782         entry.
7783         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7785 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7787         [BZ #14138]
7788         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7789         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7790         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7791         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7792         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7793         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7794         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7795         syscall entry for GLIBC_2.2 symbol version.
7796         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7797         Likewise.
7798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7799         (setrlimit): Likewise.
7800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7801         Likewise.
7803 2014-09-23  Will Newton  <will.newton@linaro.org>
7805         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7806         _LINUX_ARM_SYSDEP_H include guard too.
7807         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7808         define.
7810 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7812         * sysdeps/unix/sysv/linux/eventfd.c:
7813         Make first argument unsigned.
7814         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7815         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7817 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7819         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7820         * socket/sys/socket.h: Likewise
7821         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7823 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7825         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7827 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7829         * time/tst-ftime.c: New test.
7830         * time/Makefile (tests): Add tst-ftime.
7832 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7834         * soft-fp/extended.h: Fix comment formatting.
7835         * soft-fp/op-1.h: Likewise.
7836         * soft-fp/op-2.h: Likewise.
7837         * soft-fp/op-4.h: Likewise.
7838         * soft-fp/op-8.h: Likewise.
7839         * soft-fp/op-common.h: Likewise.
7840         * soft-fp/soft-fp.h: Likewise.
7842         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7844 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7846         [BZ #6652]
7847         * Makeconfig (soversions-default-setname): Remove variable.
7848         ($(common-objpfx)soversions.i): Don't pass default_setname to
7849         soversions.awk.
7850         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7851         oldest_abi to abi-versions.awk.
7852         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7853         * config.make.in (oldest-abi): Remove variable.
7854         * configure.ac (--enable-oldest-abi): Remove configure option.
7855         * configure: Regenerated.
7856         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7857         text.
7858         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7859         * scripts/soversions.awk: Do not handle default_setname variable.
7860         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7861         variable.
7862         * sysdeps/mach/hurd/configure: Regenerated.
7863         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7864         variable.
7865         * sysdeps/unix/sysv/linux/configure: Regenerated.
7867 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7869         * elf/Makefile (CFLAGS-interp.c): Remove.
7870         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7871         path string.
7872         * elf/interp.c: Include generated runtime-linker.h
7874         * Makerules (lib%.so): Don't include $(+interp) in
7875         prerequisites.
7876         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7877         * dlfcn/eval.c: Remove file.
7879         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7880         macros.
7882         [BZ #17266]
7883         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7884         4.2 and newer.
7886         [BZ #17370]
7887         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7889 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7890             Jakub Jelinek  <jakub@redhat.com>
7892         [BZ #17266]
7893         * libio/stdio.h: Check definition of __fortify_function
7894         instead of __extern_always_inline to include bits/stdio2.h.
7895         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7896         check if __extern_always_inline is defined.
7897         [__USE_MISC || __USE_XOPEN]: Likewise.
7898         [__USE_ISOC99] Likewise.
7899         * misc/sys/cdefs.h (__fortify_function): Define only if
7900         __extern_always_inline is defined.
7901         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7902         __extern_always_inline and __extern_inline only for g++-4.3
7903         and newer or a compatible gcc.
7905 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7907         [BZ #17371]
7908         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7909         last change to handle zero prefix length.
7911 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7913         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7914         _SC_REGEX_VERSION.
7916         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7917         _POSIX_RAW_SOCKETS.
7919 2014-09-13  Allan McRae  <allan@archlinux.org>
7921         * po/ru.po: Update Russian translation from translation project.
7923 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7925         * locale/programs/locale.c (show_locale_vars): Inline local function
7926         into its sole call site.  Clean up some style nits.
7927         (print_item): New function, broken out of ...
7928         (show_info): ... local function here.  Clean up style nits.
7930         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7931         out of ...
7932         (set_class_defaults): ... local function set_default here.
7933         Define set_default as a macro locally to pass constant parameters.
7934         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7935         rather than a shared local.
7937         * stdlib/rpmatch.c (try): New function, broken out of ...
7938         (rpmatch): ... local function here.  Also, prototypify definition.
7940 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7942         * scripts/soversions.awk: Do not handle configuration names.
7943         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7944         vendor and os variables to soversions.awk.
7945         * configure.ac: Do not modify gnu-* host_os.
7946         * configure: Regenerated
7947         * shlib-versions: Remove first column with configuration names.
7948         * nptl/shlib-versions: Likewise.
7949         * nptl_db/shlib-versions: Likewise.
7950         * sysdeps/hppa/shlib-versions: Likewise.
7951         * sysdeps/m68k/shlib-versions: Likewise.
7952         * sysdeps/mach/hurd/shlib-versions: Likewise.
7953         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7954         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7955         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7956         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7957         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7958         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7959         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7960         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7962         Likewise.
7963         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7964         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7965         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7966         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7967         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7968         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7969         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7970         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7973         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7975         Regenerated.
7976         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7978         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7980         * shlib-versions: Remove OS-specific entries.  Moved to files in
7981         sysdeps.
7982         * sysdeps/mach/hurd/shlib-versions: New file.
7983         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7985         * nptl/shlib-versions: Remove architecture-specific entries.
7986         Moved to files in sysdeps.
7987         * shlib-versions: Likewise.
7988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7989         file.
7990         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7991         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7992         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7993         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7995         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7996         (UDP_NO_CHECK6_RX): Likewise.
7998 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8000         * sysdeps/posix/sysconf.c (__sysconf): Spell
8001         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8003 2014-08-12  Florian Weimer  <fweimer@redhat.com>
8005         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8006         loading.
8007         * iconv/Versions (__gconv_transliterate): Export for use from
8008         gconv modules.
8009         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8010         (struct __gconv_trans_data, __gconv_trans_fct,
8011         __gconv_trans_context_fct, __gconv_trans_query_fct,
8012         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8013         definitions.
8014         (struct __gconv_step_data): Remove __trans member.
8015         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8016         longer hidden.  Remove unused trans_data argument.
8017         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8018         (__gconv_translit_find): Remove declaration.
8019         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8020         prototype.
8021         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8022         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8023         trans_data argument.  Add hidden definition.
8024         (__gconv_translit_find): Remove.
8025         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8026         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8027         * iconv/skeleton.c: Remove transliteration initialization.
8028         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8029         __gconv_step_data initialization.
8030         * libio/iofwide.c (__libio_translit_): Remove.
8031         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8032         * wcsmbs/btowc.c (__btowc): Likewise.
8033         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8034         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8035         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8036         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8037         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8038         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8039         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8040         * wcsmbs/wctob.c (wctob): Likewise.
8042 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8044         [BZ #16194]
8045         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8046         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8047         register usage.
8048         * sysdeps/x86/Makefile: Adjust.
8050 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8051             Roland McGrath  <roland@hack.frob.com>
8053         * locale/weight.h: Add include guard.
8054         (findidx): Make static rather than auto; take new parameters
8055         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8056         * locale/weightwc.h: Likewise.
8057         * posix/fnmatch_loop.c
8058         (FCT): Change type of EXTRA from int32_t to wint_t.
8059         Don't include either header inside the function.
8060         Call FINDIDX rather than findidx, and pass new arguments.
8061         #undef FINDIDX at the end of the file.
8062         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8063         FINDIDX before including fnmatch_loop.c for the non-wide version.
8064         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8065         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8066         for the wide version.
8067         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8068         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8069         Pass new arguments to findidx.
8070         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8071         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8072         Don't #include it inside the function.  Pass new arguments to findidx.
8073         * posix/regex_internal.h
8074         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8075         (re_string_elem_size_at): Don't #include it inside the function.
8076         Pass new arguments to findidx.
8077         * string/strcoll_l.c: #include WEIGHT_H at top level.
8078         (get_next_seq): Don't #include it inside the function.
8079         Pass new arguments to findidx.
8080         (get_next_seq_nocache): Likewise.
8081         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8082         (STRXFRM): Don't #include it inside the function.
8083         Pass new arguments to findidx.
8085 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8087         [BZ #17344]
8088         * malloc/malloc.c (unlink): Turn asserts into a call to
8089         malloc_printerr.
8091 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8093         [BZ #17370]
8094         * libio/wfileops (do_ftell_wide): Free OUT.
8096 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8098         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8100 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8102         [BZ #17363]
8103         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8104         group if the current group is empty.
8106 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8108         * benchtests/bench-memset.c (test_main): Add more test from size
8109         from 32 to 512 bytes.
8110         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8111         Add POWER8 memset object.
8112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8113         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8114         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8115         implementation.
8116         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8117         Likewise.
8118         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8119         multiarch POWER8 memset optimization.
8120         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8121         POWER8 memset optimization.
8123         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8124         Remove bzero multiarch objects.
8125         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8126         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8127         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8128         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8129         Remove define.
8130         [__bzero]: Redefine to specific name.
8131         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8132         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8133         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8134         define.
8135         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8136         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8138 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8140         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8141         warnings into errors.
8143         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8144         __cxa_thread_atexit_impl prototype.
8146 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8148         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8149         Fix capitalization of error message.
8151 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8153         * sysdeps/mips/preconfigure: Modify ABI tests.
8155 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8157         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8159 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8160             Carlos O'Donell  <carlos@systemhalted.org>
8162         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8163         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8164         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8165         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8166         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8167         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8168         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8169         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8170         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8171         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8173         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8174         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8175         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8176         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8177         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8178         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8179         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8181         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8183         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8184         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8185         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8186         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8187         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8188         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8189         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8190         Deconditionalize the code that was previously under [RESET_PID].
8191         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8192         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8193         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8194         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8195         include sysdep.h.
8197 2014-09-08  Allan McRae  <allan@archlinux.org>
8199         * version.h (RELEASE): Set to "development".
8200         (VERSION): Set to "2.20.90"
8202 2014-09-07  Allan McRae  <allan@archlinux.org
8204         * version.h (RELEASE): Set to "stable".
8205         (VERSION): Set to "2.20"
8206         * include/features.h (__GLIBC_MINOR__): Set to 20.
8208         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8209         Liebler.
8211         * po/ko.po: Update Korean translation from translation project.
8213 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8215         [BZ #17354]
8216         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8217         macro for handling signed relocations.
8219 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8221         [BZ #17325]
8222         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8223         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8224         assert.
8225         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8226         * iconvdata/ibm935.c (BODY): Likewise.
8227         * iconvdata/ibm937.c (BODY): Likewise.
8228         * iconvdata/ibm939.c (BODY): Likewise.
8229         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8230         assert.
8231         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8232         script.
8233         * iconvdata/run-iconv-test.sh: New test loop for checking for
8234         decoder crashers.
8236 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8238         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8239         libm_hidden_ver.
8241 2014-09-01  Allan McRae  <allan@archlinux.org>
8243         * po/eo.po: Update Esperanto translation from translation project.
8245         * po/ca.po: Update Catalan translation from translation project.
8247 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8249         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8250         __proc_dostop call.
8252 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8254         [BZ #17319]
8255         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8256         to call set_thread_area instead of hand written asm.
8257         (__NR_set_thread_area): Removed define.
8258         (TLS_FLAG_WRITABLE): Likewise.
8259         (__ASSUME_SET_THREAD_AREA): Remove check.
8260         (TLS_EBX_ARG): Remove define.
8261         (TLS_LOAD_EBX): Likewise.
8263 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8265         Simplify atomicity of socket creation in bind.
8267         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8268         looking up the name after linking the file.
8270 2014-08-27  Allan McRae  <allan@archlinux.org>
8272         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8274 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8276         [BZ #17187]
8277         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8278         trans_compare, open_translit, __gconv_translit_find):
8279         Remove module loading code.
8281 2014-08-26  Allan McRae  <allan@archlinux.org>
8283         * po/vi.po: Update Vietnamese translation from translation project.
8285         * po/uk.po: Update Ukrainian translation from translation project.
8287         * po/fr.po: Update French translation from translation project.
8289         * po/ru.po: Update Russian translation from translation project.
8291         * po/pl.po: Update Polish translation from translation project.
8293         * po/cs.po: Update Czech translation from translation project.
8295         * po/de.po: Update German translation from translation project.
8297         * po/bg.po: Update Bulgarian translation from translation project.
8299         * po/sv.po: Update Sweedish translation from translation project.
8301         * po/nl.po: Update Dutch translation from translation project.
8303         * po/es.po: Update Spanish translation from translation project.
8305 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8307         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8309         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8310         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8311         (CPPFLAGS-iconvconfig): Likewise.
8312         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8314         * include/libc-symbols.h: Remove unnecessary check for
8315         NOT_IN_libc.
8316         * nptl/pthreadP.h: Likewise.
8317         * sysdeps/aarch64/setjmp.S: Likewise.
8318         * sysdeps/alpha/setjmp.S: Likewise.
8319         * sysdeps/arm/sysdep.h: Likewise.
8320         * sysdeps/i386/setjmp.S: Likewise.
8321         * sysdeps/m68k/setjmp.c: Likewise.
8322         * sysdeps/posix/getcwd.c: Likewise.
8323         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8324         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8325         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8326         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8327         * sysdeps/sh/sh3/setjmp.S: Likewise.
8328         * sysdeps/sh/sh4/setjmp.S: Likewise.
8329         * sysdeps/unix/alpha/sysdep.h: Likewise.
8330         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8331         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8332         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8333         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8337         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8338         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8339         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8340         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8341         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8342         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8343         * sysdeps/x86_64/setjmp.S: Likewise.
8345 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8347         [BZ #17263]
8348         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8349         <stdint.h>.
8350         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8351         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8353 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8355         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8357         [BZ #17262]
8358         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8359         and __x86_64__ when disabling x87 inline functions.
8361 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8363         [BZ #17259]
8364         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8365         asm statement with __cpuid_count.
8367 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8369         * configure.ac: Change __ehdr_start code to dereference the struct.
8370         Run readelf on the output to look for relocations.
8371         * configure: Regenerated.
8373 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8375         [BZ #17261]
8376         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8377         value to 0.
8378         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8380 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8382         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8384 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8386         [BZ #16892]
8387         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8388         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8390 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8392         * malloc/malloc.c: Fix typo in comment.
8394 2014-08-09  Allan McRae  <allan@archlinux.org>
8396         * Regenerate libc.po.
8398 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8400         * intl/tst-gettext2.sh: Check every lang file for creation.
8402 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8404         * sysdeps/aarch64/fpu/math_private.h
8405         (libc_feholdsetround_noex_aarch64_ctx): New function.
8407 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8409         * sysdeps/arm/armv6/strcpy.S (strcpy):
8410         Fix performance issue in misaligned cases.
8412 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8414         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8415         Move definition from termios.h.
8416         (struct termio): Likewise.
8417         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8418         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8419         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8420         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8421         Likewise.
8422         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8423         Move definition to ioctl-types.h
8424         (struct termio): Likewise.
8425         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8426         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8427         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8428         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8429         Likewise.
8431 2014-08-05  Richard Henderson  <rth@redhat.com>
8433         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8434         exceptions.
8435         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8436         Add fraiseexcpt.
8437         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8438         Use __feraiseexcept.
8439         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8440         Protect libm symbols with IS_IN_libm.
8442         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8444 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8446         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8448 2014-08-04  Will Newton  <will.newton@linaro.org>
8450         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8451         file.
8453 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8455         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8456         variants for each function.
8458 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8460         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8461         appended ...
8462         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8463         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8464         appended ...
8465         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8466         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8467         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8468         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8469         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8470         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8471         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8472         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8473         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8474         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8475         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8476         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8477         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8478         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8479         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8480         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8481         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8482         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8483         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8484         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8485         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8486         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8487         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8488         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8489         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8490         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8491         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8492         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8493         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8494         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8495         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8496         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8497         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8498         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8499         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8500         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8501         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8502         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8503         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8504         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8505         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8506         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8507         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8508         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8509         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8510         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8511         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8512         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8513         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8515         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8516         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8517         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8518         Update #include.
8519         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8520         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8522 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8524         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8525         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8526         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8527         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8528         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8529         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8531 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8533         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8534         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8535         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8536         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8538 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8540         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8541         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8542         (__libc_vfork): Define function under this name.
8543         (__vfork): Define as an alias.
8544         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8545         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8547 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8549         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8550         that was previously under [RESET_PID].
8551         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8553 2014-08-04  Andreas Schwab  <schwab@suse.de>
8555         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8557 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8559         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8560         (main): Likewise.
8562 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8564         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8566 2014-08-01  Richard Henderon  <rth@redhat.com>
8568         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8569         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8570         typo in exact zero test.
8571         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8572         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8573         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8575 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8577         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8578         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8579         * sysdeps/arm/sysdep.h: ... here.
8580         [!__ASSEMBLER__]: Include <stdint.h>.
8582 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8584         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8585         (HAVE_WCTYPE_H): Likewise.
8586         (HAVE_ISWCTYPE): Likewise.
8587         (ENABLE_NLS): Likewise.
8588         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8589         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8591         * posix/regex_internal.c: Check if DEBUG is defined and is
8592         set.
8594         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8595         (HAVE_MBSRTOWCS): Likewise.
8596         * posix/fnmatch.c: Include string.h unconditionally.
8598 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8600         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8601         reversal.
8603 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8605         * sysdeps/generic/safe-fatal.h: New file.
8606         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8607         * nptl/forward.c: Include it.
8608         (__pthread_unwind): Use __safe_fatal as default action, rather
8609         than a bogus use of INTERNAL_SYSCALL that could never work.
8611         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8612         * configure.ac (libc_cv_builtin_trap): New test.
8613         * configure: Regenerated.
8614         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8615         (ABORT_INSTRUCTION): Define using __builtin_trap.
8617         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8618         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8619         * sysdeps/nptl/nptl-signals.h: New file.
8620         * nptl/pthreadP.h: Include <nptl-signals.h>.
8622 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8624         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8625         (ONE_DIRECTION): Define.
8626         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8627         (ONE_DIRECTION): Define.
8628         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8629         (ONE_DIRECTION): Define.
8631 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8633         * sysdeps/s390/Makefile: Delete file.
8634         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8635         * sysdeps/s390/__longjmp.c: Delete file.
8636         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8637         Remove fields __flags and __reserved.
8638         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8639         and add versioning.
8640         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8641         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8642         * sysdeps/s390/rtld-setjmp.S: Likewise.
8643         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8644         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8645         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8646         * sysdeps/s390/s390-32/setjmp.S: ... here.
8647         Add versioning.
8648         (__sigsetjmp): Remove setting __flags field.
8649         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8650         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8651         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8652         * sysdeps/s390/s390-64/setjmp.S: ... here.
8653         Add versioning.
8654         (__sigsetjmp): Remove setting __flags field.
8655         * sysdeps/s390/setjmp.S: Delete file.
8656         * sysdeps/s390/sigjmp.c: Likewise.
8657         * sysdeps/s390/v1-longjmp.c: Likewise.
8658         * sysdeps/s390/v1-setjmp.h: Likewise.
8659         * sysdeps/s390/v1-sigjmp.c: Likewise.
8660         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8661         Remove v1-longjmp_chk.
8662         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8663         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8664         Include debug/longjmp_chk.c and add versioning.
8665         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8666         Include nptl/pt-longjmp.c and add versioning.
8667         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8668         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8669         Include __longjmp.c.
8670         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8671         Move to ...
8672         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8673         (__getcontext): Remove setting __flags field.
8674         Add versioning.
8675         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8676         Don't restore upper high grps.
8677         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8678         Likewise.
8679         (__swapcontext): Remove setting uc_flags field.
8680         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8681         Delete file.
8682         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8683         Include __longjmp.c.
8684         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8685         Move to ...
8686         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8687         (__getcontext): Remove setting __flags field.
8688         Add versioning.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8690         (__swapcontext): Remove setting uc_flags field.
8691         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8692         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8693         Remove fields uc_high_gprs and __reserved.
8694         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8695         New file with reverted content.
8696         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8697         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8698         Regenerated.
8699         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8700         Regenerated.
8702 2014-07-31  Andreas Schwab  <schwab@suse.de>
8704         * config.h.in (HAVE_IFUNC): Define to 0.
8705         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8706         definedness.
8708 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8711         memmove-avx-unaligned, memcpy-avx-unaligned and
8712         mempcpy-avx-unaligned.
8713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8714         Add tests for AVX memcpy functions.
8715         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8716         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8717         memcpy_chk.
8718         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8719         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8720         memmove_chk.
8721         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8722         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8723         mempcpy_chk.
8724         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8725         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8726         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8728 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8730         [BZ #17213]
8731         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8732         powerpc64le.
8734 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8736         [BZ #16839]
8737         * manual/llio.texi: Add section about open file description locks.
8738         * manual/examples/ofdlocks.c: Example of open file description
8739         lock usage.
8740         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8741         F_OFD_SETLK, and F_OFD_SETLKW.
8743 2014-07-23  Allan McRae  <allan@archlinux.org>
8745         * po/es.po: Update Spanish translation from translation project.
8747 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8749         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8751 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8753         [BZ #17078]
8754         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8755         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8756         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8758 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8760         [BZ #17088]
8761         * math/fesetenv.c (__fesetenv)
8762         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8763         * math/feupdateenv.c (__feupdateenv)
8764         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8766         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8767         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8768         (__ASSUME_SOCKETCALL): Do not define.
8770         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8771         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8772         (__ASSUME_SOCKETCALL): Do not define.
8773         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8774         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8775         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8776         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8777         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8778         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8779         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8780         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8782         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8783         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8784         (__ASSUME_SOCKETCALL): Do not define.
8785         (__ASSUME_IPC64): Define unconditionally.
8786         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8787         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8788         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8789         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8790         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8791         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8792         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8793         Likewise.
8795         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8796         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8797         (__ASSUME_SOCKETCALL): Do not define.
8798         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8799         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8800         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8801         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8802         (__ASSUME_REQUEUE_PI): Define unconditionally.
8803         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8804         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8805         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8806         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8807         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8808         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8810         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8811         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8812         (__ASSUME_SOCKETCALL): Do not define.
8813         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8814         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8815         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8816         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8818         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8820         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8821         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8822         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8823         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8824         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8825         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8826         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8827         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8828         (__ASSUME_GETCPU_SYSCALL): Likewise.
8830         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8831         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8832         cases for individual architectures.
8833         * sysdeps/gnu/configure: Regenerated.
8834         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8835         LIBC_SLIBDIR_RTLDDIR.
8836         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8837         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8838         LIBC_SLIBDIR_RTLDDIR.
8839         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8841         LIBC_SLIBDIR_RTLDDIR.
8842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8843         Regenerated.
8844         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8845         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8846         file.
8847         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8848         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8849         file.
8850         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8851         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8852         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8853         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8855         * sysdeps/aarch64/shlib-versions: Move to ...
8856         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8857         * sysdeps/alpha/shlib-versions: Move to ...
8858         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8859         * sysdeps/arm/shlib-versions: Move to ...
8860         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8861         * sysdeps/hppa/shlib-versions: Move all contents except for
8862         libgcc_s entry to ...
8863         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8864         entry from ...
8865         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8866         * sysdeps/ia64/shlib-versions: Move to ...
8867         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8868         entry from ...
8869         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8870         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8871         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8872         * sysdeps/microblaze/shlib-versions: Move to ...
8873         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8874         * sysdeps/mips/shlib-versions: Move to ...
8875         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8876         entry from ...
8877         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8878         * sysdeps/tile/shlib-versions: Move to ...
8879         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8880         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8881         from ...
8882         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8883         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8884         entry from ...
8885         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8887 2014-07-17  Will Newton  <will.newton@linaro.org>
8889         * sysdeps/arm/bits/atomic.h
8890         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8891         (__arch_compare_and_exchange_bool_16_int): Likewise.
8892         (__arch_compare_and_exchange_bool_64_int): Likewise.
8894         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8895         into an #else block.
8897 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8899         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8900         just Linux configurations.  Test empirically that the compiler sets
8901         __ARM_EABI__, rather than using the tuple to decide.
8902         * sysdeps/arm/preconfigure: Regenerated.
8903         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8904         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8905         contents appended ...
8906         * sysdeps/arm/configure.ac: ... here.
8907         * sysdeps/arm/configure: Regenerated.
8909 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8911         * nptl/pthread_kill.c: New file.
8912         * nptl/pthread_sigmask.c: New file.
8913         * nptl/pthread_sigqueue.c: New file.
8915         * sysdeps/nptl/lowlevellock.h: New file.
8916         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8917         * sysdeps/nptl/lowlevellock-futex.h: New file.
8919         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8920         Remove dead declarations.
8922 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8924         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8925         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8926         config-cflags-avx2.
8927         * sysdeps/x86_64/configure.ac: Likewise.
8928         * sysdeps/i386/configure: Regenerated.
8929         * sysdeps/x86_64/configure: Likewise.
8930         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8931         memset-avx2 only if config-cflags-avx2 is yes.
8932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8933         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8934         defined.
8935         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8936         only if HAVE_AVX2_SUPPORT is defined.
8937         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8939 2014-07-14  Alan Modra  <amodra@gmail.com>
8941         [BZ #17153]
8942         * elf/elf.h (DT_PPC64_NUM): Correct value.
8943         * NEWS: Add to fixed bug list.
8945 2014-07-13  Jim Meyering  <meyering@fb.com>
8947         [BZ 17150]
8948         regex: don't deref NULL upon heap allocation failure
8949         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8950         failure in one more place.
8951         To trigger the segfault, configure grep -with-included-regex,
8952         build it, and run these commands:
8953         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8955 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8957         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8959 2014-07-11  Richard Henderson  <rth@redhat.com>
8961         * sysdeps/aarch64/libm-test-ulps: Update.
8963 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8965         [BZ #17135]
8966         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8967         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8968         (__nptl_setxid): Initialize error member.  Call
8969         __nptl_setxid_error.
8970         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8971         * nptl/descr.h (struct xid_command): Add error member.
8972         * nptl/tst-setuid3.c: New file.
8973         * nptl/Makefile (tests): Add it.
8975 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8977         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8978         New define.
8979         (__lll_trylock): Use __lll_base_trylock.
8980         (__lll_cond_trylock): Likewise.
8982 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8984         * nptl/pthread_create.c (start_thread): Use atomic_or and
8985         lll_futex_wake directly rather than lll_robust_dead.
8986         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8987         (lll_robust_dead): Macro removed.
8988         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8989         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8990         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8991         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8992         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8993         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8994         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8995         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8996         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8997         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8998         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8999         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9000         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9001         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9002         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9004         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9005         Use atomic_compare_and_exchange_val_acq directly rather than
9006         lll_robust_trylock.
9007         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9008         (__lll_robust_trylock, lll_robust_trylock): Removed.
9009         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9010         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9011         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9012         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9013         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9014         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9015         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9016         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9017         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9018         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9019         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9020         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9021         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9022         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9024 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9026         * manual/locale.texi (Locale Names): New section documenting
9027         locale name syntax.  Adjust menu and node chaining accordingly.
9028         (Choosing Locale): Reference Locale Names, Locale Categories.
9029         Mention setting LC_ALL=C.  Reflect that name syntax is now
9030         documented.
9031         (Locale Categories): New section title.  Reference Locale Names.
9032         LC_ALL is an environment variable, but not a category.
9033         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9034         description, now in Locale Name.  Reference that section.  Locale
9035         name syntax is now documented.
9037 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9039         [BZ #17137]
9040         * locale/findlocale.c (name_present, valid_locale_name): New
9041         functions.
9042         (_nl_find_locale): Use the loc_name variable to store name
9043         candidates.  Call name_present and valid_locale_name to check and
9044         validate locale names.  Return an error if the locale is invalid.
9046 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9048         * locale/setlocale.c (setlocale): Use strdup for allocating
9049         composite name copy.
9051 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9053         Sync up with gnulib.
9054         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9055         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9056         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9057         and _GL_ARG_NONNULL.
9058         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9059         [!_LIBC]: Include code for Windows and Cygwin.
9060         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9061         Include prototype for int strerror_r.
9062         [!_LIBC] (is_open): New function.
9063         (flush_stdout): New function.
9064         (print_errno_message): Use it.
9065         (error): Likewise.
9066         (error_at_line): Likewise.
9067         (error_tail) Add function attribute macros.  Use
9068         __builtin_expect.
9070         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9072         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9074         * io/ftw.c: Include sys/param.h unconditionally.
9076         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9078         [BZ #17125]
9079         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9080         libc_freeres_ptr.
9081         (freecache): New function to free CACHE on exit.
9083         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9084         initialization.
9086 2014-07-09  David S. Miller  <davem@davemloft.net>
9088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9090         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9091         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9092         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9093         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9094         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9095         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9096         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9097         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9098         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9099         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9100         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9101         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9102         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9104 2014-07-09  Andreas Schwab  <schwab@suse.de>
9106         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9107         output.
9108         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9109         (do_test): Likewise.
9111         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9113 2014-07-09  Will Newton  <will.newton@linaro.org>
9115         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9116         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9117         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9118         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9119         * sysdeps/hppa/start.S (_start): Likewise.
9121 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9123         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9125         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9126         defined.
9128 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9130         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9131         after checking that it is non-NULL.
9133         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9135 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9137         * sysdeps/powerpc/memmove.c: Remove file.
9138         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9139         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9140         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9141         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9142         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9143         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9144         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9145         string memmove instead of removed powerpc one.
9147         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9148         [weak_alias]: Fix compiler warning due trailing data.
9149         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9150         [weak_alias]: Likewise.
9151         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9152         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9154         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9155         (__libc_ifunc_impl_list): Add memmove functions.
9157 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9159         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9160         Remove code.
9161         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9162         Likewise
9163         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9164         Likewise
9165         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9166         Likewise
9167         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9168         Likewise
9169         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9170         Likewise
9171         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9172         Likewise
9173         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9174         Likewise
9175         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9176         Likewise
9177         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9178         Likewise
9179         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9180         Likewise
9181         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9182         Likewise
9183         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9184         Likewise
9185         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9186         Likewise
9187         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9188         Likewise
9189         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9190         Likewise
9191         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9192         Likewise
9194 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9196         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9197         to avoid alignment traps in non-cacheable memory.
9198         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9200         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9201         multiarch objects.
9202         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9203         file: multiarch power7 memmove.
9204         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9205         multiarch default memmove.
9206         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9207         multiarch memove for powerpc32/power4.
9209         * string/bcopy.c: Use full path to include memmove.c.
9210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9211         multiarch objects.
9212         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9213         bcopy for powerpc64.
9214         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9215         bcopy for powerpc64.
9216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9217         and memmove implementations.
9218         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9219         optimized multiarch memmove for POWER7/powerpc64.
9220         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9221         default multiarch memmove for powerpc64.
9222         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9223         multiarch for powerpc64.
9224         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9225         for POWER7/powerpc64.
9226         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9227         memmove for POWER7/powerpc64.
9229         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9230         glibc default one.
9232         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9233         __ELF_NATIVE_CLASS equal to 64.
9235 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9237         * sysdeps/nptl/lowlevellock.h: File removed.
9239         * NEWS: NPTL is no longer an add-on!
9240         * nptl/internaltypes.h: Moved ...
9241         * sysdeps/nptl/internaltypes.h: ... here.
9242         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9243         * sysdeps/nptl/fork.c: Likewise.
9244         * sysdeps/nptl/gai_misc.h: Likewise.
9245         * sysdeps/nptl/librt-cancellation.c: Likewise.
9246         * sysdeps/nptl/jmp-unwind.c: Likewise.
9247         * sysdeps/nptl/setxid.h: Likewise.
9248         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9249         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9250         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9251         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9252         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9253         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9254         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9255         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9256         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9257         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9258         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9259         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9260         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9261         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9262         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9263         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9264         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9265         * nptl/Makeconfig: Moved ...
9266         * sysdeps/nptl/Makeconfig: ... here.
9267         * nptl/configure: File removed.
9268         * nptl/ANNOUNCE: File removed.
9269         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9270         * sysdeps/unix/sysv/linux/configure: Regenerated.
9272         * nptl/Makefile (routines): Add libc_pthread_init,
9273         libc_multiple_threads, register-atfork and unregister-atfork.
9274         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9275         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9276         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9277         pthread-pi-defines.sym, structsem.sym.
9278         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9279         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9280         [$(subdir) = nptl] (tests): Add tst-setgetname.
9281         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9282         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9283         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9284         [!LIBC_SIGACTION]: Remove aliases.
9285         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9286         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9287         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9288         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9289         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9290         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9291         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9292         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9293         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9294         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9295         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9296         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9297         __libc_allocate_rtsig_private.
9298         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9299         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9300         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9301         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9302         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9303         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9304         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9305         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9306         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9307         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9308         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9309         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9310         * nptl/internaltypes.h: ... here.
9311         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9312         * sysdeps/nptl/jmp-unwind.c: ... here.
9313         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9314         * nptl/libc-lowlevellock.c: ... here.
9315         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9316         * nptl/libc_multiple_threads.c: ... here.
9317         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9318         * nptl/libc_pthread_init.c: ... here.
9319         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9320         * nptl/lowlevelbarrier.sym: ... here.
9321         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9322         * nptl/lowlevelcond.sym: ... here.
9323         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9324         * nptl/lowlevellock.c: ... here.
9325         * nptl/lowlevellock.h: Moved ...
9326         * sysdeps/nptl/lowlevellock.h: ... here.
9327         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9328         * nptl/lowlevelrobustlock.c: ... here.
9329         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9330         * nptl/lowlevelrobustlock.sym: ... here.
9331         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9332         * nptl/lowlevelrwlock.sym: ... here.
9333         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9334         * nptl/pt-fork.c: ... here.
9335         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9336         * nptl/pthread-pi-defines.sym: ... here.
9337         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9338         * nptl/pthread_attr_getaffinity.c: ... here.
9339         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9340         * nptl/pthread_attr_setaffinity.c: ... here.
9341         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9342         * nptl/pthread_mutex_cond_lock.c: ... here.
9343         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9344         Update #include.
9345         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9346         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9347         * nptl/pthread_once.c: ... here, replacing old file.
9348         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9349         * nptl/pthread_yield.c: ... here.
9350         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9351         * nptl/register-atfork.c: ... here.
9352         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9353         * nptl/sem_post.c: ... here.
9354         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9355         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9356         * nptl/sem_timedwait.c: ... here.
9357         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9358         * nptl/sem_trywait.c: ... here.
9359         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9360         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9361         * nptl/sem_wait.c: ... here.
9362         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9363         * nptl/structsem.sym: ... here.
9364         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9365         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9366         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9367         * nptl/unregister-atfork.c: ... here.
9368         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9369         * nptl/unwindbuf.sym: ... here.
9370         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9371         * sysdeps/nptl/fork.c: ... here.
9372         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9373         * sysdeps/nptl/fork.h: ... here.
9374         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9375         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9376         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9377         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9378         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9379         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9380         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9381         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9382         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9383         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9384         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9385         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9386         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9387         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9388         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9389         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9390         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9391         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9392         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9393         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9394         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9395         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9396         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9397         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9398         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9399         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9400         * sysdeps/unix/sysv/linux/raise.c: ... here.
9401         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9402         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9403         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9404         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9405         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9406         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9407         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9408         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9409         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9410         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9411         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9412         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9413         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9414         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9415         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9417 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9419         * sysdeps/generic/memcopy.h: Add comment for
9420         MEMCPY_OK_FOR_FWD_MEMMOVE.
9422 2014-07-04  Will Newton  <will.newton@linaro.org>
9424         * string/memchr.c: Merge from gnulib.
9425         [_LIBC]: Remove conditionals.
9426         (__ptr_t): Remove define.
9427         (LONG_MAX_32_BITS): Likewise.
9428         (LONG_MAX): Likewise.
9429         (MEMCHR): Use ANSI prototype and optimize algorithm.
9431         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9433 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9435         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9436         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9438         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9439         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9440         in a bare environment with no <stdlib.h> installed.
9441         * sysdeps/nptl/configure: Regenerated.
9443         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9445         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9446         AC_EGREP_CPP for kernel header checks, so they only succeed if
9447         including <linux/version.h> actually works right.
9448         * sysdeps/unix/sysv/linux/configure: Regenerated.
9450         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9451         value so it's not diagnosed as unused.
9453         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9454         thing) with "ifeq ($(subdir),rt)".
9456 2014-07-03  Richard Henderson  <rth@redhat.com>
9458         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9459         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9460         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9462         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9463         (math_force_eval): New.
9465         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9466         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9468         * sysdeps/alpha/fpu/s_round.c: Remove file.
9469         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9471         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9472         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9473         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9474         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9475         (_dl_start, print_statistics): Likewise.
9476         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9477         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9479         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9480         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9481         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9482         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9483         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9484         (HP_SMALL_TIMING_AVAIL): Define.
9485         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9487         (HP_SMALL_TIMING_AVAIL): Define.
9488         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9489         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9491         * sysdeps/aarch64/hp-timing.h: New file.
9493         * sysdeps/generic/hp-timing.h: Remove dead comment.
9494         * sysdeps/generic/hp-timing-common.h: New file.
9495         * sysdeps/alpha/hp-timing.h: Include it.
9496         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9497         * sysdeps/i386/i686/hp-timing.h: Likewise.
9498         * sysdeps/ia64/hp-timing.h: Likewise.
9499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9500         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9501         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9502         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9503         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9504         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9505         (hp_timing_t): New.
9507         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9508         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9509         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9510         * elf/rtld.c (_dl_start_final): Likewise.
9511         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9512         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9513         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9514         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9515         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9516         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9517         (HP_TIMING_DIFF_INIT): Remove.
9518         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9520         (HP_TIMING_DIFF_INIT): Remove.
9521         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9522         * sysdeps/i386/i686/hp-timing.c: Remove file.
9523         * sysdeps/x86_64/hp-timing.c: Remove file.
9524         * sysdeps/ia64/hp-timing.c: Remove file.
9525         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9526         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9527         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9528         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9530         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9531         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9532         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9533         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9534         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9535         (HP_TIMING_ACCUM): Remove.
9536         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9538         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9540         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9541         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9542         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9543         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9544         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9545         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9546         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9547         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9549         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9551 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9553         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9555 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9557         Sync up with gettext.
9558         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9559         [_MSC_VER]: Include malloc.h
9560         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9561         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9562         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9563         TEMP_FAILURE_RETRY.  Cast return of alloca.
9564         [!_LIBC] Call gl_rwlock_init.
9565         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9567 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9569         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9570         before checking its value.
9572 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9574         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9576         * debug/memcpy_chk.c: Don't include pagecopy.h.
9577         * debug/mempcpy_chk.c: Likewise.
9578         * string/memcpy.c: Likewise.
9579         * string/memmove.c: Likewise.
9580         * sysdeps/powerpc/memmove.c: Likewise.
9581         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9582         definition of PAGE_COPY_FWD_MAYBE here...
9583         * sysdeps/generic/pagecopy.h: ... from here.
9584         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9586 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9587             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9589         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9591         optimizations.
9592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9593         (__libc_ifunc_impl_list): Likewise.
9594         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9595         multiarch strcat for PPC64.
9596         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9597         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9599 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9601         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9603 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9605         * intl/loadmsgcat.c: Remove declaration of
9606         get_sysdep_segment_value.
9607         (get_sysdep_segment_value): Use ISO C style.
9608         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9609         semicolon.  Fix typo and formatting in comment.
9610         (_nl_unload_domain): Use ISO C style.
9612         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9614 2014-07-02  Will Newton  <will.newton@linaro.org>
9616         * malloc/obstack.c: Merge from gnulib master.
9617         [HAVE_CONFIG_H]: Remove conditional code.
9618         [!_LIBC]: Include config.h.
9619         [!ELIDE_CODE]: Don't include inttypes.h, include
9620         stdint.h unconditionally.
9621         (print_and_abort): Mark as _Noreturn.
9622         (_obstack_allocated_p): Mark as __attribute_pure__.
9623         (obstack_free): Rename to __obstack_free.
9624         [!__attribute__]: Remove conditional code.
9625         * malloc/obstack.h: Merge from gnulib master.
9626         [__cplusplus]: Move conditional down.
9627         [!__attribute_pure__]: Define __attribute_pure__ here
9628         if it is not already defined.
9629         (_obstack_memory_used): Mark as __attribute_pure__.
9630         [!__obstack_free]: Define as obstack_free.
9631         [__GNUC__]: Remove check for ancient NeXT gcc.
9633 2014-07-02  Will Newton  <will.newton@linaro.org>
9634             Paul Eggert  <eggert@cs.ucla.edu>
9636         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9638 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9640         * resolv/gethnamaddr.c: Add comment warning that the file is
9641         not maintained.
9643 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9645         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9646         entries.
9648         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9649         entry for aio_cancel and aio_cancel64.
9650         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9651         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9652         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9653         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9654         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9655         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9656         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9657         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9658         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9659         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9660         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9661         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9662         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9664 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9666         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9667         * nptl/pthread_mutex_lock.c: Likewise.
9668         * nptl/pthread_mutex_timedlock.c: Likewise.
9669         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9671 2014-07-01  Richard henderson  <rth@redhat.com>
9673         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9674         (__isnan, __isnanl): Remove.
9675         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9677         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9679 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9681         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9683 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9685         * resolv/nss_dns/dns-host.c (getanswer_r)
9686         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9688 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9690         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9691         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9692         undefine.
9693         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9694         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9696 2014-07-01  Roland McGrath <roland@hack.frob.com>
9698         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9699         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9701         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9702         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9704         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9705         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9706         ... here.
9707         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9708         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9710         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9711         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9712         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9713         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9715         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9716         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9717         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9718         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9719         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9720         Moved ...
9721         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9722         ... here.
9723         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9724         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9725         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9726         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9727         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9728         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9729         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9730         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9731         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9732         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9733         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9734         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9735         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9736         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9738         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9739         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9740         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9741         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9742         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9743         ... here.
9744         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9745         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9746         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9747         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9748         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9749         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9750         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9751         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9753 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9755         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9756         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9757         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9758         Add sysdep.
9760 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9764 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9766         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9767         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9769         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9771         * sysdeps/arm/libm-test-ulps: Regenerated.
9773 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9774             Roland McGrath <roland@hack.frob.com>
9776         * test-skeleton.c (signal_handler): Kill the whole process group
9777         before killing the child individually.
9778         (main): Report any failure on `setpgid'.
9780 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9782         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9783         from _TLS_H to _ARM_NPTL_TLS_H.
9784         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9785         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9787 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9789         [BZ #16539]
9790         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9791         (__expm1l): Return argument unchanged when small but not
9792         subnormal.
9794         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9795         include macro name.
9796         (_FP_UNPACK_RAW_1_P): Likewise.
9797         (_FP_PACK_RAW_1): Likewise.
9798         (_FP_PACK_RAW_1_P): Likewise.
9799         (_FP_MUL_MEAT_1_wide): Likewise.
9800         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9801         (_FP_MUL_MEAT_1_hard): Likewise.
9802         (_FP_DIV_MEAT_1_imm): Likewise.
9803         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9804         (_FP_DIV_MEAT_1_udiv): Likewise.
9805         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9806         (_FP_UNPACK_RAW_2): Likewise.
9807         (_FP_UNPACK_RAW_2_P): Likewise.
9808         (_FP_PACK_RAW_2): Likewise.
9809         (_FP_PACK_RAW_2_P): Likewise.
9810         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9811         (_FP_MUL_MEAT_2_wide): Likewise.
9812         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9813         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9814         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9815         (_FP_MUL_MEAT_2_gmp): Likewise.
9816         (_FP_DIV_MEAT_2_udiv): Likewise.
9817         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9818         (_FP_FRAC_SRL_4): Likewise.
9819         (_FP_FRAC_SRST_4): Likewise.
9820         (_FP_FRAC_SRS_4): Likewise.
9821         (_FP_UNPACK_RAW_4): Likewise.
9822         (_FP_UNPACK_RAW_4_P): Likewise.
9823         (_FP_PACK_RAW_4): Likewise.
9824         (_FP_PACK_RAW_4_P): Likewise.
9825         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9826         (_FP_MUL_MEAT_4_wide): Likewise.
9827         (_FP_MUL_MEAT_4_gmp): Likewise.
9828         (umul_ppppmnnn): Likewise.
9829         (_FP_DIV_MEAT_4_udiv): Likewise.
9830         (__FP_FRAC_ADD_4): Likewise.
9831         (__FP_FRAC_SUB_3): Likewise.
9832         (__FP_FRAC_SUB_4): Likewise.
9833         (__FP_FRAC_DEC_3): Likewise.
9834         (__FP_FRAC_DEC_4): Likewise.
9835         (__FP_FRAC_ADDI_4): Likewise.
9836         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9837         (_FP_FRAC_SRL_8): Likewise.
9838         (_FP_FRAC_SRS_8): Likewise.
9840         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9841         include macro name.
9842         (FP_UNPACK_RAW_EP): Likewise.
9843         (FP_PACK_RAW_E): Likewise.
9844         (FP_PACK_RAW_EP): Likewise.
9845         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9846         (_FP_ISSIGNAN): Likewise.
9847         (_FP_ADD_INTERNAL): Likewise.
9848         (_FP_FMA): Likewise.
9849         (_FP_CMP): Likewise.
9850         (_FP_SQRT): Likewise.
9851         (_FP_TO_INT): Likewise.
9852         (_FP_FROM_INT): Likewise.
9853         (FP_EXTEND): Likewise.
9854         (_FP_DIV_MEAT_N_loop): Likewise.
9856 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9858         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9859         throughout.
9861 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9863         [BZ #17097]
9864         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9865         result with correct sign in case of exponents that produce
9866         overflow except for X very close to 1.
9868 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9870         mktime: merge #if/#ifdef usage from glibc
9871         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9872         as that works with both Glibc's and Gnulib's style.
9873         See thread starting at Siddhesh Poyarekar's bug report at:
9874         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9876 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9878         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9879         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9880         * sysdeps/tile/tilegx/memmove.c: Remove file.
9882 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9884         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9885         abi-name definition.
9886         * scripts/soversions.awk: Do not handle or generate ABI lines.
9887         * shlib-versions: Remove ABI entries.
9888         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9889         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9891 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9894         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9895         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9896         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9897         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9898         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9899         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9900         Moved ...
9901         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9902         ... here.
9903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9904         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9906         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9908         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9910         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9912         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9914         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9915         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9916         Moved ...
9917         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9919         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9921         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9923         Moved ...
9924         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9926         Moved ...
9927         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9929         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9931         Moved ...
9932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9934         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9935         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9936         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9937         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9938         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9940         Moved ...
9941         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9942         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9943         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9944         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9945         Moved ...
9946         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9948         Moved ...
9949         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9950         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9951         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9952         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9953         Moved ...
9954         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9955         ... here.
9956         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9957         Identical file removed.
9958         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9959         Moved ...
9960         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9962         Identical file removed.
9963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9964         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9966         Moved ...
9967         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9968         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9969         Identical file removed.
9970         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9971         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9973         Identical file removed.
9974         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9975         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9977         Identical file removed.
9978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9979         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9980         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9981         Identical file removed.
9982         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9983         Moved ...
9984         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9985         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9986         Identical file removed.
9987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9988         Moved ...
9989         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9990         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9991         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9992         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9993         Identical file removed.
9994         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9995         Moved ...
9996         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9997         ... here.
9998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9999         Identical file removed.
10000         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10001         Moved ...
10002         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10004         Identical file removed.
10005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10006         Moved ...
10007         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10008         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10009         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10010         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10011         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10012         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10013         Moved ...
10014         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10015         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10016         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10018         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10019         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10020         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10021         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10022         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10024 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10026         [BZ #17092]
10027         * nscd/nscd.c (monitor_child): Return exit status of child
10028         instead of return value from wait syscall.
10030 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10032         * configure.ac (libc_commonpagesize): Remove variable.
10033         (libc_relro_required): Likewise.
10034         (libc_cv_z_relro): Remove configure test.
10035         * configure: Regenerated.
10036         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10037         variable.
10038         (libc_relro_required): Likewise.
10039         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10040         (libc_relro_required): Likewise.
10041         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10042         (libc_relro_required): Likewise.
10043         * sysdeps/arm/preconfigure: Regenerated.
10044         * sysdeps/ia64/preconfigure: Remove file.
10045         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10046         variable.
10047         (libc_relro_required): Likewise.
10049         [BZ #16561]
10050         [BZ #16562]
10051         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10052         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10053         recompute overflowing results in original rounding mode.
10054         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10055         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10056         recompute overflowing results in original rounding mode.
10057         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10058         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10059         recompute overflowing results in original rounding mode.
10060         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10061         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10062         recompute overflowing results in original rounding mode.
10063         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10064         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10065         recompute overflowing results in original rounding mode.
10066         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10067         (libc_feholdsetround_ctx): New macro.
10068         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10069         * sysdeps/i386/fpu/libm-test-ulps: Update.
10070         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10072 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10074         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10075         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10076         corresponding .cpsetup call.
10078 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10080         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10081         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10082         * sysdeps/arm/Makefile [$(subdir) = csu]
10083         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10084         (static-only-routines): Add aeabi_read_tp here.
10085         (shared-only-routines): Add libc-aeabi_read_tp here.
10086         (CFLAGS-libc-start.c): Add -fexceptions here.
10087         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10088         (sysdep_routines, static-only-routines, shared-only-routines):
10089         Don't add to these here.
10090         (CFLAGS-libc-start.c): Likewise.
10092         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10093         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10094         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10095         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10096         * sysdeps/arm/Makefile [$(subdir) = rt]
10097         (librt-sysdep_routines, librt-shared-only-routines):
10098         Append rt-aeabi_unwind_cpp_pr1 here.
10099         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10100         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10101         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10102         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10103         Append nptl-aeabi_unwind_cpp_pr1 here.
10104         (tests): Filter out tst-cleanupx4 here.
10105         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10106         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10107         Don't do those here.
10109 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10111         * scripts/list-sources.sh: Do not handle ports specially.
10113 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10115         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10116         * sysdeps/arm/feupdateenv.c: Likewise.
10118         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10120 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10122         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10123         trailing whitespace removed.
10124         * scripts/config.guess: Update to version 2014-03-23.
10125         * scripts/config.sub: Update to version 2014-05-01
10126         * scripts/install-sh: Update to version 2013-12-25.23.
10127         * scripts/move-if-change: Update from gnulib.
10129 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10131         * debug/memmove_chk.c: Remove pagecopy.h include.
10133 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10135         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10136         identical to gnulib mktime.
10138 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10140         * configure.ac: Do not test for machine being rs6000.  Do not test
10141         for powerpc*-*soft.
10142         * configure: Regenerated.
10144         [BZ #11505]
10145         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10146         test.
10147         * configure: Regenerated.
10148         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10149         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10150         Remove configure test.
10151         * sysdeps/arm/configure: Regenerated.
10152         * sysdeps/nptl/configure.ac: Do not check
10153         libc_cv_asm_cfi_directives.
10154         * sysdeps/nptl/configure: Regenerated.
10155         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10156         * sysdeps/x86_64/nptl/configure: Remove generated file.
10157         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10158         unconditional.
10159         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10161 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10163         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10164         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10165         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10166         it is defined.
10168         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10169         instead of whether it is defined.
10170         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10171         * sysdeps/hppa/dl-machine.h: Likewise.
10172         * sysdeps/ia64/dl-machine.h: Likewise.
10173         * sysdeps/m68k/dl-machine.h: Likewise.
10174         * sysdeps/microblaze/dl-machine.h: Likewise.
10175         * sysdeps/mips/dl-machine.: Likewise.
10176         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10177         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10178         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10179         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10180         * sysdeps/sh/dl-machine.h: Likewise.
10181         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10182         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10183         * sysdeps/tile/dl-machine.h: Likewise.
10184         * sysdeps/x86_64/dl-machine.h: Likewise.
10186         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10187         code.
10188         (verify_persistent_db): Likewise.
10190 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10193         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10195         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10197         Moved ...
10198         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10199         ... here.
10200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10201         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10203         Identical file removed.
10204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10205         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10207         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10211         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10213         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10215         Moved ...
10216         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10218         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10220         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10225         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10227         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10229         Identical file removed.
10230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10231         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10233         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10235         Moved ...
10236         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10237         ... here.
10238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10239         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10241         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10243         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10244         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10245         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10247         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10249         Moved ...
10250         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10252         Moved ...
10253         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10255         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10256         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10257         Moved ...
10258         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10260         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10262         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10263         folded into ...
10264         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10265         * sysdeps/unix/sysv/linux/s390/Versions
10266         (libpthread: GLIBC_2.19): New version set.
10267         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10268         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10269         (librt: GLIBC_2.3.3): New version set.
10270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10271         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10272         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10273         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10274         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10275         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10276         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10277         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10278         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10279         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10280         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10281         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10282         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10283         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10284         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10285         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10286         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10287         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10288         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10289         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10290         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10291         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10292         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10293         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10294         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10295         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10296         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10297         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10298         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10299         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10300         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10301         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10303         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10304         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10306         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10307         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10308         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10309         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10310         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10312         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10313         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10314         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10316         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10317         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10318         (__libc_vfork): Define the function under this name.
10319         [!NOT_IN_libc] (__vfork): Make this an alias.
10320         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10322         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10323         (__libc_vfork): Define the function under this name.
10324         [!NOT_IN_libc] (__vfork): Make this an alias.
10325         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10326         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10328         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10330         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10332         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10333         code that was previously under [RESET_PID].
10334         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10335         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10336         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10338         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10339         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10340         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10341         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10342         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10343         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10344         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10345         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10346         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10349         Moved ...
10350         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10351         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10352         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10353         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10354         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10355         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10356         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10357         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10358         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10359         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10360         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10361         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10362         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10363         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10364         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10365         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10366         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10367         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10368         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10369         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10370         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10371         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10372         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10373         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10374         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10375         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10376         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10377         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10378         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10380 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10382         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10383         that was previously under [RESET_PID].
10384         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10386 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10388         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10389         not undefine and redefine.
10390         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10391         [O_CLOEXEC]: Make code unconditional.
10392         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10393         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10394         <kernel-features.h>.
10395         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10396         conditional variable definition.
10397         (shm_open) [O_CLOEXEC]: Make code unconditional.
10398         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10399         code.
10401         * configure.ac (USE_REGPARMS): Don't define here.
10402         * configure: Regenerated.
10403         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10404         * sysdeps/i386/configure: Regenerated.
10406         * nptl/createthread.c: Don't include kernel-features.h.
10407         * nptl/pthread_cancel.c: Likewise.
10408         * nptl/pthread_condattr_setclock.c: Likewise.
10409         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10410         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10411         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10412         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10413         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10414         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10415         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10416         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10417         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10418         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10419         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10420         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10421         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10422         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10423         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10424         * nscd/gai.c: Likewise.
10425         * nss/nss_db/db-open.c: Likewise.
10426         * sysdeps/generic/ldsodefs.h: Likewise.
10427         * sysdeps/sh/nptl/tls.h: Likewise.
10428         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10429         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10430         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10431         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10432         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10433         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10434         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10435         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10436         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10437         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10438         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10439         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10440         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10441         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10442         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10443         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10444         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10445         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10446         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10447         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10449         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10450         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10451         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10452         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10453         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10454         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10455         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10456         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10457         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10458         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10459         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10460         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10461         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10462         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10463         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10464         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10465         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10466         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10467         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10468         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10469         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10470         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10471         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10472         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10473         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10474         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10475         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10476         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10477         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10478         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10479         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10480         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10481         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10482         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10483         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10484         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10485         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10508         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10509         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10510         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10511         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10512         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10513         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10514         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10515         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10516         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10517         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10518         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10519         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10520         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10521         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10522         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10523         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10524         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10525         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10526         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10527         * sysdeps/unix/sysv/linux/system.c: Likewise.
10528         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10529         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10530         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10531         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10532         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10533         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10534         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10536         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10537         * configure: Regenerated.
10538         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10540         * configure.ac (base_machine): Do not set specially for particular
10541         machines here.
10542         * configure: Regenerated.
10543         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10544         settings from configure.ac.
10545         * sysdeps/i386/preconfigure: New file.
10546         * sysdeps/s390/preconfigure: Likewise.
10547         * sysdeps/sh/preconfigure: Likewise.
10548         * sysdeps/sparc/preconfigure: Likewise.
10550 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10552         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10553         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10554         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10555         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10556         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10557         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10558         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10559         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10560         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10561         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10562         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10563         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10564         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10565         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10566         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10567         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10569         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10570         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10572         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10573         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10574         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10575         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10576         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10577         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10578         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10579         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10580         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10581         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10582         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10583         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10584         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10585         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10586         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10587         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10588         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10589         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10590         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10591         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10592         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10593         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10594         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10595         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10596         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10597         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10598         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10599         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10600         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10601         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10602         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10603         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10604         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10605         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10606         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10607         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10608         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10609         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10612         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10614         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10616         Moved ...
10617         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10618         ... here.
10619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10620         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10622         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10624         Moved ...
10625         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10627         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10629         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10631         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10633         Moved ...
10634         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10635         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10636         Moved ...
10637         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10639         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10641         Moved ...
10642         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10644         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10646         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10648         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10650         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10652         Moved ...
10653         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10654         ... here.
10655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10660         Moved ...
10661         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10663         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10665         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10667         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10669         Moved ...
10670         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10672         Moved ...
10673         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10675         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10677         Moved ...
10678         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10680         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10682         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10684 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10686         * timezone/checktab.awk: Update from tzcode 2014e.
10687         * timezone/private.h: Likewise.
10688         * timezone/tzfile.h: Likewise.
10689         * timezone/zdump.c: Likewise.
10690         * timezone/zic.c: Likewise.
10692         * sysdeps/unix/sysv/linux/kernel-features.h
10693         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10694         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10695         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10696         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10697         Remove conditional code.
10699 2014-06-25  Will Newton  <will.newton@linaro.org>
10701         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10702         (_dl_arm_cap_flags): Add HWCAP2 values.
10703         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10704         (_DL_HWCAP_COUNT): Increase to 37.
10705         (_DL_HWCAP_LAST): New define.
10706         (_DL_HWCAP2_LAST): New define.
10707         (_dl_procinfo): Add support for printing
10708         AT_HWCAP2 entries.
10709         (_dl_string_hwcap): Use _dl_hwcap_string.
10711 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10715 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10717         * README: Do not mention ports directory.
10719         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10720         Remove macro.
10721         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10722         <kernel-features.h>.
10723         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10724         conditional variable definition.
10725         (__futimes): Update comment.
10726         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10727         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10729         [BZ #16560]
10730         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10731         arguments close to 0.
10732         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10733         Likewise.
10734         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10735         Likewise.
10736         * math/auto-libm-test-in: Add more tests of exp10.
10737         * math/auto-libm-test-out: Regenerated.
10738         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10740         * sysdeps/unix/sysv/linux/kernel-features.h
10741         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10742         * sysdeps/unix/sysv/linux/readv.c: Do not include
10743         <kernel-features.h>.
10744         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10745         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10746         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10747         unconditional.
10748         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10749         conditional code.
10750         * sysdeps/unix/sysv/linux/writev.c: Do not include
10751         <kernel-features.h>.
10752         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10753         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10754         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10755         unconditional.
10756         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10757         conditional code.
10759 2014-06-25  Will Newton  <will.newton@linaro.org>
10761         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10762         comment changes throughout the file.  Remove checks
10763         for HAVE_*_H definitions that are not required.
10764         (__gen_tempname): Call abort if an unknown kind value is
10765         passed.
10767 2014-06-25  Andreas Schwab  <schwab@suse.de>
10769         [BZ #17086]
10770         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10771         scalbln, scalblnf, scalblnl in libc.
10773 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10775         [BZ #17086]
10776         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10777         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10778         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10780 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10782         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10783         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10784         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10785         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10786         Update #include.
10787         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10788         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10789         Update #include.
10790         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10791         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10792         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10794         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10795         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10796         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10797         * sysdeps/x86/bits/semaphore.h: ... here.
10798         * sysdeps/x86/nptl/elide.h: Moved ...
10799         * sysdeps/x86/elide.h: ... here.
10800         * sysdeps/x86_64/nptl/Implies: File removed.
10801         * sysdeps/i386/nptl/Implies: File removed.
10803 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10805         [BZ #16539]
10806         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10807         return the argument for normal arguments with exponent below -64.
10808         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10809         Likewise.
10810         * math/auto-libm-test-in: Add another test of expm1.
10811         * math/auto-libm-test-out: Regenerated.
10813         [BZ #16287]
10814         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10815         calling __erfcl for arguments at least 16.
10816         * math/auto-libm-test-in: Add more tests of erf.
10817         * math/auto-libm-test-out: Regenerated.
10819         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10820         individual architectures.
10821         * sysdeps/unix/sysv/linux/configure: Regenerated.
10822         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10823         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10824         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10825         (ldd_rewrite_script): Define variable.
10826         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10828         file.
10829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10830         generated file.
10831         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10832         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10833         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10834         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10835         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10836         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10837         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10838         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10840 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10842         [BZ #17084]
10843         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10844         Rename member __data.d to __data.__elision_data.
10846 2014-06-24  Wilco  <wdijkstr@arm.com>
10848         * NEWS: Add 16918 to fixed bug list.
10850 2014-06-24  Wilco  <wdijkstr@arm.com>
10852         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10854 2014-06-24  Wilco  <wdijkstr@arm.com>
10856         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10857         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10858         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10859         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10860         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10861         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10862         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10863         Use _FPU_MASK_RM.
10865 2014-06-24  Wilco  <wdijkstr@arm.com>
10867         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10869 2014-06-24  Wilco  <wdijkstr@arm.com>
10871         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10872         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10873         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10874         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10876 2014-06-24  Wilco  <wdijkstr@arm.com>
10878         [BZ #16918]
10879         * sysdeps/arm/feupdateenv.c (feupdateenv):
10880         Rewrite to reduce FPSCR accesses and fix return value.
10882 2014-06-24  Wilco  <wdijkstr@arm.com>
10884         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10885         Optimize to avoid unnecessary FPSCR writes.
10886         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10887         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10888         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10889         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10891 2014-06-24  Wilco  <wdijkstr@arm.com>
10893         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10894         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10895         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10896         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10897         Call libc_fetestexcept_vfp.
10898         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10899         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10900         __SOFTFP__ ifdef so that they can be built for softfp.
10902 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10904         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10905         argument type signed char.
10907         * Makerules (check-abi): Dump diff of symlist if the test
10908         fails.
10910 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10912         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10913         using abort.
10915         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10916         Remove unused variable ST.
10918 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10920         [BZ #16354]
10921         [BZ #17061]
10922         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10923         small arguments before calling __expm1.
10924         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10925         small arguments before calling __expm1f.
10926         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10927         small arguments before calling __expm1l.
10928         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10929         Likewise.
10930         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10931         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10932         spurious underflow for some cosh tests.
10933         * math/auto-libm-test-out: Regenerated.
10934         * sysdeps/i386/fpu/libm-test-ulps: Update.
10936         [BZ #17050]
10937         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10938         (__ieee754_y1): Set errno if return value overflows.
10939         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10940         (__ieee754_y1f): Set errno if return value overflows.
10941         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10942         (__ieee754_y1l): Set errno if return value overflows.
10943         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10944         (__ieee754_y1l): Set errno if return value overflows.
10945         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10946         * math/auto-libm-test-out: Regenerated.
10948         * math/gen-auto-libm-tests.c: Document use of
10949         ignore-zero-inf-sign.
10950         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10951         (input_flags): Add ignore-zero-inf-sign.
10952         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10953         * math/gen-libm-test.pl (generate_testfile): Handle
10954         ignore-zero-inf-sign.
10955         * math/auto-libm-test-in: Mark some cpow tests with
10956         ignore-zero-inf-sign and some with xfail-rounding.
10957         * math/auto-libm-test-out: Regenerated.
10958         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10959         * sysdeps/i386/fpu/libm-test-ulps: Update.
10960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10962         [BZ #16315]
10963         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10964         overflowing or underflowing operations take place with sign of
10965         result.
10966         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10967         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10968         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10969         (__ieee754_pow): Recompute overflowing and underflowing results in
10970         original rounding mode.
10971         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10972         (__powl_helper): Allow negative argument X and scale negated value
10973         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10974         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10975         overflowing or underflowing operations take place with sign of
10976         result.
10977         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10978         Include <math.h>.
10979         * math/auto-libm-test-in: Add more tests of pow.
10980         * math/auto-libm-test-out: Regenerated.
10981         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10982         (pow_tonearest_test_data): Remove.
10983         (pow_test_tonearest): Likewise.
10984         (pow_towardzero_test_data): Likewise.
10985         (pow_test_towardzero): Likewise.
10986         (pow_downward_test_data): Likewise.
10987         (pow_test_downward): Likewise.
10988         (pow_upward_test_data): Likewise.
10989         (pow_test_upward): Likewise.
10990         (main): Don't call removed functions.
10991         * sysdeps/i386/fpu/libm-test-ulps: Update.
10992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10994 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10997         Moved ...
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11000         Moved ...
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11003         Moved ...
11004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11006         Moved ...
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11009         File removed.
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11011         File removed.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11013         File removed.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11015         File removed.
11016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11017         File removed.
11018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11019         File removed.
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11021         File removed.
11022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11023         File removed.
11024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11025         File removed.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11027         File removed.
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11029         File removed.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11031         File removed.
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11033         Moved ...
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11036         Moved ...
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11038         ... here.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11040         Moved ...
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11043         Moved ...
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11046         Moved ...
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11049         Moved ...
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11052         Moved ...
11053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11055         Moved ...
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11058         Moved ...
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11062         ... here.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11064         Moved ...
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11067         Moved ...
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11069         ... here.
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11071         Moved ...
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11073         ... here.
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11075         Moved ...
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11077         ... here.
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11079         Moved ...
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11082         Moved ...
11083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11087         Moved ...
11088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11089         ... here.
11090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11091         Moved ...
11092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11093         ... here.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11095         Moved ...
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11098         Moved ...
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11101         Moved ...
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11104         Moved ...
11105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11107         Moved ...
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11109         ... here.
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11111         Moved ...
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11114         Moved ...
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11117         Moved ...
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11120         Moved ...
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11125         Moved ...
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11128         Moved ...
11129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11131         Moved ...
11132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11133         ... here.
11134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11135         Moved ...
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11137         ... here.
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11139         Moved ...
11140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11141         ... here.
11142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11143         Moved ...
11144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11146         Moved ...
11147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11149         Moved ...
11150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11152         Moved ...
11153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11154         ... here.
11155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11156         Moved ...
11157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11158         ... here.
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11160         Moved ...
11161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11162         ... here.
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11164         Moved ...
11165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11167         Moved ...
11168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11170 2014-06-23  Will Newton  <will.newton@linaro.org>
11171             Wilco  <wdijkstr@arm.com>
11173         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11174         implementation.  Include get-rounding-mode.h.
11175         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11176         [!libc_feholdsetround_noex_ctx]: Define
11177         libc_feholdsetround_noex_ctx.
11178         [!libc_feholdsetround_noexf_ctx]: Define
11179         libc_feholdsetround_noexf_ctx.
11180         [!libc_feholdsetround_noexl_ctx]: Define
11181         libc_feholdsetround_noexl_ctx.
11182         (libc_feholdsetround_ctx): New function.
11183         (libc_feresetround_ctx): New function.
11184         (libc_feholdsetround_noex_ctx): New function.
11185         (libc_feresetround_noex_ctx): New function.
11187 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11189         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11190         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11191         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11192         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11193         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11194         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11196         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11197         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11198         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11199         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11200         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11201         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11203         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11204         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11205         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11206         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11207         Moved ...
11208         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11209         ... here.
11210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11211         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11213         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11215         Moved ...
11216         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11218         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11219         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11220         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11222         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11224         Moved ...
11225         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11226         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11227         Moved ...
11228         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11229         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11230         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11231         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11232         Moved ...
11233         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11235         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11237         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11238         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11239         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11241         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11243         Moved ...
11244         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11245         ... here.
11246         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11247         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11248         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11249         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11250         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11251         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11255         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11257         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11258         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11259         Moved ...
11260         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11262         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11263         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11264         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11266         Moved ...
11267         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11271         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11273         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11274         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11275         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11276         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11277         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11278         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11279         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11280         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11281         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11282         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11284         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11285         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11286         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11287         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11288         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11289         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11290         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11291         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11292         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11293         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11294         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11295         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11296         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11297         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11298         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11299         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11300         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11302 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11304         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11305         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11306         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11307         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11308         (IPV6_PMTUDISC_INTERFACE): Likewise.
11309         (IPV6_PMTUDISC_OMIT): Likewise.
11311 2014-06-23  Andreas Schwab  <schwab@suse.de>
11313         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11314         Remove unused errout label.
11316 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11318         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11319         macro: hardware supports Vector Crypto instructions.
11321 2014-06-23  Will Newton  <will.newton@linaro.org>
11323         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11324         rather than __builtin_expect.
11326         * elf/dl-lookup.c (undefined_msg): Remove variable.
11327         (_dl_lookup_symbol_x): Replace undefined_msg with string
11328         literal.
11330         * elf/dl-lookup.c (do_lookup_unique): New function.
11331         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11332         to a separate function.
11334 2014-06-23  Andreas Schwab  <schwab@suse.de>
11336         [BZ #17079]
11337         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11338         before reading the next line.
11340 2014-06-23  Will Newton  <will.newton@linaro.org>
11342         * test-skeleton.c (signal_handler): Use printf and %m
11343         rather than perror.  Use printf rather than fprintf to
11344         stderr.  Use puts rather than fputs to stderr.
11345         (main): Likewise.
11347 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11349         * nscd/nscd.c (thread_info_t): Remove typedef.
11350         (thread_info): Remove variable.
11352 2014-06-21  Allan McRae  <allan@archlinux.org>
11354         * NEWS: Mention CVE-2014-4043.
11356 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11358         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11359         * nptl/smp.h: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11363         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11364         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11365         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11366         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11368         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11369         * nptl/stack-aliasing.h: New file.
11370         * sysdeps/i386/i686/stack-aliasing.h: New file.
11371         * sysdeps/i386/i686/nptl/Makefile: File removed.
11372         * sysdeps/x86_64/stack-aliasing.h: New file.
11373         * sysdeps/x86_64/nptl/Makefile
11374         (CFLAGS-pthread_create.c): Variable removed.
11376         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11377         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11378         old file.
11379         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11380         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11381         old file.
11383 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11385         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11386         (__ASSUME_SIGFRAME_V2): Remove macro.
11387         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11388         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11389         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11390         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11391         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11392         Declare as function.  Remove conditional macro definitions.
11393         (__default_rt_sa_restorer): Likewise.
11394         (__default_sa_restorer_v1): Remove declaration.
11395         (__default_sa_restorer_v2): Likewise.
11396         (__default_rt_sa_restorer_v1): Likewise.
11397         (__default_rt_sa_restorer_v2): Likewise.
11398         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11399         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11400         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11402 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11404         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11405         (libpthread-routines): Add sysdep.
11406         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11407         * sysdeps/unix/sysv/linux/sparc/Versions
11408         (libpthread: GLIBC_2.3.3): New version set.
11409         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11410         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11411         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11412         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11413         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11414         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11415         Moved ...
11416         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11417         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11418         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11419         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11420         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11421         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11422         * sysdeps/sparc/nptl/sem_init.c: ... here.
11423         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11424         * sysdeps/sparc/nptl/sem_post.c: ... here.
11425         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11426         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11427         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11428         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11429         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11430         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11431         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11432         (libpthread-routines): Add cpu_relax.
11433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11434         File removed.
11435         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11436         (librt: GLIBC_2.3.3): New version set.
11437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11438         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11440         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11443         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11445         Moved ...
11446         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11448         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11450         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11452         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11454         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11456         Moved ...
11457         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11458         Update #include.
11459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11460         Moved ...
11461         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11462         Update #include.
11463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11464         Moved ...
11465         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11466         Update #include.
11467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11468         Moved ...
11469         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11470         Update #include.
11471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11472         Moved ...
11473         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11474         Update #include.
11475         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11476         Moved ...
11477         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11478         Update #include.
11479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11480         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11482         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11484         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11486         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11488         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11490         Moved ...
11491         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11493         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11495         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11497 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11499         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11500         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11501         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11502         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11503         * nscd/nscd.c: Likewise.
11504         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11505         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11506         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11507         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11509         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11510         <kernel-features.h>.
11511         (init_mq_netlink): Remove conditional have_sock_cloexec
11512         definitions.  Remove code conditional on have_sock_cloexec < 0.
11513         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11514         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11515         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11516         <kernel-features.h>.
11517         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11518         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11520 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11522         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11523         Add tests for memset_chk and memset.
11525         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11526         with AVX2_Usable.
11528 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11530         [BZ #16046]
11531         * elf/tst-dl-iter-static.c: New file.
11532         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11534         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11535         error.
11537 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11539         * sysdeps/unix/sysv/linux/kernel-features.h
11540         (__ASSUME_F_GETOWN_EX): Remove macro.
11541         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11542         <kernel-features.h>.
11543         (miss_F_GETOWN_EX): Remove variable or macro.
11544         (do_fcntl): Do not check miss_F_GETOWN_EX.
11545         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11547         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11548         Remove macro.
11549         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11550         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11551         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11553         * sysdeps/unix/sysv/linux/kernel-features.h
11554         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11555         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11556         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11557         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11559 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11561         [BZ #17075]
11562         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11563         Fix calculation of the symbol's value.
11564         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11565         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11566         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11567         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11568         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11569         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11570         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11571         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11572         (modules-names): Add `tst-armtlsdescmod',
11573         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11574         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11575         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11576         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11577         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11578         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11579         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11580         ($(objpfx)tst-armtlsdescloc): New dependency.
11581         ($(objpfx)tst-armtlsdescextnow): Likewise.
11582         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11583         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11584         TLS scheme support.
11585         * sysdeps/arm/configure: Regenerate.
11587 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11589         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11590         (__atfct_seterrno_2): Likewise.
11591         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11592         <kernel-features.h>.
11593         (__ASSUME_ATFCTS): Do not undefine and redefine.
11594         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11595         (__have_atfcts): Remove conditional definition.
11596         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11597         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11598         unreachable if [__ASSUME_ATFCTS].
11599         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11600         not undefine and redefine.
11601         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11602         <kernel-features.h>.
11603         (faccessat) [__NR_faccessat]: Make code unconditional.
11604         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11605         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11606         <kernel-features.h>.
11607         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11608         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11609         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11610         <kernel-features.h>.
11611         (fchownat) [__NR_fchownat]: Make code unconditional.
11612         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11613         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11614         <kernel-features.h>.
11615         (futimesat) [__NR_futimesat]: Make code unconditional.
11616         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11617         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11618         <kernel-features.h>.
11619         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11620         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11621         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11622         <kernel-features.h>.
11623         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11624         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11625         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11626         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11627         <kernel-features.h>.
11628         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11629         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11630         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11631         <kernel-features.h>.
11632         (linkat) [__NR_linkat]: Make code unconditional.
11633         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11634         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11635         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11636         <kernel-features.h>.
11637         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11638         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11639         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11640         <kernel-features.h>.
11641         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11642         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11643         * sysdeps/unix/sysv/linux/openat.c: Do not include
11644         <kernel-features.h>.
11645         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11646         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11647         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11648         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11649         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11650         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11651         <kernel-features.h>.
11652         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11653         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11654         result of INLINE_SYSCALL directly, not via int variable.
11655         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11656         <kernel-features.h>.
11657         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11658         (renameat) [__NR_renameat]: Make code unconditional.
11659         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11660         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11661         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11662         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11663         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11664         (__ASSUME_ATFCTS): Do not undefine and redefine.
11665         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11666         <kernel-features.h>.
11667         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11668         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11669         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11670         <kernel-features.h>.
11671         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11672         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11673         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11674         (__ASSUME_ATFCTS): Do not undefine and redefine.
11675         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11676         <kernel-features.h>.
11677         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11678         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11679         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11680         <kernel-features.h>.
11681         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11682         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11684 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11686         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11688 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11690         [BZ #17069]
11691         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11692         constructed tree before returning error.
11693         * posix/bug-regexp36.c: Expand test case.
11695 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11697         [BZ #6803]
11698         * math/libm-test.inc (scalbln_test_date):
11699         Add errno expectations.
11700         * math/w_scalblnf.c: New File.
11701         Add wrapper which checks for setting errno to ERANGE.
11702         Add weak_alias for corresponding scalbln function.
11703         * math/w_scalbln.c: Likewise.
11704         * math/w_scalblnl.c: Likewise.
11705         * math/Makefile (libm-calls): Add w_scalbln.
11706         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11707         Remove weak_alias for corresponding scalbln function.
11708         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11709         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11711         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11712         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11713         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11714         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11715         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11716         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11717         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11718         Remove long_double_symbol for scalblnl function in libm, libc.
11719         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11720         Add wrapper which checks for setting errno to ERANGE.
11721         Add long_double_symbol for scalblnl function in libm, libc.
11722         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11723         Remove long_double_symbol for scalblnl in libm.
11724         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11725         Add wrapper which checks for setting errno to ERANGE.
11726         Add long_double_symbol for scalblnl function in libm.
11727         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11728         Do not use wrapper because of own implementation.
11730 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11732         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11733         3 bytes for __pad1 for x32.
11734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11736 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11737             H.J. Lu  <hongjiu.lu@intel.com>
11739         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11740         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11741         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11742         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11743         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11745 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11747         [BZ #17069]
11748         * posix/regcomp.c (parse_expression): Deallocate partially
11749         constructed tree before returning error.
11750         * posix/Makefile.c (tests): Add bug-regex36.
11751         (generated): Add bug-regex36.mtrace.
11752         (tests-special): Add $(objpfx)bug-regex36-mem.out
11753         (bug-regex36-ENV): New variable.
11754         ($(objpfx)bug-regex36-mem.out): New rule.
11755         * posix/bug-regex36.c: New file.
11757 2014-06-19  Will Newton  <will.newton@linaro.org>
11759         * malloc/malloc.c (systrim): If extra is zero then return
11760         early.
11762 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11764         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11766 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11768         * sysdeps/aarch64/strchr.S: New file.
11770 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11772         [BZ #17022]
11773         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11774         from arguments -2 or below.
11775         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11776         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11778 2014-06-18  Andreas Schwab  <schwab@suse.de>
11780         [BZ #17062]
11781         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11782         of a bracket expr not to run off the end of the string.
11783         * posix/Makefile (tests): Add tst-fnmatch3.
11784         * posix/tst-fnmatch3.c: New file.
11786 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11788         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11789         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11790         [$(cross-compiling) = no]: Likewise.
11791         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11792         [$(cross-compiling) = no]: Likewise.
11794 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11796         [BZ #17031]
11797         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11798         double, adjusted for any remainder from the high double.
11799         * math/libm-test.inc (nearbyint): Add tests.
11800         (rint): Likewise.
11802 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11804         * nptl/sysdeps/powerpc/Makefile: Moved ...
11805         * sysdeps/powerpc/nptl/Makefile: ... here.
11806         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11807         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11808         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11809         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11810         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11811         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11812         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11813         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11814         * nptl/sysdeps/powerpc/tls.h: Moved ...
11815         * sysdeps/powerpc/nptl/tls.h: ... here.
11817 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11819         [BZ #16681]
11820         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11821         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11822         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11823         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11824         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11825         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11826         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11827         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11828         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11830 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11832         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11834 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11836         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11837         defined operator.
11839         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11840         $TIMEOUTFACTOR.
11842 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11844         [BZ #17058]
11845         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11846         non-executed part of the test.
11848 2014-06-16  Andreas Schwab  <schwab@suse.de>
11850         * string/bits/string2.h (strdup, strndup): Update feature guard.
11852 2014-06-14  David S. Miller  <davem@davemloft.net>
11854         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11856 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11858         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11859         that was previously under [RESET_PID].
11860         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11862         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11863         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11864         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11865         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11866         (__libc_vfork): New strong alias.
11867         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11869 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11871         * sysdeps/generic/elide.h: New file.
11873 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11875         * Makefile (installed-headers): Adjust path of pthread.h header.
11877 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11879         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11880         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11881         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11882         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11884         * nptl/sysdeps/s390/Makefile: Moved ...
11885         * sysdeps/s390/nptl/Makefile: ... here.
11886         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11887         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11888         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11889         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11890         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11891         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11892         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11893         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11894         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11895         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11896         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11897         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11898         * nptl/sysdeps/s390/tls.h: Moved ...
11899         * sysdeps/s390/nptl/tls.h: ... here.
11901         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11902         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11904 2014-06-13  David S. Miller  <davem@davemloft.net>
11906         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11908         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11909         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11910         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11912         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11913         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11914         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11915         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11916         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11917         Remove RESET_PID cpp guards.
11918         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11919         Remove RESET_PID cpp guards.
11920         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11922 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11924         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11925         __sp to uintptr_t.
11927 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11929         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11930         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11931         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11932         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11934         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11935         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11936         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11937         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11938         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11939         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11940         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11941         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11942         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11943         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11944         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11945         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11946         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11947         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11948         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11950         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11951         (pthread_rwlock_rdlock): Add elision.
11952         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11953         (pthread_rwlock_wrlock): Add elision.
11954         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11955         (pthread_rwlock_trywrlock): Add elision.
11956         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11957         (pthread_rwlock_tryrdlock): Add elision.
11958         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11959         (pthread_rwlock_tryrdlock): Add elision unlock.
11960         * nptl/sysdeps/pthread/pthread.h:
11961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11962         (PTHREAD_RWLOCK_INITIALIZER,
11963         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11964         Handle new elision field.
11965         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11966         * sysdeps/arm/nptl/bits/pthreadtypes.h
11967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11968         * sysdeps/sh/nptl/bits/pthreadtypes.h
11969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11970         * sysdeps/tile/nptl/bits/pthreadtypes.h
11971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11972         * sysdeps/a/nptl/bits/pthreadtypes.h
11973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11974         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11975         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11976         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11977         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11978         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11979         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11980         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11981         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11982         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11983         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11984         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11986         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11987         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11988         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11989         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11990         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11991         (elision_init): Set try_xbegin to zero when no RTM.
11992         * sysdeps/x86/nptl/bits/pthreadtypes.h
11993         (pthread_rwlock_t): Change __pad1 to __rwelision.
11994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11996 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11998         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11999         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12000         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12001         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12003 2014-06-13  Meador Inge  <meadori@codesourcery.com>
12005         [BZ #16996]
12006         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
12007         that the cached result has been set before returning it.
12009 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12011         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12012         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12013         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12014         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12015         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12016         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12018         * nptl/sysdeps/sparc/Makefile: Moved ...
12019         * sysdeps/sparc/nptl/Makefile: ... here.
12020         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12021         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12022         * nptl/sysdeps/sparc/tls.h: Moved ...
12023         * sysdeps/sparc/nptl/tls.h: ... here.
12024         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12025         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12026         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12027         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12028         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12029         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12030         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12031         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12032         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12033         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12034         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12035         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12036         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12037         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12038         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12039         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12040         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12042         Update #include.
12043         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12045         Update #include.
12046         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12047         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12048         Update #include.
12049         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12051         Update #include.
12053         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12055         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12056         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12058         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12059         (struct list_links): Type removed.
12060         (struct thread_node, struct timer_node): Replace struct list_links
12061         with struct list_head.
12062         (list_unlink_ip): Likewise.
12063         * sysdeps/pthread/timer_routines.c
12064         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12065         (list_append, list_insbefore): Likewise.
12066         (list_init): Function removed.
12067         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12068         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12069         * sysdeps/pthread/Makefile: ... here, new file.
12071         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12072         * sysdeps/nptl/Implies: ... here.
12073         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12074         * nptl/sysdeps/pthread/list.h: Moved ...
12075         * include/list.h: ... here.
12076         * nptl/sysdeps/pthread/createthread.c: Moved ...
12077         * nptl/createthread.c: ... here.
12078         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12079         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12080         * nptl/pt-longjmp.c: ... here.
12081         * nptl/sysdeps/pthread/Makefile: Moved ...
12082         * sysdeps/nptl/Makefile: ... here.
12083         * nptl/sysdeps/pthread/Subdirs: Moved ...
12084         * sysdeps/nptl/Subdirs: ... here.
12085         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12086         * sysdeps/nptl/aio_misc.h: ... here.
12087         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12088         * sysdeps/nptl/bits/libc-lock.h: ... here.
12089         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12090         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12091         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12092         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12093         * nptl/sysdeps/pthread/configure: Moved ...
12094         * sysdeps/nptl/configure: ... here.
12095         * nptl/sysdeps/pthread/configure.ac: Moved ...
12096         * sysdeps/nptl/configure.ac: ... here.
12097         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12098         * sysdeps/nptl/gai_misc.h: ... here.
12099         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12100         * sysdeps/nptl/librt-cancellation.c: ... here.
12101         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12102         * sysdeps/nptl/malloc-machine.h: ... here.
12103         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12104         * sysdeps/nptl/pthread-functions.h: ... here.
12105         * nptl/sysdeps/pthread/pthread.h: Moved ...
12106         * sysdeps/nptl/pthread.h: ... here.
12107         * nptl/sysdeps/pthread/setxid.h: Moved ...
12108         * sysdeps/nptl/setxid.h: ... here.
12109         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12110         * sysdeps/nptl/sigfillset.c: ... here.
12111         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12112         * sysdeps/nptl/tcb-offsets.h: ... here.
12113         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12114         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12115         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12116         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12117         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12118         * sysdeps/pthread/allocalim.h: ... here.
12119         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12120         * sysdeps/pthread/bits/sigthread.h: ... here.
12121         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12122         * sysdeps/pthread/flockfile.c: ... here.
12123         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12124         * sysdeps/pthread/ftrylockfile.c: ... here.
12125         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12126         * sysdeps/pthread/funlockfile.c: ... here.
12127         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12128         * sysdeps/pthread/posix-timer.h: ... here.
12129         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12130         * sysdeps/pthread/timer_create.c: ... here.
12131         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12132         * sysdeps/pthread/timer_delete.c: ... here.
12133         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12134         * sysdeps/pthread/timer_getoverr.c: ... here.
12135         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12136         * sysdeps/pthread/timer_gettime.c: ... here.
12137         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12138         * sysdeps/pthread/timer_routines.c: ... here.
12139         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12140         * sysdeps/pthread/timer_settime.c: ... here.
12141         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12142         * sysdeps/pthread/tst-timer.c: ... here.
12143         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12144         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12146         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12147         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12149         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12150         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12151         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12152         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12153         Update #include target.
12154         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12155         * sysdeps/i386/i686/nptl/Makefile: ... here.
12156         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12157         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12158         Update #include target.
12159         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12160         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12161         * nptl/sysdeps/i386/Makefile: Moved ...
12162         * sysdeps/i386/nptl/Makefile: ... here.
12163         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12164         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12165         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12166         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12167         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12168         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12169         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12170         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12171         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12172         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12173         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12174         * nptl/sysdeps/i386/tls.h: Moved ...
12175         * sysdeps/i386/nptl/tls.h: ... here.
12177         * sysdeps/sh/Makefile [$(subdir) = csu]
12178         (gen-as-const-headers): Add tcb-offsets.sym.
12179         * nptl/sysdeps/sh/Makefile: File removed.
12180         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12181         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12182         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12183         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12184         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12185         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12186         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12187         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12188         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12189         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12190         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12191         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12192         * nptl/sysdeps/sh/tls.h: Moved ...
12193         * sysdeps/sh/nptl/tls.h: ... here.
12194         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12195         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12196         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12197         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12198         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12199         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12200         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12201         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12202         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12203         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12204         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12205         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12206         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12207         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12209         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12211         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12213         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12214         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12215         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12216         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12217         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12218         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12219         Moved ...
12220         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12222         Moved ...
12223         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12224         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12225         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12226         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12227         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12228         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12229         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12230         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12231         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12232         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12233         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12234         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12235         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12236         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12237         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12238         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12239         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12240         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12241         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12243 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12245         * posix/spawn_faction_addopen.c: Include string.h.
12247 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12249         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12250         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12251         * nptl/sysdeps/x86_64/Makefile: Moved ...
12252         * sysdeps/x86_64/nptl/Makefile: ... here.
12253         * nptl/sysdeps/x86_64/configure: Moved ...
12254         * sysdeps/x86_64/nptl/configure: ... here.
12255         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12256         * sysdeps/x86_64/nptl/configure.ac: ... here.
12257         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12258         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12259         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12260         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12261         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12262         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12263         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12264         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12265         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12266         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12267         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12268         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12269         * nptl/sysdeps/x86_64/tls.h: Moved ...
12270         * sysdeps/x86_64/nptl/tls.h: ... here.
12271         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12272         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12273         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12274         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12276         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12278 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12282 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12284         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12285         type.
12286         [POSIX] (off_t): Likewise.
12287         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12288         [POSIX] (S_ISBLK): Require macro.
12289         [POSIX] (S_ISCHR): Likewise.
12290         [POSIX] (S_ISDIR): Likewise.
12291         [POSIX] (S_ISFIFO): Likewise.
12292         [POSIX] (S_ISREG): Likewise.
12293         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12294         optional-macro.
12295         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12296         type.
12297         [POSIX] (time_t): Likewise.
12298         [POSIX] (timer_t): Likewise.
12300 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12302         [BZ #17048]
12303         * posix/spawn_int.h (struct __spawn_action): Make the path string
12304         non-const to support deallocation.
12305         * posix/spawn_faction_addopen.c
12306         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12307         * posix/spawn_faction_destroy.c
12308         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12309         path in all spawn_do_open actions.
12310         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12311         posix_spawn_file_actions_addopen.
12313 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12315         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12316         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12317         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12318         conditional code always true.
12319         (__libc_vfork): New alias.
12321 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12323         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12324         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12326         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12328         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12329         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12331         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12332         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12334         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12335         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12337 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12339         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12340         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12341         multiarch strcmp for PPC64.
12342         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12343         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12344         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12345         multiarch optimizations.
12346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12347         (__libc_ifunc_impl_list): Likewise.
12349 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12351         * benchtests/scripts/validate_benchout.py: New script.
12352         * benchtests/Makefile (bench-func): Call it.
12353         * benchtests/scripts/benchout.schema.json: New file.
12355 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12357         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12358         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12359         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12360         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12361         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12362         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12363         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12364         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12365         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12366         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12367         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12368         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12369         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12370         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12371         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12372         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12374         Moved ...
12375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12376         ... here.
12377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12378         Moved ...
12379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12381         Moved ...
12382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12383         ... here.
12384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12385         Moved ...
12386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12387         ... here.
12388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12389         Moved ...
12390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12392         Moved ...
12393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12394         ... here.
12395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12396         Moved ...
12397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12398         ... here.
12399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12400         Moved ...
12401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12403         Moved ...
12404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12405         ... here.
12406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12407         Moved ...
12408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12409         ... here.
12410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12411         Moved ...
12412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12413         ... here.
12414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12415         Moved ...
12416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12418         Moved ...
12419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12420         ... here.
12421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12422         Moved ...
12423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12424         ... here.
12425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12426         Moved ...
12427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12428         ... here.
12429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12430         Moved ...
12431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12433         Moved ...
12434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12435         ... here.
12436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12437         Moved ...
12438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12439         ... here.
12440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12441         Moved ...
12442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12444         Moved ...
12445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12446         ... here.
12447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12448         Moved ...
12449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12451         Moved ...
12452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12454         Moved ...
12455         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12456         ... here.
12457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12458         Moved ...
12459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12460         ... here.
12461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12462         Moved ...
12463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12464         ... here.
12465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12466         Moved ...
12467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12469         Moved ...
12470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12471         ... here.
12472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12473         Moved ...
12474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12475         ... here.
12476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12477         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12479         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12481         Moved ...
12482         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12483         ... here.
12484         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12485         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12487         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12489         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12491         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12492         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12493         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12494         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12495         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12496         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12497         Moved ...
12498         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12500         Moved ...
12501         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12502         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12503         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12504         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12505         Moved ...
12506         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12508         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12509         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12510         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12511         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12512         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12514 2014-06-10  Wilco  <wdijkstr@arm.com>
12516         * math/test-fenv-return.c: New file.
12517         * math/Makefile: Add new test test-fenv-return.
12519 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12521         [BZ #17042]
12522         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12523         when x - 1 is zero.
12524         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12525         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12526         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12527         0.0L for an argument of 1.0L.
12528         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12529         Likewise.
12530         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12531         value when x - 1 is zero.
12532         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12533         * sysdeps/i386/fpu/libm-test-ulps: Update.
12534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12536 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12538         [BZ #15119]
12539         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12541 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12543         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12544         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12546 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12548         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12549         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12551         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12552         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12554         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12555         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12557         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12558         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12560         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12561         if not already defined.
12562         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12563         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12564         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12565         (TLS_INIT_TP): Use it.
12566         (TLS_DEFINE_INIT_TP): New macro.
12567         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12569 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12571         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12572         constant.
12573         [POSIX] (IXANY): Likewise.
12574         [POSIX] (OLCUC): Likewise.
12575         [POSIX || POSIX2008] (CBAUD): Do not allow.
12576         [POSIX || POSIX2008] (DEFECHO): Likewise.
12577         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12578         [POSIX || POSIX2008] (ECHOKE): Likewise.
12579         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12580         [POSIX || POSIX2008] (EXTA): Likewise.
12581         [POSIX || POSIX2008] (EXTB): Likewise.
12582         [POSIX || POSIX2008] (FLUSHO): Likewise.
12583         [POSIX || POSIX2008] (LOBLK): Likewise.
12584         [POSIX || POSIX2008] (PENDIN): Likewise.
12585         [POSIX || POSIX2008] (SWTCH): Likewise.
12586         [POSIX || POSIX2008] (VDISCARD): Likewise.
12587         [POSIX || POSIX2008] (VDSUSP): Likewise.
12588         [POSIX || POSIX2008] (VLNEXT): Likewise.
12589         [POSIX || POSIX2008] (VREPRINT): Likewise.
12590         [POSIX || POSIX2008] (VSTATUS): Likewise.
12591         [POSIX || POSIX2008] (VWERASE): Likewise.
12592         (B*): Change to B[0123456789]*.
12593         * conform/data/time.h-data [POSIX || UNIX98]
12594         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12595         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12596         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12597         [POSIX] (tm_*): Do not allow.
12599 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12601         * Makefile (install): Don't set LANGUAGE.
12602         * Makefile.in (install): Likewise.
12603         * assert/Makefile (test-assert-ENV): Remove variable.
12604         (test-assert-perr-ENV): Likewise.
12605         * elf/Makefile (neededtest4-ENV): Likewise.
12606         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12607         [$(cross-compiling) = no]: Don't set LANGUAGE.
12608         * io/ftwtest-sh (LANG): Remove variable.
12609         * libio/Makefile (tst-widetext-ENV): Likewise.
12610         * manual/install.texi (Running make install): Don't refer to
12611         environment settings for make install.
12612         * INSTALL: Regenerated.
12613         * nptl/tst-tls6.sh: Don't set LANG.
12614         * posix/globtest.sh (LANG): Remove variable.
12615         * string/Makefile (tester-ENV): Likewise.
12616         (inl-tester-ENV): Likewise.
12617         (noinl-tester-ENV): Likewise.
12618         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12619         [$(cross-compiling) = no]: Don't set LANGUAGE.
12620         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12621         without explicit environment settings.
12623 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12625         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12626         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12627         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12628         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12630 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12632         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12633         other files in the crypt directory.
12634         * crypt/crypt.c: Remove duplicate includes.
12635         * crypt/crypt-entry.c: Likewise.
12636         * crypt/crypt_util.c: Likewise.
12638 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12640         * Makeconfig (run-program-env): New variable.
12641         (run-program-prefix-before-env): Likewise.
12642         (run-program-prefix-after-env): Likewise.
12643         (run-program-prefix): Define in terms of new variables.
12644         (built-program-cmd-before-env): New variable.
12645         (built-program-cmd-after-env): Likewise.
12646         (built-program-cmd): Define in terms of new variables.
12647         (test-program-prefix-before-env): New variable.
12648         (test-program-prefix-after-env): Likewise.
12649         (test-program-prefix): Define in terms of new variables.
12650         (test-program-cmd-before-env): New variable.
12651         (test-program-cmd-after-env): Likewise.
12652         (test-program-cmd): Define in terms of new variables.
12653         * Rules (make-test-out): Use $(run-program-env).
12654         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12655         (help): Do not mention environment variables.  Mention
12656         --timeoutfactor option.
12657         (timeoutfactor): New variable.
12658         (blacklist_exports): Remove function.
12659         (exports): Remove variable.
12660         (command): Do not include ${exports}.
12661         * manual/install.texi (Configuring and compiling): Do not mention
12662         test wrappers preserving environment variables.  Mention that last
12663         assignment to a variable must take precedence.
12664         * INSTALL: Regenerated.
12665         * benchtests/Makefile (run-bench): Use $(run-program-env).
12666         * catgets/Makefile ($(objpfx)test1.cat): Use
12667         $(built-program-cmd-before-env), $(run-program-env) and
12668         $(built-program-cmd-after-env).
12669         ($(objpfx)test2.cat): Do not specify environment variables
12670         explicitly.
12671         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12672         $(run-program-env) and $(built-program-cmd-after-env).
12673         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12674         $(run-program-env) and $(test-program-cmd-after-env).
12675         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12676         explicitly.
12677         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12678         run_program_env and test_program_cmd_after_env arguments.
12679         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12680         * elf/tst-pathopt.sh: Use run_program_env argument.
12681         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12682         $(test-wrapper-env) and $(run-program-env).
12683         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12684         run_program_env arguments.
12685         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12686         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12687         $(test-program-prefix-before-env), $(run-program-env) and
12688         $(test-program-prefix-after-env).
12689         ($(objpfx)tst-gettext2.out): Likewise.
12690         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12691         run_program_env and test_program_prefix_after_env arguments.
12692         * intl/tst-gettext2.sh: Likewise.
12693         * intl/tst-gettext4.sh: Do not set environment variables
12694         explicitly.
12695         * intl/tst-gettext6.sh: Likewise.
12696         * intl/tst-translit.sh: Likewise.
12697         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12698         $(test-program-prefix-before-env), $(run-program-env) and
12699         $(test-program-prefix-after-env).
12700         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12701         run_program_env and test_program_prefix_after_env arguments.
12702         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12703         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12704         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12705         explicitly with each use of ${test_wrapper_env}.
12706         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12707         $(test-program-prefix-before-env), $(run-program-env) and
12708         $(test-program-prefix-after-env).
12709         * posix/tst-getconf.sh: Do not set environment variables
12710         explicitly.
12711         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12712         run_program_env and test_program_prefix_after_env arguments.
12713         * stdio-common/tst-printf.sh: Do not set environment variables
12714         explicitly.
12715         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12716         $(test-program-prefix-before-env), $(run-program-env) and
12717         $(test-program-prefix-after-env).
12718         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12719         run_program_env and test_program_prefix_after_env arguments.
12720         Split $test calls into $test_pre and $test.
12721         * timezone/Makefile (build-testdata): Use
12722         $(built-program-cmd-before-env), $(run-program-env) and
12723         $(built-program-cmd-after-env).
12725 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12727         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12728         strlen for non SHARED builds.
12730 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12732         * nptl/allocatestack.c (check_list): Inlined function...
12733         (__reclaim_stacks): ... here.
12735 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12737         [BZ #15698]
12738         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12739         memory overrun.
12741 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12743         * Rules (make-test-out): Include
12744         LOCPATH=$(common-objpfx)localedata in default environment.
12745         * debug/Makefile (tst-chk1-ENV): Remove variable.
12746         (tst-chk2-ENV): Likewise.
12747         (tst-chk3-ENV): Likewise.
12748         (tst-chk4-ENV): Likewise.
12749         (tst-chk5-ENV): Likewise.
12750         (tst-chk6-ENV): Likewise.
12751         (tst-lfschk1-ENV): Likewise.
12752         (tst-lfschk2-ENV): Likewise.
12753         (tst-lfschk3-ENV): Likewise.
12754         (tst-lfschk4-ENV): Likewise.
12755         (tst-lfschk5-ENV): Likewise.
12756         (tst-lfschk6-ENV): Likewise.
12757         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12758         (tst-iconv7-ENV): Likewise.
12759         * intl/Makefile (LOCPATH-ENV): Likewise.
12760         (tst-codeset-ENV): Likewise.
12761         (tst-gettext3-ENV): Likewise.
12762         (tst-gettext5-ENV): Likewise.
12763         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12764         (tst-fopenloc-ENV): Likewise.
12765         (tst-fgetws-ENV): Remove variable.
12766         (tst-ungetwc1-ENV): Likewise.
12767         (tst-ungetwc2-ENV): Likewise.
12768         (bug-ungetwc2-ENV): Likewise.
12769         (tst-swscanf-ENV): Likewise.
12770         (bug-ftell-ENV): Likewise.
12771         (tst-fgetwc-ENV): Likewise.
12772         (tst-fseek-ENV): Likewise.
12773         (tst-ftell-partial-wide-ENV): Likewise.
12774         (tst-ftell-active-handler-ENV): Likewise.
12775         (tst-ftell-append-ENV): Likewise.
12776         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12777         (tst-regexloc-ENV): Likewise.
12778         (bug-regex1-ENV): Likewise.
12779         (tst-regex-ENV): Likewise.
12780         (tst-regex2-ENV): Likewise.
12781         (bug-regex5-ENV): Likewise.
12782         (bug-regex6-ENV): Likewise.
12783         (bug-regex17-ENV): Likewise.
12784         (bug-regex18-ENV): Likewise.
12785         (bug-regex19-ENV): Likewise.
12786         (bug-regex20-ENV): Likewise.
12787         (bug-regex22-ENV): Likewise.
12788         (bug-regex23-ENV): Likewise.
12789         (bug-regex25-ENV): Likewise.
12790         (bug-regex26-ENV): Likewise.
12791         (bug-regex30-ENV): Likewise.
12792         (bug-regex32-ENV): Likewise.
12793         (bug-regex33-ENV): Likewise.
12794         (bug-regex34-ENV): Likewise.
12795         (bug-regex35-ENV): Likewise.
12796         (tst-rxspencer-ENV): Likewise.
12797         (tst-rxspencer-no-utf8-ENV): Likewise.
12798         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12799         (tst-sscanf-ENV): Likewise.
12800         (tst-swprintf-ENV): Likewise.
12801         (tst-swscanf-ENV): Likewise.
12802         (test-vfprintf-ENV): Likewise.
12803         (scanf13-ENV): Likewise.
12804         (bug14-ENV): Likewise.
12805         (tst-grouping-ENV): Likewise.
12806         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12807         (tst-strtod3-ENV): Likewise.
12808         (tst-strtod4-ENV): Likewise.
12809         (tst-strtod5-ENV): Likewise.
12810         (testmb2-ENV): Likewise./
12811         * string/Makefile (tst-strxfrm-ENV): Likewise.
12812         (tst-strxfrm2-ENV): Likewise.
12813         (bug-strcoll1-ENV): Likewise.
12814         (test-strcasecmp-ENV): Likewise.
12815         (test-strncasecmp-ENV): Likewise.
12816         * time/Makefile (tst-strptime-ENV): Likewise.
12817         (tst-ftime_l-ENV): Likewise.
12818         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12819         (tst-mbrtowc-ENV): Likewise.
12820         (tst-wcrtomb-ENV): Likewise.
12821         (tst-mbrtowc2-ENV): Likewise.
12822         (tst-c16c32-1-ENV): Likewise.
12823         (tst-mbsnrtowcs-ENV): Likewise.
12825 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12827         * manual/resource.texi (How to get information about the memory
12828         subsystem?): Fix typo.
12829         Reported by Peon de la Parra Ivan <peon@keba.com>
12831 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12833         [BZ #16882]
12834         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12835         (pthread_spin_lock): Branch out of spin loop to proper location.
12836         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12837         (pthread_spin_lock): Likewise.
12839         * nptl/tst-spin4.c: New test.
12840         * nptl/Makefile (tests): Add tst-spin4.
12842 2014-06-03  Andreas Schwab  <schwab@suse.de>
12844         [BZ #15946]
12845         * resolv/res_send.c (send_dg): Reload file descriptor after
12846         calling reopen.
12848 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12850         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12852 2014-06-03  Richard Henderson  <rth@redhat.com>
12854         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12855         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12856         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12857         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12858         in the SAVE_PID block.
12859         (__libc_vfork): New alias.
12860         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12862         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12863         child in registers, not on the stack.  Remove RESET_PID conditionals.
12864         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12866 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12868         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12870 2014-06-03  Wilco  <wdijkstr@arm.com>
12872         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12873         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12874         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12875         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12876         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12877         Likewise.
12879 2014-06-03  Wilco  <wdijkstr@arm.com>
12881         * sysdeps/aarch64/fpu/math_private.h
12882         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12883         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12884         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12885         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12886         Fix declarations.
12888 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12890         * crypt/crypt-private.h: Include ufc-crypt.h.
12891         (__b64_from_24bit): Declare extern.
12892         * crypt/crypt_util.c(__b64_from_24bit): New function.
12893         (b64t): New static const variable.
12894         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12895         (b64t): Remove variable.
12896         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12897         * crypt/sha256-crypt.c: Include crypt-private.h.
12898         (b64t): Remove variable.
12899         (__sha256_crypt_r): Remove b64_from_24bit and replace
12900         with __b64_from_24bit.
12901         * crypt/sha512-crypt.c: Likewise.
12903 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12905         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12906         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12907         Label the code __libc_vfork rather than __vfork.
12908         [!NOT_IN_libc] (vfork): Define as weak alias.
12909         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12910         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12911         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12913 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12915         * malloc/malloc.c (malloc_info): Fix format specifier for
12916         n_mmaps.
12918 2014-06-02  Wilco  <wdijkstr@arm.com>
12920         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12921         FPCR write.
12923 2014-06-02  Wilco  <wdijkstr@arm.com>
12925         [BZ #17009]
12926         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12927         Rewrite to reduce FPCR/FPSR accesses.
12929 2014-06-01  David S. Miller  <davem@davemloft.net>
12931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12933 2014-05-31  David S. Miller  <davem@davemloft.net>
12935         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12936         to occur in round to nearest mode when |x| >= 2.0
12938 2014-05-30  Richard Henderson  <rth@twiddle.net>
12940         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12941         (PSEUDO_RET_NOERRNO): Remove.
12942         (ret): Don't redefine.
12943         (ret_NOERRNO): Define in terms of ret.
12944         (ret_ERRVAL): Likewise.
12946         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12947         use of PSEUDO_RET; perform the error check directly.
12949 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12951         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12952         with __int128_t.
12954 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12956         * malloc/malloc (malloc_info): Fix formatting.
12958 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12959             Roland McGrath  <roland@hack.frob.com>
12961         * malloc/malloc (malloc_info): Also print mmapped statistics.
12963 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12965         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12966         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12968 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12970         * malloc/malloc.c (malloc_info): Inline mi_arena.
12972 2014-05-29  Richard Henderson  <rth@twiddle.net>
12974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12975         Remove comma before expanding ASM_ARGS_##nr.
12976         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12977         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12978         of ASM_ARGS_##nr.
12979         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12980         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12981         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12982         (ASM_ARGS_1): Add leading comma.
12984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12985         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12986         to __errno_location.
12987         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12988         Remove the expected plt for __errno_location.
12990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12991         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12992         call to __read_tp.
12994         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12995         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12996         it and break it down.
12997         (DOCARGS_0, DOCARGS_1): Do nothing.
12998         (DOCARGS_2): Update to store into the new stack frame.
12999         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13000         (UNDOCARGS_1): Update to restore from the new stack frame.
13001         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13002         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13005         (SINGLE_THREAD_P): New parameter for result regno.
13006         (PSEUDO): Update to match; use cbz instead of beq.
13008         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13009         Use ENTRY to define the _nocancel entry point.  Share the syscall
13010         and syscall error check paths with the cancel path.
13011         (PSEUDO_END): New.
13013         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13014         whitespace; tabs before and after asm mnemonics.
13016 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13018         [BZ #15132]
13019         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13020         Call fstat64 or stat64 internally, depending on arguments passed.
13021         Replace stat buffer argument with file descriptor argument.
13022         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13023         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13024         Pass fd to __internal_statvfs instead of calling fstat64.
13025         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13026         Pass fd to __internal_statvfs64 instead of calling fstat64.
13027         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13028         Pass -1 to __internal_statvfs instead of calling stat64.
13029         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13030         Pass -1 to __internal_statvfs64 instead of calling stat64.
13032 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13034         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13035         that was previously under [RESET_PID].
13036         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13038         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13039         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13041 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13043         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13045         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13046         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13048 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13050         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13052 2014-05-27  Andreas Schwab  <schwab@suse.de>
13054         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13055         TLS_INIT_TP macro.
13056         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13057         * elf/rtld.c (init_tls, dl_main): Likewise.
13058         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13059         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13060         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13061         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13062         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13063         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13064         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13065         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13066         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13067         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13068         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13069         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13070         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13071         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13072         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13073         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13074         * sysdeps/generic/tls.h: Update description.
13076 2014-05-27  Will Newton  <will.newton@linaro.org>
13078         [BZ #16990]
13079         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13080         and restore r2 rather than just restoring.
13082 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13084         [BZ #16724]
13085         * libio/tst-ftell-append.c: New test case.
13086         * libio/Makefile (tests): Add test case.
13087         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13088         append mode.
13089         * libio/wfileops.c (do_ftell_wide): Likewise.
13091 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13095         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13096         ...
13097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13099         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13100         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13101         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13102         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13103         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13104         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13106         Moved ...
13107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13108         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13109         Moved ...
13110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13111         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13112         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13113         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13114         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13115         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13116         ...
13117         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13118         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13119         Moved ...
13120         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13121         here.
13122         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13123         ...
13124         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13125         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13126         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13128         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13129         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13131         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13134         merge into ...
13135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13136         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13137         ...
13138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13140         ...
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13143         Moved ...
13144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13145         here.
13146         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13147         Moved ...
13148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13150         Moved ...
13151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13154         conditional [RESET_PID].
13155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13157         removed.
13158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13159         removed.
13161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13162         <tcb-offsets.h>.
13163         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13164         (__libc_vfork): New strong alias.
13165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13166         removed.
13167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13168         Removed.
13170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13171         <tcb-offsets.h>.
13172         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13173         (__libc_vfork): New strong alias.
13174         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13175         removed.
13176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13177         removed.
13179 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13181         * malloc/malloc.c (mi_arena): New function.
13182         (malloc_info): Remove nested function mi_arena. Call non-nosted
13183         function mi_arena.
13185 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13187         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13188         by insrwi.
13189         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13190         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13191         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13192         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13193         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13194         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13195         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13197 2014-05-26  Andreas Schwab  <schwab@suse.de>
13199         [BZ #16984]
13200         * locale/programs/repertoire.c (repertoire_read): Add slash
13201         between I18NPATH element and file name.
13202         * locale/programs/locfile.c (locfile_read): Likewise.
13204 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13206         * nptl/pthread_mutexattr_settype.c
13207         (__pthread_mutexattr_settype):
13208         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13210 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13212         * nptl/tst-mutex5 (do_test):
13213         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13215 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13217         * benchtests/README: Document 'init' directive.
13218         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13219         BENCH_INIT.
13220         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13221         (parse_file): Recognize 'init' directive.
13223 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13225         [BZ #16796]
13226         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13227         alignment of struct pthread.
13229 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13231         [BZ #16878]
13232         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13233         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13234         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13235         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13237 2014-05-25  Richard Henderson  <rth@twiddle.net>
13239         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13240         (SINGLE_THREAD_P_PIC): Remove.
13241         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13242         (SINGLE_THREAD_P_PIC): Remove.
13244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13245         branch to syscall error ...
13246         (PSEUDO): ... here.
13247         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13248         from __local_syscall_error to .Lsyscall_error.
13249         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13250         (SYSCALL_ERROR): Update label name.
13252         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13253         Do not use DOARGS/UNDOARGS.
13254         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13255         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13256         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13257         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13258         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13261         block comment.
13263         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13264         define if !NOT_IN_libc.
13265         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13266         define with non-default symbol versions.
13268 2014-05-23  Richard Henderson  <rth@twiddle.net>
13270         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13271         (vfork, __vfork): Define via compat_symbol.
13273         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13274         [!HAVE_IFUNC] (vfork_compat): Remove.
13275         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13277 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13279         [BZ #16978]
13280         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13281         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13282         variable.
13284 2014-05-23  Richard Henderson  <rth@twiddle.net>
13286         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13287         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13288         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13289         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13291         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13292         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13293         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13294         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13295         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13296         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13297         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13298         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13299         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13300         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13301         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13302         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13303         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13304         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13305         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13306         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13307         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13308         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13309         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13310         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13311         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13312         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13313         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13314         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13315         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13317         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13318         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13319         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13320         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13321         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13322         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13323         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13324         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13325         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13326         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13327         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13328         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13329         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13330         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13331         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13332         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13333         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13334         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13335         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13336         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13337         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13338         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13339         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13340         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13341         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13342         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13343         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13344         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13345         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13346         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13348         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13349         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13350         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13351         before exiting on error.
13352         (__libc_vfork): New strong alias.
13353         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13354         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13356         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13357         that was previously under [RESET_PID].
13358         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13360         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13362 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13364         [BZ #16977]
13365         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13366         value when x - 1 is zero.
13367         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13368         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13369         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13370         0.0L for an argument of 1.0L.
13371         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13372         Likewise.
13373         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13374         value when x - 1 is zero.
13375         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13376         * sysdeps/i386/fpu/libm-test-ulps: Update.
13377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13379 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13381         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13382         alphasort and versionsort.
13384 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13386         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13387         macro.
13388         [copysignf]: Likewise.
13390 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13392         * crypt/md5-crypt.c: Fix formatting.
13394 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13396         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13397         (b64_from_24bit): New function.
13399 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13401         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13402         libc_hidden_builtin_def to ifunc.
13403         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13404         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13406 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13408         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13409         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13411 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13413         * nscd/Depend (linuxthreads): Remove.
13414         (nptl): Add.
13415         * resolv/Depend (linuxthreads): Remove.
13416         * rt/Depend (linuxthreads): Remove.
13418         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13419         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13420         $(common-objpfx)elf/.
13421         (link-libc-before-gnulib): Likewise.
13422         (elfobjdir): Remove variable.
13423         * Makefile (install): Use $(elf-objpfx) instead of
13424         $(common-objpfx)elf/.
13425         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13426         $(elfobjdir)/.
13427         (link-libc-deps): Likewise.
13428         ($(common-objpfx)libc.so): Likewise.
13429         ($(common-objpfx)linkobj/libc.so): Likewise.
13430         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13431         instead of $(common-objpfx)elf/.
13432         (symbolic-link-list): Likewise.
13433         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13434         [$(cross-compiling) = no]: Likewise.
13435         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13436         $(elfobjdir)/.
13437         (static-gnulib-arch): Likewise.
13438         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13439         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13440         $(common-objpfx)elf/.
13442 2014-05-21  Richard Henderson  <rth@redhat.com>
13444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13445         (SINGLE_THREAD_P): Use the correct width load.  Fold
13446         into the ldr offset.
13448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13449         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13451 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13453         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13454         (libgcc_s_resume): Use __attribute_used__.
13455         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13456         Likewise.
13458 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13460         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13461         optimization when used with float constants.
13463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13465 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13467         [BZ #16915]
13468         * locale/nl_langinfo_l.c: Make direct reference to every
13469         _nl_current_CATEGORY symbol.
13470         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13471         (tests-static): Add tst-langinfo-static.
13472         (tests-special): Add tst-langinfo-static.out.
13473         ($(objpfx)tst-langinfo.out): Redirect output.
13474         ($(objpfx)tst-langinfo-static.out): New.
13475         * localedata/tst-langinfo.sh: Send output to stdout.
13476         * localedata/tst-langinfo-static.c: New file.
13478         [BZ #16965]
13479         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13480         when the shift amount is modulo the limb size.
13482 2014-05-20  Richard Henderson  <rth@redhat.com>
13484         [BZ #16967]
13485         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13486         Change type of sa_flags from unsigned int to int.
13488         [BZ #16966]
13489         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13491         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13493 2014-05-20  Will Newton  <will.newton@linaro.org>
13495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13496         Test the return value of the system call in the nocancel case.
13498 2014-05-20  Will Newton  <will.newton@linaro.org>
13499             Yvan Roux  <yvan.roux@linaro.org>
13501         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13502         #include of asm/ptrace.h.
13503         (PTRACE_GET_THREAD_AREA): Remove #undef.
13504         (PTRACE_GETHBPREGS): Likewise.
13505         (PTRACE_SETHBPREGS): Likewise.
13506         (struct user_regs_struct): New structure.
13507         (struct user_fpsimd_struct): New structure.
13508         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13509         #include of asm/ptrace.h and second #include of sys/user.h.
13510         (PTRACE_GET_THREAD_AREA): Remove #undef.
13511         (PTRACE_GETHBPREGS): Likewise.
13512         (PTRACE_SETHBPREGS): Likewise.
13513         (ELF_NGREG): Use new struct user_regs_struct.
13514         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13516 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13518         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13519         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13521 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13523         [BZ #16958]
13524         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13525         membar to avoid block loads/stores to overlap previous stores.
13527 2014-05-17  Richard Henderson  <rth@redhat.com>
13529         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13530         Create the __##syscall_name##_nocancel entry point.
13531         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13532         Remove; let the sysdep-cancel.h code create it.
13534 2014-05-17  David S. Miller  <davem@davemloft.net>
13536         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13537         Protect with __USE_GNU.
13538         (TIOCSET_TEMPT): Likewise.
13539         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13540         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13541         these are already provided in bits/ioctl-types.h
13543 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13545         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13546         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13548         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13549         Use wait4 regardless of [__NR_waitpid].
13551 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13553         PR libgcc/60166
13554         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13555         (_FP_NANSIGN_Q): Set the quiet bit.
13557 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13559         * benchtests/Makefile
13560         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13561         not $(common-objpfx)math/libm.so.
13562         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13563         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13564         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13565         $(common-objpfx)dlfcn/libdl.so.
13566         ($(objpfx)tst-audit8): Depend on $(libm), not
13567         $(common-objpfx)math/libm.so.
13568         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13569         not $(common-objpfx)dlfcn/libdl.so.
13570         * math/Makefile
13571         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13572         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13573         [$(build-shared) = yes].
13574         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13575         $(common-objpfx)nptl/libpthread.so.
13576         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13577         $(common-objpfx)math/libm.so$(libm.so-version) or
13578         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13579         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13580         $(common-objpfx)dlfcn/libdl.so.
13581         * setjmp/Makefile (link-libm): Remove variable.
13582         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13583         * stdio-common/Makefile (link-libm): Remove variable.
13584         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13585         * stdlib/Makefile (link-libm): Remove variable.
13586         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13587         ($(objpfx)tst-strtod-round): Likewise.
13588         ($(objpfx)tst-tininess): Likewise.
13589         ($(objpfx)tst-strtod-underflow): Likewise.
13590         ($(objpfx)tst-strtod6): Likewise.
13591         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13592         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13593         $(common-objpfx)dlfcn/libdl.so.
13595 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13597         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13598         BSD terminal modes definitions.
13600 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13602         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13603         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13605         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13606         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13607         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13608         Don't do #include_next.
13609         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13610         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13611         Don't do #include_next.
13612         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13613         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13614         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13615         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13617 2014-05-16  Allan McRae  <allan@archlinux.org>
13619         * po/sv.po: Update Swedish translation from translation project.
13621         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13622         in sed expression.
13624 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13626         [BZ #16917]
13627         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13628         errno if the TIOCGPTN ioctl fails with an error different than
13629         EINVAL.
13630         * login/tst-ptsname.c: New file.
13631         * login/Makefile (tests): Add tst-ptsname.
13633         [BZ #16943]
13634         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13635         and prlimit64.
13637 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13639         [BZ #16849]
13640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13641         herrno to return EAI_AGAIN.
13643 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13645         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13646         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13647         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13648         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13649         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13650         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13651         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13652         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13653         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13654         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13655         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13656         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13657         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13658         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13659         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13660         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13661         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13662         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13663         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13664         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13665         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13666         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13667         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13668         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13669         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13670         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13671         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13672         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13673         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13674         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13676         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13678         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13680         Moved ...
13681         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13683         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13685         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13687         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13689         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13691         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13693         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13695         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13696         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13697         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13699         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13701         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13703         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13705         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13707         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13709         Moved ...
13710         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13712         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13714         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13716         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13718         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13720         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13722         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13724         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13726         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13728         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13730         Moved ...
13731         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13733         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13736         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13737         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13738         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13739         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13740         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13741         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13742         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13743         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13744         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13745         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13746         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13747         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13748         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13749         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13751         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13752         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13753         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13754         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13755         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13757         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13758         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13759         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13760         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13761         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13762         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13763         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13764         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13765         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13767         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13768         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13770         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13771         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13772         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13773         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13774         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13776         Moved ...
13777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13779         Moved ...
13780         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13782         Moved ...
13783         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13784         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13785         Moved ...
13786         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13788         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13790         Moved ...
13791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13793         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13794         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13795         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13796         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13797         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13798         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13801         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13802         Moved ...
13803         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13804         ... here.
13805         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13806         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13807         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13808         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13810         Moved ...
13811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13812         ... here.
13813         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13814         Moved ...
13815         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13816         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13817         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13818         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13819         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13821         Moved ...
13822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13824         Moved ...
13825         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13827         Moved ...
13828         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13829         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13830         Moved ...
13831         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13832         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13833         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13835         Moved ...
13836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13837         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13838         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13839         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13840         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13841         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13842         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13844         Moved ...
13845         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13846         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13847         Moved ...
13848         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13849         ... here.
13850         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13851         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13852         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13853         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13855         Moved ...
13856         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13857         ... here.
13858         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13859         Moved ...
13860         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13861         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13862         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13864         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13865         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13866         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13867         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13868         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13870         Moved ...
13871         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13872         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13873         Moved ...
13874         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13875         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13876         Moved ...
13877         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13878         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13879         Moved ...
13880         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13881         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13882         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13884         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13886         Moved ...
13887         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13888         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13889         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13890         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13891         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13892         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13893         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13894         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13895         Moved ...
13896         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13897         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13898         Moved ...
13899         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13900         ... here.
13901         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13902         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13903         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13904         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13906         Moved ...
13907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13908         ... here.
13909         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13910         Moved ...
13911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13912         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13913         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13914         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13915         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13916         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13917         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13918         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13919         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13920         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13921         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13923         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13924         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13926         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13927         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13929         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13930         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13931         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13933         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13934         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13935         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13936         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13937         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13938         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13939         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13941         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13943         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13945         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13946         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13947         Moved ...
13948         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13950         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13952         Moved ...
13953         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13955         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13957         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13958         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13961         Moved ...
13962         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13963         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13964         Moved ...
13965         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13966         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13967         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13969         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13970         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13971         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13972         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13973         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13974         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13975         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13976         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13977         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13978         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13979         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13980         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13981         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13983         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13984         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13985         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13986         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13987         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13989         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13990         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13991         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13992         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13993         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13994         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13995         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13996         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13997         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13998         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14000         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14001         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14003         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14004         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
14005         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14006         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14007         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14008         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14009         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14010         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14011         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14012         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14013         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14014         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14015         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14016         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14017         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14018         Update #include.
14019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14020         Likewise.
14021         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14022         Likewise.
14023         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14024         Likewise.
14025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14026         Likewise.
14027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14028         Likewise.
14029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14030         Likewise.
14031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14032         Likewise.
14033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14034         Likewise.
14035         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14036         Likewise.
14037         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14038         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14039         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14040         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14041         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14042         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14043         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14044         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14045         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14046         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14047         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14048         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14049         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14050         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14051         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14053         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14054         that was previously under [RESET_PID].
14055         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14056         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14057         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14059         * sysdeps/i386/nptl/Implies: New file.
14060         * sysdeps/x86_64/nptl/Implies: New file.
14061         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14062         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14063         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14064         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14066         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14067         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14068         (__libc_vfork): New strong alias.
14069         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14070         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14072         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14073         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14074         (__libc_vfork): New strong alias.
14075         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14076         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14078         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14079         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14080         (__libc_vfork): New strong alias.
14081         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14082         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14083         * nptl/pt-vfork.c: New file.
14084         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14085         (libpthread: GLIBC_2.20): New version set (empty).
14087 2014-05-14  Will Newton  <will.newton@linaro.org>
14089         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14090         rather than #if.
14092 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #16564]
14095         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14096         arguments with exponent 65 or above.
14097         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14098         arguments 0x1p113L or above.
14099         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14100         to arguments 0x1p107L or above.
14101         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14102         positive arguments with exponent 65 or above.
14103         * math/auto-libm-test-in: Add more tests of log1p.
14104         * math/auto-libm-test-out: Regenerated.
14106         [BZ #16928]
14107         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14108         non-finite arguments is +0.
14109         * math/s_cacosf.c (__cacosf): Likewise.
14110         * math/s_cacosl.c (__cacosl): Likewise.
14111         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14112         * sysdeps/i386/fpu/libm-test-ulps: Update.
14113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14115         [BZ #16927]
14116         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14117         value.
14118         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14119         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14120         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14121         for explicit high bit of mantissa when testing for argument equal
14122         to 1.
14123         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14124         * sysdeps/i386/fpu/libm-test-ulps: Update.
14125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14127         [BZ #16516]
14128         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14129         (__erf): Scale by 16 instead of 8 in potentially underflowing
14130         case.  Ensure exception if result actually underflows.
14131         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14132         (__erff): Scale by 16 instead of 8 in potentially underflowing
14133         case.  Ensure exception if result actually underflows.
14134         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14135         (efx8): Remove variable.
14136         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14137         case.  Ensure exception if result actually underflows.
14138         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14139         (efx8): Remove variable.
14140         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14141         case.  Ensure exception if result actually underflows.
14142         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14143         (efx8): Remove variable.
14144         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14145         case.  Ensure exception if result actually underflows.
14146         * math/auto-libm-test-in: Add more tests of erf.
14147         * math/auto-libm-test-out: Regenerated.
14149 2014-05-14  Andreas Schwab  <schwab@suse.de>
14151         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14152         Remove code conditionalized on USE___THREAD.
14154         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14155         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14156         not definedness.
14158 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14161         Define unconditionally.
14162         (__ASSUME_O_CLOEXEC): Likewise.
14163         (__ASSUME_SOCK_CLOEXEC): Likewise.
14164         (__ASSUME_IN_NONBLOCK): Likewise.
14165         (__ASSUME_PIPE2): Likewise.
14166         (__ASSUME_EVENTFD2): Likewise.
14167         (__ASSUME_SIGNALFD4): Likewise.
14168         (__ASSUME_DUP3): Likewise.
14169         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14170         (__ASSUME_DUP3): Do not define.
14171         (__ASSUME_EVENTFD2): Likewise.
14172         (__ASSUME_IN_NONBLOCK): Likewise.
14173         (__ASSUME_O_CLOEXEC): Likewise.
14174         (__ASSUME_PIPE2): Likewise.
14175         (__ASSUME_SIGNALFD4): Likewise.
14176         (__ASSUME_SOCK_CLOEXEC): Likewise.
14177         (__ASSUME_UTIMES): Undefine.
14178         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14179         (__ASSUME_UTIMES): Do not define.
14180         (__ASSUME_O_CLOEXEC): Likewise.
14181         (__ASSUME_SOCK_CLOEXEC): Likewise.
14182         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14183         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14184         0x020621].
14185         (__ASSUME_PIPE2): Likewise.
14186         (__ASSUME_EVENTFD2): Likewise.
14187         (__ASSUME_SIGNALFD4): Likewise.
14188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14189         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14190         Do not define.
14191         (__ASSUME_EVENTFD2): Likewise.
14192         (__ASSUME_SIGNALFD4): Likewise.
14193         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14194         (__ASSUME_32BITUIDS): Likewise.
14195         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14196         (__ASSUME_IPC64): Likewise.
14197         (__ASSUME_ST_INO_64_BIT): Likewise.
14198         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14199         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14200         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14201         (__ASSUME_UTIMES): Do not define.
14202         (__ASSUME_PSELECT): Likewise.
14203         (__ASSUME_PPOLL): Likewise.
14204         (__ASSUME_O_CLOEXEC): Likewise.
14205         (__ASSUME_SOCK_CLOEXEC): Likewise.
14206         (__ASSUME_IN_NONBLOCK): Likewise.
14207         (__ASSUME_PIPE2): Likewise.
14208         (__ASSUME_EVENTFD2): Likewise.
14209         (__ASSUME_SIGNALFD4): Likewise.
14210         (__ASSUME_DUP3): Likewise.
14211         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14212         (__ASSUME_UTIMES): Likewise.
14213         (__ASSUME_O_CLOEXEC): Likewise.
14214         (__ASSUME_SOCK_CLOEXEC): Likewise.
14215         (__ASSUME_IN_NONBLOCK): Likewise.
14216         (__ASSUME_PIPE2): Likewise.
14217         (__ASSUME_EVENTFD2): Likewise.
14218         (__ASSUME_SIGNALFD4): Likewise.
14219         (__ASSUME_DUP3): Likewise.
14220         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14221         (__ASSUME_UTIMES): Likewise.
14222         (__ASSUME_O_CLOEXEC): Likewise.
14223         (__ASSUME_SOCK_CLOEXEC): Likewise.
14224         (__ASSUME_IN_NONBLOCK): Likewise.
14225         (__ASSUME_PIPE2): Likewise.
14226         (__ASSUME_EVENTFD2): Likewise.
14227         (__ASSUME_SIGNALFD4): Likewise.
14228         (__ASSUME_DUP3): Likewise.
14229         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14230         Likewise.
14231         (__ASSUME_UTIMES): Likewise.
14232         (__ASSUME_EVENTFD2): Likewise.
14233         (__ASSUME_SIGNALFD4): Likewise.
14234         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14235         (__ASSUME_O_CLOEXEC): Likewise.
14236         (__ASSUME_SOCK_CLOEXEC): Likewise.
14237         (__ASSUME_IN_NONBLOCK): Likewise.
14238         (__ASSUME_PIPE2): Likewise.
14239         (__ASSUME_EVENTFD2): Likewise.
14240         (__ASSUME_SIGNALFD4): Likewise.
14241         (__ASSUME_DUP3): Likewise.
14242         (__ASSUME_UTIMES): Undefine.
14244         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14245         feclearexcept.  Remove symbol versioning code.
14246         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14247         symbol versioning code.
14248         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14249         symbol versioning code.
14250         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14251         feupdateenv.  Remove symbol versioning code.
14252         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14253         fegetexceptflag.  Remove symbol versioning code.
14254         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14255         fesetexceptflag.  Remove symbol versioning code.
14256         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14257         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14258         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14259         (__posix_fadvise64_l32): Remove prototype.
14260         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14261         code.
14263 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14265         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14266         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14267         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14268         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14270 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14272         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14273         current working directory
14275 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14277         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14278         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14279         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14280         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14281         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14282         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14283         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14284         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14285         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14286         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14287         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14288         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14289         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14290         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14291         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14292         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14293         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14294         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14295         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14296         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14297         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14298         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14299         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14300         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14301         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14302         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14303         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14304         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14305         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14306         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14307         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14308         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14309         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14310         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14311         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14312         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14313         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14314         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14315         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14316         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14317         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14318         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14320         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14321         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14323         * sysdeps/unix/sysv/linux/arm/Makefile
14324         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14325         Add rt-aeabi_unwind_cpp_pr1.
14326         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14327         Add nptl-aeabi_unwind_cpp_pr1.
14328         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14329         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14330         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14331         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14332         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14333         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14335         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14336         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14337         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14338         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14340         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14341         Deconditionalize the code that was previously under [RESET_PID].
14342         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14344         * sysdeps/generic/exit-thread.h: New file.
14345         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14346         * include/unistd.h (__exit_thread): Remove declaration.
14347         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14348         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14349         * csu/libc-start.c: Include <exit-thread.h>.
14350         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14351         * nptl/pthread_create.c: Include <exit-thread.h>.
14352         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14353         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14354         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14355         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14356         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14357         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14358         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14359         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14360         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14361         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14362         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14363         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14364         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14365         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14366         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14367         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14368         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14370 2014-05-13  Andreas Schwab  <schwab@suse.de>
14372         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14374 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14376         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14377         (__ASSUME_UTIMES): Do not condition on kernel version.
14378         (__ASSUME_PSELECT): Define unconditionally.
14379         (__ASSUME_PPOLL): Likewise.
14380         (__ASSUME_ATFCTS): Likewise.
14381         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14382         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14383         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14384         (__ASSUME_UTIMENSAT): Define unconditionally.
14385         (__ASSUME_PRIVATE_FUTEX): Likewise.
14386         (__ASSUME_FALLOCATE): Likewise.
14387         (__ASSUME_O_CLOEXEC): Likewise.
14388         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14389         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14390         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14391         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14392         (__ASSUME_IN_NONBLOCK): Likewise.
14393         (__ASSUME_PIPE2): Likewise.
14394         (__ASSUME_EVENTFD2): Likewise.
14395         (__ASSUME_SIGNALFD4): Likewise.
14396         (__ASSUME_DUP3): Likewise.
14397         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14398         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14399         (__ASSUME_AT_RANDOM): Likewise.
14400         (__ASSUME_PREADV): Likewise.
14401         (__ASSUME_PWRITEV): Likewise.
14402         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14403         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14404         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14405         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14406         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14407         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14408         (__ASSUME_O_CLOEXEC): Define unconditionally.
14409         (__ASSUME_PSELECT): Do not undefine conditionally.
14410         (__ASSUME_PPOLL): Likewise.
14411         (__ASSUME_ATFCTS): Likewise.
14412         (__ASSUME_SET_ROBUST_LIST): Likewise.
14413         (__ASSUME_UTIMENSAT): Likewise.
14414         (__ASSUME_FDATASYNC): Define unconditionally.
14415         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14416         (__ASSUME_SIGFRAME_V2): Likewise.
14417         )__ASSUME_EVENTFD2): Likewise.
14418         (__ASSUME_SIGNALFD4): Likewise.
14419         (__ASSUME_PSELECT): Do not undefine conditionally.
14420         (__ASSUME_PPOLL): Likewise.
14421         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14422         (__ASSUME_PSELECT): Define unconditionally.
14423         (__ASSUME_PPOLL): Likewise.
14424         (__ASSUME_O_CLOEXEC): Likewise.
14425         (__ASSUME_SOCK_CLOEXEC): Likewise.
14426         (__ASSUME_IN_NONBLOCK): Likewise.
14427         (__ASSUME_PIPE2): Likewise.
14428         (__ASSUME_EVENTFD2): Likewise.
14429         (__ASSUME_SIGNALFD4): Likewise.
14430         (__ASSUME_DUP3): Likewise.
14431         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14432         (__ASSUME_O_CLOEXEC): Likewise.
14433         (__ASSUME_SOCK_CLOEXEC): Likewise.
14434         (__ASSUME_IN_NONBLOCK): Likewise.
14435         (__ASSUME_PIPE2): Likewise.
14436         (__ASSUME_EVENTFD2): Likewise.
14437         (__ASSUME_SIGNALFD4): Likewise.
14438         (__ASSUME_DUP3): Likewise.
14439         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14440         (__ASSUME_EVENTFD2): Likewise.
14441         (__ASSUME_SIGNALFD4): Likewise.
14442         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14444 2014-05-12  Andreas Schwab  <schwab@suse.de>
14446         [BZ #16932]
14447         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14448         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14449         than maximum RPC packet size.
14450         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14451         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14452         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14453         (_nss_nis_getservbyport_r): Likewise.
14455 2014-05-12  Will Newton  <will.newton@linaro.org>
14457         * malloc/Makefile (tests): Add tst-mallopt.
14458         * malloc/tst-mallopt.c: New file.
14460 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14462         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14463         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14465 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14467         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14468         (tst-tlsmod6.so): Likewise.
14470 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14472         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14474 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14476         [BZ #16064]
14477         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14478         and <dl-procinfo.h>.
14479         (__fegetenv): Save SSE state in envp->__eip if supported.
14480         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14481         envp->__eip if supported.
14482         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14483         and <dl-procinfo.h>.
14484         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14485         __data_offset and __data_selector in environment to 0.  Set SSE
14486         state if supported.
14487         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14488         test-fenv-sse.
14489         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14490         -mfpmath=sse.
14491         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14493 2014-05-09  Will Newton  <will.newton@linaro.org>
14495         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14496         and libc_relro_required for ARM.
14497         * sysdeps/arm/preconfigure: Regenerate.
14499 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14500             Stefan Liebler  <stli@linux.vnet.ibm.com>
14502         * config.make.in (enable-lock-elision): New Makefile variable.
14503         * configure.ac: Likewise.
14504         * configure: Regenerate.
14505         * sysdeps/s390/configure.ac:
14506         Add check for gcc transactions support.
14507         * sysdeps/s390/configure: Regenerate.
14508         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14509         Build elision files if enabled.
14510         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14511         Add lock elision support for s390.
14512         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14513         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14514         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14515         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14516         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14517         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14518         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14519         Likewise.
14520         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14521         Likewise.
14522         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14523         Likewise.
14524         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14525         Likewise.
14526         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14527         (__lll_timedlock_elision, __lll_lock_elision)
14528         (__lll_unlock_elision, __lll_trylock_elision)
14529         (lll_timedlock_elision, lll_lock_elision)
14530         (lll_unlock_elision, lll_trylock_elision): Add.
14531         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14532         (pthread_mutex_t): Add lock elision support for s390.
14534 2014-05-14  Wilco  <wdijkstr@arm.com>
14536         * sysdeps/arm/fclrexcpt.c: Cleanup.
14537         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14538         * sysdeps/arm/feenablxcpt.c: Cleanup.
14539         * sysdeps/arm/fegetenv.c: Cleanup.
14540         * sysdeps/arm/fegetexcept.c: Cleanup.
14541         * sysdeps/arm/fegetround.c: Cleanup.
14542         * sysdeps/arm/feholdexcpt.c: Cleanup.
14543         * sysdeps/arm/fesetenv.c: Cleanup.
14544         * sysdeps/arm/fesetround.c: Cleanup.
14545         * sysdeps/arm/feupdateenv.c: Cleanup.
14546         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14547         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14548         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14549         * sysdeps/arm/ftestexcept.c: Cleanup.
14550         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14551         * sysdeps/arm/setfpucw.c: Cleanup.
14553 2014-05-09  Will Newton  <will.newton@linaro.org>
14555         * sysdeps/arm/armv7/strcmp.S: New file.
14556         * NEWS: Mention addition of ARMv7 optimized strcmp.
14558 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14560         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14561         look for %.ac rather than %.in.
14563         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14564         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14565         * sysdeps/mach/hurd/configure: Regenerated.
14566         * sysdeps/unix/sysv/linux/configure: Regenerated.
14568         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14570 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14572         [BZ# 16922]
14573         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14574         (LONG_SUB): Ditto.
14575         (PTR_SUB): Ditto.
14577 2014-05-07  Andreas Schwab  <schwab@suse.de>
14579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14580         when skipping over non-matching result from nscd.
14582 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14584         [BZ #16876]
14585         * nptl/sockperf.c (client): Check socket return value.
14587         [BZ #16877]
14588         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14589         nscd security class.
14591 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14593         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14594         * sysdeps/arm/unwind.h: ... here.
14596 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14598         [BZ# 16916]
14599         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14600         Define.
14602 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14604         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14605         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14606         multiarch strncpy for PPC64.
14607         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14608         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14610         multiarch optimizations.
14611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14612         (__libc_ifunc_impl_list): Likewise.
14613         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14614         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14615         multiarch stpncpy for PPC64.
14616         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14617         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14619 2014-05-06  Andreas Schwab  <schwab@suse.de>
14621         [BZ #16912]
14622         * gmon/mcount.c (_MCOUNT_DECL): Use
14623         atomic_compare_and_exchange_bool_acq instead of
14624         catomic_compare_and_exchange_bool_acq.
14626 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14628         * elf/Makefile (others, install-bin): Remove pldd.
14629         (pldd-modules): Variable removed.
14630         ($(objpfx)pldd): Target removed.
14631         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14632         (others, install-bin): Append pldd here.
14633         ($(objpfx)pldd): New target.
14635         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14636         to 0, so the first #if test emitted later doesn't see it undefined.
14637         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14638         * sysdeps/gnu/errlist.c: Regenerated.
14640 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14642         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14643         [libc_hidden_builtin_def]: Define to empty value.
14644         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14645         [libc_hidden_builtin_def]: Likewise.
14646         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14647         [libc_hidden_builtin_def]: Likewise.
14648         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14649         [libc_hidden_builtin_def]: Likewise.
14650         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14651         __redirect_memcpy and define ifunc as default hidden symbol.
14652         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14653         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14655 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14657         * locale/iso-4217.def: Reintroduce XDR currency.
14659 2014-05-04  Allan McRae  <allan@archlinux.org>
14661         * po/eo.po: Update Esperanto translation from translation project.
14663 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14665         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14666         and FEATURE_INDEX_MAX to 1.
14667         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14669 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14671         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14672         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14673         * iconvdata/big5.c (ONE_DIRECTION): Define.
14674         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14675         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14676         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14677         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14678         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14679         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14680         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14681         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14682         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14683         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14684         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14685         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14686         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14687         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14688         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14689         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14690         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14691         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14692         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14693         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14694         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14695         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14696         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14697         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14698         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14699         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14700         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14701         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14702         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14703         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14704         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14705         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14706         * iconvdata/johab.c (ONE_DIRECTION): Define.
14707         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14708         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14709         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14710         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14711         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14712         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14713         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14714         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14715         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14716         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14718 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14720         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14721         (_IO_JUMPS_OFFSET): Define to 0.
14723         * nptl/sysdeps/pthread/bits/libc-lock.h
14724         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14725         (__libc_lock_define_initialized_recursive): Always define using
14726         initializer.  Modern compilers treat uninitialized (implicit zero) and
14727         explicit zero initializers the same (i.e. put the datum in bss).
14729 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14731         * nscd/nscd-client.h: Include <string.h>.
14733 2014-05-01  David S. Miller  <davem@davemloft.net>
14735         [BZ #16885]
14736         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14737         multiple zero bytes exist at the end of a string.
14738         Reported by Aurelien Jarno <aurelien@aurel32.net>
14740         * string/test-strcmp.c (check): Add explicit test for situations where
14741         there are multiple zero bytes after the first.
14743 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14745         [BZ #16890]
14746         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14747         when compiling wprintf.
14748         * stdio-common/tstdiomisc.c (t3): New function.
14749         (main): Call it.
14751 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14753         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14754         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14755         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14756         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14758 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14760         * stdlib/longlong.h: Updated from GCC.
14762 2014-05-01  Will Newton  <will.newton@linaro.org>
14763             Bernard Ogden  <bernie.ogden@linaro.org>
14765         * NEWS: Update fixed bug list.
14767         [BZ #15119]
14768         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14770 2014-04-30  David S. Miller  <davem@davemloft.net>
14772         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14773         (libc_feholdexcept_setround_sparc_ctx): New function.
14774         (libc_fesetenv_sparc_ctx): Likewise.
14775         (libc_feupdateenv_sparc_ctx): Likewise.
14776         (libc_feholdsetround_sparc_ctx): Likewise.
14777         (libc_feholdexcept_setround_ctx): Define.
14778         (libc_feholdexcept_setroundf_ctx): Likewise.
14779         (libc_feholdexcept_setroundl_ctx): Likewise.
14780         (libc_fesetenv_ctx): Likewise.
14781         (libc_fesetenvf_ctx): Likewise.
14782         (libc_fesetenvl_ctx): Likewise.
14783         (libc_feupdateenv_ctx): Likewise.
14784         (libc_feupdateenvf_ctx): Likewise.
14785         (libc_feupdateenvl_ctx): Likewise.
14786         (libc_feresetround_ctx): Likewise.
14787         (libc_feresetroundf_ctx): Likewise.
14788         (libc_feresetroundl_ctx): Likewise.
14789         (libc_feholdsetround_ctx): Likewise.
14790         (libc_feholdsetroundf_ctx): Likewise.
14791         (libc_feholdsetroundl_ctx): Likewise.
14793         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14794         with __USE_GNU instead of XOPEN cpp guards.
14796         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14797         0.
14799         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14800         with XOPEN cpp guards.
14802 2014-04-30  Julian Brown  <julian@codesourcery.com>
14804         [BZ #16888]
14805         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14806         handling.
14808 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14810         [BZ #9894]
14811         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14812         Change to 2.6.32.
14813         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14814         * sysdeps/unix/sysv/linux/configure: Regenerated.
14815         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14816         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14817         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14818         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14819         * README: Update reference to required Linux kernel version.
14820         * manual/install.texi (Linux): Update reference to required Linux
14821         kernel headers version.
14822         * INSTALL: Regenerated.
14824         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14825         header inclusion.
14826         [POSIX] (limits.h): Likewise.
14827         [POSIX] (math.h): Likewise.
14828         [POSIX] (sys/wait.h): Likewise.
14829         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14830         function.
14831         [POSIX] (stddef.h): Do not allow header inclusion.
14833 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14835         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14837 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14839         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14840         Return immediately after lll_futex_wake.
14842 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14844         [BZ #16791]
14845         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14846         structure.
14847         (datahead_init_pos): Call datahead_init_common early.
14848         (datahead_init_neg): Likewise.
14850         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14851         datahead_init_neg): New functions.
14852         * nscd/aicache.c (addhstaiX): Use them.
14853         * nscd/grpcache.c (cache_addgr): Likewise.
14854         * nscd/hstcache.c (cache_addhst): Likewise.
14855         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14856         * nscd/netgroupcache.c (do_notfound): Likewise.
14857         (addgetnetgrentX): Likewise.
14858         (addinnetgrX): Likewise.
14859         * nscd/pwdcache.c (cache_addpw): Likewise.
14860         * nscd/servicescache.c (cache_addserv): Likewise.
14862 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14863             Atsushi Onoe  <atsushi@onoe.org>
14865         [BZ #14308]
14866         [BZ #12994]
14867         [BZ #13651]
14868         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14869         one response is valid.
14870         * resolv/res_send.c (send_dg): Check for validity of other
14871         response if the current response is a referral.
14873 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14875         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14877 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14879         [BZ #16823]
14880         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14881         Always divide by positive zero when computing -Inf result.
14882         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14883         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14885 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14887         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14888         FPSCR if value do not change.
14889         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14890         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14891         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14892         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14893         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14894         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14895         function.
14897 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14899         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14900         * sysdeps/unix/sysv/linux/hppa: Move directory from
14901         ports/systeps/unix/sysv/linux/hppa.
14902         * README: Update listing for hppa-*-linux-gnu.
14904 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14906         [BZ #16754]
14907         * manual/stdio.texi (Hook functions): Fix types of stream hook
14908         functions.
14909         [BZ #16854]
14910         * socket/sys/socket.h: Fix typo in comment.
14912 2014-04-28  Wilco  <wdijkstr@arm.com>
14914         * sysdeps/arm/fenv_private.h: New file.
14915         * sysdeps/arm/math_private.h: New file.
14916         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14918 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14920         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14921         with __int128_t.
14922         (La_x86_64_retval): Likewise.
14924 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14926         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14927         fpsr if value didn't change.
14928         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14929         to fpcr if value didn't change.
14930         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14931         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14932         fpsr or fpcr if value didn't change.
14933         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14934         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14935         fpcr if value didn't change.
14936         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14937         to fpsr if value didn't change.
14939 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14941         * nptl/tst-sem3.c: Use test-skeleton.c
14942         (main): Rename to do_test.  Use return instead of
14943         exit.
14944         * nptl/tst-sem4.c: Use test-skeleton.c
14945         (main): Rename to do_test.
14947 2014-04-22  David S. Miller  <davem@davemloft.net>
14949         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14950         (struct sigaction): New struct member __glibc_reserved0, change
14951         type of sa_flags to int.
14953 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14955         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14956         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14958 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14960         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14961         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14963 2014-04-22  Will Newton  <will.newton@linaro.org>
14964             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14966         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14967         (__longjmp): Add longjmp and longjmp_target SystemTap
14968         probes.
14969         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14970         (__sigsetjmp): Add setjmp SystemTap probe.
14972 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14974         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14975         match manual order.
14977 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14979         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14981         * sysdeps/powerpc/fpu/fenv_private.h
14982         (libc_feholdexcept_setroundl_ctx): Define to
14983         libc_feholdexcept_setround_ppc_ctx.
14984         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14985         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14986         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14987         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14989 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14991         * sysdeps/aarch64/math-tests.h: New file.
14993 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14995         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14996         New.
14997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14998         Check and set bit_AVX2_Usable.
14999         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15000         macro.
15001         (bit_AVX2): Likewise.
15002         (index_AVX2_Usable): Likewise.
15003         (CPUID_AVX2): Likewise.
15004         (HAS_AVX2): Likewise.
15006 2014-04-17  Will Newton  <will.newton@linaro.org>
15008         * manual/setjmp.texi (System V contexts): Add note that
15009         calling setcontext on a context created by a call to a
15010         signal handler is undefined.  Update text to note that
15011         setcontext from a signal handler is possible but not
15012         recommended.
15014         [BZ #16629]
15015         * stdlib/tst-setcontext.c: Include signal.h.
15016         (main): Check that the signal stack before and
15017         after swapcontext is the same.
15019         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15020         Re-implement to restore registers in user code and avoid
15021         rt_sigreturn system call.
15023 2014-04-17  Wilco  <wdijkstr@arm.com>
15025         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15026         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15027         * math/test-fenv.c: Skip exception trap tests on targets which only
15028         support non-stop mode.
15030 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15031             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15033         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15034         (libc_feholdsetround_aarch64_ctx)
15035         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15036         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15037         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15038         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15039         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15040         (libc_feresetround_noexl_ctx): Define.
15042 2014-04-16  Richard Henderson  <rth@redhat.com>
15044         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15046         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15047         unwind tables.
15049         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15050         const from the non-libc, non-ldso copy.
15052         * sysdeps/alpha/libm-test-ulps: Regenerate.
15054 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15055             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15057         * sysdeps/aarch64/fpu/math_private.h: New file.
15059 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15061         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15063 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15065         [BZ #16275]
15066         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15067         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15069         Intel MPX bound registers before _dl_profile_fixup.
15070         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15071         registers after _dl_profile_fixup.  Save and restore bound
15072         registers bnd0/bnd1 when calling _dl_call_pltexit.
15073         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15074         (LR_BND_OFFSET): Likewise.
15075         (LRV_BND0_OFFSET): Likewise.
15076         (LRV_BND1_OFFSET): Likewise.
15078 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15080         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15081         to...
15082         * sysdeps/mach/hurd/i386/tls.h: ... here.
15083         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15084         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15085         fields.
15087 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15089         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15091 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15093         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15095 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15097         [BZ #14770]
15098         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15099         * sysdeps/s390/configure: Regenerate.
15101         [BZ #16824]
15102         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15103         Set round-to-nearest internally to reduce error accumulation.
15105 2014-04-16  Alan Modra  <amodra@gmail.com>
15107         [BZ #16740]
15108         [BZ #16619]
15109         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15110         * math/libm-test.inc (frexp_test_data): Add tests.
15111         * NEWS: Update fixed bug list.
15113 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15115         * benchtests/Makefile: Depend on libraries in build directory.
15116         (bench-math): Separate out math tests.
15117         (bench-pthread): Separate out pthread tests.
15118         (bench): Include math and pthread tests.
15120 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15122         [BZ #16831]
15123         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15124         _dl_debug_initialize.
15126         * configure.ac: Remove SELinux header check.
15127         * configure: Regenerate.
15128         * nscd/selinux.c (perms): Array of const char* to permission names.
15129         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15130         default policy. Call string_to_security_class and string_to_av_perm to
15131         translate strings. Enforce default policy and call avs_has_perm with
15132         results of translated strings.
15134 2014-04-13  David S. Miller  <davem@davemloft.net>
15136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15138 2014-04-12  Allan McRae  <allan@archlinux.org>
15140         [BZ #16838]
15141         * manual/string.texi (Collation Functions): Fix qsort argument
15142         order in example.
15143         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15145 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15147         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15148         Make the test a no-op if there are no exceptions defined.
15150 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15152         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15153         enable-hardcoded-path-in-tests
15155 2014-04-11  Will Newton  <will.newton@linaro.org>
15157         * benchtests/Makefile (extra-objs): Add json-lib.o.
15158         (bench-func): Tidy up JSON output.
15159         * benchtests/bench-skeleton.c: Include json-lib.h.
15160         (main): Use JSON library functions to do output of
15161         benchmark results.
15162         * benchtests/bench-timing-type.c (main): Output the
15163         timing type simply, leaving formatting to the user.
15164         * benchtests/json-lib.c: New file.
15165         * benchtests/json-lib.h: Likewise.
15167 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15169         [BZ #15215]
15170         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15171         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15172         memory barriers.  Add comments.
15173         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15174         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15175         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15176         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15177         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15178         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15180 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15182         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15183         * sysdeps/s390/s390-64/configure.ac: ... this ...
15184         * sysdeps/s390/configure.ac: ... to here.
15185         * sysdeps/s390/s390-32/configure: Delete file.
15186         * sysdeps/s390/s390-64/configure: Delete file.
15187         * sysdeps/s390/configure: Regenerate.
15189 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15191         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15193 2014-04-11  Will Newton  <will.newton@linaro.org>
15195         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15196         to zero if it is not defined elsewhere.  (mtrim): Test
15197         the value of MALLOC_DEBUG with #if rather than #ifdef.
15199 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15201         * benchtests/pthread_once-inputs: New file.
15202         * benchtests/pthread_once-source.c: New file.
15203         * benchtests/README: Update documentation.
15205 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15206             H.J. Lu  <hongjiu.lu@intel.com>
15208         [BZ #16275]
15209         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15210         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15211         * sysdeps/x86_64/configure: Regenerated.
15212         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15213         macro.
15214         (REGISTER_SAVE_RAX): Likewise.
15215         (REGISTER_SAVE_RCX): Likewise.
15216         (REGISTER_SAVE_RDX): Likewise.
15217         (REGISTER_SAVE_RSI): Likewise.
15218         (REGISTER_SAVE_RDI): Likewise.
15219         (REGISTER_SAVE_R8): Likewise.
15220         (REGISTER_SAVE_R9): Likewise.
15221         (REGISTER_SAVE_BND0): Likewise.
15222         (REGISTER_SAVE_BND1): Likewise.
15223         (REGISTER_SAVE_BND2): Likewise.
15224         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15225         bound registers when calling _dl_fixup.
15227 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15229         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15230         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15231         of its definition.
15232         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15233         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15234         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15235         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15236         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15237         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15238         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15240 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15242         [BZ #15514]
15243         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15244         pathconf(_PC_NAME_MAX).
15246 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15248         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15249         Remove macro usage.
15250         (__PTHREAD_SPINS): Move definition to ...
15251         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15252         (__PTHREAD_SPINS): ... here.
15253         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15254         (__PTHREAD_SPIN): Likewise.
15255         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15256         (__PTHREAD_SPIN): Likewise.
15257         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15258         (__PTHREAD_SPIN): Likewise.
15259         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15260         (__PTHREAD_SPIN): Likewise.
15261         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15262         (__PTHREAD_SPIN): Likewise.
15263         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15264         (__PTHREAD_SPIN): Likewise.
15265         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15266         (__PTHREAD_SPIN): Likewise.
15267         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15268         (__PTHREAD_SPIN): Likewise.
15269         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15270         (__PTHREAD_SPIN): Likewise.
15271         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15272         (__PTHREAD_SPIN): Likewise.
15273         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15274         (__PTHREAD_SPIN): Likewise.
15275         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15276         (__PTHREAD_SPIN): Likewise.
15278         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15279         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15280         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15281         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15282         imply folder.
15283         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15284         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15285         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15286         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15287         correct imply path.
15288         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15289         strlen symbol for non multi-arch builds.
15290         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15291         missing hidden_def and weak_alias.
15293 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15295         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15297 2014-04-07  Will Newton  <will.newton@linaro.org>
15299         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15300         and contents.  [!_LIBC] Remove #ifndef and contents.
15301         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15302         * string/memccpy.c (__memccpy): Use ANSI prototype.
15303         * string/memfrob.c (memfrob): Likewise.
15304         * string/strcoll.c (STRCOLL): Likewise.
15305         * string/strlen.c (strlen): Likewise.
15306         * string/strtok.c (STRTOK): Likewise.
15307         * string/strcat.c: Remove unused #include of memcopy.h.
15308         (strcat): Use ANSI prototype.
15309         * string/strchr.c: Remove unused #include of memcopy.h.
15310         (strchr): Use ANSI prototype.
15311         * string/strcmp.c: Remove unused #include of memcopy.h.
15312         (strcmp): Use ANSI prototype.
15313         * string/strcpy.c: Remove unused #include of memcopy.h.
15314         (strcpy): Use ANSI prototype.
15316 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15318         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15319         * config.make.in (config-extra-cppflags): Set it from
15320         libc_extra_cppflags.
15321         * configure.ac (libc_extra_cflags): Make it accumulate over
15322         configure fragments.
15323         (libc_extra_cppflags): New flag.
15324         * configure. Regenerate.
15325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15326         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15327         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15330         [BZ #16815]
15331         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15332         result for FE_DOWNWARD rounding mode.
15333         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15334         Likewise.
15335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15337 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15339         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15340         in function argument name.
15342 2014-04-03  David Svoboda  <svoboda@cert.org>
15344         [BZ #5666]
15345         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15346         explicitly.
15348 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15350         * elf/dl-unmap-segments.h: New file.
15351         * sysdeps/generic/ldsodefs.h
15352         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15353         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15354         * elf/dl-fptr.c: Likewise.
15355         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15356         * sysdeps/aarch64/tlsdesc.c: Likewise.
15357         * sysdeps/arm/tlsdesc.c: Likewise.
15358         * sysdeps/i386/tlsdesc.c: Likewise.
15359         * sysdeps/tile/dl-runtime.c: Likewise.
15360         * sysdeps/x86_64/tlsdesc.c: Likewise.
15361         * elf/dl-load.h: New file.
15362         * elf/dl-load.c: Include it.
15363         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15364         Macros moved to dl-load.h.
15365         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15366         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15367         Use _dl_unmap_segments in place of __munmap.
15368         Break out segment-mapping loop into ...
15369         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15371 2014-04-03  Will Newton  <will.newton@linaro.org>
15373         * elf/dl-lookup.c (do_lookup_x): Remove comment
15374         referring to nested function and move variable
15375         declarations down to before first use.
15377 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15379         [BZ #16799]
15380         [BZ #16800]
15381         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15382         with 0 numerator.
15383         * math/s_catanf.c (__catanf): Likewise.
15384         * math/s_catanh.c (__catanh): Likewise.
15385         * math/s_catanhf.c (__catanhf): Likewise.
15386         * math/s_catanhl.c (__catanhl): Likewise.
15387         * math/s_catanl.c (__catanl): Likewise.
15388         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15389         by positive zero when computing -Inf result.
15390         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15391         (catanh_test): Likewise.
15392         * sysdeps/i386/fpu/libm-test-ulps: Update.
15393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15395         [BZ #16789]
15396         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15397         instead of using underflowing value in computing result.
15398         * math/s_clog10.c (__clog10): Likewise.
15399         * math/s_clog10f.c (__clog10f): Likewise.
15400         * math/s_clog10l.c (__clog10l): Likewise.
15401         * math/s_clogf.c (__clogf): Likewise.
15402         * math/s_clogl.c (__clogl): Likewise.
15403         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15404         (clog10_test): Likewise.
15405         * sysdeps/i386/fpu/libm-test-ulps: Update.
15406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15408 2014-04-02  Alan Modra  <amodra@gmail.com>
15410         [BZ #16739]
15411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15412         output when value is near a power of two.  Use int64_t for lx and
15413         remove casts.  Use decimal rather than hex exponent constants.
15414         Don't use long double multiplication when double will suffice.
15415         * math/libm-test.inc (nextafter_test_data): Add tests.
15416         * NEWS: Add 16739 and 16786 to bug list.
15418         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15420         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15422 2014-04-01  Will Newton  <will.newton@linaro.org>
15424         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15425         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15427 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15429         [BZ #13347]
15430         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15431         * nptl/tst-setuid2.c: New file.
15432         * nptl/Makefile (xtests): Add tst-setuid2.
15434 2014-04-01  Alan Modra  <amodra@gmail.com>
15436         [BZ #16786]
15437         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15439 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15441         [BZ #6803]
15442         [BZ #6804]
15443         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15444         set errno as appropriate.
15445         * math/w_scalbf.c (__scalbf): Likewise.
15446         * math/w_scalbl.c (__scalbl): Likewise.
15447         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15448         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15449         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15450         Add more NaN tests.
15452         [BZ #16349]
15453         * math/w_atan2.c: Include <errno.h>.
15454         (__atan2): Set errno for result underflowing to zero.
15455         * math/w_atan2f.c: Include <errno.h>.
15456         (__atan2f): Set errno for result underflowing to zero.
15457         * math/w_atan2l.c: Include <errno.h>.
15458         (__atan2l): Set errno for result underflowing to zero.
15459         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15460         tests.
15461         * math/auto-libm-test-out: Regenerated.
15463 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15465         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15466         Encode instruction correctly in little endian.
15467         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15468         Likewise.
15469         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15470         Likewise.
15471         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15472         Likewise.
15473         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15474         Likewise.
15476 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15478         [BZ #9894]
15479         * sysdeps/unix/sysv/linux/kernel-features.h
15480         [__sparc__ && !__arch64__ && !__sparc_v9__]
15481         (__ASSUME_SET_ROBUST_LIST): Do not define.
15482         [__sparc__ && !__arch64__ && !__sparc_v9__]
15483         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15484         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15485         Likewise.
15486         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15487         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15488         (__ASSUME_REQUEUE_PI): Likewise.
15489         (__ASSUME_SET_ROBUST_LIST): Likewise.
15490         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15491         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15492         Undefine.
15493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15494         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15495         Likewise.
15496         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15497         Likewise.
15498         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15499         Likewise.
15500         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15501         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15502         Undefine.
15503         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15504         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15505         Likewise.
15507         [BZ #16648]
15508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15510         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15512 2014-03-31  Will Newton  <will.newton@linaro.org>
15514         * benchtests/Makefile (bench): Add ffs and ffsll to list
15515         of tests.
15516         * benchtests/ffs-inputs: New file.
15517         * benchtests/ffsll-inputs: Likewise.
15519 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15521         [BZ #16770]
15522         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15523         too large before casting to int.
15524         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15525         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15526         * math/libm-test.inc (scalb_test_data): Add more tests.
15528 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15530         * benchtests/Makefile (DETAILED_OPT): New make option.
15531         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15532         set.
15533         * benchtests/bench-skeleton.c: Include stdbool.h.
15534         (main): Store and print timings per input.
15535         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15536         member to each argument value.
15537         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15538         (_print_arg_data): Initialize per-input timing to 0.
15540         * benchtests/Makefile (timing-type): New binary.
15541         (bench-clean): Also remove bench-timing-type.
15542         (bench): New target for timing-type.
15543         (bench-func): Print output in JSON format.
15544         * benchtests/bench-skeleton.c (main): Print output in JSON
15545         format.
15546         * benchtests/bench-timing-type.c: New file.
15547         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15548         (TIMING_PRINT_STATS): Remove.
15549         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15550         name separately.
15552         * benchtests/bench-modf.c: Remove.
15553         * benchtests/modf-inputs: New inputs file.
15555 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15557         [BZ #16362]
15558         * math/s_clog10.c (M_PI_LOG10E): New macro.
15559         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15560         imaginary parts are 0.
15561         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15562         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15563         imaginary parts are 0.
15564         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15565         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15566         imaginary parts are 0.
15567         * math/libm-test.inc (clog10_test_data): Update expected results
15568         for when real and imaginary parts are 0.
15570 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15572         * elf/dl-load.c: Finish conversion of __builtin_expect into
15573         __glibc_{un}likely.
15575 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #16348]
15578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15579         1+x for argument with exponent below -67.
15580         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15581         Likewise.
15582         * math/auto-libm-test-in: Add more tests of exp.
15583         * math/auto-libm-test-out: Regenerated.
15585 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15587         [BZ #16759]
15588         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15589         (nscd_getnetgrent): Use it.
15591         [BZ #16760]
15592         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15593         of stpcpy.
15595 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15597         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15598         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15599         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15600         (lll_robust_unlock): Remove out of line section. Use cfi
15601         intrinsics.
15602         (LLL_STUB_UNWIND_INFO*): Remove.
15603         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15604         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15605         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15606         (lll_robust_unlock): Remove out of line section. Use cfi
15607         intrinsics.
15608         (LLL_STUB_UNWIND_INFO*): Remove.
15610 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612         [BZ #16758]
15613         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15614         blank values.
15616 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15618         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15620 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15622         [BZ #16198]
15623         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15624         fnstenv.
15625         * math/test-fenv-preserve.c: New file.
15626         * math/Makefile (tests): Add test-fenv-preserve.
15628 2014-03-26  Will Newton <will.newton@linaro.org>
15630         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15632 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15634         * scripts/versionlist.awk: Partition the version sets and emit all
15635         GLIBC_* (sorted) before all others (sorted).
15637 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15639         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15640         GLIBC_2.2.5 version.
15642 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15644         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15645         calls.
15647         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15648         previous change.
15650         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15652 2014-03-25  Andreas Schwab  <schwab@suse.de>
15654         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15655         label to be used after in6ailist is initialized.
15657 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15659         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15660         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15662 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15664         [BZ #16357]
15665         [BZ #16599]
15666         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15667         min_plus_half.
15668         (fp_formats): Update initializers.
15669         (init_fp_formats): Initialize new field.
15670         (output_for_one_input_case): Allow underflow for results up to
15671         min_plus_half.
15672         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15673         * math/auto-libm-test-in: Don't mark some underflows from asin and
15674         atanh as spurious.
15675         * math/auto-libm-test-out: Regenerated.
15676         * sysdeps/i386/fpu/libm-test-ulps: Update.
15677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15679 2014-03-25  Andreas Schwab  <schwab@suse.de>
15681         * libio/Makefile (tst-ftell-partial-wide-ENV)
15682         (tst-ftell-active-handler-ENV): Define.
15684 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15686         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15688 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15690         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15692 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15694         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15695         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15696         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15698 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15700         [BZ #16634]
15701         * elf/dl-load.c (open_verify): Add mode parameter.
15702         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15703         (open_path): Change from boolean 'secure' to complete flag 'mode'
15704         (_dl_map_object): Adjust.
15705         * elf/Makefile (tests): Add tst-dlopen-aout.
15706         * elf/tst-dlopen-aout.c: New test.
15708 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15710         [BZ #16714]
15711         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15712         (struct stat): Rename member pad0 to __glibc_reserved0.
15714         [BZ #16712]
15715         * sysdeps/s390/s390-32/bits/wordsize.h
15716         (__WORDSIZE32_SIZE_ULONG): New define.
15717         * sysdeps/s390/s390-64/bits/wordsize.h
15718         (__WORDSIZE32_SIZE_ULONG): Likewise.
15719         * sysdeps/generic/stdint.h (SIZE_MAX):
15720         Define as UL if __WORDSIZE32_SIZE_ULONG.
15722         [BZ #16713]
15723         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15724         (__glibc_reserved0): New variable.
15725         (sa_flags): Change type to int.
15727         * posix/Makefile (before-compile): Use += before-compile instead
15728         of a :=.
15730         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15731         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15733 2014-03-20  Andreas Schwab  <schwab@suse.de>
15735         [BZ #16743]
15736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15737         non-matching result from nscd.
15739 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15741         * scripts/bench.py: Moved to ...
15742         * benchtests/scripts/bench.py: ... here.
15743         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15745 2014-03-24  Andreas Schwab  <schwab@suse.de>
15747         [BZ #16002]
15748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15749         alloca_account and account alloca use for struct in6ailist.
15751 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15753         [BZ #16284]
15754         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15755         rounding mode to recompute results that overflow to infinity or
15756         underflow to zero.
15757         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15758         bug 16284.
15759         * math/auto-libm-test-out: Regenerated.
15760         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15761         (ccosh_test): Likewise.
15762         (csin_test_data): Use plus_oflow.
15763         (csin_test): Use ALL_RM_TEST.
15764         (csinh_test_data): Use plus_oflow.
15765         (csinh_test): Use ALL_RM_TEST.
15766         * sysdeps/i386/fpu/libm-test-ulps: Update.
15767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15769 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15771         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15772         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15773         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15775         [BZ #16731]
15776         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15777         when x - 1 is zero.
15778         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15779         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15780         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15781         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15782         argument is 1.
15783         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15784         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15785         zero.
15786         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15787         * sysdeps/i386/fpu/libm-test-ulps: Update.
15788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15790 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15792         * scripts/bench.pl: Remove file.
15793         * scripts/bench.py: New benchmark script.
15794         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15795         * benchtests/README: Mention python dependency.
15796         * scripts/pylintrc: New file.
15797         * scripts/pylint: New file.
15799         * bits/mathdef.h: Use #ifdef instead of #if.
15800         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15801         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15802         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15803         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15804         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15805         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15807 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15808             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15810         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15812         and strpbrk-ppc64 objects.
15813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15814         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15815         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15816         multiarch strpbrk for POWER7.
15817         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15818         multiarch strpbrk for PPC64.
15819         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15820         ifunc selector.
15821         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15822         strpbrk for POWER7.
15824 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15826         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15827         (atan_test): Likewise.
15828         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15829         (atanh_test): Use ALL_RM_TEST.
15830         (atan2_test_data): Likewise.
15831         (cabs_test): Likewise.
15832         (cacosh_test): Likewise.
15833         (carg_test): Likewise.
15834         (casin_test): Likewise.
15835         (casinh_test): Likewise.
15836         (cbrt_test): Likewise.
15837         (csqrt_test): Likewise.
15838         (erf_test): Likewise.
15839         (erfc_test): Likewise.
15840         (pow10_test): Likewise.
15841         (exp2_test): Likewise.
15842         (hypot_test): Likewise.
15843         (j0_test): Likewise.
15844         (j1_test): Likewise.
15845         (lgamma_test): Likewise.
15846         (gamma_test): Likewise.
15847         (sincos_test): Likewise.
15848         (tanh_test): Likewise.
15849         (y0_test): Likewise.
15850         (y1_test): Likewise.
15851         * sysdeps/i386/fpu/libm-test-ulps: Update.
15852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15854 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15856         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15858         and strcspn-ppc64 objects.
15859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15860         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15861         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15862         multiarch strcspn for POWER7.
15863         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15864         multiarch strcspn for PPC64.
15865         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15866         ifunc selector.
15867         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15868         strcspn for POWER7.
15870 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15872         * math/gen-libm-test.pl (generate_testfile): Expect only function
15873         name as argument to AUTO_TESTS_* and pass results for all rounding
15874         modes to parse_args.
15875         (parse_auto_input): Separate inputs of automatic tests from
15876         outputs before storing in %auto_tests.
15877         * math/libm-test.inc (acos_test_data): Update call to
15878         AUTO_TESTS_f_f.
15879         (acos_test): Use ALL_RM_TEST.
15880         (acos_tonearest_test_data): Remove.
15881         (acos_test_tonearest): Likewise.
15882         (acos_towardzero_test_data): Likewise.
15883         (acos_test_towardzero): Likewise.
15884         (acos_downward_test_data): Likewise.
15885         (acos_test_downward): Likewise.
15886         (acos_upward_test_data): Likewise.
15887         (acos_test_upward): Likewise.
15888         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15889         (asin_test_data): Likewise.
15890         (asin_test): Use ALL_RM_TEST.
15891         (asin_tonearest_test_data): Remove.
15892         (asin_test_tonearest): Likewise.
15893         (asin_towardzero_test_data): Likewise.
15894         (asin_test_towardzero): Likewise.
15895         (asin_downward_test_data): Likewise.
15896         (asin_test_downward): Likewise.
15897         (asin_upward_test_data): Likewise.
15898         (asin_test_upward): Likewise.
15899         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15900         (atan_test_data): Likewise.
15901         (atanh_test_data): Likewise.
15902         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15903         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15904         (carg_test_data): Likewise.
15905         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15906         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15907         (ccosh_test_data): Likewise.
15908         (cexp_test_data): Likewise.
15909         (clog_test_data): Likewise.
15910         (clog10_test_data): Likewise.
15911         (cos_test_data): Update call to AUTO_TESTS_f_f.
15912         (cos_test): Use ALL_RM_TEST.
15913         (cos_tonearest_test_data): Remove.
15914         (cos_test_tonearest): Likewise.
15915         (cos_towardzero_test_data): Likewise.
15916         (cos_test_towardzero): Likewise.
15917         (cos_downward_test_data): Likewise.
15918         (cos_test_downward): Likewise.
15919         (cos_upward_test_data): Likewise.
15920         (cos_test_upward): Likewise.
15921         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15922         (cosh_test): Use ALL_RM_TEST.
15923         (cosh_tonearest_test_data): Remove.
15924         (cosh_test_tonearest): Likewise.
15925         (cosh_towardzero_test_data): Likewise.
15926         (cosh_test_towardzero): Likewise.
15927         (cosh_downward_test_data): Likewise.
15928         (cosh_test_downward): Likewise.
15929         (cosh_upward_test_data): Likewise.
15930         (cosh_test_upward): Likewise.
15931         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15932         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15933         (ctan_test_data): Likewise.
15934         (ctan_test): Use ALL_RM_TEST.
15935         (ctan_tonearest_test_data): Remove.
15936         (ctan_test_tonearest): Likewise.
15937         (ctan_towardzero_test_data): Likewise.
15938         (ctan_test_towardzero): Likewise.
15939         (ctan_downward_test_data): Likewise.
15940         (ctan_test_downward): Likewise.
15941         (ctan_upward_test_data): Likewise.
15942         (ctan_test_upward): Likewise.
15943         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15944         (ctanh_test): Use ALL_RM_TEST.
15945         (ctanh_tonearest_test_data): Remove.
15946         (ctanh_test_tonearest): Likewise.
15947         (ctanh_towardzero_test_data): Likewise.
15948         (ctanh_test_towardzero): Likewise.
15949         (ctanh_downward_test_data): Likewise.
15950         (ctanh_test_downward): Likewise.
15951         (ctanh_upward_test_data): Likewise.
15952         (ctanh_test_upward): Likewise.
15953         (erf_test_data): Update call to AUTO_TESTS_f_f.
15954         (erfc_test_data): Likewise.
15955         (exp_test_data): Likewise.
15956         (exp_test): Use ALL_RM_TEST.
15957         (exp_tonearest_test_data): Remove.
15958         (exp_test_tonearest): Likewise.
15959         (exp_towardzero_test_data): Likewise.
15960         (exp_test_towardzero): Likewise.
15961         (exp_downward_test_data): Likewise.
15962         (exp_test_downward): Likewise.
15963         (exp_upward_test_data): Likewise.
15964         (exp_test_upward): Likewise.
15965         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15966         (exp10_test): Use ALL_RM_TEST.
15967         (exp10_tonearest_test_data): Remove.
15968         (exp10_test_tonearest): Likewise.
15969         (exp10_towardzero_test_data): Likewise.
15970         (exp10_test_towardzero): Likewise.
15971         (exp10_downward_test_data): Likewise.
15972         (exp10_test_downward): Likewise.
15973         (exp10_upward_test_data): Likewise.
15974         (exp10_test_upward): Likewise.
15975         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15976         (expm1_test_data): Likewise.
15977         (expm1_test): Use ALL_RM_TEST.
15978         (expm1_tonearest_test_data): Remove.
15979         (expm1_test_tonearest): Likewise.
15980         (expm1_towardzero_test_data): Likewise.
15981         (expm1_test_towardzero): Likewise.
15982         (expm1_downward_test_data): Likewise.
15983         (expm1_test_downward): Likewise.
15984         (expm1_upward_test_data): Likewise.
15985         (expm1_test_upward): Likewise.
15986         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15987         (fma_test): Use ALL_RM_TEST.
15988         (fma_towardzero_test_data): Remove.
15989         (fma_test_towardzero): Likewise.
15990         (fma_downward_test_data): Likewise.
15991         (fma_test_downward): Likewise.
15992         (fma_upward_test_data): Likewise.
15993         (fma_test_upward): Likewise.
15994         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15995         (j0_test_data): Update call to AUTO_TESTS_f_f.
15996         (j1_test_data): Likewise.
15997         (jn_test_data): Update call to AUTO_TESTS_if_f.
15998         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15999         (log_test_data): Update call to AUTO_TESTS_f_f.
16000         (log10_test_data): Likewise.
16001         (log1p_test_data): Likewise.
16002         (log2_test_data): Likewise.
16003         (pow_test_data): Update call to AUTO_TESTS_ff_f.
16004         (pow_tonearest_test_data): Likewise.
16005         (sin_test_data): Update call to AUTO_TESTS_f_f.
16006         (sin_test): Use ALL_RM_TEST.
16007         (sin_tonearest_test_data): Remove.
16008         (sin_test_tonearest): Likewise.
16009         (sin_towardzero_test_data): Likewise.
16010         (sin_test_towardzero): Likewise.
16011         (sin_downward_test_data): Likewise.
16012         (sin_test_downward): Likewise.
16013         (sin_upward_test_data): Likewise.
16014         (sin_test_upward): Likewise.
16015         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16016         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16017         (sinh_test): Use ALL_RM_TEST.
16018         (sinh_tonearest_test_data): Remove.
16019         (sinh_test_tonearest): Likewise.
16020         (sinh_towardzero_test_data): Likewise.
16021         (sinh_test_towardzero): Likewise.
16022         (sinh_downward_test_data): Likewise.
16023         (sinh_test_downward): Likewise.
16024         (sinh_upward_test_data): Likewise.
16025         (sinh_test_upward): Likewise.
16026         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16027         (sqrt_test): Use ALL_RM_TEST.
16028         (sqrt_tonearest_test_data): Remove.
16029         (sqrt_test_tonearest): Likewise.
16030         (sqrt_towardzero_test_data): Likewise.
16031         (sqrt_test_towardzero): Likewise.
16032         (sqrt_downward_test_data): Likewise.
16033         (sqrt_test_downward): Likewise.
16034         (sqrt_upward_test_data): Likewise.
16035         (sqrt_test_upward): Likewise.
16036         (tan_test_data): Update call to AUTO_TESTS_f_f.
16037         (tan_test): Use ALL_RM_TEST.
16038         (tan_tonearest_test_data): Remove.
16039         (tan_test_tonearest): Likewise.
16040         (tan_towardzero_test_data): Likewise.
16041         (tan_test_towardzero): Likewise.
16042         (tan_downward_test_data): Likewise.
16043         (tan_test_downward): Likewise.
16044         (tan_upward_test_data): Likewise.
16045         (tan_test_upward): Likewise.
16046         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16047         (tgamma_test_data): Likewise.
16048         (y0_test_data): Likewise.
16049         (y1_test_data): Likewise.
16050         (yn_test_data): Update call to AUTO_TESTS_if_f.
16051         (main): Do not call removed functions.
16053 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16055         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16056         (ldexp_test_data): Remove.
16057         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16058         scalbn_test_data.
16059         (scalb_test): Use ALL_RM_TEST.
16061 2014-03-19  Andreas Schwab  <schwab@suse.de>
16063         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16065 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16067         [BZ #16649]
16068         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16069         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16070         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16071         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16072         (__ASSUME_PREADV): Undefine.
16073         (__ASSUME_PWRITEV): Likewise.
16075 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16077         * bits/mman-linux.h: Add comment about non-Linux use.
16078         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16079         bits/mman-linux.h resting place.
16081         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16082         * bits/mman-linux.h: ... here.
16084 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16086         * conform/conformtest.pl: Add standard definition when calling C
16087         preprocessor on data files.
16088         (checknamespace): Remove unused variable.
16090 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16092         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16093         minus_oflow, plus_uflow and minus_uflow in expected results.
16094         * math/libm-test.inc (scalbn_test_data): Add more tests of
16095         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16096         minus_uflow.
16097         (scalbn_test): Use ALL_RM_TEST.
16098         (scalbln_test_data): Add more tests of negative arguments.  Use
16099         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16100         (scalbln_test): Use ALL_RM_TEST.
16102 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16104         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16106 2014-03-18  Will Newton  <will.newton@linaro.org>
16108         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16109         inaccurate comment.
16111 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16113         * Makerules [!subdir] (check-abi): Exit with error status if a
16114         test failed.
16116 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16118         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16119         for rint.  Include results for all rounding modes.
16120         (nearbyint_test): Use ALL_RM_TEST.
16121         (rint_test_data): Include all tests used for nearbyint.
16123 2014-03-17  Will Newton  <will.newton@linaro.org>
16125         * nptl/sysdeps/pthread/pthread.h: Revert previous
16126         change.
16128         * sysdeps/generic/ldsodefs.h: Revert previous
16129         change.
16131         * libio/genops.c: Revert previous change.
16132         * libio/libioP.h: Likewise.
16133         * stdio-common/vfprintf.c: Likewise.
16135         * sysdeps/generic/math_private.h: Revert previous
16136         change.
16138         * sysdeps/generic/math_private.h: Check whether
16139         HAVE_RM_CTX is defined with #ifdef rather
16140         than #if.
16142         * argp/argp-fmtstream.h: Check whether
16143         __STRICT_ANSI__ is defined with #ifdef rather
16144         than #if.
16145         * argp/argp.h: Likewise.
16147         * libio/genops.c: Check whether
16148         _IO_JUMPS_OFFSET is defined with #ifdef rather
16149         than #if.
16150         * libio/libioP.h: Likewise.
16151         * stdio-common/vfprintf.c: Likewise.
16153         * sysdeps/generic/ldsodefs.h: Check whether
16154         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16155         than #if.
16157         * nptl/sysdeps/pthread/pthread.h: Check
16158         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16159         its value.
16161 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16163         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16164         setting O_APPEND.
16165         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16166         test case.
16168         [BZ #16680]
16169         * libio/fileops.c (_IO_file_open): Seek to end of file but
16170         don't cache the offset.
16171         (get_file_offset): Remove function.
16172         (do_ftell): Use cached offset when available.
16173         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16174         don't cache the offset.
16175         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16176         case.
16177         (do_one_test): Call it.
16178         (do_ftell_test): Fix up expected old offset for a+ mode.
16179         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16180         available.
16182         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16183         up test status with function return status.
16184         (do_write_test): Likewise.
16185         (do_append_test): Likewise.
16187         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16188         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16189         Remove.
16191 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16193         * math/gen-libm-test.pl (parse_args): Handle results specified for
16194         each rounding mode separately.
16195         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16196         tests and results from lrint_tonearest_test_data,
16197         lrint_towardzero_test_data, lrint_downward_test_data and
16198         lrint_upward_test_data.
16199         (lrint_test): Use ALL_RM_TEST.
16200         (lrint_tonearest_test_data): Remove.
16201         (lrint_test_tonearest): Likewise.
16202         (lrint_towardzero_test_data): Likewise.
16203         (lrint_test_towardzero): Likewise.
16204         (lrint_downward_test_data): Likewise.
16205         (lrint_test_downward): Likewise.
16206         (lrint_upward_test_data): Likewise.
16207         (lrint_test_upward): Likewise.
16208         (llrint_test_data): Merge in per-rounding-mode tests and results
16209         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16210         llrint_downward_test_data and llrint_upward_test_data.
16211         (llrint_test): Use ALL_RM_TEST.
16212         (llrint_tonearest_test_data): Remove.
16213         (llrint_test_tonearest): Likewise.
16214         (llrint_towardzero_test_data): Likewise.
16215         (llrint_test_towardzero): Likewise.
16216         (llrint_downward_test_data): Likewise.
16217         (llrint_test_downward): Likewise.
16218         (llrint_upward_test_data): Likewise.
16219         (llrint_test_upward): Likewise.
16220         (rint_test_data): Merge in per-rounding-mode tests and results
16221         from rint_tonearest_test_data, rint_towardzero_test_data,
16222         rint_downward_test_data and rint_upward_test_data.  Add
16223         per-rounding-mode results for tests not in those arrays.
16224         (rint_test): Use ALL_RM_TEST.
16225         (rint_tonearest_test_data): Remove.
16226         (rint_test_tonearest): Likewise.
16227         (rint_towardzero_test_data): Likewise.
16228         (rint_test_towardzero): Likewise.
16229         (rint_downward_test_data): Likewise.
16230         (rint_test_downward): Likewise.
16231         (rint_upward_test_data): Likewise.
16232         (rint_test_upward): Likewise.
16233         (main): Don't call removed functions.
16235 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16237         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16238         "Compiled on ..." crapola.  It is anti-useful.
16240 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16242         * scripts/evaluate-test.sh: Handle fourth argument to determine
16243         whether test run should stop on failure.
16244         * Makeconfig (stop-on-test-failure): New variable.
16245         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16246         $(stop-on-test-failure).
16247         * Makefile (tests): Give a summary of results from testing and
16248         exit with failure status if they include an ERROR or FAIL.
16249         (xtests): Likewise.
16250         * manual/install.texi (Configuring and compiling): Mention
16251         stop-on-test-failure=y.
16252         * INSTALL: Regenerated.
16254 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16256         * scripts/versionlist.awk: New file.
16257         * Makerules [$(build-shared) = yes]
16258         (postclean-generated): Add Versions.def, not Versions.def.v and
16259         Versions.def.v.i.
16260         ($(common-objpfx)Versions.def.v.i): Target removed.
16261         ($(common-objpfx)Versions.def): New target.
16262         ($(common-objpfx)Versions.all): Depend on that rather that
16263         $(common-objpfx)Versions.def.v.
16264         * Versions.def: File removed.
16266         * Makeconfig (+gccwarn): Add -Wundef.
16267         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16268         a dl-sysdep.h breaking its contract.
16269         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16270         * include/stackinfo.h: New file.
16271         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16272         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16273         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16274         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16275         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16276         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16277         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16278         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16279         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16280         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16281         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16282         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16283         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16284         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16285         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16287 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16289         [BZ #16707]
16290         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16291         implementation.
16292         * math/libm-test.inc (round_test_data): Add more tests.
16294         [BZ #16706]
16295         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16296         implementation.
16297         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16299         [BZ #16701]
16300         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16301         implementation.
16302         * math/libm-test.inc (ceil_test_data): Add more tests.
16304         * math/libm-test.inc (trunc_test_data): Add more tests related to
16305         BZ#16414.
16307 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16309         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16310         with #if rather than #ifdef.
16311         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16313 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16315         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16316         first.  Disable AVX-512 GCC support if assembler doesn't support
16317         it.
16318         * sysdeps/x86_64/configure: Regenerated.
16320 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16322         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16323         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16324         (__old_pthread_attr_setstack): Likewise.
16325         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16326         [!_STACK_GROWS_DOWN]: Likewise.
16328 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16330         * config.make.in (have-bash2): Delete.
16331         * configure.ac (libc_cv_have_bash2): Delete.
16332         * configure: Regenerate.
16333         * elf/Makefile (common-ldd-rewrite): Rename to ...
16334         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16335         (sh-ldd-rewrite): Delete.
16336         (bash-ldd-rewrite): Delete.
16337         (have-bash2): Delete checks.
16338         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16339         ldd-rewrite.
16341         * config.make.in (have-ksh): Delete.
16342         (KSH): Delete.
16343         * configure.ac (libc_cv_have_ksh): Delete.
16344         * configure: Regenerate.
16346         * elf/Makefile: Delete $(have-ksh) check.
16347         ($(objpfx)sotruss): Change KSH to BASH.
16348         * elf/sotruss.ksh: Rename to ...
16349         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16350         function style to match POSIX.  Drop ksh vim mode setting.
16352         * manual/time.texi (Specifying the Time Zone with TZ): Change
16353         Tuesday to Thursday.
16355         * debug/tst-longjmp_chk2.c: Update header comment.
16356         (stackoverflow_handler): Add comment.  Call assert on pass value.
16358 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16360         [BZ #16194]
16361         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16362         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16363         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16364         (La_x86_64_vector): Add zmm.
16365         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16366         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16367         ($(objpfx)tst-audit10): New target.
16368         ($(objpfx)tst-audit10.out): Likewise.
16369         (tst-audit10-ENV): New.
16370         (AVX512-CFLAGS): Likewise.
16371         (CFLAGS-tst-audit10.c): Likewise.
16372         (CFLAGS-tst-auditmod10a.c): Likewise.
16373         (CFLAGS-tst-auditmod10b.c): Likewise.
16374         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16375         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16376         * sysdeps/x86_64/configure: Regenerated.
16377         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16378         AVX-512 zmm register support.
16379         (_dl_x86_64_save_sse): Likewise.
16380         (_dl_x86_64_restore_sse): Likewise.
16381         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16382         size vector registers.
16383         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16384         (ZMM_SIZE): Likewise.
16385         * sysdeps/x86_64/tst-audit10.c: New file.
16386         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16387         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16389 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16391         * configure.ac (HAVE_EHDR_START): New check.
16392         * configure: Regenerated.
16393         * config.h.in (HAVE_EHDR_START): New #undef.
16394         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16395         assuming the lowest-addressed segment maps the start of the file.
16397 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16399         * INSTALL: Regenerated.
16401 2014-03-13  Will Newton  <will.newton@linaro.org>
16403         * manual/setjmp.texi (System V contexts): Improve
16404         clarity and grammar of documentation.
16406 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16408         [BZ #16381]
16409         * elf/Makefile (tests): Add tst-pie2.
16410         (tests-pie): Add tst-pie2.
16411         * elf/tst-pie2.c: New file.
16412         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16413         for ET_EXEC.
16414         * elf/rtld.c (map_doit): Load executable as lt_executable.
16415         (dl_main): Likewise.
16417 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16419         [BZ #16642]
16420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16421         (__ASSUME_PSELECT): Undefine.
16423 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16425         [BZ #16689]
16426         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16427         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16428         static build.
16429         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16430         selector for static builds.
16432 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16434         [BZ #16695]
16435         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16436         key in the buffer.
16438 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16440         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16441         IFUNC selector for static builds.
16443 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16445         * sysdeps/mips/math_private.h [__mips_hard_float]
16446         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16447         libc_feresetround_mips_ctx.
16448         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16449         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16450         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16452         [BZ #16677]
16453         * math/s_nextafter.c (__nextafter): Do not return value from
16454         overflowing computation.
16455         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16456         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16457         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16458         Likewise.
16459         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16460         Likewise.
16461         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16462         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16464 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16466         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16467         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16468         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16469         the new mov targetting sp.
16471 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16473         [BZ #16683]
16474         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16475         Define it for static builds as well.
16476         (NO_BZERO_IMPL): Likewise.
16478 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16480         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16481         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16482         multiarch strspn for PPC64.
16483         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16484         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16486         (__libc_ifunc_impl_list): Likewise.
16487         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16488         multiarch optimizations
16489         * string/strspn.c (strspn): Using macro to redefine symbol name.
16491 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16492             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16494         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16495         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16496         multiarch strncat for PPC64.
16497         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16498         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16500         (__libc_ifunc_impl_list): Likewise.
16501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16502         multiarch optimizations
16504 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16506         [BZ #16639]
16507         * nscd/nscd.service: Make service type forking.
16509 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16511         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16512         sign in non default rounding modes.
16513         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16515 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16517         * math/libm-test.inc (ALL_RM_TEST): New macro.
16518         (ceil_test): Use ALL_RM_TEST.
16519         (cimag_test): Likewise.
16520         (conj_test): Likewise.
16521         (copysign_test): Likewise.
16522         (cproj_test): Likewise.
16523         (creal_test): Likewise.
16524         (fabs_test): Likewise.
16525         (floor_test): Likewise.
16526         (fmax_test): Likewise.
16527         (fmin_test): Likewise.
16528         (fmod_test): Likewise.
16529         (fpclassify_test): Likewise.
16530         (frexp_test): Likewise.
16531         (ilogb_test): Likewise.
16532         (isfinite_test): Likewise.
16533         (finite_test): Likewise.
16534         (isgreater_test): Likewise.
16535         (isgreaterequal_test): Likewise.
16536         (isinf_test): Likewise.
16537         (isless_test): Likewise.
16538         (islessequal_test): Likewise.
16539         (islessgreater_test): Likewise.
16540         (isnan_test): Likewise.
16541         (isnormal_test): Likewise.
16542         (issignaling_test): Likewise.
16543         (isunordered_test): Likewise.
16544         (logb_test): Likewise.
16545         (logb_downward_test_data): Remove.
16546         (logb_test_downward): Likewise.
16547         (lround_test): Use ALL_RM_TEST.
16548         (llround_test): Likewise.
16549         (modf_test): Likewise.
16550         (nexttoward_test): Likewise.
16551         (remainder_test): Likewise.
16552         (drem_test): Likewise.
16553         (remainder_tonearest_test_data): Likewise.
16554         (remainder_test_tonearest): Likewise.
16555         (drem_test_tonearest): Likewise.
16556         (remainder_towardzero_test_data): Likewise.
16557         (remainder_test_towardzero): Likewise.
16558         (drem_test_towardzero): Likewise.
16559         (remainder_downward_test_data): Likewise.
16560         (remainder_test_downward): Likewise.
16561         (drem_test_downward): Likewise.
16562         (remainder_upward_test_data): Likewise.
16563         (remainder_test_upward): Likewise.
16564         (drem_test_upward): Likewise.
16565         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16566         (round_test): Use ALL_RM_TEST.
16567         (signbit_test): Likewise.
16568         (trunc_test): Likewise.
16569         (significand_test): Likewise.
16570         (main): Don't call removed functions.
16572 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16574         [BZ #16674]
16575         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16576         || __USE_XOPEN2K8].
16577         (ILL_ILLOPN): Likewise.
16578         (ILL_ILLADR): Likewise.
16579         (ILL_ILLTRP): Likewise.
16580         (ILL_PRVOPC): Likewise.
16581         (ILL_PRVREG): Likewise.
16582         (ILL_COPROC): Likewise.
16583         (ILL_BADSTK): Likewise.
16584         (FPE_INTDIV): Likewise.
16585         (FPE_INTOVF): Likewise.
16586         (FPE_FLTDIV): Likewise.
16587         (FPE_FLTOVF): Likewise.
16588         (FPE_FLTUND): Likewise.
16589         (FPE_FLTRES): Likewise.
16590         (FPE_FLTINV): Likewise.
16591         (FPE_FLTSUB): Likewise.
16592         (SEGV_MAPERR): Likewise.
16593         (SEGV_ACCERR): Likewise.
16594         (BUS_ADRALN): Likewise.
16595         (BUS_ADRERR): Likewise.
16596         (BUS_OBJERR): Likewise.
16597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16598         (TRAP_TRACE): Likewise.
16599         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16600         __USE_XOPEN2K8].
16601         (CLD_KILLED): Likewise.
16602         (CLD_DUMPED): Likewise.
16603         (CLD_TRAPPED): Likewise.
16604         (CLD_STOPPED): Likewise.
16605         (CLD_CONTINUED): Likewise.
16606         (POLL_IN): Likewise.
16607         (POLL_OUT): Likewise.
16608         (POLL_MSG): Likewise.
16609         (POLL_ERR): Likewise.
16610         (POLL_PRI): Likewise.
16611         (POLL_HUP): Likewise.
16612         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16613         Likewise.
16614         (ILL_ILLOPN): Likewise.
16615         (ILL_ILLADR): Likewise.
16616         (ILL_ILLTRP): Likewise.
16617         (ILL_PRVOPC): Likewise.
16618         (ILL_PRVREG): Likewise.
16619         (ILL_COPROC): Likewise.
16620         (ILL_BADSTK): Likewise.
16621         (FPE_INTDIV): Likewise.
16622         (FPE_INTOVF): Likewise.
16623         (FPE_FLTDIV): Likewise.
16624         (FPE_FLTOVF): Likewise.
16625         (FPE_FLTUND): Likewise.
16626         (FPE_FLTRES): Likewise.
16627         (FPE_FLTINV): Likewise.
16628         (FPE_FLTSUB): Likewise.
16629         (SEGV_MAPERR): Likewise.
16630         (SEGV_ACCERR): Likewise.
16631         (BUS_ADRALN): Likewise.
16632         (BUS_ADRERR): Likewise.
16633         (BUS_OBJERR): Likewise.
16634         (BUS_MCEERR_AR): Likewise.
16635         (BUS_MCEERR_AO): Likewise.
16636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16637         (TRAP_TRACE): Likewise.
16638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16639         __USE_XOPEN2K8].
16640         (CLD_KILLED): Likewise.
16641         (CLD_DUMPED): Likewise.
16642         (CLD_TRAPPED): Likewise.
16643         (CLD_STOPPED): Likewise.
16644         (CLD_CONTINUED): Likewise.
16645         (POLL_IN): Likewise.
16646         (POLL_OUT): Likewise.
16647         (POLL_MSG): Likewise.
16648         (POLL_ERR): Likewise.
16649         (POLL_PRI): Likewise.
16650         (POLL_HUP): Likewise.
16651         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16652         (ILL_ILLOPN): Likewise.
16653         (ILL_ILLADR): Likewise.
16654         (ILL_ILLTRP): Likewise.
16655         (ILL_PRVOPC): Likewise.
16656         (ILL_PRVREG): Likewise.
16657         (ILL_COPROC): Likewise.
16658         (ILL_BADSTK): Likewise.
16659         (FPE_INTDIV): Likewise.
16660         (FPE_INTOVF): Likewise.
16661         (FPE_FLTDIV): Likewise.
16662         (FPE_FLTOVF): Likewise.
16663         (FPE_FLTUND): Likewise.
16664         (FPE_FLTRES): Likewise.
16665         (FPE_FLTINV): Likewise.
16666         (FPE_FLTSUB): Likewise.
16667         (SEGV_MAPERR): Likewise.
16668         (SEGV_ACCERR): Likewise.
16669         (BUS_ADRALN): Likewise.
16670         (BUS_ADRERR): Likewise.
16671         (BUS_OBJERR): Likewise.
16672         (BUS_MCEERR_AR): Likewise.
16673         (BUS_MCEERR_AO): Likewise.
16674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16675         (TRAP_TRACE): Likewise.
16676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16677         __USE_XOPEN2K8].
16678         (CLD_KILLED): Likewise.
16679         (CLD_DUMPED): Likewise.
16680         (CLD_TRAPPED): Likewise.
16681         (CLD_STOPPED): Likewise.
16682         (CLD_CONTINUED): Likewise.
16683         (POLL_IN): Likewise.
16684         (POLL_OUT): Likewise.
16685         (POLL_MSG): Likewise.
16686         (POLL_ERR): Likewise.
16687         (POLL_PRI): Likewise.
16688         (POLL_HUP): Likewise.
16689         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16690         Likewise.
16691         (ILL_ILLOPN): Likewise.
16692         (ILL_ILLADR): Likewise.
16693         (ILL_ILLTRP): Likewise.
16694         (ILL_PRVOPC): Likewise.
16695         (ILL_PRVREG): Likewise.
16696         (ILL_COPROC): Likewise.
16697         (ILL_BADSTK): Likewise.
16698         (ILL_BADIADDR): Likewise.
16699         (ILL_BREAK): Likewise.
16700         (FPE_INTDIV): Likewise.
16701         (FPE_INTOVF): Likewise.
16702         (FPE_FLTDIV): Likewise.
16703         (FPE_FLTOVF): Likewise.
16704         (FPE_FLTUND): Likewise.
16705         (FPE_FLTRES): Likewise.
16706         (FPE_FLTINV): Likewise.
16707         (FPE_FLTSUB): Likewise.
16708         (FPE_DECOVF): Likewise.
16709         (FPE_DECDIV): Likewise.
16710         (FPE_DECERR): Likewise.
16711         (FPE_INVASC): Likewise.
16712         (FPE_INVDEC): Likewise.
16713         (SEGV_MAPERR): Likewise.
16714         (SEGV_ACCERR): Likewise.
16715         (SEGV_PSTKOVF): Likewise.
16716         (BUS_ADRALN): Likewise.
16717         (BUS_ADRERR): Likewise.
16718         (BUS_OBJERR): Likewise.
16719         (BUS_MCEERR_AR): Likewise.
16720         (BUS_MCEERR_AO): Likewise.
16721         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16722         (TRAP_TRACE): Likewise.
16723         (TRAP_BRANCH): Likewise.
16724         (TRAP_HWBKPT): Likewise.
16725         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16726         __USE_XOPEN2K8].
16727         (CLD_KILLED): Likewise.
16728         (CLD_DUMPED): Likewise.
16729         (CLD_TRAPPED): Likewise.
16730         (CLD_STOPPED): Likewise.
16731         (CLD_CONTINUED): Likewise.
16732         (POLL_IN): Likewise.
16733         (POLL_OUT): Likewise.
16734         (POLL_MSG): Likewise.
16735         (POLL_ERR): Likewise.
16736         (POLL_PRI): Likewise.
16737         (POLL_HUP): Likewise.
16738         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16739         (ILL_ILLOPN): Likewise.
16740         (ILL_ILLADR): Likewise.
16741         (ILL_ILLTRP): Likewise.
16742         (ILL_PRVOPC): Likewise.
16743         (ILL_PRVREG): Likewise.
16744         (ILL_COPROC): Likewise.
16745         (ILL_BADSTK): Likewise.
16746         (FPE_INTDIV): Likewise.
16747         (FPE_INTOVF): Likewise.
16748         (FPE_FLTDIV): Likewise.
16749         (FPE_FLTOVF): Likewise.
16750         (FPE_FLTUND): Likewise.
16751         (FPE_FLTRES): Likewise.
16752         (FPE_FLTINV): Likewise.
16753         (FPE_FLTSUB): Likewise.
16754         (SEGV_MAPERR): Likewise.
16755         (SEGV_ACCERR): Likewise.
16756         (BUS_ADRALN): Likewise.
16757         (BUS_ADRERR): Likewise.
16758         (BUS_OBJERR): Likewise.
16759         (BUS_MCEERR_AR): Likewise.
16760         (BUS_MCEERR_AO): Likewise.
16761         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16762         (TRAP_TRACE): Likewise.
16763         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16764         __USE_XOPEN2K8].
16765         (CLD_KILLED): Likewise.
16766         (CLD_DUMPED): Likewise.
16767         (CLD_TRAPPED): Likewise.
16768         (CLD_STOPPED): Likewise.
16769         (CLD_CONTINUED): Likewise.
16770         (POLL_IN): Likewise.
16771         (POLL_OUT): Likewise.
16772         (POLL_MSG): Likewise.
16773         (POLL_ERR): Likewise.
16774         (POLL_PRI): Likewise.
16775         (POLL_HUP): Likewise.
16776         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16777         (ILL_ILLOPN): Likewise.
16778         (ILL_ILLADR): Likewise.
16779         (ILL_ILLTRP): Likewise.
16780         (ILL_PRVOPC): Likewise.
16781         (ILL_PRVREG): Likewise.
16782         (ILL_COPROC): Likewise.
16783         (ILL_BADSTK): Likewise.
16784         (FPE_INTDIV): Likewise.
16785         (FPE_INTOVF): Likewise.
16786         (FPE_FLTDIV): Likewise.
16787         (FPE_FLTOVF): Likewise.
16788         (FPE_FLTUND): Likewise.
16789         (FPE_FLTRES): Likewise.
16790         (FPE_FLTINV): Likewise.
16791         (FPE_FLTSUB): Likewise.
16792         (SEGV_MAPERR): Likewise.
16793         (SEGV_ACCERR): Likewise.
16794         (BUS_ADRALN): Likewise.
16795         (BUS_ADRERR): Likewise.
16796         (BUS_OBJERR): Likewise.
16797         (BUS_MCEERR_AR): Likewise.
16798         (BUS_MCEERR_AO): Likewise.
16799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16800         (TRAP_TRACE): Likewise.
16801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16802         __USE_XOPEN2K8].
16803         (CLD_KILLED): Likewise.
16804         (CLD_DUMPED): Likewise.
16805         (CLD_TRAPPED): Likewise.
16806         (CLD_STOPPED): Likewise.
16807         (CLD_CONTINUED): Likewise.
16808         (POLL_IN): Likewise.
16809         (POLL_OUT): Likewise.
16810         (POLL_MSG): Likewise.
16811         (POLL_ERR): Likewise.
16812         (POLL_PRI): Likewise.
16813         (POLL_HUP): Likewise.
16814         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16815         (ILL_ILLOPN): Likewise.
16816         (ILL_ILLADR): Likewise.
16817         (ILL_ILLTRP): Likewise.
16818         (ILL_PRVOPC): Likewise.
16819         (ILL_PRVREG): Likewise.
16820         (ILL_COPROC): Likewise.
16821         (ILL_BADSTK): Likewise.
16822         (FPE_INTDIV): Likewise.
16823         (FPE_INTOVF): Likewise.
16824         (FPE_FLTDIV): Likewise.
16825         (FPE_FLTOVF): Likewise.
16826         (FPE_FLTUND): Likewise.
16827         (FPE_FLTRES): Likewise.
16828         (FPE_FLTINV): Likewise.
16829         (FPE_FLTSUB): Likewise.
16830         (SEGV_MAPERR): Likewise.
16831         (SEGV_ACCERR): Likewise.
16832         (BUS_ADRALN): Likewise.
16833         (BUS_ADRERR): Likewise.
16834         (BUS_OBJERR): Likewise.
16835         (BUS_MCEERR_AR): Likewise.
16836         (BUS_MCEERR_AO): Likewise.
16837         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16838         (TRAP_TRACE): Likewise.
16839         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16840         __USE_XOPEN2K8].
16841         (CLD_KILLED): Likewise.
16842         (CLD_DUMPED): Likewise.
16843         (CLD_TRAPPED): Likewise.
16844         (CLD_STOPPED): Likewise.
16845         (CLD_CONTINUED): Likewise.
16846         (POLL_IN): Likewise.
16847         (POLL_OUT): Likewise.
16848         (POLL_MSG): Likewise.
16849         (POLL_ERR): Likewise.
16850         (POLL_PRI): Likewise.
16851         (POLL_HUP): Likewise.
16852         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16853         (ILL_ILLOPN): Likewise.
16854         (ILL_ILLADR): Likewise.
16855         (ILL_ILLTRP): Likewise.
16856         (ILL_PRVOPC): Likewise.
16857         (ILL_PRVREG): Likewise.
16858         (ILL_COPROC): Likewise.
16859         (ILL_BADSTK): Likewise.
16860         (ILL_DBLFLT): Likewise.
16861         (ILL_HARDWALL): Likewise.
16862         (FPE_INTDIV): Likewise.
16863         (FPE_INTOVF): Likewise.
16864         (FPE_FLTDIV): Likewise.
16865         (FPE_FLTOVF): Likewise.
16866         (FPE_FLTUND): Likewise.
16867         (FPE_FLTRES): Likewise.
16868         (FPE_FLTINV): Likewise.
16869         (FPE_FLTSUB): Likewise.
16870         (SEGV_MAPERR): Likewise.
16871         (SEGV_ACCERR): Likewise.
16872         (BUS_ADRALN): Likewise.
16873         (BUS_ADRERR): Likewise.
16874         (BUS_OBJERR): Likewise.
16875         (BUS_MCEERR_AR): Likewise.
16876         (BUS_MCEERR_AO): Likewise.
16877         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16878         (TRAP_TRACE): Likewise.
16879         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16880         __USE_XOPEN2K8].
16881         (CLD_KILLED): Likewise.
16882         (CLD_DUMPED): Likewise.
16883         (CLD_TRAPPED): Likewise.
16884         (CLD_STOPPED): Likewise.
16885         (CLD_CONTINUED): Likewise.
16886         (POLL_IN): Likewise.
16887         (POLL_OUT): Likewise.
16888         (POLL_MSG): Likewise.
16889         (POLL_ERR): Likewise.
16890         (POLL_PRI): Likewise.
16891         (POLL_HUP): Likewise.
16892         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16893         (ILL_ILLOPN): Likewise.
16894         (ILL_ILLADR): Likewise.
16895         (ILL_ILLTRP): Likewise.
16896         (ILL_PRVOPC): Likewise.
16897         (ILL_PRVREG): Likewise.
16898         (ILL_COPROC): Likewise.
16899         (ILL_BADSTK): Likewise.
16900         (FPE_INTDIV): Likewise.
16901         (FPE_INTOVF): Likewise.
16902         (FPE_FLTDIV): Likewise.
16903         (FPE_FLTOVF): Likewise.
16904         (FPE_FLTUND): Likewise.
16905         (FPE_FLTRES): Likewise.
16906         (FPE_FLTINV): Likewise.
16907         (FPE_FLTSUB): Likewise.
16908         (SEGV_MAPERR): Likewise.
16909         (SEGV_ACCERR): Likewise.
16910         (BUS_ADRALN): Likewise.
16911         (BUS_ADRERR): Likewise.
16912         (BUS_OBJERR): Likewise.
16913         (BUS_MCEERR_AR): Likewise.
16914         (BUS_MCEERR_AO): Likewise.
16915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16916         (TRAP_TRACE): Likewise.
16917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16918         __USE_XOPEN2K8].
16919         (CLD_KILLED): Likewise.
16920         (CLD_DUMPED): Likewise.
16921         (CLD_TRAPPED): Likewise.
16922         (CLD_STOPPED): Likewise.
16923         (CLD_CONTINUED): Likewise.
16924         (POLL_IN): Likewise.
16925         (POLL_OUT): Likewise.
16926         (POLL_MSG): Likewise.
16927         (POLL_ERR): Likewise.
16928         (POLL_PRI): Likewise.
16929         (POLL_HUP): Likewise.
16930         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16931         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16933         [BZ #16670]
16934         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16935         before #include of <time.h>.
16936         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16937         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16938         (test-xfail-UNIX98/sched.h/conform): Likewise.
16940 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16942         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16943         error absence of trapping exception support.
16944         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16946 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16948         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16949         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16950         * timezone/Makefile (testdata): Move definition above include of
16951         Rules.
16952         (test-zones): New variable.
16953         (tests-special): Add zone files.
16954         (build-testdata): Use $(evaluate-test).
16956         * elf/Makefile (tests-special): Rename tests to end with .out.
16957         ($(objpfx)noload-mem): Likewise.
16958         ($(objpfx)tst-leaks1-mem): Likewise.
16959         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16960         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16961         $(objpfx)test-iconvconfig.out.
16962         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16963         set -e inside subshell and redirect output to file.
16964         * iconvdata/Makefile (generated): Rename tests to end with .out.
16965         Correct type.
16966         (tests-special): Rename tests to end with .out.
16967         ($(objpfx)mtrace-tst-loading): Likewise.
16968         * intl/Makefile (generated): Likewise.
16969         (tests-special): Likewise.
16970         ($(objpfx)mtrace-tst-gettext): Likewise.
16971         * misc/Makefile (generated): Likewise.
16972         (tests-special): Likewise.
16973         ($(objpfx)tst-error1-mem): Likewise.
16974         * nptl/Makefile (tests-special): Likewise.
16975         ($(objpfx)tst-stack3-mem): Likewise.
16976         (generated): Likewise.
16977         * posix/Makefile (generated): Likewise.
16978         (tests-special): Likewise.
16979         (xtests-special): Likewise.
16980         ($(objpfx)tst-fnmatch-mem): Likewise.
16981         ($(objpfx)bug-regex2-mem): Likewise.
16982         ($(objpfx)bug-regex14-mem): Likewise.
16983         ($(objpfx)bug-regex21-mem): Likewise.
16984         ($(objpfx)bug-regex31-mem): Likewise.
16985         ($(objpfx)tst-vfork3-mem): Likewise.
16986         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16987         ($(objpfx)tst-pcre-mem): Likewise.
16988         ($(objpfx)tst-boost-mem): Likewise.
16989         ($(objpfx)bug-ga2-mem): Likewise.
16990         ($(objpfx)bug-glob2-mem): Likewise.
16991         * resolv/Makefile (generate): Likewise.
16992         (tests-special): Likewise.
16993         (xtests-special): Likewise.
16994         (generated): Likewise.
16995         ($(objpfx)mtrace-tst-leaks): Likewise.
16996         ($(objpfx)mtrace-tst-leaks2): Likewise.
16998         * scripts/merge-test-results.sh: New file.
16999         * Makefile (tests-special-notdir): New variable.
17000         (tests): Run merge-test-results.sh.
17001         (xtests): Likewise.
17002         * Rules (tests-special-notdir): New variable.
17003         (xtests-special-notdir): Likewise.
17004         (tests): Run merge-test-results.sh
17005         (xtests): Likewise.
17007         * Makeconfig (test-xfail-name): New variable.
17008         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17009         compute variable name for expected failures.
17010         * conform/Makefile (conformtest-headers-data): New variable.
17011         (conformtest-standards): Likewise.
17012         (conformtest-headers-ISO): Likewise.
17013         (conformtest-headers-ISO99): Likewise.
17014         (conformtest-headers-ISO11): Likewise.
17015         (conformtest-headers-POSIX): Likewise.
17016         (conformtest-headers-XPG3): Likewise.
17017         (conformtest-headers-XPG4): Likewise.
17018         (conformtest-headers-UNIX98): Likewise.
17019         (conformtest-headers-XOPEN2K): Likewise.
17020         (conformtest-headers-POSIX2008): Likewise.
17021         (conformtest-headers-XOPEN2K8): Likewise.
17022         (conformtest-header-list-base): Likewise.
17023         (conformtest-header-list-tests): Likewise.
17024         (conformtest-header-base): Likewise.
17025         (conformtest-header-tests): Likewise.
17026         (tests-special): Add $(conformtest-header-list-tests).  If
17027         [$(fast-check) && !$(cross-compiling)], add
17028         $(conformtest-header-tests) instead of
17029         $(objpfx)run-conformtest.out.
17030         (generated): Add $(conformtest-header-list-base).  If
17031         [$(fast-check) && !$(cross-compiling)], add
17032         $(conformtest-header-base).  Remove previous setting.
17033         ($(conformtest-header-list-tests)): New target.
17034         (test-xfail-run-conformtest): Remove variable.
17035         ($(objpfx)run-conformtest.out): Remove target.
17036         (test-xfail-ISO11/complex.h/conform): New variable.
17037         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17038         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17039         (test-xfail-XPG3/varargs.h/conform): Likewise.
17040         (test-xfail-XPG4/varargs.h/conform): Likewise.
17041         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17042         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17043         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17044         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17045         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17046         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17047         (test-xfail-XPG3/ftw.h/conform): Likewise.
17048         (test-xfail-XPG3/grp.h/conform): Likewise.
17049         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17050         (test-xfail-XPG3/limits.h/conform): Likewise.
17051         (test-xfail-XPG3/pwd.h/conform): Likewise.
17052         (test-xfail-XPG3/search.h/conform): Likewise.
17053         (test-xfail-XPG3/signal.h/conform): Likewise.
17054         (test-xfail-XPG3/stdio.h/conform): Likewise.
17055         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17056         (test-xfail-XPG3/string.h/conform): Likewise.
17057         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17058         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17059         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17060         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17061         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17062         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17063         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17064         (test-xfail-XPG3/termios.h/conform): Likewise.
17065         (test-xfail-XPG3/time.h/conform): Likewise.
17066         (test-xfail-XPG3/unistd.h/conform): Likewise.
17067         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17068         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17069         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17070         (test-xfail-XPG4/netdb.h/conform): Likewise.
17071         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17072         (test-xfail-XPG4/signal.h/conform): Likewise.
17073         (test-xfail-XPG4/stdio.h/conform): Likewise.
17074         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17075         (test-xfail-XPG4/stropts.h/conform): Likewise.
17076         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17077         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17078         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17079         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17080         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17081         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17082         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17083         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17084         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17085         (test-xfail-XPG4/termios.h/conform): Likewise.
17086         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17087         (test-xfail-XPG4/unistd.h/conform): Likewise.
17088         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17089         (test-xfail-POSIX/sched.h/conform): Likewise.
17090         (test-xfail-POSIX/signal.h/conform): Likewise.
17091         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17092         (test-xfail-POSIX/tar.h/conform): Likewise.
17093         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17094         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17095         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17096         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17097         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17098         (test-xfail-UNIX98/sched.h/conform): Likewise.
17099         (test-xfail-UNIX98/signal.h/conform): Likewise.
17100         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17101         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17102         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17103         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17104         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17105         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17106         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17107         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17108         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17109         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17110         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17111         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17112         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17113         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17114         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17115         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17116         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17117         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17118         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17119         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17120         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17121         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17122         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17123         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17124         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17125         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17126         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17127         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17128         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17129         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17130         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17131         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17132         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17133         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17134         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17135         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17136         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17137         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17138         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17139         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17140         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17141         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17142         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17143         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17144         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17145         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17146         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17147         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17148         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17149         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17150         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17151         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17152         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17153         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17154         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17155         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17156         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17157         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17158         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17159         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17160         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17161         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17162         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17163         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17164         (conformtest-cc-flags): Likewise.
17165         ($(conformtest-header-tests): New target.
17166         * conform/check-header-lists.sh: New file.
17167         * conform/run-conformtest.sh: Remove.
17169         * conform/conformtest.pl: Allow ' and \ in values given for
17170         constants.
17171         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17172         inclusion.
17173         [POSIX] (sys/types.h): Likewise.
17174         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17175         inclusion.
17176         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17177         inclusion.
17178         * conform/data/signal.h-data (SIGIO): Remove expectation.
17179         [XPG3] (SIGBUS): Do not expect.
17180         [POSIX || XPG3] (SIGPOLL): Likewise.
17181         [POSIX || XPG3] (SIGPROF): Likewise.
17182         [POSIX || XPG3] (SIGSYS): Likewise.
17183         [XPG3] (SIGTRAP): Likewise.
17184         [POSIX || XPG3] (SIGURG): Likewise.
17185         [POSIX || XPG3] (SIGVTALRM): Likewise.
17186         [POSIX || XPG3] (SIGXCPU): Likewise.
17187         [POSIX || XPG3] (SIGXFSZ): Likewise.
17188         [POSIX] (SA_SIGINFO): Expect.
17189         [XPG3] (siginfo_t): Do not expect type or contents.
17190         [POSIX] (si_pid): Do not expect element.
17191         [POSIX] (si_uid): Likewise.
17192         [POSIX] (si_addr): Likewise.
17193         [POSIX] (si_status): Likewise.
17194         [POSIX] (si_band): Likewise.
17195         [XPG4] (si_value): Likewise.
17196         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17197         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17198         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17199         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17200         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17201         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17202         [POSIX || XPG3] (ILL_COPROC): Likewise.
17203         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17204         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17205         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17206         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17207         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17208         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17209         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17210         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17211         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17212         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17213         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17214         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17215         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17216         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17217         [POSIX || XPG3] (CLD_EXITED): Likewise.
17218         [POSIX || XPG3] (CLD_KILLED): Likewise.
17219         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17220         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17221         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17222         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17223         [POSIX || XPG3] (POLL_IN): Likewise.
17224         [POSIX || XPG3] (POLL_OUT): Likewise.
17225         [POSIX || XPG3] (POLL_MSG): Likewise.
17226         [POSIX || XPG3] (POLL_ERR): Likewise.
17227         [POSIX || XPG3] (POLL_PRI): Likewise.
17228         [POSIX || XPG3] (POLL_HUP): Likewise.
17229         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17230         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17231         (SIG*): Do not allow.
17232         [XPG3] (si_*): Likewise.
17233         [XPG3] (SI_*): Likewise.
17234         [XPG3 || XPG4] (sigev_*): Likewise.
17235         [XPG3 || XPG4] (SIGEV_*): Likewise.
17236         [XPG3 || XPG4] (sival_*): Likewise.
17237         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17238         [POSIX || XPG3] (BUS_*): Likewise.
17239         [POSIX || XPG3] (CLD_*): Likewise.
17240         [POSIX || XPG3] (FPE_*): Likewise.
17241         [POSIX || XPG3] (ILL_*): Likewise.
17242         [POSIX || XPG3] (POLL_*): Likewise.
17243         [POSIX || XPG3] (SEGV_*): Likewise.
17244         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17245         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17246         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17247         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17248         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17249         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17250         Specify type and value.
17251         (TVERSLEN): Likewise.
17252         (REGTYPE): Likewise.
17253         (AREGTYPE): Likewise.
17254         (LNKTYPE): Likewise.
17255         (SYMTYPE): Likewise.
17256         (CHRTYPE): Likewise.
17257         (BLKTYPE): Likewise.
17258         (DIRTYPE): Likewise.
17259         (FIFOTYPE): Likewise.
17260         (CONTTYPE): Likewise.
17261         (TSUID): Likewise.
17262         (TSGID): Likewise.
17263         (TSVTX): Likewise.
17264         (TUREAD): Likewise.
17265         (TUWRITE): Likewise.
17266         (TUEXEC): Likewise.
17267         (TGREAD): Likewise.
17268         (TGWRITE): Likewise.
17269         (TGEXEC): Likewise.
17270         (TOREAD): Likewise.
17271         (TOWRITE): Likewise.
17272         (TOEXEC): Likewise.
17273         [POSIX] (TSVTX): Expect constant.
17275 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17277         * Makefile (tests): Change dependencies to ....
17278         (tests-special): ... additions to this variable.
17279         (tests): Depend on $(tests-special).
17280         * Makerules (check-abi-list): New variable.
17281         (check-abi): Depend on $(check-abi-list).
17282         [$(subdir) = elf] (tests-special): Add
17283         $(objpfx)check-abi-libc.out.
17284         [$(build-shared) = yes && subdir] (tests-special): Add
17285         $(check-abi-list).
17286         [$(build-shared) = yes && subdir] (tests): Do not depend on
17287         check-abi.
17288         * Rules (tests): Depend on $(tests-special).
17289         (xtests): Depend on $(xtests-special).
17290         * catgets/Makefile (tests): Change dependencies to ....
17291         (tests-special): ... additions to this variable.
17292         * conform/Makefile (tests): Change dependencies to ....
17293         (tests-special): ... additions to this variable.
17294         * elf/Makefile (tests): Change dependencies to ....
17295         (tests-special): ... additions to this variable.
17296         * grp/Makefile (tests): Change dependencies to ....
17297         (tests-special): ... additions to this variable.
17298         * iconv/Makefile (xtests): Change dependencies to ....
17299         (xtests-special): ... additions to this variable.
17300         * iconvdata/Makefile (tests): Change dependencies to ....
17301         (tests-special): ... additions to this variable.
17302         * intl/Makefile (tests): Change dependencies to ....
17303         (tests-special): ... additions to this variable.  Also add
17304         $(objpfx)tst-gettext.out.
17305         * io/Makefile (tests): Change dependencies to ....
17306         (tests-special): ... additions to this variable.
17307         * libio/Makefile (tests): Change dependencies to ....
17308         (tests-special): ... additions to this variable.
17309         * malloc/Makefile (tests): Change dependencies to ....
17310         (tests-special): ... additions to this variable.
17311         * misc/Makefile (tests): Change dependencies to ....
17312         (tests-special): ... additions to this variable.
17313         * nptl/Makefile (tests): Change dependencies to ....
17314         (tests-special): ... additions to this variable.
17315         * nptl_db/Makefile (tests): Change dependencies to ....
17316         (tests-special): ... additions to this variable.
17317         * posix/Makefile (tests): Change dependencies to ....
17318         (tests-special): ... additions to this variable.
17319         (xtests): Change dependencies to ....
17320         (xtests-special): ... additions to this variable.
17321         * resolv/Makefile (tests): Change dependencies to ....
17322         (tests-special): ... additions to this variable.
17323         (xtests): Change dependencies to ....
17324         (xtests-special): ... additions to this variable.
17325         * stdio-common/Makefile (tests): Change dependencies to ....
17326         (tests-special): ... additions to this variable.
17327         (do-tst-unbputc): Remove target.
17328         (do-tst-printf): Likewise.
17329         * stdlib/Makefile (tests): Change dependencies to ....
17330         (tests-special): ... additions to this variable.
17331         * string/Makefile (tests): Change dependencies to ....
17332         (tests-special): ... additions to this variable.
17333         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17334         (tests-special): ... additions to this variable.
17336         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17337         whole file.
17338         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17339         whole file.
17340         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17341         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17343         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17344         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17345         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17346         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17347         * conform/data/libgen.h-data [XPG3]: Likewise.
17348         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17349         * conform/data/ndbm.h-data [XPG3]: Likewise.
17350         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17351         * conform/data/netdb.h-data [XPG3]: Likewise.
17352         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17353         * conform/data/poll.h-data [XPG3]: Likewise.
17354         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17355         * conform/data/strings.h-data [XPG3]: Likewise.
17356         * conform/data/stropts.h-data [XPG3]: Likewise.
17357         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17358         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17359         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17360         Likewise.
17361         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17362         * conform/data/sys/time.h-data [XPG3]: Likewise.
17363         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17364         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17365         * conform/data/sys/un.h-data [XPG3]: Likewise.
17366         * conform/data/syslog.h-data [XPG3]: Likewise.
17367         * conform/data/ucontext.h-data [XPG3]: Likewise.
17368         * conform/data/utmpx.h-data [XPG3]: Likewise.
17369         * conform/data/varargs.h-data [UNIX98]: Enable file.
17371         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17373         * math/libm-test.inc (struct test_f_f_data): Move expected results
17374         into structure for each rounding mode.
17375         (struct test_ff_f_data): Likewise.
17376         (struct test_ff_f_data_nexttoward): Likewise.
17377         (struct test_fi_f_data): Likewise.
17378         (struct test_fl_f_data): Likewise.
17379         (struct test_if_f_data): Likewise.
17380         (struct test_fff_f_data): Likewise.
17381         (struct test_c_f_data): Likewise.
17382         (struct test_f_f1_data): Likewise.
17383         (struct test_fF_f1_data): Likewise.
17384         (struct test_ffI_f1_data): Likewise.
17385         (struct test_c_c_data): Likewise.
17386         (struct test_cc_c_data): Likewise.
17387         (struct test_f_i_data): Likewise.
17388         (struct test_ff_i_data): Likewise.
17389         (struct test_f_l_data): Likewise.
17390         (struct test_f_L_data): Likewise.
17391         (struct test_fFF_11_data): Likewise.
17392         (RM_): New macro.
17393         (RM_FE_DOWNWARD): Likewise.
17394         (RM_FE_TONEAREST): Likewise.
17395         (RM_FE_TOWARDZERO): Likewise.
17396         (RM_FE_UPWARD): Likewise.
17397         (RUN_TEST_LOOP_f_f): Update references to expected results.
17398         (RUN_TEST_LOOP_2_f): Likewise.
17399         (RUN_TEST_LOOP_fff_f): Likewise.
17400         (RUN_TEST_LOOP_c_f): Likewise.
17401         (RUN_TEST_LOOP_f_f1): Likewise.
17402         (RUN_TEST_LOOP_fF_f1): Likewise.
17403         (RUN_TEST_LOOP_fI_f1): Likewise.
17404         (RUN_TEST_LOOP_ffI_f1): Likewise.
17405         (RUN_TEST_LOOP_c_c): Likewise.
17406         (RUN_TEST_LOOP_cc_c): Likewise.
17407         (RUN_TEST_LOOP_f_i): Likewise.
17408         (RUN_TEST_LOOP_f_i_tg): Likewise.
17409         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17410         (RUN_TEST_LOOP_f_b): Likewise.
17411         (RUN_TEST_LOOP_f_b_tg): Likewise.
17412         (RUN_TEST_LOOP_f_l): Likewise.
17413         (RUN_TEST_LOOP_f_L): Likewise.
17414         (RUN_TEST_LOOP_fFF_11): Likewise.
17415         * math/gen-libm-test.pl (parse_args): Output four copies of
17416         expected results for each test.
17418         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17419         (__ASSUME_UTIMES): Remove.
17420         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17421         (__ASSUME_UTIMES): Likewise.
17423         * math/gen-auto-libm-tests.c: Update comment on output format.
17424         (output_for_one_input_case): Generate before-rounding and
17425         after-rounding information as conditions on output flags not
17426         floating-point format.
17427         * math/auto-libm-test-out: Regenerated.
17428         * math/gen-libm-test.pl (cond_value): New function.
17429         (or_cond_value): Use cond_value.
17430         (generate_testfile): Handle conditional exceptions.
17432 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17434         * math/libm-test.inc (max_valid_error): New variable.
17435         (init_max_error): Take new argument specifying whether function
17436         results are exactly determined.  Set max_valid_error and bound
17437         other variables for errors based on this argument.
17438         (set_max_error): Do not record results above max_valid_error.
17439         (check_float_internal): Only accept errors of up to 0.5ulps if
17440         also at most max_valid_error.
17441         (START): Take new argument EXACT and pass it to init_max_error.
17442         (acos_test): Update call to START.
17443         (acos_test_tonearest): Likewise.
17444         (acos_test_towardzero): Likewise.
17445         (acos_test_downward): Likewise.
17446         (acos_test_upward): Likewise.
17447         (acosh_test): Likewise.
17448         (asin_test): Likewise.
17449         (asin_test_tonearest): Likewise.
17450         (asin_test_towardzero): Likewise.
17451         (asin_test_downward): Likewise.
17452         (asin_test_upward): Likewise.
17453         (asinh_test): Likewise.
17454         (atan_test): Likewise.
17455         (atanh_test): Likewise.
17456         (atan2_test): Likewise.
17457         (cabs_test): Likewise.
17458         (cacos_test): Likewise.
17459         (cacosh_test): Likewise.
17460         (carg_test): Likewise.
17461         (casin_test): Likewise.
17462         (casinh_test): Likewise.
17463         (catan_test): Likewise.
17464         (catanh_test): Likewise.
17465         (cbrt_test): Likewise.
17466         (ccos_test): Likewise.
17467         (ccosh_test): Likewise.
17468         (ceil_test): Likewise.
17469         (cexp_test): Likewise.
17470         (cimag_test): Likewise.
17471         (clog_test): Likewise.
17472         (clog10_test): Likewise.
17473         (conj_test): Likewise.
17474         (copysign_test): Likewise.
17475         (cos_test): Likewise.
17476         (cos_test_tonearest): Likewise.
17477         (cos_test_towardzero): Likewise.
17478         (cos_test_downward): Likewise.
17479         (cos_test_upward): Likewise.
17480         (cosh_test): Likewise.
17481         (cosh_test_tonearest): Likewise.
17482         (cosh_test_towardzero): Likewise.
17483         (cosh_test_downward): Likewise.
17484         (cosh_test_upward): Likewise.
17485         (cpow_test): Likewise.
17486         (cproj_test): Likewise.
17487         (creal_test): Likewise.
17488         (csin_test): Likewise.
17489         (csinh_test): Likewise.
17490         (csqrt_test): Likewise.
17491         (ctan_test): Likewise.
17492         (ctan_test_tonearest): Likewise.
17493         (ctan_test_towardzero): Likewise.
17494         (ctan_test_downward): Likewise.
17495         (ctan_test_upward): Likewise.
17496         (ctanh_test): Likewise.
17497         (ctanh_test_tonearest): Likewise.
17498         (ctanh_test_towardzero): Likewise.
17499         (ctanh_test_downward): Likewise.
17500         (ctanh_test_upward): Likewise.
17501         (erf_test): Likewise.
17502         (erfc_test): Likewise.
17503         (exp_test): Likewise.
17504         (exp_test_tonearest): Likewise.
17505         (exp_test_towardzero): Likewise.
17506         (exp_test_downward): Likewise.
17507         (exp_test_upward): Likewise.
17508         (exp10_test): Likewise.
17509         (exp10_test_tonearest): Likewise.
17510         (exp10_test_towardzero): Likewise.
17511         (exp10_test_downward): Likewise.
17512         (exp10_test_upward): Likewise.
17513         (pow10_test): Likewise.
17514         (exp2_test): Likewise.
17515         (expm1_test): Likewise.
17516         (expm1_test_tonearest): Likewise.
17517         (expm1_test_towardzero): Likewise.
17518         (expm1_test_downward): Likewise.
17519         (expm1_test_upward): Likewise.
17520         (fabs_test): Likewise.
17521         (fdim_test): Likewise.
17522         (floor_test): Likewise.
17523         (fma_test): Likewise.
17524         (fma_test_towardzero): Likewise.
17525         (fma_test_downward): Likewise.
17526         (fma_test_upward): Likewise.
17527         (fmax_test): Likewise.
17528         (fmin_test): Likewise.
17529         (fmod_test): Likewise.
17530         (fpclassify_test): Likewise.
17531         (frexp_test): Likewise.
17532         (hypot_test): Likewise.
17533         (ilogb_test): Likewise.
17534         (isfinite_test): Likewise.
17535         (finite_test): Likewise.
17536         (isgreater_test): Likewise.
17537         (isgreaterequal_test): Likewise.
17538         (isinf_test): Likewise.
17539         (isless_test): Likewise.
17540         (islessequal_test): Likewise.
17541         (islessgreater_test): Likewise.
17542         (isnan_test): Likewise.
17543         (isnormal_test): Likewise.
17544         (issignaling_test): Likewise.
17545         (isunordered_test): Likewise.
17546         (j0_test): Likewise.
17547         (j1_test): Likewise.
17548         (jn_test): Likewise.
17549         (ldexp_test): Likewise.
17550         (lgamma_test): Likewise.
17551         (gamma_test): Likewise.
17552         (lrint_test): Likewise.
17553         (lrint_test_tonearest): Likewise.
17554         (lrint_test_towardzero): Likewise.
17555         (lrint_test_downward): Likewise.
17556         (lrint_test_upward): Likewise.
17557         (llrint_test): Likewise.
17558         (llrint_test_tonearest): Likewise.
17559         (llrint_test_towardzero): Likewise.
17560         (llrint_test_downward): Likewise.
17561         (llrint_test_upward): Likewise.
17562         (log_test): Likewise.
17563         (log10_test): Likewise.
17564         (log1p_test): Likewise.
17565         (log2_test): Likewise.
17566         (logb_test): Likewise.
17567         (logb_test_downward): Likewise.
17568         (lround_test): Likewise.
17569         (llround_test): Likewise.
17570         (modf_test): Likewise.
17571         (nearbyint_test): Likewise.
17572         (nextafter_test): Likewise.
17573         (nexttoward_test): Likewise.
17574         (pow_test): Likewise.
17575         (pow_test_tonearest): Likewise.
17576         (pow_test_towardzero): Likewise.
17577         (pow_test_downward): Likewise.
17578         (pow_test_upward): Likewise.
17579         (remainder_test): Likewise.
17580         (drem_test): Likewise.
17581         (remainder_test_tonearest): Likewise.
17582         (drem_test_tonearest): Likewise.
17583         (remainder_test_towardzero): Likewise.
17584         (drem_test_towardzero): Likewise.
17585         (remainder_test_downward): Likewise.
17586         (drem_test_downward): Likewise.
17587         (remainder_test_upward): Likewise.
17588         (drem_test_upward): Likewise.
17589         (remquo_test): Likewise.
17590         (rint_test): Likewise.
17591         (rint_test_tonearest): Likewise.
17592         (rint_test_towardzero): Likewise.
17593         (rint_test_downward): Likewise.
17594         (rint_test_upward): Likewise.
17595         (round_test): Likewise.
17596         (scalb_test): Likewise.
17597         (scalbn_test): Likewise.
17598         (scalbln_test): Likewise.
17599         (signbit_test): Likewise.
17600         (sin_test): Likewise.
17601         (sin_test_tonearest): Likewise.
17602         (sin_test_towardzero): Likewise.
17603         (sin_test_downward): Likewise.
17604         (sin_test_upward): Likewise.
17605         (sincos_test): Likewise.
17606         (sinh_test): Likewise.
17607         (sinh_test_tonearest): Likewise.
17608         (sinh_test_towardzero): Likewise.
17609         (sinh_test_downward): Likewise.
17610         (sinh_test_upward): Likewise.
17611         (sqrt_test): Likewise.
17612         (sqrt_test_tonearest): Likewise.
17613         (sqrt_test_towardzero): Likewise.
17614         (sqrt_test_downward): Likewise.
17615         (sqrt_test_upward): Likewise.
17616         (tan_test): Likewise.
17617         (tan_test_tonearest): Likewise.
17618         (tan_test_towardzero): Likewise.
17619         (tan_test_downward): Likewise.
17620         (tan_test_upward): Likewise.
17621         (tanh_test): Likewise.
17622         (tgamma_test): Likewise.
17623         (trunc_test): Likewise.
17624         (y0_test): Likewise.
17625         (y1_test): Likewise.
17626         (yn_test): Likewise.
17627         (significand_test): Likewise.
17629         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17630         individual tests in comment.
17631         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17632         (prev_max_error): New variable.
17633         (prev_real_max_error): Likewise.
17634         (prev_imag_max_error): Likewise.
17635         (compare_ulp_data): Don't refer to test names in comment.
17636         (find_test_ulps): Remove function.
17637         (find_function_ulps): Likewise.
17638         (find_complex_function_ulps): Likewise.
17639         (init_max_error): Take function name as argument.  Look up ulps
17640         for that function.
17641         (print_ulps): Remove function.
17642         (print_max_error): Use prev_max_error instead of calling
17643         find_function_ulps.
17644         (print_complex_max_error): Use prev_real_max_error and
17645         prev_imag_max_error instead of calling find_complex_function_ulps.
17646         (check_float_internal): Take max_ulp parameter instead of calling
17647         find_test_ulps.  Don't call print_ulps.
17648         (check_float): Update call to check_float_internal.
17649         (check_complex): Update calls to check_float_internal.
17650         (START): Pass argument to init_max_error.
17651         * math/gen-libm-test.pl (%results): Don't include "kind"
17652         information.
17653         (parse_ulps): Don't handle ulps of individual tests.
17654         (print_ulps_file): Likewise.
17655         (output_ulps): Likewise.
17656         * math/README.libm-test: Update.
17657         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17658         individual tests.
17659         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17660         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17661         * sysdeps/arm/libm-test-ulps: Likewise.
17662         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17663         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17664         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17665         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17666         * sysdeps/microblaze/libm-test-ulps: Likewise.
17667         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17668         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17670         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17671         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17672         * sysdeps/sh/libm-test-ulps: Likewise.
17673         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17674         * sysdeps/tile/libm-test-ulps: Likewise.
17675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17677 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17679         * math/libm-test.inc (print_complex_max_error): Check separately
17680         whether real and imaginary errors are within allowed range and
17681         pass 0 to print_complex_function_ulps instead of value within
17682         allowed range.
17684 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17686         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17687         formatting.
17688         (get_handles_fopen): Likewise.
17689         (do_write_test): Likewise.
17691         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17693         * libio/fileops.c (do_ftell): Use cached offset when
17694         available.
17695         * libio/iofwide.c (do_ftell_wide): Likewise.
17696         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17697         _IO_file_attach.
17698         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17700         [BZ #16532]
17701         * libio/libioP.h (get_file_offset): New function.
17702         * libio/fileops.c (get_file_offset): Likewise.
17703         (do_ftell): Likewise.
17704         (_IO_new_file_seekoff): Split out ftell logic.
17705         * libio/wfileops.c (do_ftell_wide): Likewise.
17706         (_IO_wfile_seekoff): Split out ftell logic.
17707         * libio/tst-ftell-active-handler.c: New test case.
17708         * libio/Makefile (tests): Add it.
17710 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17712         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17713         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17715 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17717         [BZ #16639]
17718         * nscd/connections.c (nscd_init): Call do_exit.
17719         (start_threads): Call do_exit and notify_parent.
17720         (begin_drop_privileges): Call do_exit.
17721         (finish_drop_privileges): Likewise.
17722         * nscd/selinux.c (preserve_capabilities): Likewise.
17723         (install_real_capabilities): Likewise.
17724         (nscd_selinux_enabled): Likewise.
17725         (avc_create_thread): Likewise.
17726         (avc_alloc_lock): Likewise.
17727         (nscd_avc_init): Likewise.
17728         * nscd/nscd.c (parent_fd): New static variable.
17729         (main): Create a pipe between parent and child processes.
17730         Skip closing parent_fd.
17731         (monitor_child): New function.
17732         (do_exit): Likewise.
17733         (notify_parent): Likewise.
17734         * nscd/nscd.h (notify_parent): Likewise.
17735         (do_exit): Likewise.
17737 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17739         * malloc/malloc.c (__libc_calloc): Revert last change.
17741 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17745 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17747         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17749         implementation.
17750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17751         (__libc_ifunc_impl_list): Likewise.
17752         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17753         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17754         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17755         * string/strrchr.c: Define STRRCHR.
17757 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17759         * benchtest/bench-strtok.c (simple_strtok): Delete.
17760         (strtok_string): Use as benchmark.
17761         * string/strtok (STRTOK): New macro.
17763 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17765         * manual/threads.texi: Add header and standard comments to all
17766         functions.
17768         * elf/dl-lookup.c (check_match): New function.
17769         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17770         (do_lookup_x): Remove nested function check_match. Use non-nested
17771         function check_match.
17773 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17775         * csu/Makefile (generated, before-compile): Use += rather than =.
17776         * catgets/Makefile (generated, generated-dirs): Likewise.
17777         * debug/Makefile (generated): Likewise.
17778         * dlfcn/Makefile (generated): Likewise.
17779         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17780         * iconvdata/Makefile (before-compile, generated): Likewise.
17781         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17782         * libio/Makefile (generated): Likewise.
17783         * malloc/Makefile (generated): Likewise.
17784         * manual/Makefile (generated, generated-dirs): Likewise.
17785         * misc/Makefile (generated): Likewise.
17786         * posix/Makefile (generated): Likewise.
17787         * resolv/Makefile (generated): Likewise.
17788         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17789         * timezone/Makefile (generated, generated-dirs): Likewise.
17791         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17793 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17796         power8 implementation.
17797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17798         file: POWER8 llround ifunc implementation.
17799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17800         (__lllround): Add POWER8 implementation.
17801         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17802         POWER8 llround implementation.
17804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17805         power8 implementation.
17806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17807         file: POWER8 llrint ifunc implementation.
17808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17809         Add POWER8 implementation.
17810         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17811         POWER8 llrint implementation.
17813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17814         power8 implementation.
17815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17816         file: POWER8 finite ifunc implementation.
17817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17818         Add POWER8 implementation.
17819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17820         Likewise.
17821         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17822         POWER8 finite implementation.
17823         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17826         power8 implementation.
17827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17828         file: POWER8 isinf ifunc implementation.
17829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17830         POWER8 implementation.
17831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17832         Likewise.
17833         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17834         isinf implementation.
17835         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17837         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17838         (INIT_ARCH): Add hwcap2 initialization.
17839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17840         power8 implementation.
17841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17842         file: POWER8 isnan ifunc implementation.
17843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17844         POWER8 implementation.
17845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17846         Likewise.
17847         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17848         isnan implementation.
17849         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17851 2014-02-27  Joey Ye  <joey.ye@arm.com>
17853         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17854         (_FP_NANFRAC_Q): Set to zero.
17856 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17858         [BZ #16623]
17859         * math/auto-libm-test-in: New test inputs.
17860         * math/auto-libm-test-out: Regenerate.
17861         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17862         and DA.
17863         (__cos): Likewise.
17864         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17866 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17868         * scripts/evaluate-test.sh: Take new argument indicating whether
17869         failure is expected.
17870         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17871         indicating whether failure is expected.
17872         * conform/Makefile (test-xfail-run-conformtest): New variable.
17873         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17874         level.
17875         * posix/Makefile (test-xfail-annexc): New variable.
17876         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17878 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17880         * argp/Makefile: Include Makeconfig immediately after defining
17881         subdir.
17882         * assert/Makefile: Likewise.
17883         * benchtests/Makefile: Likewise.
17884         * catgets/Makefile: Likewise.
17885         * conform/Makefile: Likewise.
17886         * crypt/Makefile: Likewise.
17887         * csu/Makefile: Likewise.
17888         (all): Remove target.
17889         * ctype/Makefile: Include Makeconfig immediately after defining
17890         subdir.
17891         * debug/Makefile: Likewise.
17892         * dirent/Makefile: Likewise.
17893         * dlfcn/Makefile: Likewise.
17894         * gmon/Makefile: Likewise.
17895         * gnulib/Makefile: Likewise.
17896         * grp/Makefile: Likewise.
17897         * gshadow/Makefile: Likewise.
17898         * hesiod/Makefile: Likewise.
17899         * hurd/Makefile: Likewise.
17900         (all): Remove target.
17901         * iconvdata/Makefile: Include Makeconfig immediately after
17902         defining subdir.
17903         * inet/Makefile: Likewise.
17904         * intl/Makefile: Likewise.
17905         * io/Makefile: Likewise.
17906         * libio/Makefile: Likewise.
17907         (all): Remove target.
17908         * locale/Makefile: Include Makeconfig immediately after defining
17909         subdir.
17910         * login/Makefile: Likewise.
17911         * mach/Makefile: Likewise.
17912         (all): Remove target.
17913         * malloc/Makefile: Include Makeconfig immediately after defining
17914         subdir.
17915         (all): Remove target.
17916         * manual/Makefile: Include Makeconfig immediately after defining
17917         subdir.
17918         * math/Makefile: Likewise.
17919         * misc/Makefile: Likewise.
17920         * nis/Makefile: Likewise.
17921         * nss/Makefile: Likewise.
17922         * po/Makefile: Likewise.
17923         (all): Remove target.
17924         * posix/Makefile: Include Makeconfig immediately after defining
17925         subdir.
17926         * pwd/Makefile: Likewise.
17927         * resolv/Makefile: Likewise.
17928         * resource/Makefile: Likewise.
17929         * rt/Makefile: Likewise.
17930         * setjmp/Makefile: Likewise.
17931         * shadow/Makefile: Likewise.
17932         * signal/Makefile: Likewise.
17933         * socket/Makefile: Likewise.
17934         * soft-fp/Makefile: Likewise.
17935         * stdio-common/Makefile: Likewise.
17936         * stdlib/Makefile: Likewise.
17937         * streams/Makefile: Likewise.
17938         * string/Makefile: Likewise.
17939         * sunrpc/Makefile: Likewise.
17940         (all): Remove target.
17941         * sysvipc/Makefile: Include Makeconfig immediately after defining
17942         subdir.
17943         * termios/Makefile: Likewise.
17944         * time/Makefile: Likewise.
17945         * timezone/Makefile: Likewise.
17946         (all): Remove target.
17947         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17948         subdir.
17949         * wctype/Makefile: Likewise.
17951 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17953         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17954         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17955         (libc_feholdexcept_setround_mips): Ditto.
17956         (libc_feholdsetround): New.
17957         (libc_feholdsetroundf): New.
17958         (libc_feholdsetroundl): New.
17959         (libc_feupdateenv_test_mips): New.
17960         (libc_feupdateenv_test): New.
17961         (libc_feupdateenv_testf): New.
17962         (libc_feupdateenv_testl): New.
17963         (libc_feresetround): New.
17964         (libc_feresetroundf): New.
17965         (libc_feresetroundl): New.
17966         (libc_fetestexcept_mips): New.
17967         (libc_fetestexcept): New.
17968         (libc_fetestexceptf): New.
17969         (libc_fetestexceptl): New.
17970         (HAVE_RM_CTX): New.
17971         (libc_feholdexcept_setround_mips_ctx): New.
17972         (libc_feholdexcept_setround_ctx): New.
17973         (libc_feholdexcept_setroundf_ctx): New.
17974         (libc_feholdexcept_setroundl_ctx): New.
17975         (libc_fesetenv_mips_ctx): New.
17976         (libc_fesetenv_ctx): New.
17977         (libc_fesetenv_ctxf): New.
17978         (libc_fesetenv_ctxl): New.
17979         (libc_feupdateenv_mips_ctx): New.
17980         (libc_feupdateenv_ctx): New.
17981         (libc_feupdateenvf_ctx): New.
17982         (libc_feupdateenvl_ctx): New.
17983         (libc_feholdsetround_mips_ctx): New.
17984         (libc_feholdsetround_ctx): New.
17985         (libc_feholdsetroundf_ctx): New.
17986         (libc_feholdsetroundl_ctx): New.
17987         (libc_feresetround_mips_ctx): New.
17988         (libc_feresetround_ctx): New.
17989         (libc_feresetroundf_ctx): New.
17990         (libc_feresetroundl_ctx): New.
17992 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17994         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17996         * manual/ipc.texi: New file.
17997         * manual/Makefile (chapters): Add ipc.
17998         * manual/job.texi: Add "Inter-Process Communication" to next.
17999         * manual/process.texi: Add "Inter-Process Communication" to prev.
18001 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18005 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
18007         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18009         * manual/arith.texi: Fix spaces after sentences.
18010         * manual/charset.texi: Likewise.
18011         * manual/errno.texi: Likewise.
18012         * manual/install.texi: Likewise.
18013         * manual/llio.texi: Likewise.
18014         * manual/locale.texi: Likewise.
18015         * manual/maint.texi: Likewise.
18016         * manual/math.texi: Likewise.
18017         * manual/memory.texi: Likewise.
18018         * manual/message.texi: Likewise.
18019         * manual/probes.texi: Likewise.
18020         * manual/resource.texi: Likewise.
18021         * manual/signal.texi: Likewise.
18022         * manual/socket.texi: Likewise.
18023         * manual/stdio.texi: Likewise.
18024         * manual/string.texi: Likewise.
18025         * manual/time.texi: Likewise.
18026         * manual/users.texi: Likewise.
18028 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18030         [BZ #16632]
18031         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18032         _DEFAULT_SOURCE is defined.
18034 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18035             Carlos O'Donell  <carlos@redhat.com>
18037         [BZ #16613]
18038         * elf/dl-tls.c (_dl_count_modids): New function.
18039         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18040         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18041         audit library and increment generation counter.
18042         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18043         * elf/tst-audit9.c: New file.
18044         * elf/tst-auditmod9a.c: New file.
18045         * elf/tst-auditmod9b.c: New file.
18046         * elf/Makefile: Add rules to build and run tst-audit9.
18048 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18050         [BZ #15347]
18051         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18053 2014-02-25  Will Newton  <will.newton@linaro.org>
18055         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18056         (__longjmp): Restore sp and lr before restoring callee
18057         saved registers.  Add longjmp and longjmp_target
18058         SystemTap probe point.
18059         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18060         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18061         Define to zero to match jmpbuf layout.
18062         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18063         (__sigsetjmp): Save sp and lr before saving callee
18064         saved registers.  Add setjmp SystemTap probe point.
18066 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18068         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18070 2014-02-24  Andreas Schwab  <schwab@suse.de>
18072         [BZ #15804]
18073         * elf/pldd.c (wait_for_ptrace_stop): New function.
18074         (main): Call it after attaching.
18076 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18078         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18079         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18080         Versions files is now verboten.
18081         * hurd/Versions (libc: GLIBC_2.0):
18082         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18083         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18084         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18085         * mach/Versions: Likewise.
18087         * csu/Versions: Remove unused %include.
18088         * resolv/Versions: Likewise.
18090 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18092         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18093         ($(objpfx)check-local-headers.out): Likewise.
18094         ($(objpfx)begin-end-check.out): Likewise.
18095         * Makerules (check-abi-%.out): Likewise.
18096         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18097         ($(objpfx)test2.cat): Likewise.
18098         ($(objpfx)de/libc.cat): Likewise.
18099         ($(objpfx)test-gencat.out): Likewise.
18100         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18101         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18102         ($(objpfx)noload-mem): Likewise.
18103         ($(objpfx)tst-pathopt.out): Likewise.
18104         ($(objpfx)tst-rtld-load-self.out): Likewise.
18105         ($(objpfx)tst-array1-cmp.out): Likewise.
18106         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18107         ($(objpfx)tst-array2-cmp.out): Likewise.
18108         ($(objpfx)tst-array3-cmp.out): Likewise.
18109         ($(objpfx)tst-array4-cmp.out): Likewise.
18110         ($(objpfx)tst-array5-cmp.out): Likewise.
18111         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18112         ($(objpfx)check-textrel.out): Likewise.
18113         ($(objpfx)check-execstack.out): Likewise.
18114         ($(objpfx)check-localplt.out): Likewise.
18115         ($(objpfx)order2-cmp.out): Likewise.
18116         ($(objpfx)tst-leaks1-mem): Likewise.
18117         ($(objpfx)tst-leaks1-static-mem): Likewise.
18118         ($(objpfx)tst-initorder-cmp.out): Likewise.
18119         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18120         ($(objpfx)tst-unused-dep.out): Likewise.
18121         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18122         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18123         * iconv/Makefile (test-iconvconfig): Likewise.
18124         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18125         ($(objpfx)iconv-test.out): Likewise.
18126         ($(objpfx)tst-tables.out): Likewise.
18127         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18128         ($(objpfx)tst-gettext.out): Likewise.
18129         ($(objpfx)tst-translit.out): Likewise.
18130         ($(objpfx)tst-gettext2.out): Likewise.
18131         ($(objpfx)tst-gettext4.out): Likewise.
18132         ($(objpfx)tst-gettext6.out): Likewise.
18133         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18134         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18135         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18136         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18137         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18138         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18139         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18140         ($(objpfx)wordexp-tst.out): Likewise.
18141         ($(objpfx)annexc.out): Likewise.
18142         ($(objpfx)tst-fnmatch-mem): Likewise.
18143         ($(objpfx)bug-regex2-mem): Likewise.
18144         ($(objpfx)bug-regex14-mem): Likewise.
18145         ($(objpfx)bug-regex21-mem): Likewise.
18146         ($(objpfx)bug-regex31-mem): Likewise.
18147         ($(objpfx)tst-vfork3-mem): Likewise.
18148         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18149         ($(objpfx)tst-pcre-mem): Likewise.
18150         ($(objpfx)tst-boost-mem): Likewise.
18151         ($(objpfx)tst-getconf.out): Likewise.
18152         ($(objpfx)bug-ga2-mem): Likewise.
18153         ($(objpfx)bug-glob2-mem): Likewise.
18154         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18155         ($(objpfx)mtrace-tst-leaks2): Likewise.
18156         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18157         ($(objpfx)tst-printf.out): Likewise.
18158         ($(objpfx)tst-setvbuf1.out): Likewise.
18159         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18160         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18161         ($(objpfx)tst-fmtmsg.out): Likewise.
18162         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18163         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18165         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18166         * bits/sigaction.h [__USE_MISC]: Likewise.
18167         * bits/waitstatus.h: Update #endif comments.
18168         * ctype/ctype.h: Likewise.
18169         * dirent/dirent.h: Likewise.
18170         [__USE_MISC]: Remove redundant conditionals.
18171         * grp/grp.h: Update #endif comments.
18172         [__USE_GNU]: Remove redundant conditionals.
18173         [__USE_MISC]: Likewise.
18174         * inet/netinet/in.h [__USE_GNU]: Likewise.
18175         * io/sys/stat.h [__USE_MISC]: Likewise.
18176         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18177         * libio/bits/stdio.h: Update #endif comments.
18178         [__USE_MISC]: Remove redundant conditionals.
18179         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18180         * libio/stdio.h: Update #endif comments.
18181         [__USE_MISC]: Remove redundant conditionals.
18182         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18183         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18184         * math/math.h: Update #else and #endif comments.
18185         [__USE_MISC]: Remove redundant conditionals.
18186         * misc/sys/uio.h: Update #endif comments.
18187         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18188         * posix/glob.h [__USE_MISC]: Likewise.
18189         * posix/sys/types.h: Update #endif comments.
18190         [__USE_MISC]: Remove redundant conditionals.
18191         * posix/sys/wait.h: Update #endif comments.
18192         [__USE_MISC]: Remove redundant conditionals.
18193         * posix/unistd.h: Update #endif comments.
18194         [__USE_MISC]: Remove redundant conditionals.
18195         * pwd/pwd.h [__USE_GNU]: Likewise.
18196         [__USE_MISC]: Likewise.
18197         * resolv/netdb.h [__USE_GNU]: Likewise.
18198         * signal/signal.h: Update #endif comments.
18199         [__USE_MISC]: Remove redundant conditionals.
18200         * stdlib/stdlib.h: Update #else and #endif comments.
18201         [__USE_MISC]: Remove redundant conditionals.
18202         [__USE_GNU]: Likewise.
18203         * string/bits/string2.h [__USE_MISC]: Likewise.
18204         * string/string.h: Update #endif comments.
18205         [__USE_MISC]: Remove redundant conditionals.
18206         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18207         Likewise.
18208         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18209         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18210         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18211         Likewise.
18212         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18213         Likewise.
18214         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18215         comments.
18216         [__USE_MISC]: Remove redundant conditionals.
18217         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18218         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18219         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18220         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18221         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18222         Likewise.
18223         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18224         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18225         Likewise.
18226         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18227         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18228         Likewise.
18229         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18230         Likewise.
18231         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18232         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18233         Likewise.
18234         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18235         Likewise.
18236         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18237         * sysdeps/x86/bits/string.h: Update #endif comments.
18238         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18239         conditionals.
18240         * time/sys/time.h: Update #endif comments.
18241         * time/time.h: Likewise.
18242         [__USE_MISC]: Remove redundant conditionals.
18244 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18246         [BZ #16600]
18247         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18249 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18251         * Versions.def (librt): Add GLIBC_2.17.
18253 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18255         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18256         synonym for _SYS_AUXV_H to allow direct inclusion.
18257         * sysdeps/sparc/bits/hwcap.h: Likewise.
18258         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18259         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18260         * sysdeps/sparc/sysdep.h: Likewise.
18262 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18264         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18266 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18268         * benchtests/bench-strrchr.c: Print length instead of position.
18270 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #16611]
18273         * sysdeps/unix/sysv/linux/kernel-features.h
18274         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18275         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18276         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18277         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18278         Likewise.
18279         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18280         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18281         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18282         (__ASSUME_SENDMMSG): Define instead of using previous
18283         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18284         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18285         (__ASSUME_SENDMMSG_SYSCALL): Define.
18286         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18287         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18288         Likewise.
18289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18290         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18291         Likewise.
18292         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18293         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18294         Likewise.
18295         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18296         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18297         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18298         [__ASSUME_SENDMMSG]: Change conditionals to
18299         [__ASSUME_SENDMMSG_SOCKETCALL].
18300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18301         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18302         Define.
18303         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18304         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18305         Likewise.
18306         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18307         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18308         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18309         [!__ASSUME_SENDMMSG]: Change conditional to
18310         [!__ASSUME_SENDMMSG_SOCKETCALL].
18311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18312         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18313         Define.
18315         [BZ #16610]
18316         * sysdeps/unix/sysv/linux/kernel-features.h
18317         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18318         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18319         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18320         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18321         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18322         [__i386__ || __sparc__]
18323         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18324         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18325         (__ASSUME_RECVMMSG): Define instead of using previous
18326         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18328         (__ASSUME_RECVMMSG_SYSCALL): Define.
18329         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18330         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18331         Likewise.
18332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18333         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18334         Likewise.
18335         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18336         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18337         Likewise.
18338         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18339         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18340         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18341         [__ASSUME_RECVMMSG]: Change condition to
18342         [__ASSUME_RECVMMSG_SOCKETCALL].
18343         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18345         Define.
18346         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18347         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18349         Likewise.
18350         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18351         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18352         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18353         [!__ASSUME_RECVMMSG]: Change condition to
18354         [!__ASSUME_RECVMMSG_SOCKETCALL].
18355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18356         (__ASSUME_RECVMMSG_SYSCALL): Define.
18358         [BZ #16609]
18359         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18360         __powerpc__ || __s390__ || __sh__ || __sparc__]
18361         (__ASSUME_SOCKETCALL): Define.
18362         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18363         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18364         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18365         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18366         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18367         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18368         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18369         (__ASSUME_ACCEPT4): Define instead of using previous
18370         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18371         __powerpc__ || __sparc__ || __s390__)] condition.
18372         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18373         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18374         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18375         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18376         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18377         [!__ASSUME_ACCEPT4]: Change condition to
18378         [!__ASSUME_ACCEPT4_SOCKETCALL].
18379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18380         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18381         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18382         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18383         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18384         __ASSUME_ACCEPT4_SYSCALL.
18385         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18386         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18387         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18388         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18389         __ASSUME_ACCEPT4_SYSCALL.
18390         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18391         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18392         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18393         [__ASSUME_ACCEPT4]: Change condition to
18394         [__ASSUME_ACCEPT4_SOCKETCALL].
18395         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18396         (__ASSUME_SOCKETCALL): Define.
18397         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18398         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18399         (__ASSUME_SOCKETCALL): Define.
18400         (__ASSUME_ACCEPT4): Remove.
18401         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18402         Define.
18403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18404         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18405         Likewise.
18406         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18407         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18409         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18410         macro.
18411         (HWCAP_ARM_LPAE): Likewise.
18412         (HWCAP_ARM_EVTSTRM): Likewise.
18413         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18414         Add vpfd32, lpae and evtstrm.
18415         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18416         Increase to 22.
18418 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18420         * math/auto-libm-test-in: Add tests of clog10.
18421         * math/auto-libm-test-out: Regenerated.
18422         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18423         * sysdeps/i386/fpu/libm-test-ulps: Update.
18424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18426 2014-02-18  Andreas Schwab  <schwab@suse.de>
18428         [BZ #16574]
18429         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18430         Store non-zero if the second buffer was newly allocated.
18431         (send_dg): Likewise.
18432         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18433         to send_vc and send_dg.
18434         (res_nsend): Pass NULL for ansp2_malloced.
18435         * resolv/res_query.c (__libc_res_nquery): Add parameter
18436         answerp2_malloced and pass it down to __libc_res_nsend.
18437         (res_nquery): Pass additional NULL to __libc_res_nquery.
18438         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18439         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18440         second answer buffer if answerp2_malloced was set.
18441         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18442         (__libc_res_nquerydomain): Add parameter
18443         answerp2_malloced and pass it down to __libc_res_nquery.
18444         (res_nquerydomain): Pass additional NULL to
18445         __libc_res_nquerydomain.
18446         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18447         additional NULL to __libc_res_nsend and __libc_res_nquery.
18448         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18449         additional NULL to __libc_res_nsearch.
18450         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18451         parameter of __libc_res_nsearch to check for separately allocated
18452         second buffer.
18453         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18454         __libc_res_nquery.
18455         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18456         additional NULL to __libc_res_nquery.
18457         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18458         __libc_res_nsearch.
18459         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18460         * include/resolv.h: Update prototypes of __libc_res_nquery,
18461         __libc_res_nsearch, __libc_res_nsend.
18463 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18465         * math/auto-libm-test-in: Add tests of fma.
18466         * math/auto-libm-test-out: Regenerated.
18467         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18468         (fma_towardzero_test_data): Likewise.
18469         (fma_downward_test_data): Likewise.
18470         (fma_upward_test_data): Likewise.
18471         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18472         mpc_mode.
18473         (rounding_modes): Add values for new field.
18474         (func_calc_method): Add value mpfr_fff_f.
18475         (func_calc_desc): Add mpfr_fff_f union field.
18476         (test_function): Add field exact_args.
18477         (FUNC): Add macro argument EXACT_ARGS.
18478         (FUNC_mpfr_f_f): Update call to FUNC.
18479         (FUNC_mpfr_f_f): Likewise.
18480         (FUNC_mpfr_ff_f): Likewise.
18481         (FUNC_mpfr_if_f): Likewise.
18482         (FUNC_mpc_c_f): Likewise.
18483         (FUNC_mpc_c_c): Likewise.
18484         (test_functions): Add fma.  Update calls to FUNC.
18485         (handle_input_arg): Add argument exact_args.
18486         (add_test): Update call to handle_input_arg.
18487         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18488         (output_for_one_input_case): Update call to calc_generic_results.
18489         Recalculate exact zero results in each rounding mode.
18491         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18492         non-negative before setting low bit.
18493         * math/auto-libm-test-in: Mark one asin test possibly having
18494         spurious underflow.
18495         * math/auto-libm-test-out: Regenerated.
18496         * sysdeps/i386/fpu/libm-test-ulps: Update.
18497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18499 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18501         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18502         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18503         ports/sysdeps/unix/sysv/linux/microblaze.
18504         * README: Add missing listing for microblaze*-*-linux-gnu.
18506 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18508         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18509         duplicate code
18511 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18513         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18514         * sysdeps/unix/sysv/linux/ia64: Move directory from
18515         ports/sysdeps/unix/sysv/linux/ia64.
18516         * README: Update listing for ia64-*-linux-gnu.
18518 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18519             Joseph Myers  <joseph@codesourcery.com>
18521         * Makeconfig (test-name): New variable.
18522         (evaluate-test): Likewise.
18523         * Makerules (do-test-clean): Remove .test-result files.
18524         (common-mostlyclean): Likewise.
18525         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18526         * scripts/evaluate-test.sh: New file.
18528 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18530         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18531         separate $(objpfx)tst-fopenloc-cmp.out and
18532         $(objpfx)tst-fopenloc-mem.out targets.
18533         (tests): Update dependencies.
18534         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18535         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18536         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18537         (tst-rxspencer-no-utf8-ARGS): New variable.
18538         (tst-rxspencer-no-utf8-ENV): Likewise.
18539         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18540         instead of $(objpfx)tst-rxspencer-mem.
18541         ($(objpfx)tst-rxspencer-mem): Change target to
18542         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18543         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18544         * posix/tst-rxspencer-no-utf8.c: New file.
18546         * elf/Makefile ($(objpfx)order.out): Remove rule.
18547         [$(run-built-tests) = yes] (tests): Depend on
18548         $(objpfx)order-cmp.out.
18549         ($(objpfx)order-cmp.out): New rule.
18550         [$(run-built-tests) = yes] (tests): Depend on
18551         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18552         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18553         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18554         $(objpfx)tst-array5-static-cmp.out.
18555         ($(objpfx)tst-array1.out): Remove rule.
18556         ($(objpfx)tst-array1-cmp.out): New rule.
18557         ($(objpfx)tst-array1-static.out): Remove rule.
18558         ($(objpfx)tst-array1-static-cmp.out): New rule.
18559         ($(objpfx)tst-array2.out): Remove rule.
18560         ($(objpfx)tst-array2-cmp.out): New rule.
18561         ($(objpfx)tst-array3.out): Remove rule.
18562         ($(objpfx)tst-array3-cmp.out): New rule.
18563         ($(objpfx)tst-array4.out): Remove rule.
18564         ($(objpfx)tst-array4-cmp.out): New rule.
18565         ($(objpfx)tst-array5.out): Remove rule.
18566         ($(objpfx)tst-array5-cmp.out): New rule.
18567         ($(objpfx)tst-array5-static.out): Remove rule.
18568         ($(objpfx)tst-array5-static-cmp.out): New rule.
18569         [$(run-built-tests) = yes] (tests): Depend on
18570         $(objpfx)order2-cmp.out.
18571         ($(objpfx)order2.out): Remove rule.
18572         ($(objpfx)order2-cmp.out): New rule.
18573         ($(objpfx)tst-initorder.out): Remove rule.
18574         [$(run-built-tests) = yes] (tests): Depend on
18575         $(objpfx)tst-initorder-cmp.out.
18576         ($(objpfx)tst-initorder-cmp.out): New rule.
18577         ($(objpfx)tst-initorder2.out): Remove rule.
18578         [$(run-built-tests) = yes] (tests): Depend on
18579         $(objpfx)tst-initorder2-cmp.out.
18580         ($(objpfx)tst-initorder2-cmp.out): New rule.
18581         [$(run-built-tests) = yes] (tests): Depend on
18582         $(objpfx)tst-unused-dep-cmp.out.
18583         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18584         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18585         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18586         on $(objpfx)tst-setvbuf1-cmp.out.
18587         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18588         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18589         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18590         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18591         ($(objpfx)tst-svc.out): Remove rule.
18592         ($(objpfx)tst-svc-cmp.out): New rule.
18594 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18596         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18597         * ctype/ctype.h [__USE_MISC]: Likewise.
18598         * dirent/dirent.h [__USE_MISC]: Likewise.
18599         * grp/grp.h [__USE_MISC]: Likewise.
18600         * io/fcntl.h [__USE_MISC]: Likewise.
18601         * io/sys/stat.h [__USE_MISC]: Likewise.
18602         * libio/stdio.h [__USE_MISC]: Likewise.
18603         * posix/unistd.h [__USE_MISC]: Likewise.
18604         * pwd/pwd.h [__USE_MISC]: Likewise.
18605         * stdlib.h [__USE_MISC]: Likewise.
18606         * string/bits/string2.h [__USE_MISC]: Likewise.
18607         * string/string.h [__USE_MISC]: Likewise.
18608         * time/time.h [__USE_MISC]: Likewise.
18610 2014-02-13  Andreas Schwab  <schwab@suse.de>
18612         [BZ #16574]
18613         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18614         second answer buffer if it was separately allocated.
18616 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18618         * sysdeps/mips/math-tests.h: Include <features.h>.
18619         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18620         (ROUNDING_TESTS_long_double): Do not define.
18621         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18622         (EXCEPTION_TESTS_long_double): Likewise.
18623         * sysdeps/mips/mips64/libm-test-ulps: Update.
18625         * include/features.h (__USE_BSD): Remove macro definitions.
18626         (__USE_SVID): Likewise.
18627         (_BSD_SOURCE): Likewise.
18628         (_SVID_SOURCE): Likewise.
18629         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18630         from definition of _DEFAULT_SOURCE.
18631         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18632         [_DEFAULT_SOURCE].
18633         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18634         * bits/mman.h [__USE_BSD]: Likewise.
18635         * bits/termios.h [__USE_BSD]: Likewise.
18636         * bits/waitstatus.h [__USE_BSD]: Likewise.
18637         * ctype/ctype.h [__USE_SVID]: Likewise.
18638         * dirent/dirent.h [__USE_BSD]: Likewise.
18639         * grp/grp.h [__USE_SVID]: Likewise.
18640         [__USE_BSD]: Likewise.
18641         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18642         * io/fcntl.h [__USE_BSD]: Likewise.
18643         * io/ftw.h [__USE_BSD]: Likewise.
18644         * io/sys/stat.h [__USE_BSD]: Likewise.
18645         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18646         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18647         * libio/stdio.h [__USE_SVID]: Likewise.
18648         [__USE_BSD]: Likewise.
18649         * math/math.h [__USE_SVID]: Likewise.
18650         [__USE_BSD]: Likewise.
18651         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18652         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18653         * misc/search.h [__USE_SVID]: Likewise.
18654         * misc/sys/mman.h [__USE_BSD]: Likewise.
18655         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18656         * misc/sys/uio.h [__USE_BSD]: Likewise.
18657         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18658         * posix/glob.h [__USE_BSD]: Likewise.
18659         * posix/regex.h [__USE_BSD]: Likewise.
18660         * posix/sys/types.h [__USE_BSD]: Likewise.
18661         [__USE_SVID]: Likewise.
18662         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18663         * posix/sys/wait.h [__USE_BSD]: Likewise.
18664         [__USE_SVID]: Likewise.
18665         * posix/unistd.h [__USE_BSD]: Likewise.
18666         [__USE_SVID]: Likewise.
18667         * pwd/pwd.h [__USE_SVID]: Likewise.
18668         * resolv/netdb.h [__USE_BSD]: Likewise.
18669         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18670         * signal/signal.h [__USE_BSD]: Likewise.
18671         [__USE_SVID]: Likewise.
18672         * socket/sys/socket.h [__USE_BSD]: Likewise.
18673         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18674         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18675         [__USE_SVID]: Likewise.
18676         * string/bits/string2.h [__USE_BSD]: Likewise.
18677         [__USE_SVID]: Likewise.
18678         * string/bits/string3.h [__USE_BSD]: Likewise.
18679         * string/endian.h [__USE_BSD]: Likewise.
18680         * string/string.h [__USE_SVID]: Likewise.
18681         [__USE_BSD]: Likewise.
18682         * string/strings.h [__USE_BSD]: Likewise.
18683         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18684         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18685         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18686         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18687         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18688         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18689         Likewise.
18690         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18691         Likewise.
18692         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18693         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18696         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18697         Likewise.
18698         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18699         Likewise.
18700         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18701         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18702         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18703         Likewise.
18704         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18705         Likewise.
18706         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18707         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18708         * termios/termios.h [__USE_BSD]: Likewise.
18709         * time/sys/time.h [__USE_BSD]: Likewise.
18710         * time/time.h [__USE_BSD]: Likewise.
18711         [__USE_SVID]: Likewise.
18713         * Makefile (subdir_targets): Remove subdir_lint.out.
18715         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18716         (do-tst-printf): Likewise.
18717         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18718         $(objpfx)tst-printf.out.
18720         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18722         * Makerules (check-abi-%): Change target to
18723         $(objpfx)check-abi-%.out.
18724         (check-abi target): Update dependencies.
18725         (check-abi-pattern variable): Redirect output of diff to $@.
18726         (check-abi variable): Likewise.
18727         * elf/Makefile (check-abi): Update dependencies.
18729         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18730         unused.
18731         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18732         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18733         subnormal range.
18734         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18735         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18736         value has largest subnormal exponent.
18737         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18738         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18739         * sysdeps/aarch64/soft-fp/sfp-machine.h
18740         (_FP_TININESS_AFTER_ROUNDING): New macro.
18741         * sysdeps/alpha/soft-fp/sfp-machine.h
18742         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18743         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18744         Likewise.
18745         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18746         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18747         * sysdeps/mips/soft-fp/sfp-machine.h
18748         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18749         * sysdeps/powerpc/soft-fp/sfp-machine.h
18750         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18751         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18752         Likewise.
18753         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18754         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18755         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18756         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18757         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18758         Likewise.
18760 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18762         [BZ #16545]
18763         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18764         model 1.
18766 2014-02-12  Richard Henderson  <rth@redhat.com>
18768         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18769         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18770         * sysdeps/unix/sysv/linux/alpha: Move directory from
18771         ports/sysdeps/unix/sysv/linux/alpha.
18772         * README: Update listing for alpha-*-linux-gnu.
18774 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18776         * include/features.h: Update comment documenting feature test
18777         macros.
18778         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18779         _DEFAULT_SOURCE.
18780         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18781         (_SVID_SOURCE): Likewise.
18782         (_DEFAULT_SOURCE): Update description of default features.
18783         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18784         with _GNU_SOURCE.
18785         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18786         (S_ISVTX): Likewise.
18787         * manual/math.texi (Mathematical Constants): Likewise.
18788         * manual/signal.texi (Interrupted Primitives): Likewise.
18789         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18790         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18791         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18792         Don't refer to _SVID_SOURCE in warning text.
18794         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18796         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18797         already defined.
18798         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18799         * sysdeps/mips/dl-lookup.c: Remove.
18800         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18802 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18804         [BZ #16447]
18805         * math/auto-libm-test-in: Add testcase for expl.
18806         * math/auto-libm-test-out: Regenerate.
18807         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18808         calculation of unsafe.
18809         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18811 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18813         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18814         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18815         ports/sysdeps/unix/sysv/linux/aarch64.
18816         * README: Update listing for aarch64*-*-linux-gnu.
18818 2014-02-11  Will Newton  <will.newton@linaro.org>
18820         * manual/probes.texi (Mathematical Function Probes): Use
18821         "triggered" instead of "hit".
18823         * manual/probes.texi (Internal Probes): Add documentation
18824         of setjmp, longjmp and longjmp_target probes.
18826         * include/stap-probe.h: Add comment about probe argument
18827         format.
18829         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18830         definition.  (tr_where, tr_freehook, tr_mallochook,
18831         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18833 2014-02-11  David S. Miller  <davem@davemloft.net>
18835         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18836         processing int_tests.
18838 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18840         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18841         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18842         * sysdeps/unix/sysv/linux/mips: Move directory from
18843         ports/sysdeps/unix/sysv/linux/mips.
18844         * README: Update listing for mips-*-linux-gnu and
18845         mips64-*-linux-gnu.
18847 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18849         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18850         * sysdeps/unix/sysv/linux/m68k: Move directory from
18851         ports/sysdeps/unix/sysv/linux/m68k.
18852         * README: Update listing for m68k-*-linux-gnu.
18854 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18856         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18857         * sysdeps/unix/sysv/linux/generic: Move directory from
18858         ports/sysdeps/unix/sysv/linux/generic.
18859         * sysdeps/unix/sysv/linux/tile: Move directory from
18860         ports/sysdeps/unix/sysv/linux/tile.
18861         * README: Update listing for tile*-*-linux-gnu.
18863 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18865         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18866         __builtin_expect.
18867         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18868         * catgets/open_catalog.c (__open_catalog): Likewise.
18869         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18870         * debug/confstr_chk.c: Likewise.
18871         * debug/fread_chk.c (__fread_chk): Likewise.
18872         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18873         * debug/getgroups_chk.c: Likewise.
18874         * debug/mbsnrtowcs_chk.c: Likewise.
18875         * debug/mbsrtowcs_chk.c: Likewise.
18876         * debug/mbstowcs_chk.c: Likewise.
18877         * debug/memcpy_chk.c: Likewise.
18878         * debug/memmove_chk.c: Likewise.
18879         * debug/mempcpy_chk.c: Likewise.
18880         * debug/memset_chk.c: Likewise.
18881         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18882         * debug/strcat_chk.c (__strcat_chk): Likewise.
18883         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18884         * debug/strncat_chk.c (__strncat_chk): Likewise.
18885         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18886         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18887         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18888         * debug/wcpncpy_chk.c: Likewise.
18889         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18890         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18891         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18892         * debug/wcsncpy_chk.c: Likewise.
18893         * debug/wcsnrtombs_chk.c: Likewise.
18894         * debug/wcsrtombs_chk.c: Likewise.
18895         * debug/wcstombs_chk.c: Likewise.
18896         * debug/wmemcpy_chk.c: Likewise.
18897         * debug/wmemmove_chk.c: Likewise.
18898         * debug/wmempcpy_chk.c: Likewise.
18899         * debug/wmemset_chk.c: Likewise.
18900         * dirent/scandirat.c (SCANDIRAT): Likewise.
18901         * dlfcn/dladdr1.c (dladdr1): Likewise.
18902         * dlfcn/dladdr.c (dladdr): Likewise.
18903         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18904         * dlfcn/dlerror.c (__dlerror): Likewise.
18905         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18906         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18907         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18908         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18909         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18910         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18911         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18912         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18913         Likewise.
18914         * elf/dl-conflict.c: Likewise.
18915         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18916         * elf/dl-dst.h: Likewise.
18917         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18918         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18919         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18920         * elf/dl-init.c (call_init, _dl_init): Likewise.
18921         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18922         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18923         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18924         Likewise.
18925         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18926         Likewise.
18927         * elf/dl-minimal.c (__libc_memalign): Likewise.
18928         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18929         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18930         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18931         * elf/dl-sym.c (do_sym): Likewise.
18932         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18933         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18934         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18935         * elf/dl-writev.h (_dl_writev): Likewise.
18936         * elf/ldconfig.c (search_dir): Likewise.
18937         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18938         (dl_main): Likewise.
18939         * elf/setup-vdso.h (setup_vdso): Likewise.
18940         * grp/compat-initgroups.c (compat_call): Likewise.
18941         * grp/fgetgrent.c (fgetgrent): Likewise.
18942         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18943         * grp/putgrent.c (putgrent): Likewise.
18944         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18945         Likewise.
18946         * hurd/hurdinit.c: Likewise.
18947         * iconvdata/8bit-gap.c (struct): Likewise.
18948         * iconvdata/ansi_x3.110.c : Likewise.
18949         * iconvdata/big5.c : Likewise.
18950         * iconvdata/big5hkscs.c : Likewise.
18951         * iconvdata/cp1255.c: Likewise.
18952         * iconvdata/cp1258.c : Likewise.
18953         * iconvdata/cp932.c : Likewise.
18954         * iconvdata/euc-cn.c: Likewise.
18955         * iconvdata/euc-jisx0213.c : Likewise.
18956         * iconvdata/euc-jp.c: Likewise.
18957         * iconvdata/euc-jp-ms.c : Likewise.
18958         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18959         * iconvdata/gb18030.c : Likewise.
18960         * iconvdata/gbbig5.c (const): Likewise.
18961         * iconvdata/gbgbk.c: Likewise.
18962         * iconvdata/gbk.c : Likewise.
18963         * iconvdata/ibm1364.c : Likewise.
18964         * iconvdata/ibm930.c : Likewise.
18965         * iconvdata/ibm932.c: Likewise.
18966         * iconvdata/ibm933.c : Likewise.
18967         * iconvdata/ibm935.c : Likewise.
18968         * iconvdata/ibm937.c : Likewise.
18969         * iconvdata/ibm939.c : Likewise.
18970         * iconvdata/ibm943.c: Likewise.
18971         * iconvdata/iso_11548-1.c: Likewise.
18972         * iconvdata/iso-2022-cn.c : Likewise.
18973         * iconvdata/iso-2022-cn-ext.c : Likewise.
18974         * iconvdata/iso-2022-jp-3.c: Likewise.
18975         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18976         * iconvdata/iso-2022-kr.c : Likewise.
18977         * iconvdata/iso646.c (gconv_end): Likewise.
18978         * iconvdata/iso_6937-2.c : Likewise.
18979         * iconvdata/iso_6937.c : Likewise.
18980         * iconvdata/iso8859-1.c: Likewise.
18981         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18982         * iconvdata/shift_jisx0213.c : Likewise.
18983         * iconvdata/sjis.c : Likewise.
18984         * iconvdata/t.61.c : Likewise.
18985         * iconvdata/tcvn5712-1.c : Likewise.
18986         * iconvdata/tscii.c: Likewise.
18987         * iconvdata/uhc.c : Likewise.
18988         * iconvdata/unicode.c (gconv_end): Likewise.
18989         * iconvdata/utf-16.c (gconv_end): Likewise.
18990         * iconvdata/utf-32.c (gconv_end): Likewise.
18991         * iconvdata/utf-7.c (base64): Likewise.
18992         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18993         * iconv/gconv_close.c (__gconv_close): Likewise.
18994         * iconv/gconv_open.c (__gconv_open): Likewise.
18995         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18996         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18997         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18998         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18999         (ucs4le_internal_loop_single): Likewise.
19000         * iconv/iconv.c (iconv): Likewise.
19001         * iconv/iconv_close.c: Likewise.
19002         * iconv/loop.c (SINGLE): Likewise.
19003         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19004         * include/atomic.h: Likewise.
19005         * inet/inet6_option.c (option_alloc): Likewise.
19006         * intl/bindtextdom.c (set_binding_values): Likewise.
19007         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19008         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19009         * intl/localealias.c (read_alias_file): Likewise.
19010         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19011         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19012         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19013         * libio/fmemopen.c (fmemopen): Likewise.
19014         * libio/iofgets.c (_IO_fgets): Likewise.
19015         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19016         * libio/iofgetws.c (fgetws): Likewise.
19017         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19018         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19019         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19020         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19021         * locale/findlocale.c (_nl_find_locale): Likewise.
19022         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19023         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19024         Likewise.
19025         * locale/setlocale.c (setlocale): Likewise.
19026         * login/programs/pt_chown.c (main): Likewise.
19027         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19028         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19029         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19030         (mmap, mmap64, mremap, munmap): Likewise.
19031         * math/e_exp2l.c: Likewise.
19032         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19033         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19034         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19035         * math/s_catan.c (__catan): Likewise.
19036         * math/s_catanf.c (__catanf): Likewise.
19037         * math/s_catanh.c (__catanh): Likewise.
19038         * math/s_catanhf.c (__catanhf): Likewise.
19039         * math/s_catanhl.c (__catanhl): Likewise.
19040         * math/s_catanl.c (__catanl): Likewise.
19041         * math/s_ccosh.c (__ccosh): Likewise.
19042         * math/s_ccoshf.c (__ccoshf): Likewise.
19043         * math/s_ccoshl.c (__ccoshl): Likewise.
19044         * math/s_cexp.c (__cexp): Likewise.
19045         * math/s_cexpf.c (__cexpf): Likewise.
19046         * math/s_cexpl.c (__cexpl): Likewise.
19047         * math/s_clog10.c (__clog10): Likewise.
19048         * math/s_clog10f.c (__clog10f): Likewise.
19049         * math/s_clog10l.c (__clog10l): Likewise.
19050         * math/s_clog.c (__clog): Likewise.
19051         * math/s_clogf.c (__clogf): Likewise.
19052         * math/s_clogl.c (__clogl): Likewise.
19053         * math/s_csin.c (__csin): Likewise.
19054         * math/s_csinf.c (__csinf): Likewise.
19055         * math/s_csinh.c (__csinh): Likewise.
19056         * math/s_csinhf.c (__csinhf): Likewise.
19057         * math/s_csinhl.c (__csinhl): Likewise.
19058         * math/s_csinl.c (__csinl): Likewise.
19059         * math/s_csqrt.c (__csqrt): Likewise.
19060         * math/s_csqrtf.c (__csqrtf): Likewise.
19061         * math/s_csqrtl.c (__csqrtl): Likewise.
19062         * math/s_ctan.c (__ctan): Likewise.
19063         * math/s_ctanf.c (__ctanf): Likewise.
19064         * math/s_ctanh.c (__ctanh): Likewise.
19065         * math/s_ctanhf.c (__ctanhf): Likewise.
19066         * math/s_ctanhl.c (__ctanhl): Likewise.
19067         * math/s_ctanl.c (__ctanl): Likewise.
19068         * math/w_pow.c: Likewise.
19069         * math/w_powf.c: Likewise.
19070         * math/w_powl.c: Likewise.
19071         * math/w_scalb.c (sysv_scalb): Likewise.
19072         * math/w_scalbf.c (sysv_scalbf): Likewise.
19073         * math/w_scalbl.c (sysv_scalbl): Likewise.
19074         * misc/error.c (error_tail): Likewise.
19075         * misc/pselect.c (__pselect): Likewise.
19076         * nis/nis_callback.c (__nis_create_callback): Likewise.
19077         * nis/nis_call.c (__nisfind_server): Likewise.
19078         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19079         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19080         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19081         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19082         * nis/nis_lookup.c (nis_lookup): Likewise.
19083         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19084         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19085         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19086         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19087         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19088         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19089         * nis/nss_compat/compat-initgroups.c (add_group)
19090         (internal_getgrent_r): Likewise.
19091         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19092         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19093         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19094         (internal_getspnam_r): Likewise.
19095         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19096         (_nss_nis_getaliasbyname_r): Likewise.
19097         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19098         (_nss_nis_getntohost_r): Likewise.
19099         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19100         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19101         (_nss_nis_getgrgid_r): Likewise.
19102         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19103         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19104         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19105         (_nss_nis_gethostbyname4_r): Likewise.
19106         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19107         (initgroups_netid): Likewise.
19108         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19109         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19110         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19111         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19112         (_nss_nis_getprotobynumber_r): Likewise.
19113         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19114         (_nss_nis_getsecretkey): Likewise.
19115         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19116         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19117         (_nss_nis_getpwuid_r): Likewise.
19118         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19119         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19120         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19121         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19122         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19123         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19124         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19125         Likewise.
19126         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19127         (_nss_nisplus_getntohost_r): Likewise.
19128         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19129         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19130         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19131         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19132         Likewise.
19133         * nis/nss_nisplus/nisplus-initgroups.c
19134         (_nss_nisplus_initgroups_dyn): Likewise.
19135         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19136         (_nss_nisplus_getnetbyaddr_r): Likewise.
19137         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19138         (_nss_nisplus_getprotobynumber_r): Likewise.
19139         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19140         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19141         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19142         Likewise.
19143         * nis/nss_nisplus/nisplus-service.c
19144         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19145         (_nss_nisplus_getservbyport_r): Likewise.
19146         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19147         (_nss_nisplus_getspnam_r): Likewise.
19148         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19149         Likewise.
19150         * nscd/aicache.c (addhstaiX): Likewise.
19151         * nscd/cache.c (cache_search, prune_cache): Likewise.
19152         * nscd/connections.c (register_traced_file, send_ro_fd)
19153         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19154         (main_loop_epoll): Likewise.
19155         * nscd/grpcache.c (addgrbyX): Likewise.
19156         * nscd/hstcache.c (addhstbyX): Likewise.
19157         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19158         * nscd/mem.c (gc, mempool_alloc): Likewise.
19159         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19160         (addinnetgrX): Likewise.
19161         * nscd/nscd-client.h (__nscd_acquire_maplock)
19162         (__nscd_drop_map_ref): Likewise.
19163         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19164         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19165         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19166         Likewise.
19167         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19168         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19169         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19170         (__nscd_get_map_ref): Likewise.
19171         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19172         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19173         Likewise.
19174         * nscd/pwdcache.c (addpwbyX): Likewise.
19175         * nscd/selinux.c (preserve_capabilities): Likewise.
19176         * nscd/servicescache.c (addservbyX): Likewise.
19177         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19178         * posix/fnmatch.c (fnmatch): Likewise.
19179         * posix/getopt.c (_getopt_internal_r): Likewise.
19180         * posix/glob.c (glob, glob_in_dir): Likewise.
19181         * posix/wordexp.c (exec_comm_child): Likewise.
19182         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19183         (getanswer_r, gaih_getanswer_slice): Likewise.
19184         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19185         * resolv/res_init.c: Likewise.
19186         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19187         * resolv/res_query.c (__libc_res_nquery): Likewise.
19188         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19189         Likewise.
19190         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19191         * stdio-common/perror.c (perror): Likewise.
19192         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19193         * stdio-common/tmpnam.c (tmpnam): Likewise.
19194         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19195         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19196         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19197         Likewise.
19198         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19199         * stdlib/putenv.c (putenv): Likewise.
19200         * stdlib/setenv.c (__add_to_environ): Likewise.
19201         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19202         * stdlib/strtol_l.c (INTERNAL): Likewise.
19203         * string/memmem.c (memmem): Likewise.
19204         * string/strerror.c (strerror): Likewise.
19205         * string/strnlen.c (__strnlen): Likewise.
19206         * string/test-memmem.c (simple_memmem): Likewise.
19207         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19208         * sunrpc/pm_getport.c (__get_socket): Likewise.
19209         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19210         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19211         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19212         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19213         Likewise.
19214         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19215         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19216         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19217         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19218         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19219         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19220         Likewise.
19221         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19222         Likewise.
19223         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19224         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19226         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19227         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19229         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19230         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19231         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19232         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19233         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19235         Likewise.
19236         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19237         Likewise.
19238         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19239         Likewise.
19240         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19242         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19243         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19244         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19245         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19246         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19247         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19248         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19249         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19250         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19251         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19252         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19253         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19254         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19255         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19256         Likewise.
19257         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19258         Likewise.
19259         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19260         Likewise.
19261         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19262         Likewise.
19263         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19264         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19265         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19266         Likewise.
19267         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19268         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19269         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19270         * sysdeps/posix/sleep.c: Likewise.
19271         * sysdeps/posix/tempname.c: Likewise.
19272         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19273         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19274         Likewise.
19275         * sysdeps/powerpc/powerpc32/dl-machine.h
19276         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19277         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19278         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19279         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19280         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19281         Likewise.
19282         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19284         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19285         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19286         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19287         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19288         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19289         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19290         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19291         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19292         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19293         (elf_machine_lazy_rel): Likewise.
19294         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19295         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19296         (elf_machine_lazy_rel): Likewise.
19297         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19298         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19299         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19300         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19301         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19302         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19303         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19305         Likewise.
19306         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19307         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19308         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19309         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19310         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19311         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19312         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19313         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19314         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19315         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19316         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19317         Likewise.
19318         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19319         (__posix_fallocate64_l64): Likewise.
19320         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19321         (posix_fallocate): Likewise.
19322         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19323         Likewise.
19324         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19325         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19326         (getifaddrs_internal): Likewise.
19327         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19328         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19329         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19330         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19331         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19332         (__posix_fallocate64_l64): Likewise.
19333         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19334         Likewise.
19335         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19336         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19337         (__get_clockfreq): Likewise.
19338         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19339         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19340         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19343         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19344         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19345         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19346         Likewise.
19347         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19348         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19349         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19350         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19351         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19352         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19353         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19354         Likewise.
19355         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19356         (posix_fallocate): Likewise.
19357         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19358         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19359         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19360         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19361         (elf_machine_rela, elf_machine_rela_relative)
19362         (elf_machine_lazy_rel): Likewise.
19363         * time/asctime.c (asctime_internal): Likewise.
19364         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19365         * time/tzset.c (__tzset_parse_tz): Likewise.
19366         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19367         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19368         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19369         * wcsmbs/wcsmbsload.h: Likewise.
19371         [BZ #15894]
19372         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19374         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19375         (arena_get2): Remove THREAD_STATS conditionals.
19376         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19377         (__malloc_stats, int): Likewise.
19379 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19381         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19382         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19384         * manual/setjmp.texi: Fix typos/grammar errors.
19386         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19387         Only return early when n is <= 0.  Delete unused return statement.
19389         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19390         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19391         * debug/tst-longjmp_chk3.c: New file.
19393         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19394         (test_main): Replace code with set_fortify_handler call.
19395         * debug/test-strcpy_chk.c: Likewise.
19396         * debug/tst-chk1.c: Likewise.
19397         * debug/tst-longjmp_chk.c: Likewise.
19398         * test-skeleton.c: Include fcntl.h & paths.h
19399         (set_fortify_handler): Define.
19401         * debug/tst-longjmp_chk.c: Add header comment and include
19402         ../test-skeleton.c.
19403         (do_test): Mark static.
19404         (TEST_FUNCTION): Define.
19406         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19407         (IP_PMTUDISC_INTERFACE): Likewise.
19408         (IP_MULTICAST_IF): Likewise.
19409         (IP_MULTICAST_TTL): Likewise.
19410         (IP_MULTICAST_LOOP): Likewise.
19411         (IP_ADD_MEMBERSHIP): Likewise.
19412         (IP_DROP_MEMBERSHIP): Likewise.
19413         (IP_UNBLOCK_SOURCE): Likewise.
19414         (IP_BLOCK_SOURCE): Likewise.
19415         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19416         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19417         (IP_MSFILTER): Likewise.
19418         (MCAST_JOIN_GROUP): Likewise.
19419         (MCAST_BLOCK_SOURCE): Likewise.
19420         (MCAST_UNBLOCK_SOURCE): Likewise.
19421         (MCAST_LEAVE_GROUP): Likewise.
19422         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19423         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19424         (MCAST_MSFILTER): Likewise.
19425         (IP_MULTICAST_ALL): Likewise.
19426         (IP_UNICAST_IF): Likewise.
19428         * timezone/Makefile: Delete $(have-ksh) check.
19429         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19430         * timezone/tzselect.ksh: Add +x mode bits.
19432         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19433         (ANON_INODE_FS_MAGIC): Likewise.
19434         (BDEVFS_MAGIC): Likewise.
19435         (BINFMTFS_MAGIC): Likewise.
19436         (BTRFS_TEST_MAGIC): Likewise.
19437         (CRAMFS_MAGIC_WEND): Likewise.
19438         (DEBUGFS_MAGIC): Likewise.
19439         (ECRYPTFS_SUPER_MAGIC): Likewise.
19440         (EXT3_SUPER_MAGIC): Likewise.
19441         (EXT4_SUPER_MAGIC): Likewise.
19442         (FUTEXFS_SUPER_MAGIC): Likewise.
19443         (HOSTFS_SUPER_MAGIC): Likewise.
19444         (HUGETLBFS_MAGIC): Likewise.
19445         (MINIX3_SUPER_MAGIC): Likewise.
19446         (MTD_INODE_FS_MAGIC): Likewise.
19447         (NILFS_SUPER_MAGIC): Likewise.
19448         (OPENPROM_SUPER_MAGIC): Likewise.
19449         (PIPEFS_MAGIC): Likewise.
19450         (PSTOREFS_MAGIC): Likewise.
19451         (QNX6_SUPER_MAGIC): Likewise.
19452         (RAMFS_MAGIC): Likewise.
19453         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19454         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19455         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19456         (SECURITYFS_MAGIC): Likewise.
19457         (SELINUX_MAGIC): Likewise.
19458         (SMACK_MAGIC): Likewise.
19459         (SOCKFS_MAGIC): Likewise.
19460         (SQUASHFS_MAGIC): Likewise.
19461         (STACK_END_MAGIC): Likewise.
19462         (TMPFS_MAGIC): Likewise.
19463         (USBDEVICE_SUPER_MAGIC): Likewise.
19464         (V9FS_MAGIC): Likewise.
19465         (XENFS_SUPER_MAGIC): Likewise.
19466         (CRAMFS_MAGIC): Fix typo in comment.
19467         (EXT2_SUPER_MAGIC): Update comment.
19468         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19470 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19472         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19473         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19474         * sysdeps/unix/sysv/linux/arm: Move directory from
19475         ports/sysdeps/unix/sysv/linux/arm.
19476         * README: Update listing for arm-*-linux-gnueabi.
19478         * README: Remove mention of am33.
19480 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19482         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19483         than the comma operator, to avoid "rhs of comma has no effect"
19484         compiler warnings.
19485         (__sigfillset, __sigandset, __sigorset): Likewise.
19486         * include/signal.h (__sigemptyset): Likewise.
19487         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19489 2014-02-07  Allan McRae  <allan@archlinux.org>
19491         * version.h (RELEASE): Set to "development".
19492         (VERSION): Set to "2.19.90"
19493         * NEWS: Add 2.20 section.
19495 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19497         [BZ #16529]
19498         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19500 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19502         * manual/contrib.texi: Update entry for Carlos O'Donell,
19503         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19505 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19507         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19509         * sysdeps/unix/sysv/linux/kernel-features.h
19510         [__LINUX_KERNEL_VERSION >= 0x020621]
19511         (__ASSUME_PROC_PID_TASK_COMM): Define.
19513 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19515         [BZ #16398]
19516         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19517         conversion when destination buffer does not have enough space.
19518         * libio/tst-ftell-partial-wide.c: New test case.
19519         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19521         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19522         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19523         Leonard and Allan McRae.
19525 2014-02-04  David S. Miller  <davem@davemloft.net>
19527         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19528         32-bit.
19530 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19533         New file
19534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19535         New file
19536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19537         New file.
19538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19539         New file.
19540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19541         New file.
19542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19543         New file.
19544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19545         New file.
19546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19547         New file.
19548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19549         New file.
19550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19551         New file.
19552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19553         New file.
19554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19555         New file.
19556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19557         New file.
19559 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19561         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19562         * shlib-versions: Likewise.
19564 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19565             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19567         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19568         (abilist-pattern): New variable, set to %-le.abilist.
19570         * Makerules (abilist-pattern): New variable.
19571         (vpath): Use $(abilist-pattern) in place of %.abilist.
19572         (check-abi-% pattern rule): Likewise.
19573         (check-abi, update-abi): Likewise.
19575 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19579 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19581         * manual/startup.texi: Add next, previous, and top entries for
19582         the `Program Arguments' and `Environment Variables' nodes.
19584 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19586         * manual/macros.texi: Add comments before MTASC-safety macros.
19588         * manual/users.texi: Document MTASC-safety properties.
19590         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19591         (pthread_getspecific, pthread_setspecific): Format with
19592         @deftypefun, and add @safety note.
19593         * manual/signal.texi: Move comments that analyze the above
19594         functions to their home place.
19596 2014-02-03  Allan McRae  <allan@archlinux.org>
19598         * po/sl.po: Update Slovenian translation from translation project.
19600 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19602         * manual/time.texi (timegm): Add missing blank after @c.
19603         Reported by Joseph Myers <joseph@codesourcery.com>.
19605 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19607         * manual/check-safety.sh: New.
19608         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19610         * manual/terminal.texi: Document MTASC-safety properties.
19612         * manual/filesys.texi: Document MTASC-safety properties.
19614         * manual/errno.texi: Document MTASC-safety properties.
19616         * manual/intro.texi: Document safety identifiers and
19617         conditionals.
19619         * manual/string.texi (wcstok): Fix prototype.
19620         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19622         * manual/time.texi: Document MTASC-safety properties.
19624         * manual/string.texi: Document MTASC-safety properties.
19626         * manual/threads.texi: Document MTASC-safety properties.
19628         * manual/stdio.texi: Document MTASC-safety properties.
19630         * manual/syslog.texi: Document MTASC-safety properties.
19632         * manual/sysinfo.texi: Document MTASC-safety properties.
19634         * manual/startup.texi: Document MTASC-safety properties.
19636         * manual/socket.texi: Document MTASC-safety properties.
19638         * manual/signal.texi: Document MTASC-safety properties.
19640 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19642         * manual/setjmp.texi: Document MTASC-safety properties.
19644         * manual/search.texi: Document MTASC-safety properties.
19646         * manual/resource.texi: Document MTASC-safety properties.
19648         * manual/process.texi: Document MTASC-safety properties.
19650         * manual/platform.texi: Document MTASC-safety properties.
19652         * manual/pipe.texi: Document MTASC-safety properties.
19654         * manual/pattern.texi: Document MTASC-safety properties.
19656         * manual/message.texi: Document MTASC-safety properties.
19658         [BZ #12751]
19659         * manual/memory.texi: Document MTASC-safety properties.
19661         * manual/math.texi: Document MTASC-safety properties.
19663         * manual/locale.texi: Document MTASC-safety properties.
19665         * manual/llio.texi: Document MTASC-safety properties.
19667         * manual/libdl.texi: New.
19669         * manual/lang.texi: Document MTASC-safety properties.
19671         * manual/job.texi: Document MTASC-safety properties.
19673         * manual/getopt.texi: Document MTASC-safety properties.
19675         * manual/ctype.texi: Document MTASC-safety properties.
19677 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19679         [BZ #16046]
19680         * csu/libc-tls.c (static_map): Remove variable.
19681         (__libc_setup_tls): Use main executable's link map for TLS data.
19682         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19683         casing for LM_ID_BASE and GL(dl_nns).
19684         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19685         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19686         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19687         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19688         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19689         member.
19690         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19691         l_phnum members.
19693 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19695         * manual/debug.texi: Document MTASC-safety properties.
19697 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19699         [BZ #16510]
19700         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19701         of __x86_64__ when disabling x87 inline functions.
19703 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19705         * manual/charset.texi: Document MTASC-safety properties.
19707         * manual/crypt.texi: Document MTASC-safety properties.
19709         * manual/conf.texi: Document MTASC-safety properties.
19711         * manual/arith.texi: Document MTASC-safety properties.
19713         * manual/argp.texi: Document MTASC-safety properties.
19715         * manual/macros.texi: Introduce macros to document multi
19716         thread, asynchronous signal and asynchronous cancellation
19717         safety properties.
19718         * manual/intro.texi: Introduce the properties themselves.
19720 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19722         * sysdeps/sh/sh4/Makefile: New file.
19724 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19726         * math/gen-libm-test.pl ($srcdir): New variable.
19727         ($auto_input): Use it.
19729 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19731         [BZ #16506]
19732         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19733         access beyond array bounds when parsing netgroups file.
19735         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19736         the old buffer before realloc.
19738 2014-01-27  Allan McRae  <allan@archlinux.org>
19740         * po/fr.po: Update French translation from translation project.
19742 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19744         * sysdeps/sh/libm-test-ulps: Regenerate.
19746 2014-01-24  David S. Miller  <davem@davemloft.net>
19748         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19750 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19752         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19753         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19755 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19757         [BZ #16474]
19758         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19759         string pointers after reallocation.
19761 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19763         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19764         __SH4A__ instead of __SH_FPU_ANY__.
19766 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19768         * sysdeps/sh/fpu_control.h: New file.
19769         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19770         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19771         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19772         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19773         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19774         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19775         * sysdeps/sh/sys/ucontext.h: Remove.
19776         * sysdeps/sh/sys: Remove directory.
19778 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19780         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19781         s390/sys/ucontext.h.
19782         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19783         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19785 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19787         [BZ #15605]
19788         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19790 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19792         [BZ#16431]
19793         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19794         Adjust the vDSO correctly for internal calls.
19795         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19797 2014-01-20  Allan McRae  <allan@archlinux.org>
19799         * po/ca.po: Update Catalan translation from translation project.
19801 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19803         * sysdeps/s390/sotruss-lib.c: New file.
19805 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19807         [BZ#16430]
19808         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19809         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19810         local calls issues by not having a PLT stub required for IFUNC calls.
19811         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19813 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19815         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19816         * math/test-fpucw-static.c: Likewise.
19818 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19820         [BZ #16453]
19821         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19823 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19825         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19826         implementation for powerpc.
19828 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19830         [BZ #14782]
19831         * sysdeps/posix/system.c (__libc_system): Do not enable
19832         asynchronous cancellation.
19834 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19836         [BZ #16427]
19837         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19838         handling only for numbers special also in the IEEE case.
19840 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19842         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19844 2014-01-11  Allan McRae  <allan@archlinux.org>
19846         * po/bg.po: Update Bulgarian translation from translation project.
19848         * po/de.po: Update German translation from translation project.
19850 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19852         * sysdeps/generic/gcc-compat.h: New file.
19854 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19856         * benchtests/asin-inputs: Correct slow inputs.
19857         * benchtests/acos-inputs: Likewise.
19859 2014-01-10  Allan McRae  <allan@archlinux.org>
19861         * po:sv.po: Update Swedish translation from translation project.
19863         * po/vi.po: Update Vietnamese translation from translation project.
19865         * po/eo.po: Update Esperanto translation from translation project.
19867         * po/cs.po: Update Czech translation from translation project.
19869         * po/nl.po: Update Dutch translation from translation project.
19871         * po/pl.po: Update Polish translation from translation project.
19873         * po/ru.po: Update Russian translation from translation project.
19875         * po/uk.po: Update Ukrainian translation from translation project.
19877 2014-01-08  Brooks Moses  <bmoses@google.com>
19879         * elf/dl-load.c: Fix comment typo.
19881 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19883         * po/header.pot: Rename to...
19884         * po/pot.header: ... this.
19885         * po/Makefile: Use pot.header.
19887 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19888             Maxim Kuvyrkov  <maxim@kugelworks.com>
19890         [BZ #16394]
19891         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19892         SRC and DEST against LEN.
19894 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19896         [BZ #16414]
19897         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19898         implementation.
19899         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19901 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19905 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #16408]
19908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19909         for large positive arguments.
19911 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19913         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19915         * math/auto-libm-test-in: Mark various tests with
19916         xfail-rounding:ldbl-128ibm.
19917         * math/auto-libm-test-out: Regenerated.
19919         [BZ #16407]
19920         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19921         Increase overflow threshold.
19923 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19925         [BZ #14286]
19926         * stdio-common/vfprintf.c: Check for integer overflow.
19928 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19930         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19931         the first argument and return value of __tls_get_addr_internal.
19933 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19935         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19936         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19938 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19940         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19941         * sysdeps/s390/rtld-global-offsets.sym: New file.
19942         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19943         GLIBC_2.19 symbol.
19944         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19945         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19946         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19947         ... this.
19948         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19949         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19950         ... this.
19951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19952         Regenerate.
19953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19954         Regenerate.
19955         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19956         halfs of GPRs for high_gprs contexts.
19957         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19958         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19959         field.
19960         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19961         uc_flags field.
19962         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19963         64 bit versions:
19964         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19965         for high GPRs (uc_high_gprs) and for future extensions
19966         (__reserved).
19967         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19968         for future extensions (__reserved).
19969         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19970         64 bit versions:
19971         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19972         SC_HIGHGPRS offset definition.
19973         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19974         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19976         * Versions.def: Add GLIBC_2.19 for libpthread.
19977         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19978         siglongjmp for libpthread with GLIBC_2.19 symver.
19979         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19980         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19981         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19982         * sysdeps/s390/__longjmp.c: New file.
19983         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19984         * sysdeps/s390/longjmp.c: New file.
19985         * sysdeps/s390/setjmp.S: New file.
19986         * sysdeps/s390/sigjmp.S: New file.
19987         * sysdeps/s390/v1-longjmp.c: New file.
19988         * sysdeps/s390/v1-setjmp.h: New file.
19989         * sysdeps/s390/v1-sigjmp.c: New file.
19990         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19991         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19992         GLIBC_2.19 version.
19993         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19994         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19995         versioned symbols for ____longjmp_chk.
19996         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19997         Likewise.
19998         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19999         Regenerate.
20000         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20001         Regenerate.
20002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20003         Regenerate.
20004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20005         Regenerate.
20006         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20007         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20008         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20009         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20010         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20011         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20012         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20013         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20014         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20015         * sysdeps/s390/rtld-__longjmp.c: New file.
20016         * sysdeps/s390/rtld-setjmp.S: New file.
20018 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #16400]
20021         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20022         Return -__logl (x) for small positive arguments without evaluating
20023         a polynomial.
20025 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20027         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20028         Rename to ...
20029         (__ptrace_peeksiginfo_args): ... this.
20030         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20032         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20034 2014-01-06  Allan McRae  <allan@archlinux.org>
20036         * inet/netinet/in.h: Fix typo in comment.
20038 2014-01-05  Andreas Jaeger  <aj@suse.de>
20040         * sysdeps/i386/fpu/libm-test-ulps: Update.
20042 2014-01-05  Allan McRae  <allan@archlinux.org>
20044         * po/libc.pot: Regenerated.
20046         * malloc/memusagestat.c: Fix gettext call formatting.
20048 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20050         * nscd/nscd.c: Improve usage() output.
20052 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20054         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20055         * sysdeps/unix/sysv/linux/configure: Regenerated.
20056         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20057         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20059 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20061         [BZ #16390]
20062         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20063         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20065 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20068         extra tokens at end of #undef directive.
20069         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20070         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20071         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20073 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20075         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20077         * math/auto-libm-test-in: Mark various tests with
20078         xfail-rounding:ldbl-128ibm.
20079         * math/auto-libm-test-out: Regenerated.
20081 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20083         [BZ #16386]
20084         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20085         numbers with subnormal high part when calculating exponent.
20087         [BZ #16385]
20088         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20089         fabs.
20091         [BZ #16384]
20092         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20093         M_LN2l.
20094         (__ieee754_acoshl): Use __log1pl not __log1p.
20096 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20098         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20099         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20100         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20101         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20102         (reused_arena, arena_get2): Convert to GNU style.
20103         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20104         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20105         (memalign_check, __malloc_set_state): Likewise.
20106         * malloc/mallocbug.c (main): Likewise.
20107         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20108         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20109         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20110         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20111         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20112         (__posix_memalign, malloc_info): Likewise.
20113         * malloc/malloc.h: Likewise.
20114         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20115         (mallochook, memalignhook, reallochook, mabort): Likewise.
20116         * malloc/mcheck.h: Likewise.
20117         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20118         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20119         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20120         * malloc/morecore.c (__default_morecore): Likewise.
20121         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20122         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20123         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20124         (print_and_abort): Likewise.
20125         * malloc/obstack.h: Likewise.
20126         * malloc/set-freeres.c (__libc_freeres): Likewise.
20127         * malloc/tst-mallocstate.c (main): Likewise.
20128         * malloc/tst-mtrace.c (main): Likewise.
20129         * malloc/tst-realloc.c (do_test): Likewise.
20131 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20133         [BZ #16366]
20134         * nscd/netgroupcache.c (do_notfound): New function.
20135         (addgetnetgrentX): Use it.
20137         [BZ # 16365]
20138         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20139         NSS_STATUS_NOTFOUND.
20141 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20143         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20146 2014-01-01  Allan McRae  <allan@archlinux.org>
20148         * scripts/update-copyrights: Update configure input file suffix.
20150         * NEWS: Update copyright year.
20151         * catgets/gencat.c: Likewise.
20152         * csu/version.c: Likewise.
20153         * debug/catchsegv.sh: Likewise.
20154         * debug/pcprofiledump.c: Likewise.
20155         * debug/xtrace.sh: Likewise.
20156         * elf/ldconfig.c: Likewise.
20157         * elf/ldd.bash.in: Likewise.
20158         * elf/pldd.c: Likewise.
20159         * elf/sotruss.ksh: Likewise.
20160         * elf/sprof.c: Likewise.
20161         * iconv/iconv_prog.c: Likewise.
20162         * iconv/iconvconfig.c: Likewise.
20163         * locale/programs/locale.c: Likewise.
20164         * locale/programs/localedef.c: Likewise.
20165         * login/programs/pt_chown.c: Likewise.
20166         * malloc/memusage.sh: Likewise.
20167         * malloc/memusagestat.c: Likewise.
20168         * malloc/mtrace.pl: Likewise.
20169         * manual/libc.texinfo: Likewise.
20170         * nscd/nscd.c: Likewise.
20171         * nss/getent.c: Likewise.
20172         * nss/makedb.c: Likewise.
20173         * posix/getconf.c: Likewise.
20174         * scripts/test-installation.pl: Likewise.
20176         * All files with FSF copyright notices: Update copyright dates
20177         using scripts/update-copyrights.
20178         * intl/plural.c: Regenerated.
20179         * locale/programs/charmap-kw.h: Likewise.
20180         * locale/programs/locfile-kw.h: Likewise.
20182 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20184         * sysdeps/unix/sysv/linux/configure: Regenerated.
20185         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20186         the linux/fanotify.h header.
20187         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20188         HAVE_LINUX_FANOTIFY_H is defined.
20190 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20192         * benchtests/cos-inputs: New inputs.
20193         * benchtests/sin-inputs: Likewise.
20195         * benchtests/atan-inputs: New inputs. Fix name of multiple
20196         precision fallback inputs.
20198         * benchtests/atanh-inputs: New inputs.
20199         * benchtests/tanh-inputs: Likewise.
20201         * benchtests/acosh-inputs: New inputs.
20202         * benchtests/asinh-inputs: Likewise.
20204         * benchtests/cosh-inputs: New inputs.
20205         * benchtests/sinh-inputs: Likewise.
20207         * benchtests/acos-inputs: Add more inputs.
20208         * benchtests/asin-inputs: Likewise.
20210 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20212         [BZ #16375]
20213         * manual/arith.texi: Fix spelling.
20214         * manual/charset.texi: Likewise.
20215         * manual/errno.texi: Likewise.
20216         * manual/filesys.texi: Likewise.
20217         * manual/lang.texi: Likewise.
20218         * manual/llio.texi: Likewise.
20219         * manual/locale.texi: Likewise.
20220         * manual/message.texi: Likewise.
20221         * manual/resource.texi: Likewise.
20222         * manual/search.texi: Likewise.
20223         * manual/setjmp.texi: Likewise.
20224         * manual/stdio.texi: Likewise.
20225         * manual/string.texi: Likewise.
20226         * manual/sysinfo.texi: Likewise.
20227         * manual/time.texi: Likewise.
20229 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20231         * po/sl.po: New file.
20233 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20235         * .gitignore: Add core/.gdbinit/.gdb_history.
20237 2013-12-27  Allan McRae  <allan@archlinux.org>
20239         [BZ #16369]
20240         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20241         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20243 2013-12-24  Brooks Moses  <bmoses@google.com>
20245         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20246         all compilers that claim C++98 compliance, not just GCC.
20247         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20248         Likewise.
20250 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20252         * NEWS: Restore accidentally deleted bug-fix entries.
20254 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20255             Ondřej Bílka  <neleai@seznam.cz>
20257         [BZ #15073]
20258         * malloc/malloc.c (_int_free): Perform sanity check only if we
20259         have_lock.
20261 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20263         [BZ #12986]
20264         * manual/stdio.texi (String Input Conversions): Clarify that character
20265         classes are not supported.
20267 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20271 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20273         [BZ #16337]
20274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20275         Calculate results for small negative arguments directly rather
20276         than using reflection formula with special underflow handling.
20278         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20279         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20280         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20281         (fchflags): Likewise.
20282         (revoke): Likewise.
20283         (setlogin): Likewise.
20284         (sigaltstack): Likewise.
20285         (wait4): Likewise.
20286         (sigblock): Remove.
20287         (sigsetmask): Likewise.
20288         (wait3): Likewise.
20289         (waitpid): Likewise.
20290         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20291         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20292         file.
20293         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20294         * sysdeps/unix/bsd/Makefile: ... here.
20295         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20296         * sysdeps/unix/bsd/Versions: ... here.
20297         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20298         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20299         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20300         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20301         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20302         * sysdeps/unix/bsd/sigblock.c: ... here.
20303         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20304         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20305         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20306         * sysdeps/unix/bsd/sigvec.c: ... here.
20307         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20308         * sysdeps/unix/bsd/tcdrain.c: ... here.
20309         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20310         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20311         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20312         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20313         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20314         * sysdeps/unix/bsd/wait.c: ... here.
20315         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20316         * sysdeps/unix/bsd/wait3.c: ... here.
20317         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20318         * sysdeps/unix/bsd/waitpid.c: ... here.
20320 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20322         [BZ #16356]
20323         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20324         round-to-nearest for [!USE_AS_EXPM1L].
20325         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20326         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20327         more tests of exp and exp10.  Expect some exp10 tests to miss
20328         exceptions or fail in directed rounding modes.
20329         * math/auto-libm-test-out: Regenerated.
20330         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20331         (exp10_test_tonearest): New function.
20332         (exp10_towardzero_test_data): New array.
20333         (exp10_test_towardzero): New function.
20334         (exp10_downward_test_data): New array.
20335         (exp10_test_downward): New function.
20336         (exp10_upward_test_data): New array.
20337         (exp10_test_upward): New function.
20338         (main): Call the new functions.
20339         * sysdeps/i386/fpu/libm-test-ulps: Update.
20340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20342 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20344         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20345         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20346         * math/auto-libm-test-out: Regenerated.
20347         * math/libm-test.inc (acosh_test_data): Add more tests.
20348         (atanh_test_data): Likewise.
20349         (ceil_test_data): Likewise.
20350         (copysign_test_data): Likewise.
20351         * sysdeps/i386/fpu/libm-test-ulps: Update.
20352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20354         * timezone/checktab.awk: Update from tzcode 2013i.
20355         * timezone/private.h: Likewise.
20356         * timezone/scheck.c: Likewise.
20357         * timezone/tzfile.h: Likewise.
20358         * timezone/tzselect.ksh: Likewise.
20359         * timezone/zdump.c: Likewise.
20360         * timezone/zic.c: Likewise.
20362         * math/auto-libm-test-in: Add tests of cpow.
20363         * math/auto-libm-test-out: Regenerated.
20364         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20365         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20366         mpc_cc_c.
20367         (func_calc_desc): Add mpc_cc_c union field.
20368         (test_functions): Add cpow.
20369         (special_fill_2pi): New function.
20370         (special_real_inputs): Add 2pi.
20371         (calc_generic_results): Handle mpc_cc_c.
20372         * sysdeps/i386/fpu/libm-test-ulps: Update.
20373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20375         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20376         csqrt, ctan and ctanh.
20377         * math/auto-libm-test-out: Regenerated.
20378         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20379         (TEST_COND_x86): Likewise.
20380         (ccos_test_data): Use AUTO_TESTS_c_c.
20381         (ccosh_test_data): Likewise.
20382         (cexp_test_data): Likewise.
20383         (clog_test_data): Likewise.
20384         (csqrt_test_data): Likewise.
20385         (ctan_test_data): Likewise.
20386         (ctan_tonearest_test_data): Likewise.
20387         (ctan_towardzero_test_data): Likewise.
20388         (ctan_downward_test_data): Likewise.
20389         (ctan_upward_test_data): Likewise.
20390         (ctanh_test_data): Likewise.
20391         (ctanh_tonearest_test_data): Likewise.
20392         (ctanh_towardzero_test_data): Likewise.
20393         (ctanh_downward_test_data): Likewise.
20394         (ctanh_upward_test_data): Likewise.
20395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20396         mpc_c_c.
20397         (func_calc_desc): Add mpc_c_c union field.
20398         (FUNC_mpc_c_c): New macro.
20399         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20400         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20401         ctanh.
20402         (special_fill_min_subnorm_p120): New function.
20403         (special_real_inputs): Add min_subnorm_p120.
20404         (calc_generic_results): Handle mpc_c_c.
20405         * sysdeps/i386/fpu/libm-test-ulps: Update.
20406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20408 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20410         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20411         (do_sin_slow): New functions.
20412         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20413         (cslow2, csloww1, csloww2): Use the new functions.
20415         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20416         Use M to change sign of result instead of X.  Assume X is
20417         positive.
20418         (csloww1): Likewise.
20419         (__sin): Adjust.
20420         (__cos): Adjust.
20422         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20423         arguments A and DA.
20424         (__sin): Adjust.
20425         (__cos): Likewise.
20427         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20428         (__cos): Likewise.
20429         (sloww1): Don't adjust sign of DX.
20430         (csloww1): Likewise.
20431         (sloww2): Use X directly and don't adjust sign of DX.
20432         (csloww2): Likewise.
20434 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20436         * math/auto-libm-test-in: Add tests of cabs and carg.
20437         * math/auto-libm-test-out: Regenerated.
20438         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20439         (carg_test_data): Likewise.
20440         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20441         mpc_c_f.
20442         (func_calc_desc): Add mpc_c_f union field.
20443         (test_functions): Add cabs and carg.
20444         (calc_generic_results): Handle mpc_c_f.
20446         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20447         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20448         as a macro and a compat symbol.
20449         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20450         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20451         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20452         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20453         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20454         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20455         not use .hidden.
20456         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20457         Likewise.
20458         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20459         Likewise.
20460         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20461         Likewise.
20462         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20463         Likewise.
20464         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20465         Likewise.
20466         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20467         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20468         from GLIBC_2.3.2.
20470 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20474 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20476         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20477         trailing whitespace removed.
20478         * scripts/config.guess: Update to version 2013-11-29.
20479         * scripts/config.sub: Update to version 2013-10-01.
20481         * math/auto-libm-test-in: Add tests of sincos.
20482         * math/auto-libm-test-out: Regenerated.
20483         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20484         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20485         mpfr_f_11.
20486         (func_calc_desc): Add mpfr_f_11 union field.
20487         (test_functions): Add sincos.
20488         (calc_generic_results): Handle mpfr_f_11.
20489         * sysdeps/i386/fpu/libm-test-ulps: Update.
20490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20492 2013-12-19  Andreas Schwab  <schwab@suse.de>
20494         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20495         CALL_MCOUNT.
20496         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20497         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20498         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20500 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20502         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20503         * sysdeps/i386/fpu/libm-test-ulps: Update.
20504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20506         [BZ #16293]
20507         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20508         round-to-nearest mode when using frndint.
20509         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20510         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20511         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20512         Likewise.
20513         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20514         sinh test to fail.
20515         * math/auto-libm-test-out: Regenerated.
20516         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20517         (TEST_COND_x86): Likewise.
20518         (expm1_tonearest_test_data): New array.
20519         (expm1_test_tonearest): New function.
20520         (expm1_towardzero_test_data): New array.
20521         (expm1_test_towardzero): New function.
20522         (expm1_downward_test_data): New array.
20523         (expm1_test_downward): New function.
20524         (expm1_upward_test_data): New array.
20525         (expm1_test_upward): New function.
20526         (main): Run the new test functions.
20527         * sysdeps/i386/fpu/libm-test-ulps: Update.
20528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20530         * include/features.h: Update comment documenting feature test
20531         macros.  Mention _DEFAULT_SOURCE in comment.
20532         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20533         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20534         _BSD_SOURCE and _SVID_SOURCE.
20535         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20536         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20537         !_SVID_SOURCE]: Likewise.
20538         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20539         (__USE_POSIX_IMPLICITLY): Define.
20540         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20541         (_POSIX_SOURCE): Undefine and redefine.
20542         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20543         (_POSIX_C_SOURCE): Likewise.
20544         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20545         (Feature Test Macros): Update documentation of default features.
20547 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20549         * benchtests/Makefile: Add bench-strtok.
20550         * benchtests/bench-strtok.c: New file: strtok benchtest.
20552 2013-12-19  Allan McRae  <allan@archlinux.org>
20554         * manual/install.texi: Suppress menu for plain text output.
20555         * INSTALL: Regenerated.
20557 2013-12-18  Brooks Moses  <bmoses@google.com>
20559         [BZ #15846]
20560         * misc/getauxval.c: Include errno.h.
20561         (__getauxval): Set errno to ENOENT if the requested type is not
20562         found.
20563         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20564         don't declare with __attribute_const__.
20565         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20566         * manual/startup.texi: Document that getauxval sets errno.
20568 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20570         * math/auto-libm-test-in: Add tests of jn and yn.
20571         * math/auto-libm-test-out: Regenerated.
20572         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20573         (yn_test_data): Likewise.
20574         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20575         mpfr_if_f.
20576         (func_calc_desc): Add mpfr_if_f union field.
20577         (FUNC_mpfr_if_f): New macro.
20578         (test_functions): Add jn and yn.
20579         (calc_generic_results): Assert type of second input for
20580         mpfr_ff_f.  Handle mpfr_if_f.
20581         (output_for_one_input_case): Disable all checking for arguments
20582         fitting floating-point types in case of an integer argument.
20583         * sysdeps/i386/fpu/libm-test-ulps: Update.
20584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20587         Don't expect fegetround reference in libm.so.
20589 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20591         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20592         $(config-cflags-nofma).
20594 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20596         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20597         * math/auto-libm-test-out: Regenerated.
20599         [BZ #16338]
20600         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20601         to determine exponent and adjust argument to have exponent of -1.
20602         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20603         log2.
20604         * math/auto-libm-test-out: Regenerated.
20605         * sysdeps/i386/fpu/libm-test-ulps: Update.
20606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20608 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20610         * manual/probes.texi: Remove cases when per-thread arenas are
20611         disabled.
20613 2013-12-18  Andreas Schwab  <schwab@suse.de>
20615         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20616         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20617         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20618         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20619         * sysdeps/i386/i686/multiarch/Makefile: Update.
20620         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20622 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20624         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20625         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20627 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20629         [BZ #15968]
20630         Support TZ transition times < 00:00:00.
20631         This is needed for version-3 tz-format files; it supports time
20632         stamps past 2037 for America/Godthab (the only entry in the tz
20633         database for which this change is relevant).
20634         * manual/time.texi (TZ Variable): Document transition times
20635         from -167:59:59 through -00:00:01.
20636         * time/tzset.c (tz_rule): Time of day is now signed.
20637         (__tzset_parse_tz): Parse negative time of day.
20639         Document TZ transition times >= 25:00:00.
20640         * manual/time.texi (TZ Variable): Document transition times from
20641         25:00:00 through 167:59:59.  These are already supported, and this
20642         support will help with version-3 tz-format files.
20644         * manual/time.texi (TZ Variable): Modernize North America example
20645         to reflect current (i.e., 2007-and-later) daylight saving rules.
20647         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20649 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20651         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20652         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20653         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20654         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20655         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20656         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20657         * sysdeps/unix/bsd/clock.c: Likewise.
20658         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20659         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20660         * sysdeps/unix/bsd/init-posix.c: Likewise.
20661         * sysdeps/unix/bsd/poll.c: Likewise.
20662         * sysdeps/unix/bsd/ptsname.c: Likewise.
20663         * sysdeps/unix/bsd/seekdir.c: Likewise.
20664         * sysdeps/unix/bsd/setegid.c: Likewise.
20665         * sysdeps/unix/bsd/seteuid.c: Likewise.
20666         * sysdeps/unix/bsd/setgid.c: Likewise.
20667         * sysdeps/unix/bsd/setrgid.c: Likewise.
20668         * sysdeps/unix/bsd/setruid.c: Likewise.
20669         * sysdeps/unix/bsd/setsid.c: Likewise.
20670         * sysdeps/unix/bsd/setuid.c: Likewise.
20671         * sysdeps/unix/bsd/sigaction.c: Likewise.
20672         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20673         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20674         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20675         * sysdeps/unix/bsd/telldir.c: Likewise.
20676         * sysdeps/unix/bsd/times.c: Likewise.
20677         * sysdeps/unix/bsd/usleep.c: Likewise.
20679         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20680         ($(objpfx)libbsd-compat.a): Remove rule.
20682         * include/features.h (__FAVOR_BSD): Do not define.
20683         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20684         features conflicting with POSIX.
20685         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20686         (_BSD_SOURCE): Remove description of not being a subset of other
20687         feature test macros.
20688         * manual/job.texi (getpgrp): Do not document BSD version.
20689         (getpgid): Do not document by reference to BSD getpgrp.
20690         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20691         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20692         * signal/signal.h [__FAVOR_BSD]: Likewise.
20693         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20694         instead of making contents conditional on [__FAVOR_BSD].
20695         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20697 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20699         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20701 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20703         [BZ #16314]
20704         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20705         values below 2**-450, not 2**-500.
20706         * math/auto-libm-test-in: Don't allow spurious underflow from
20707         hypot.
20708         * math/auto-libm-test-out: Regenerated.
20710         [BZ #16316]
20711         [BZ #16330]
20712         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20713         values of ha and hb and sort them after adjusting subnormal
20714         arguments.
20715         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20716         Likewise.
20717         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20718         values of ea and eb and sort them after adjusting subnormal
20719         arguments.
20720         * math/auto-libm-test-in: Do not expect some hypot tests of
20721         subnormals to fail.  Add more hypot tests.
20722         * math/auto-libm-test-out: Regenerated.
20724 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20726         [BZ #13304]
20727         * sysdeps/sh/s_fma.c: New file.
20728         * sysdeps/sh/s_fmaf.c: New file.
20729         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20730         version.
20731         * sysdeps/sh/Implies: Add sh/soft-fp.
20733 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20735         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20736         level of indirection to members `objname', `errstring', `malloced'.
20737         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20738         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20739         it as the __longjmp argument (just pass 1 instead).
20740         (_dl_catch_error): Initialize C with argument pointers and address of
20741         volatile local ERRCODE rather than copying values out of C at return.
20743 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20745         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20746         * math/auto-libm-test-out: Regenerated.
20747         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20748         (hypot_test_data): Likewise.
20749         (pow_test_data): Likewise.
20750         (pow_tonearest_test_data): Likewise.
20751         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20752         mpfr_ff_f.
20753         (func_calc_desc): Add mpfr_ff_f union field.
20754         (FUNC_mpfr_ff_f): New macro.
20755         (test_functions): Add atan2, hypot and pow.
20756         (special_fill_min): New function.
20757         (special_fill_minus_min): Likewise.
20758         (special_fill_min_subnorm): Likewise.
20759         (special_fill_minus_min_subnorm): Likewise.
20760         (special_real_inputs): Add min, -min, min_subnorm and
20761         -min_subnorm.
20762         (calc_generic_results): Handle mpfr_ff_f.
20763         * sysdeps/i386/fpu/libm-test-ulps: Update.
20764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20766 2013-12-16  Will Newton  <will.newton@linaro.org>
20768         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20769         (Aligned Memory Blocks): Add documentation for aligned_alloc
20770         and suggest it as an alternative to posix_memalign.
20771         (Hooks for Malloc): Document __memalign_hook is also called
20772         for aligned_alloc.  (Summary of Malloc): Add summary for
20773         aligned alloc.  Document __memalign_hook is also called
20774         for aligned_alloc.
20776 2013-12-16  Will Newton  <will.newton@linaro.org>
20778         * manual/memory.texi (Malloc Examples): Clarify default
20779         alignment documentation.  Suggest posix_memalign rather
20780         than memalign or valloc.
20781         (Aligned Memory Blocks): Remove suggestion to use memalign
20782         or valloc.  Remove obsolete comment about BSD.
20783         Document memalign errno values and mark the function obsolete.
20784         Document posix_memalign returned error codes.  Mark valloc
20785         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20786         called for posix_memalign and valloc.
20787         (Summary of Malloc): Add posix_memalign to function summary.
20788         __memalign_hook is also called for posix_memalign and valloc.
20790 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20792         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20793         TAYLOR_SIN.
20794         (__sin): Adjust.
20795         (__cos): Likewise.
20796         (sloww): Use mynumber union.  Expand ternary operator into
20797         if-else statements.
20798         (cslow): use mynumber union.
20800 2013-12-16  Allan McRae  <allan@archlinux.org>
20802         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20803         * configure: Regenerated.
20805         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20807         [BZ #14120]
20808         * configure.ac: Added --enable-maintainer-mode. Check for
20809         autoconf when enabled.
20810         * configure: Regenerated.
20812         * nscd/nscd.service: New file.
20813         * nscd/nscd.tmpfiles: New file.
20815 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20817         [BZ #12100]
20818         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20819         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20820         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20821         (strstr): Add __strstr_sse2_unaligned ifunc.
20822         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20823         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20824         (strcasestr): Remove __strcasestr_sse42 ifunc.
20825         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20826         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20829 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20831         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20832         * sysdeps/sh/bits/fenv.h: ... here.
20833         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20835 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20837         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20839         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20840         hypotf multiarch implementations.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20843         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20844         multiarch hypot for PPC64.
20845         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20846         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20847         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20848         multiarch hypotf for PPC64.
20850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20851         modff multiarch implementations.
20852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20855         multiarch modf for PPC64.
20856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20859         multiarch modff for PPC64.
20861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20862         and logl multiarch implementations.
20863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20866         multiarch logb for PPC64.
20867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20870         multiarch logb for PPC64.
20871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20874         multiarch logb for PPC64.
20876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20877         isinff multiarch implementation.
20878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20879         file.
20880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20882         multiarch isinf for PPC64.
20883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20884         file.
20885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20886         multiarch isinff for PPC64.
20888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20889         finitef multiarch implementation.
20890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20891         file.
20892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20894         multiarch finite for PPC64.
20895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20896         file.
20897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20898         multiarch finitef for PPC64.
20900         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20901         lrint multiarch implementation.
20902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20903         file.
20904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20906         multiarch llrint for PPC64.
20907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20908         multiarch lrint for PPC64.
20910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20911         copysignf multiarch implementation.
20912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20913         file.
20914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20915         file.
20916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20917         multiarch copysign for PPC64.
20918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20919         multiarch copysignf for PPC64.
20921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20922         multiarch implementation.
20923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20924         file.
20925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20926         file.
20927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20928         file.
20929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20930         file.
20931         multiarch llround for PPC64.
20932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20933         multiarch trunc for PPC64.
20934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20935         multiarch truncf for PPC64.
20937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20938         multiarch implementation.
20939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20940         file.
20941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20942         file.
20943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20944         file.
20945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20946         file.
20947         multiarch llround for PPC64.
20948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20949         multiarch round for PPC64.
20950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20951         multiarch roundf for PPC64.
20953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20954         multiarch implementation.
20955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20956         file.
20957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20958         file.
20959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20960         file.
20961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20962         file.
20963         multiarch llround for PPC64.
20964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20965         multiarch floor for PPC64.
20966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20967         multiarch floorf for PPC64.
20969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20970         multiarch implementation.
20971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20972         file.
20973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20974         file.
20975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20976         file.
20977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20978         file.
20979         multiarch llround for PPC64.
20980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20981         multiarch ceil for PPC64.
20982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20983         multiarch ceilf for PPC64.
20985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20986         multiarch implementation.
20987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20988         file.
20989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20990         file.
20991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20992         file.
20993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20994         multiarch llround for PPC64.
20995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20996         multiarch lround for PPC64.
20998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20999         multiarch implementation.
21000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21003         file.
21004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21005         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21007         multiarch isnan for PPC64.
21008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21009         multiarch isnanf for PPC64.
21011         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21012         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21013         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21014         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21015         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21018         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21019         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21020         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21021         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21024         multiarch implementations.
21025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21026         (__libc_ifunc_impl_list): Likewise.
21027         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21030         multiarch stpcpy for PPC64.
21032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21033         multiarch implementations.
21034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21035         (__libc_ifunc_impl_list): Likewise.
21036         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21037         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21038         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21039         multiarch strcpy for PPC64.
21041         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21042         redefine function name.
21043         (_wordcopy_fwd_dest_aligned): Likewise.
21044         (_wordcopy_bwd_aligned): Likewise.
21045         (_wordcopy_bwd_dest_aligned): Likewise.
21046         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21047         multiarch implementations.
21048         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21049         (__libc_ifunc_impl_list): Likewise.
21050         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21051         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21052         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21053         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21054         multiarch wcscpy for PPC64.
21056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21057         multiarch implementations.
21058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21059         (__libc_ifunc_impl_list): Likewise.
21060         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21061         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21062         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21063         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21064         multiarch wcscpy for PPC64.
21066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21067         multiarch implementations.
21068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21069         (__libc_ifunc_impl_list): Likewise.
21070         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21071         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21072         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21073         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21074         multiarch wcsrchr for PPC64.
21076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21077         multiarch implementations.
21078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21079         (__libc_ifunc_impl_list): Likewise.
21080         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21081         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21082         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21083         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21084         multiarch wcschr for PPC64.
21086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21087         multiarch implementations.
21088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21089         (__libc_ifunc_impl_list): Likewise.
21090         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21091         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21092         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21093         multiarch strchrnul for PPC64.
21095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21096         implementations.
21097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21098         (__libc_ifunc_impl_list): Likewise.
21099         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21100         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21101         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21102         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21103         strchr for PPC64.
21105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21106         implementations.
21107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21108         (__libc_ifunc_impl_list): Likewise.
21109         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21110         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21111         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21112         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21113         strncmp for PPC64.
21115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21116         multiarch implementations.
21117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21118         (__libc_ifunc_impl_list): Likewise.
21119         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21120         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21121         strncasecmp for PPC64.
21122         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21123         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21124         multiarch strncasecmp_l for PPC64.
21126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21127         multiarch implementations.
21128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21129         (__libc_ifunc_impl_list): Likewise.
21130         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21131         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21132         multiarch strcasecmp for PPC64.
21133         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21134         file.
21135         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21136         multiarch strcasecmp_l for PPC64.
21138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21139         implementations.
21140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21141         (__libc_ifunc_impl_list): Likewise.
21142         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21143         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21144         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21145         strnlen for PPC64.
21147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21148         implementations.
21149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21150         (__libc_ifunc_impl_list): Likewise.
21151         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21152         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21153         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21154         strlen for PPC64.
21156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21157         implementations.
21158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21159         (__libc_ifunc_impl_list): Likewise.
21160         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21161         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21162         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21163         rawmemrchr for PPC64.
21165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21166         implementation.
21167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21168         (__libc_ifunc_impl_list): Likewise.
21169         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21170         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21171         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21172         memrchr for PPC64.
21174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21175         implementation.
21176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21177         (__libc_ifunc_impl_list): Likewise.
21178         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21179         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21180         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21181         memchr for PPC64.
21183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21184         implementation.
21185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21186         (__libc_ifunc_impl_list): Likewise.
21187         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21188         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21189         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21190         mempcpy for PPC64.
21192         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21193         avoid cretion of __bzero symbol.
21194         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21195         Likewise.
21196         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21197         Likewise.
21198         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21199         Likewise.
21200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21201         multiarch implementations.
21202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21203         (__libc_ifunc_impl_list): Likewise.
21204         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21205         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21206         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21207         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21208         bzero for PPC32.
21209         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21210         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21211         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21212         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21213         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21214         memset for PPC64.
21215         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21217         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21218         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21219         implementations.
21220         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21221         (__libc_ifunc_impl_list): Likewise.
21222         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21223         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21224         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21225         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21226         memcmp for PPC64.
21228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21229         multiarch for POWER/PPC64.
21230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21231         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21232         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21233         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21234         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21235         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21236         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21237         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21238         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21239         memcpy for PPC64.
21241         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21242         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21243         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21244         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21245         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21246         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21247         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21248         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21249         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21250         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21251         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21252         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21253         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21254         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21255         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21264 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21266         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21268 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270         * benchtests/Makefile (bench): Add exp2 and log2.
21271         (LDLIBS-bench-exp2): Add -lm.
21272         (LDLIBS-bench-log2): Likewise.
21273         * benchtests/exp2-inputs: New inputs file.
21274         * benchtests/log2-inputs: New inputs file.
21275         * benchtests/log-inputs: Add new inputs.
21276         * benchtests/tan-inputs: Likewise.
21278 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21280         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21281         definition...
21282         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21283         (csloww2): ... from here.
21285         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21286         instead of structures.
21287         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21288         (POLYNOMIAL): Likewise.
21289         (TAYLOR_SLOW): Likewise.
21290         (__sin): Likewise.
21291         (__cos): Likewise.
21292         (slow1): Likewise.
21293         (slow2): Likewise.
21294         (sloww): Likewise.
21295         (sloww1); Likewise.
21296         (sloww2): Likewise.
21297         (bsloww1): Likewise.
21298         (bsloww2): Likewise.
21299         (cslow2): Likewise.
21300         (csloww): Likewise.
21301         (csloww1): Likewise.
21302         (csloww2): Likewise.
21304 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21306         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21307         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21308         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21309         * malloc/hooks.c (realloc_check): Likewise.
21311         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21312         * malloc/arena.c: Remove PER_THREAD conditional.
21313         [!PER_THREAD]: Remove code.
21314         (ptmalloc_unlock_all2): Likewise.
21315         (ptmalloc_init): Likewise.
21316         (_int_new_arena): Likewise.
21317         (arena_get2): Likewise.
21318         * malloc/hooks.c (__malloc_get_state): Likewise.
21319         (__malloc_set_state): Likewise.
21320         * malloc/malloc.c: Likewise.
21321         (struct malloc_state): Likewise.
21322         (struct malloc_par): Likewise.
21323         (__libc_realloc): Likewise.
21324         (__libc_mallopt): Likewise.
21326 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21328         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21330 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21332         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21333         macro to a function.  Check for zero perturb_byte.
21334         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21336         * malloc/malloc.c: (force_reg): Remove.
21337         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21338         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21339         force_reg by atomic_forced_read.
21340         * malloc/arena.c (ptmalloc_init): Likewise.
21341         * malloc/hooks.c (top_check): Likewise.
21343 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21347 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21351 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21353         * math/auto-libm-test-in: Add tests of lgamma.
21354         * math/auto-libm-test-out: Regenerated.
21355         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21356         (M_LOG_2_SQRT_PIl): Likewise.
21357         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21358         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21359         mpfr_f_f1.
21360         (func_calc_desc): Add mpfr_f_f1 union field.
21361         (ARGS1): New macro.
21362         (ARGS2): Likewise.
21363         (ARGS3): Likewise.
21364         (ARGS4): Likewise.
21365         (RET1): Likewise.
21366         (RET2): Likewise.
21367         (CALC): Likewise.
21368         (FUNC): Likewise.
21369         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21370         (test_functions): Add lgamma.
21371         (calc_generic_results): Handle mpfr_f_f1.
21372         * sysdeps/i386/fpu/libm-test-ulps: Update.
21373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21375 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21377         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21378         __mpn_add_n for PowerPC64/POWER7.
21379         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21380         __mpn_sub_n for PowerPC64/POWER7.
21382         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21383         __mpn_addmul_1 for PowerPC64.
21384         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21385         __mpn_submul_1 for PowerPC64.
21386         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21387         for PowerPC64.
21388         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21389         for PowerPC64.
21391 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21393         [BZ #15089]
21394         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21396 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21398         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21400         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21401         add multiarch folders.
21402         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21403         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21404         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21405         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21406         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21407         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21408         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21409         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21410         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21411         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21412         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21421         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21423         New file.
21424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21425         New file.
21426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21427         multiarch __ieee754_hypot for PowerPC32.
21428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21429         New file.
21430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21431         New file.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21433         multiarch __ieee754_hypotf for PowerPC32.
21435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21436         long_double_symbol only if __logbl is defined.
21437         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21438         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21439         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21440         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21441         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21442         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21443         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21444         path for implementation.
21445         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21446         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21448         logb, and logbl multiarch implementations for PowerPC32.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21450         file.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21452         file.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21454         multiarch logb for PowerPC32.
21455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21456         file.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21458         file.
21459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21460         multiarch logbf for PowerPC32.
21461         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21463         file.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21465         multiarch logbl implementation for PowerPC32.
21467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21468         and modff multiarch implementations.
21469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21470         New file.
21471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21472         New file.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21474         multiarch modf for PowerPC32.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21476         New file.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21478         New file.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21480         multiarch modff for PowerPC32.
21482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21483         and lrintf multiarch implementations.
21484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21485         New file.
21486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21487         New file.
21488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21489         multiarch lrint for PowerPC32.
21490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21491         file: multiarch lrintf for PowerPC32.
21493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21494         and lroundf multiarch implementations.
21495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21496         New file.
21497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21498         New file.
21499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21500         New file.
21501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21502         multiarch lround for PowerPC32.
21503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21504         file: multiarch lroundf for PowerPC32.
21506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21507         copysign and copysignf multiarch implementations.
21508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21509         New file.
21510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21511         New file.
21512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21513         file: multiarch copysign for PowerPC32.
21514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21515         file: multiarch copysignf for PowerPC32.
21517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21518         and truncf multiarch implementations.
21519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21520         New file.
21521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21522         file.
21523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21524         multiarch trunc for PowerPC32.
21525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21526         New file.
21527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21528         New file.
21529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21530         multiarch truncf for PowerPC32.
21532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21533         and roundf multiarch implementations.
21534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21535         New file.
21536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21537         file.
21538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21539         multiarch round for PowerPC32.
21540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21541         New file.
21542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21543         New file.
21544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21545         multiarch roundf for PowerPC32.
21547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21548         and floorf multiarch implementations.
21549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21550         New file.
21551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21552         file.
21553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21554         multiarch floor for PowerPC32.
21555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21556         New file.
21557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21558         New file.
21559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21560         multiarch floorf for PowerPC32.
21562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21563         and ceilf multiarch implementations.
21564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21565         New file.
21566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21567         file.
21568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21569         multiarch ceil for PowerPC32.
21570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21571         New file.
21572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21573         file.
21574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21575         multiarch ceilf for PowerPC32.
21577         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21578         is defined.
21579         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21580         FINITEF is defined.
21581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21582         and finitef multiarch implementations.
21583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21584         New file.
21585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21586         file.
21587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21588         multiarch finite for PowerPC32.
21589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21590         New file.
21591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21592         file: multiarch finitef for PowerPC32.
21594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21595         and isinff multiarch implementations.
21596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21597         file.
21598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21599         file.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21601         multiarch isinf for PowerPC32.
21602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21603         New file.
21604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21605         multiarch isinff for PowerPC32.
21607         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21608         alias when __isnan is defined.
21609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21610         and isnanf multiarch implementations.
21611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21612         file.
21613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21614         file.
21615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21616         file.
21617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21618         file.
21619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21620         multiarch isnan for PowerPC32.
21621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21622         New file.
21623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21624         New file.
21625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21626         multiarch isnanf for PowerPC32.
21628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21629         and sqrtf multiarch implementations.
21630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21631         file.
21632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21633         file.
21634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21635         multiarch sqrt for PowerPC32.
21636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21637         file.
21638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21639         file.
21640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21641         multiarch sqrtf for PowerPC32.
21643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21644         and llroundf multiarch implementations.
21645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21646         New file.
21647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21648         New file.
21649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21650         New file.
21651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21652         file: multiarch llround for PowerPC32.
21653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21654         file: multiarch llroundf for PowerPC32.
21656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21657         multiarch PowerPC32 fpu implementations.
21658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21659         New file.
21660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21661         New file.
21662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21663         multiarch llrint for PowerPC32.
21664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21665         New file.
21666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21667         New file.
21668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21669         file.
21671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21673         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21674         file.
21675         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21676         file.
21677         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21678         file.
21679         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21680         multiarch wordcopy for PPC32.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21682         wordcopy objects.
21683         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21684         (__libc_ifunc_impl_list): Likewise.
21685         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21686         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21687         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21688         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21689         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21690         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21692         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21694         file.
21695         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21696         file.
21697         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21698         file.
21699         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21700         multiarch wcscpy for PPC32.
21701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21702         multiarch objects.
21703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21704         (__libc_ifunc_impl_list): Likewise.
21705         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21706         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21707         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21708         sysdeps/powerpc/power6/wcscpy.c.
21710         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21712         file.
21713         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21714         file.
21715         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21716         file.
21717         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21718         multiarch wcsrchr for PPC32.
21719         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21720         multiarch objects.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21722         (__libc_ifunc_impl_list): Likewise.
21723         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21724         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21725         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21726         sysdeps/powerpc/power6/wcsrchr.c.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21729         file.
21730         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21731         file.
21732         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21733         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21734         multiarch wcschr for PPc32.
21735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21736         multiarch objects.
21737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21738         (__libc_ifunc_impl_list): Likewise.
21739         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21740         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21741         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21742         sysdeps/powerpc/power6/wcschr.c.
21744         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21745         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21746         file.
21747         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21748         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21749         file: multiarch strchr for PPC32.
21750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21751         multiarch objects.
21752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21753         (__libc_ifunc_impl_list): Likewise.
21755         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21756         name.
21757         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21758         file.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21760         file.
21761         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21762         multiarch strchrnul for PPC32.
21763         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21764         multiarch objects.
21765         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21766         (__libc_ifunc_impl_list): Likewise.
21768         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21769         file.
21770         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21771         multiarch strncasecmp for PPC32.
21772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21773         file.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21775         multiarch strncasecmp_l for PPC32.
21776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21777         strncasecmp multiarch objects.
21778         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21779         (__libc_ifunc_impl_list): Likewise.
21781         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21782         file.
21783         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21784         multiarch strncasecmp for PPC32.
21785         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21786         New file.
21787         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21788         multiarch strcasecmp_l for PPC32.
21789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21790         multiarch objects.
21791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21792         (__libc_ifunc_impl_list): Likewise.
21794         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21795         file.
21796         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21797         file.
21798         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21799         multiarch strncmp for PPC32.
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21801         multiarch objects.
21802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21803         (__libc_ifunc_impl_list): Likewise.
21805         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21806         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21807         file.
21808         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21809         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21811         multiarch objects.
21812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21813         (__libc_ifunc_impl_list): Likewise.
21815         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21816         file.
21817         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21818         file.
21819         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21821         multiarch objects.
21822         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21823         (__libc_ifunc_impl_list): Likewise.
21825         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21826         file.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21828         file.
21829         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21830         multiarch rawmemchr for PPC32.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21832         multiarch objects.
21833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21834         (__libc_ifunc_impl_list): Likewise.
21836         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21837         file.
21838         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21839         file.
21840         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21841         file: memrchr multiarch for PPC32.
21842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21843         multiarch objects.
21844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21845         (__libc_ifunc_impl_list): Likewise.
21847         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21848         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21849         file.
21850         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21851         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21852         multiarch memchr for PPC32.
21853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21854         multiarch objects.
21855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21856         (__libc_ifunc_impl_list): Likewise.
21858         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21859         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21860         file.
21861         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21862         file.
21863         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21864         file: multiarch mempcpy for PPC32.
21865         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21866         multiarch objects.
21867         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21868         (__libc_ifunc_impl_list): Likewise.
21870         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21871         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21872         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21873         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21874         multiarch bzero for PPC32.
21875         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21876         file.
21877         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21878         file.
21879         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21880         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21881         file: multiarch memset for PPC32.
21882         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21884         memset multiarch objects.
21885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21886         (__libc_ifunc_impl_list): Likewise.
21888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21889         file.
21890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21892         memcmp for PPC32.
21893         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21895         multiarch objects.
21896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21897         (__libc_ifunc_impl_list): Likewise.
21899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21900         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21902         file.
21903         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21904         file.
21905         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21906         file.
21907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21908         multiarch memcpy for PPC32.
21909         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21910         multiarch objects.
21911         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21912         (__libc_ifunc_impl_list): Likewise.
21914         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21915         support multiarch for POWER/PPC32.
21916         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21917         Likewise.
21918         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21920         Implies file to make multiarch folder appers before the fpu and
21921         default folder for power4 configuration.
21923 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21925         * scripts/bench.pl: Append volatile keyword to type.
21927 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21929         * sysdeps/sh/sotruss-lib.c: New file.
21930         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21932 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21936 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21938         [BZ #6810]
21939         * math/w_tgamma.c: Include <errno.h>.
21940         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21941         * math/w_tgammaf.c: Include <errno.h>.
21942         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21943         * math/w_tgammal.c: Include <errno.h>.
21944         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21945         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21946         underflow.  Add more tgamma tests.
21947         * math/auto-libm-test-out: Regenerated.
21948         * sysdeps/i386/fpu/libm-test-ulps: Update.
21949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21951         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21952         sin, sinh, tan, tanh, tgamma, y0 and y1.
21953         * math/auto-libm-test-out: Regenerated.
21954         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21955         (TEST_COND_x86): Likewise.
21956         (M_E2l): Remove macro.
21957         (M_E3l): Likewise.
21958         (M_2_SQRT_PIl): Likewise.
21959         (M_SQRT_PIl): Likewise.
21960         (M_1_DIV_El): Likewise.
21961         (log_test_data): Use AUTO_TESTS_f_f.
21962         (log10_test_data): Likewise.
21963         (log1p_test_data): Likewise.
21964         (log2_test_data): Likewise.
21965         (sin_test_data): Likewise.
21966         (sin_tonearest_test_data): Likewise.
21967         (sin_towardzero_test_data): Likewise.
21968         (sin_downward_test_data): Likewise.
21969         (sin_upward_test_data): Likewise.
21970         (sinh_test_data): Likewise.
21971         (sinh_tonearest_test_data): Likewise.
21972         (sinh_towardzero_test_data): Likewise.
21973         (sinh_downward_test_data): Likewise.
21974         (sinh_upward_test_data): Likewise.
21975         (tan_test_data): Likewise.
21976         (tan_tonearest_test_data): Likewise.
21977         (tan_towardzero_test_data): Likewise.
21978         (tan_downward_test_data): Likewise.
21979         (tan_upward_test_data): Likewise.
21980         (tanh_test_data): Likewise.
21981         (tgamma_test_data): Likewise.
21982         (y0_test_data): Likewise.
21983         (y1_test_data): Likewise.
21984         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21985         (special_real_inputs): Add pi/4.
21986         * sysdeps/i386/fpu/libm-test-ulps: Update.
21987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21989 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21991         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21992         "longjmp_target" static probes.
21993         (__longjmp): Rename to __longjmp_symbol.
21994         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21995         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21996         on which longjmp to generate.
21997         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21998         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21999         probe.
22000         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22001         (__sigjmp_save): Rename to __sigjmp_save_symbol.
22002         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22003         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22004         and __sigjmp_save_symbol based on which sigsetjmp to generated.
22005         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22007         __longjmp_symbol based on which __longjmp to generate.
22008         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22009         probe.
22010         (setjmp): Rename to setjmp_symbol.
22011         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22012         (_setjmp): Rename to _setjmp_symbol.
22013         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22014         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22015         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22016         which setjmp to generate.
22017         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22018         "longjmp_target" static probes.
22020 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22022         * benchtests/README: Add note about output arguments.
22023         * benchtests/bench-sincos.c: Remove file.
22024         * benchtests/sincos-inputs: New file.
22025         * scripts/bench.pl: Identify output arguments and define
22026         static variables for them.
22028         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22030         [BZ #15941]
22031         * Makefile (INSTALL): Add install-plain.texi as the primary
22032         dependency.
22033         * manual/install-plain.texi: New file.
22034         * manual/install.texi: Include node directive only for
22035         non-plaintext output.
22037 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22039         * stdlib/longlong.h: Update from GCC.
22041         [BZ #6807]
22042         [BZ #15901]
22043         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22044         * math/w_j0f.c (y0f): Likewise.
22045         * math/w_j0l.c (__y0l): Likewise.
22046         * math/w_j1.c (y1): Likewise.
22047         * math/w_j1f.c (y1f): Likewise.
22048         * math/w_j1l.c (__y1l): Likewise
22049         * math/w_jn.c (yn): Likewise.
22050         * math/w_jnf.c (ynf): Likewise.
22051         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22052         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22053         value for Bessel function domain errors outside _SVID_ mode.
22054         Adjust sign of return value for yn (negative integer, 0).
22055         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22056         by zero in return for negative x and set sign appropriately for
22057         negative n.
22058         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22059         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22060         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22061         expectations in error cases.
22062         (y1_test_data): Likewise.
22063         (yn_test_data): Likewise.
22064         * sysdeps/i386/fpu/libm-test-ulps: Update.
22065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22067 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22069         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22070         "64" to "64-v1".  Add "64-v2".
22071         (abi-64-options): Rename to ...
22072         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22073         (abi-64-condition): Rename to ...
22074         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22075         (abi-64-ld-soname): Rename to ...
22076         (abi-64-v1-ld-soname): ... this.
22077         (abi-64-v2-options): Define.
22078         (abi-64-v2-condition): Likewise.
22079         (abi-64-v2-ld-soname): Likewise.
22080         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22081         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22086 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22087             Alan Modra  <amodra@gmail.com>
22089         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22090         New versions for use with the ELFv2 ABI.
22091         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22092         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22093         declaration.
22094         (struct La_ppc64v2_retval): Likewise.
22095         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22096         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22097         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22098         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22099         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22100         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22101         Do not save or restore CR.
22102         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22103         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22104         return values for ELFv2 ABI.  Fix location of FPR return registers.
22105         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22106         updated values for _CALL_ELF == 2.
22107         (La_regs, La_retval, int_retval): Likewise.
22109 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22111         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22112         (FRAME_MIN_SIZE_PARM): Likewise.
22113         (FRAME_BACKCHAIN): Likewise.
22114         (FRAME_CR_SAVE): Likewise.
22115         (FRAME_LR_SAVE): Likewise.
22116         (FRAME_TOC_SAVE): Likewise.
22117         (FRAME_PARM_SAVE): Likewise.
22118         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22119         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22120         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22121         (call_mcount_parm_offset): New macro.
22122         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22123         (PROF): Use symbolic stack frame offsets.
22124         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22125         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22126         Redefine in terms of FRAME_MIN_SIZE.
22127         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22128         (_dl_profile_resolve): Likewise.  Update comment.
22129         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22130         symbols stack frame offsets.
22131         (__sigsetjmp): Likewise.
22132         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22133         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22134         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22135         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22138         (FRAME_BACKCHAIN): Remove.
22139         (FRAME_CR_SAVE): Likewise.
22140         (FRAME_LR_SAVE): Likewise.
22141         (FRAME_COMPILER_DW): Likewise.
22142         (FRAME_LINKER_DW): Likewise.
22143         (FRAME_TOC_SAVE): Likewise.
22144         (FRAME_PARM_SAVE): Likewise.
22145         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22146         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22147         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22149         (CHECK_SP): Use symbolic stack frame offsets.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22151         zone" instead of caller's parameter save area for temp storage.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22153         Likewise.  Also, use symbolic stack frame offsets.
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22155         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22156         our own stack frame instead of the caller's.
22157         (__socket): Use symbolic stack frame offsets.
22159 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22160             Alan Modra  <amodra@gmail.com>
22162         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22163         Define.
22164         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22165         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22166         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22167         New function.
22168         (elf_machine_fixup_plt): Call it.
22169         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22170         reloc arguments.
22171         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22172         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22173         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22174         r2 before calling target.
22176 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22177             Alan Modra  <amodra@gmail.com>
22179         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22180         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22181         versions of macros to support ELFv2 ABI.
22182         (LOCALENTRY): New macro.
22183         (ENTRY, EALIGN): Use it.
22184         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22185         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22186         fall through into ENTRY entry point.
22187         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22188         Only define if _CALL_ELF != 2.
22190         (elf_machine_matches_host): Verify ABI version matches.
22191         (RTLD_START): Use LOCALENTRY.
22192         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22193         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22194         (PLT_ENTRY_WORDS): New macro.
22195         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22196         (elf_machine_runtime_setup): Support ELFv2 ABI.
22197         (elf_machine_fixup_plt): Likewise.
22198         (elf_machine_plt_conflict): Likewise.
22199         (resolve_ifunc): Likewise.
22200         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22201         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22202         Likewise.
22203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22204         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22206         (makecontext): Support ELFv2 ABI.
22207         * elf/elf.h (EF_PPC64_ABI): Define.
22209 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22211         * sysdeps/powerpc/powerpc64/sysdep.h
22212         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22213         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22214         (ENTRY) [ASSEMBLER]: ... but instead here ...
22215         (EALIGN) [ASSEMBLER]: ... and here.
22216         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22217         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22218         (ENTRY_2) [!ASSEMBLER]: Use it.
22219         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22220         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22221         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22222         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22223         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22225         Use PPC64_LOAD_FUNCPTR.
22227         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22229 2013-12-04  Alan Modra  <amodra@gmail.com>
22231         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22232         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22233         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22234         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22236         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22237         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22238         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22239         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22240         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22241         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22243 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22246         (__makecontext): Fix incorrect CFI when backtracing out of
22247         context created via makecontext.
22248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22249         (__setcontext): Fix incorrect CFI during switch to new context.
22250         (__novec_setcontext): Likewise.
22252 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22254         [BZ #4772]
22255         * time/strptime_l.c (__strptime_internal): Allow modifiers
22256         in strptime.
22257         * time/tst-strptime.c (day_tests): Add testcase.
22259 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22261         * scripts/bench.pl: Skip over blank lines.
22263 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22265         [BZ #926]
22266         * manual/time.texi (Calendar Time): Clarify what timezone functions
22267         use.
22269 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22273 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22275         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22276         implementation.
22277         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22278         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22279         * debug/memset_chk.c (__memset_chk): Likewise.
22280         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22281         * debug/strncpy_chk.c: Likewise.
22283 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #15268]
22286         [BZ #15425]
22287         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22288         (__ieee754_exp): For possibly underflowing results, check size of
22289         result and force underflow exception if required.
22290         * math/auto-libm-test-in: Add more tests of exp.
22291         * math/auto-libm-test-out: Regenerated.
22292         * sysdeps/i386/fpu/libm-test-ulps: Update.
22293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22295         [BZ #16283]
22296         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22297         * math/w_exp2f.c (__exp2f): Likewise.
22298         * math/w_exp2l.c (__exp2l): Likewise.
22299         * math/auto-libm-test-in: Do not allow missing errno on exp2
22300         underflow.
22301         * math/auto-libm-test-out: Regenerated.
22303 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22305         [BZ #16274]
22306         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22307         handle filename validation.
22308         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22309         (do_open): Delete.
22311 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22313         [BZ #6786]
22314         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22315         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22316         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22317         <float.h>.
22318         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22320         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22321         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22322         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22323         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22324         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22325         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22326         Add more erfc tests.
22327         * math/auto-libm-test-out: Regenerated.
22328         * sysdeps/i386/fpu/libm-test-ulps: Update.
22329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22331         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22332         exp2, expm1, j0 and j1.
22333         * math/auto-libm-test-out: Regenerated.
22334         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22335         (erfc_test_data): Likewise.
22336         (exp_test_data): Likewise.
22337         (exp_tonearest_test_data): Likewise.
22338         (exp_towardzero_test_data): Likewise.
22339         (exp_downward_test_data): Likewise.
22340         (exp_upward_test_data): Likewise.
22341         (exp10_test_data): Likewise.
22342         (exp2_test_data): Likewise.
22343         (expm1_test_data): Likewise.
22344         (j0_test_data): Likewise.
22345         (j1_test_data): Likewise.
22346         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22347         (input_flag_type): Add flag_xfail_rounding.
22348         (input_flags): Add xfail-rounding.
22349         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22350         (output_for_one_input_case): Handle flag_xfail_rounding.
22351         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22354 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22356         [BZ #16289]
22357         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22358         division by 0.
22360 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22362         [BZ #16195]
22363         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22364         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22365         (STAP_PROBE0): New macro.
22366         (STAP_PROBE1): Likewise.
22367         (STAP_PROBE2): Likewise.
22368         (STAP_PROBE3): Likewise.
22369         (STAP_PROBE4): Likewise.
22371 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22373         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22375 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22377         * benchtests/Makefile (bench): Add sqrt.
22378         (LDLIBS-bench-sqrt): New.
22379         * benchtests/sqrt-input: New.
22381 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22383         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22384         (GAIH_EAI): Likewise.
22385         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22386         (gaih_inet): Likewise.
22387         (getaddrinfo): Don't use GAIH_EAI.
22389         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22390         (struct gaih): Remove definition.
22392 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22394         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22395         Use HERRNOP directly.
22397 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22401 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22403         * math/gen-auto-libm-tests.c (test_functions): Add more
22404         single-argument functions.
22405         (special_fill_pi_2): New function.
22406         (special_fill_minus_pi_2): Likewise.
22407         (special_fill_pi_6): Likewise.
22408         (special_fill_minus_pi_6): Likewise.
22409         (special_fill_pi_3): Likewise.
22410         (special_fill_2pi_3): Likewise.
22411         (special_fill_e): Likewise.
22412         (special_fill_1_e): Likewise.
22413         (special_fill_e_minus_1): Likewise.
22414         (special_real_inputs): Add more special inputs.
22415         (output_for_one_input_case): Do not require ERANGE on underflow to
22416         zero if round-to-nearest result does not underflow to zero, unless
22417         exact results required.
22418         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22419         atan, atanh, cbrt, cos and cosh.
22420         * math/auto-libm-test-out: Regenerated.
22421         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22422         (acos_tonearest_test_data): Likewise.
22423         (acos_towardzero_test_data): Likewise.
22424         (acos_downward_test_data): Likewise.
22425         (acos_upward_test_data): Likewise.
22426         (acosh_test_data): Likewise.
22427         (asin_test_data): Likewise.
22428         (asin_tonearest_test_data): Likewise.
22429         (asin_towardzero_test_data): Likewise.
22430         (asin_upward_test_data): Likewise.
22431         (asinh_test_data): Likewise.
22432         (atan_test_data): Likewise.
22433         (atanh_test_data): Likewise.
22434         (cbrt_test_data): Likewise.
22435         (cos_test_data): Likewise.
22436         (cos_tonearest_test_data): Likewise.
22437         (cos_towardzero_test_data): Likewise.
22438         (cos_downward_test_data): Likewise.
22439         (cos_upward_test_data): Likewise.
22440         (cosh_test_data): Likewise.
22441         (cosh_tonearest_test_data): Likewise.
22442         (cosh_towardzero_test_data): Likewise.
22443         (cosh_downward_test_data): Likewise.
22444         (cosh_upward_test_data): Likewise.
22445         * sysdeps/i386/fpu/libm-test-ulps: Update.
22446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22448 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22450         [BZ #6787]
22451         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22452         * math/w_exp10f.c (__exp10f): Likewise.
22453         * math/w_exp10l.c (__exp10l): Likewise.
22454         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22455         errno settings in existing tests.
22457         [BZ #14032]
22458         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22459         precision control set to double precision.
22460         * sysdeps/i386/fpu/w_sqrt.c: New file.
22461         * math/auto-libm-test-in: Add more tests.
22462         * math/auto-libm-test-out: Update.
22464         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22465         (sqrt_test_tonearest): New function.
22466         (sqrt_towardzero_test_data): New variable.
22467         (sqrt_test_towardzero): New function.
22468         (sqrt_downward_test_data): New variable.
22469         (sqrt_test_downward): New function.
22470         (sqrt_upward_test_data): New variable.
22471         (sqrt_test_upward): New function.
22472         (main): Call the new functions.
22474         * math/gen-auto-libm-tests.c: New file.
22475         * math/auto-libm-test-in: Likewise.
22476         * math/auto-libm-test-out: New generated file.
22477         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22478         variables.
22479         (%beautify): Add generated representations of zero.
22480         (top level): Set $auto_input and call parse_auto_input.
22481         (beautify): Remove trailing "f" from hex float constants.
22482         (parse_args): Handle XFAIL_TEST.
22483         (convert_condition): New function.
22484         (or_value): Likewise.
22485         (or_cond_value): Likewise.
22486         (generate_testfile): Handle AUTO_TESTS_* lines.
22487         (parse_auto_input): New function.
22488         * math/libm-test.inc (XFAIL_TEST): New macro.
22489         (ERRNO_UNCHANGED): Update value.
22490         (ERRNO_EDOM): Likewise.
22491         (ERRNO_ERANGE): Likewise.
22492         (IGNORE_RESULT): Likewise.
22493         (TEST_COND_flt_32): New macro.
22494         (TEST_COND_dbl_64): Likewise.
22495         (TEST_COND_ldbl_96_intel): Likewise.
22496         (TEST_COND_ldbl_96_m68k): Likewise.
22497         (TEST_COND_ldbl_128): Likewise.
22498         (TEST_COND_ldbl_128ibm): Likewise.
22499         (TEST_COND_long32): Likewise.
22500         (TEST_COND_long64): Likewise.
22501         (TEST_COND_before_rounding): Likewise.
22502         (TEST_COND_after_rounding): Likewise.
22503         (enable_test): Handle XFAIL_TEST flag.
22504         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22505         with finite results.
22506         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22507         auto-libm-test-out.
22509 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22510             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22512         [BZ #16214]
22513         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22514         __tls_get_addr_internal instead of __tls_get_offset in order to
22515         avoid GOT pointer dependency.  Make rtld export
22516         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22517         __tls_get_addr since we are a __tls_get_offset platform.
22518         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22519         GOT pointer being set up before.
22520         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22522 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22524         * manual/math.texi (Errors in Math Functions): Document accuracy
22525         goals.
22527         [BZ #15004]
22528         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22529         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22530         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22531         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22532         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22533         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22534         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22535         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22537         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22538         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22539         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22541         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22542         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22543         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22545         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22546         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22547         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22548         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22549         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22550         Likewise.
22551         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22552         Likewise.
22553         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22554         Likewise.
22555         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22556         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22557         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22558         atomic-feupdateenv and flt-rounds.
22559         * sysdeps/powerpc/nofpu/Versions (libc): Add
22560         __atomic_feholdexcept, __atomic_feclearexcept,
22561         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22562         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22563         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22564         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22565         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22566         here.
22567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22568         Update.
22570         * manual/arith.texi (FP Exceptions): Document that exceptions may
22571         not be raised when matherr is used.
22572         (Math Error Reporting): Document overflow in directed rounding
22573         modes.  Document that errno may not be set when finite values are
22574         returned on overflow.  Document intent to set errno on underflow
22575         only for underflow to zero.
22577         [BZ #16271]
22578         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22579         round-to-nearest then adjust result for other rounding modes.
22580         * include/fenv.h (fegetround): Use libm_hidden_proto.
22581         * math/fegetround.c (fegetround): Use libm_hidden_def.
22582         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22583         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22584         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22585         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22586         Likewise.
22587         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22588         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22589         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22590         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22592 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22594         [BZ #16077]
22595         * nss/Versions (libnss_files): Add
22596         _nss_files_gethostbyname3_r.
22597         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22598         New function.
22599         (HOST_DB_LOOKUP): Remove macro.
22600         (_nss_files_gethostbyname_r): Implement function without the
22601         HOST_DB_LOOKUP macro.
22602         (_nss_files_gethostbyname2_r): Likewise.
22604 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22606         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22608 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22610         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22611         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22612         warning.
22614 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22616         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22617         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22618         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22619         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22620         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22621         __fe_nomask_env_priv and attribute_hidden.
22622         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22623         (libc_feupdateenv_test_ppc): Likewise.
22624         (libc_feresetround_ppc): Likewise.
22625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22626         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22627         compat_symbol macro.
22628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22629         (__fe_nomask_env): Likewise.
22630         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22632 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22634         * string/Makefile: Remove ifunc tests.
22635         * string/test-string.h: Define TEST_IFUNC.
22636         * string/test-bcopy-ifunc.c: Remove.
22637         * string/test-bzero-ifunc.c: Likewise.
22638         * string/test-memccpy-ifunc.c: Likewise.
22639         * string/test-memchr-ifunc.c: Likewise.
22640         * string/test-memcmp-ifunc.c: Likewise.
22641         * string/test-memcpy-ifunc.c: Likewise.
22642         * string/test-memmem-ifunc.c: Likewise.
22643         * string/test-memmove-ifunc.c: Likewise.
22644         * string/test-mempcpy-ifunc.c: Likewise.
22645         * string/test-memrchr-ifunc.c: Likewise.
22646         * string/test-memset-ifunc.c: Likewise.
22647         * string/test-rawmemchr-ifunc.c: Likewise.
22648         * string/test-stpcpy-ifunc.c: Likewise.
22649         * string/test-stpncpy-ifunc.c: Likewise.
22650         * string/test-strcasecmp-ifunc.c: Likewise.
22651         * string/test-strcasestr-ifunc.c: Likewise.
22652         * string/test-strcat-ifunc.c: Likewise.
22653         * string/test-strchr-ifunc.c: Likewise.
22654         * string/test-strchrnul-ifunc.c: Likewise.
22655         * string/test-strcmp-ifunc.c: Likewise.
22656         * string/test-strcpy-ifunc.c: Likewise.
22657         * string/test-strcspn-ifunc.c: Likewise.
22658         * string/test-strlen-ifunc.c: Likewise.
22659         * string/test-strncasecmp-ifunc.c: Likewise.
22660         * string/test-strncat-ifunc.c: Likewise.
22661         * string/test-strncmp-ifunc.c: Likewise.
22662         * string/test-strncpy-ifunc.c: Likewise.
22663         * string/test-strnlen-ifunc.c: Likewise.
22664         * string/test-strpbrk-ifunc.c: Likewise.
22665         * string/test-strrchr-ifunc.c: Likewise.
22666         * string/test-strspn-ifunc.c: Likewise.
22667         * string/test-strstr-ifunc.c: Likewise.
22669 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22671         * benchtests/Makefile: Remove ifunc tests.
22672         * benchtests/bench-string.h: Define TEST_IFUNC.
22673         * benchtests/bench-bcopy-ifunc.c: Remove.
22674         * benchtests/bench-bzero-ifunc.c: Likewise.
22675         * benchtests/bench-memccpy-ifunc.c: Likewise.
22676         * benchtests/bench-memchr-ifunc.c: Likewise.
22677         * benchtests/bench-memcmp-ifunc.c: Likewise.
22678         * benchtests/bench-memcpy-ifunc.c: Likewise.
22679         * benchtests/bench-memmem-ifunc.c: Likewise.
22680         * benchtests/bench-memmove-ifunc.c: Likewise.
22681         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22682         * benchtests/bench-memrchr-ifunc.c: Likewise.
22683         * benchtests/bench-memset-ifunc.c: Likewise.
22684         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22685         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22686         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22687         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22688         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22689         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22690         * benchtests/bench-strcat-ifunc.c: Likewise.
22691         * benchtests/bench-strchr-ifunc.c: Likewise.
22692         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22693         * benchtests/bench-strcmp-ifunc.c: Likewise.
22694         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22695         * benchtests/bench-strcpy-ifunc.c: Likewise.
22696         * benchtests/bench-strcspn-ifunc.c: Likewise.
22697         * benchtests/bench-strlen-ifunc.c: Likewise.
22698         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22699         * benchtests/bench-strncat-ifunc.c: Likewise.
22700         * benchtests/bench-strncmp-ifunc.c: Likewise.
22701         * benchtests/bench-strncpy-ifunc.c: Likewise.
22702         * benchtests/bench-strnlen-ifunc.c: Likewise.
22703         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22704         * benchtests/bench-strrchr-ifunc.c: Likewise.
22705         * benchtests/bench-strsep-ifunc.c: Likewise.
22706         * benchtests/bench-strspn-ifunc.c: Likewise.
22707         * benchtests/bench-strstr-ifunc.c: Likewise.
22709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22711         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22713 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22715         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22716         * rt/aio.h: Likewise.
22717         * sysdeps/gnu/bits/utmp.h: Likewise.
22718         * sysdeps/gnu/bits/utmpx.h: Likewise.
22719         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22720         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22721         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22722         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22723         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22724         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22725         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22726         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22727         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22728         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22729         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22730         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22731         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22733         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22734         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22735         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22736         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22737         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22738         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22739         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22740         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22741         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22742         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22743         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22744         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22745         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22746         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22747         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22748         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22749         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22750         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22751         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22752         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22753         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22754         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22755         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22756         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22757         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22758         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22759         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22760         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22762 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22764         [BZ #16245]
22765         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22766         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22768 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22770         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22771         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22772         Likewise.
22774 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22776         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22777         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22778         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22779         (__fesetround): Remove define.
22780         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22781         rounding and exceptions handling.
22782         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22783         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22784         (__fe_nomask_env): Likewise.
22785         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22786         __fegetround instead of fegetround.
22787         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22788         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22790 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22792         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22793         it's there.
22795         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22797 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22799         [BZ #11157]
22800         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22801         (encrypt_r): Likewise.
22802         * malloc/obstack.h (obstack_free): Likewise.
22803         * posix/unistd.h (encrypt): Likewise.
22805 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22807         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22808         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22809         DL_CALL_DT_FINI() that call the functions directly.
22810         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22811         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22812         * elf/dl-fini.c: Likewise.
22814 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22816         * malloc/hooks.c (memalign_check): Add alignment rounding.
22817         * malloc/malloc.c (_mid_memalign): New function.
22818         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22819         Implement by calling _mid_memalign.
22820         * manual/probes.texi (Memory Allocation Probes): Remove
22821         memory_valloc_retry and memory_pvalloc_retry.
22823 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22825         * locale/programs/locarchive.c (open_archive): Add const
22826         qualifier to ARCHIVEFNAME and copy default fname to
22827         DEFAULT_FNAME.
22829         [BZ #15601]
22830         * libio/tst-widetext.input: Rename Oriya to Odia.
22831         * locale/iso-639.def: Likewise.
22833         * manual/probes.texi (Mathematical Function Probes): Add
22834         documentation for sin, cos, asin and acos probes.
22835         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22836         (__sin32): Add slowasin probe.
22837         (__cos32): Add slowacos probe.
22838         (__mpsin): Add slowsin probe.
22839         (__mpcos): Add slowcos probe.
22841 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22843         [BZ #15483]
22844         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22845         thread-local __sim_exceptions_thread and global
22846         __sim_exceptions_global.
22847         (__sim_disabled_exceptions): Change to thread-local
22848         __sim_disabled_exceptions_thread and global
22849         __sim_disabled_exceptions_global.
22850         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22851         and global __sim_round_mode_global.
22852         (__simulate_exceptions): Use thread-local floating-point state and
22853         set global state from it as needed.
22854         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22855         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22856         __sim_round_mode_thread.
22857         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22858         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22859         and global __sim_exceptions_global.
22860         (__sim_disabled_exceptions): Change to thread-local
22861         __sim_disabled_exceptions_thread and global
22862         __sim_disabled_exceptions_global.
22863         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22864         and global __sim_round_mode_global.
22865         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22866         (SIM_SET_GLOBAL): Likewise.
22867         * sysdeps/powerpc/soft-fp/sfp-machine.h
22868         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22869         __sim_round_mode_thread.
22870         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22871         __sim_disabled_exceptions_thread.
22872         (__sim_exceptions): Change to __sim_exceptions_thread.
22873         (__sim_disabled_exceptions): Change to
22874         __sim_disabled_exceptions_thread.
22875         (__sim_round_mode): Change to __sim_round_mode_thread.
22876         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22877         thread-local floating-point state and set global state from it as
22878         needed.
22879         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22880         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22881         (__sim_disabled_exceptions): Remove extern declaration.
22882         (feenableexcept): Use thread-local floating-point state and set
22883         global state from it as needed.
22884         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22885         extern declaration.
22886         (__sim_disabled_exceptions): Likewise.
22887         (__sim_round_mode): Likewise.
22888         (__fegetenv): Use thread-local floating-point state.
22889         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22890         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22891         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22892         floating-point state and set global state from it as needed.
22893         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22894         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22895         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22896         Likewise.
22897         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22898         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22899         Likewise.
22900         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22901         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22902         Use __sim_round_mode_thread.
22903         * math/test-fenv-tls.c: New file.
22904         * math/Makefile (tests): Add test-fenv-tls.
22905         ($(objpfx)test-fenv-tls): Depend on
22906         $(common-objpfx)nptl/libpthread.so.
22908 2013-11-19  Andreas Schwab  <schwab@suse.de>
22910         * locale/programs/locale.c (show_info): Decode wordarray elements.
22911         * locale/categories.def (LC_MONETARY): Add element for
22912         _NL_MONETARY_CRNCYSTR.
22913         * locale/C-monetary.c (conversion_rate): New variable.
22914         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22915         element.
22917 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22919         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22920         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22922 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22924         * elf/Makefile (tst-auxv): New test.
22925         * elf/tst-auxv.c: New
22926         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22928 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22930         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22931         (hidden_proto): Caller changed.
22932         (hidden_tls_proto): New macro.
22933         (libc_hidden_tls_proto): Likewise.
22934         (rtld_hidden_tls_proto): Likewise.
22935         (libm_hidden_tls_proto): Likewise.
22936         (libresolv_hidden_tls_proto): Likewise.
22937         (librt_hidden_tls_proto): Likewise.
22938         (libdl_hidden_tls_proto): Likewise.
22939         (libnss_files_hidden_tls_proto): Likewise.
22940         (libnsl_hidden_tls_proto): Likewise.
22941         (libnss_nisplus_hidden_tls_proto): Likewise.
22942         (libutil_hidden_tls_proto): Likewise.
22944 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22946         [BZ #10253]
22947         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22948         (decompose_rpath): Defer expansion to fillin_rpath.
22949         (_dl_init_paths): Pass linkmap to fillin_rpath.
22951 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22953         * benchtests/Makefile: Add strsep.
22954         * benchtests/bench-strsep.c: New file: strsep benchtest.
22955         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22957 2013-11-18  Andreas Schwab  <schwab@suse.de>
22959         * locale/programs/locale.c (show_info) [case byte]: Check for
22960         '\377' instead of '\177'.
22961         * locale/C-monetary.c (not_available): Always use "\377".
22962         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22963         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22964         detect unavailable sign_posn locale elements.
22965         * locale/localeconv.c (__localeconv): For grouping and
22966         mon_grouping handle "\177" and "\377" like no grouping.
22967         (INT_ELEM): New macro.  Use it to set all numeric members.
22968         * locale/programs/ld-monetary.c (monetary_read)
22969         <tok_mon_grouping>: Normalize single -1 to the empty string.
22970         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22971         Likewise.
22973 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22975         [BZ #16055]
22976         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22977         when we match (nil).
22978         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22980 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22982         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22983         (NO_TEST_INLINE): Update value.
22984         (ERRNO_UNCHANGED): Likewise.
22985         (ERRNO_EDOM): Likewise.
22986         (ERRNO_ERANGE): Likewise.
22987         (IGNORE_RESULT): Likewise.
22988         (check_float_internal): Check signs of NaN results if
22989         TEST_NAN_SIGN used.
22990         (check_complex): Pass TEST_NAN_SIGN flag through to second
22991         check_float_internal call.
22992         (copysign_test_data): Add tests with quiet NaNs as second
22993         argument.  Use TEST_NAN_SIGN.
22994         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22995         TEST_NAN_SIGN.
22996         (signbit_test_data): Add tests of quiet NaN argument.
22997         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22999         * math/gen-libm-test.pl (show_exceptions): Take extra argument
23000         $ignore_result.
23001         (parse_args): Handle function results specified as IGNORE.
23002         * math/libm-test.inc (IGNORE_RESULT): New macro.
23003         (check_float_internal): Do not check numerical result if flag
23004         IGNORE_RESULT set.
23005         (check_complex): Pass through IGNORE_RESULT to second
23006         check_float_internal call.
23007         (check_int): Do not check numerical result if flag IGNORE_RESULT
23008         set.
23009         (check_long): Likewise.
23010         (check_bool): Likewise.
23011         (check_longlong): Likewise.
23012         (lrint_test_data): Add tests of infinite and NaN arguments.
23013         (lrint_tonearest_test_data): Likewise.
23014         (lrint_towardzero_test_data): Likewise.
23015         (lrint_downward_test_data): Likewise.
23016         (lrint_upward_test_data): Likewise.
23017         (llrint_test_data): Likewise.
23018         (llrint_tonearest_test_data): Likewise.
23019         (llrint_towardzero_test_data): Likewise.
23020         (llrint_downward_test_data): Likewise.
23021         (llrint_upward_test_data): Likewise.
23022         (lround_test_data): Likewise.
23023         (llround_test_data): Likewise.
23025         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23026         (ERRNO_UNCHANGED): Update value.
23027         (ERRNO_EDOM): Likewise.
23028         (ERRNO_ERANGE): Likewise.
23029         (NO_TEST_INLINE_FLOAT): New macro.
23030         (NO_TEST_INLINE_DOUBLE): Likewise.
23031         (enable_test): New function.
23032         (RUN_TEST_f_f): Check enable_test before running test.
23033         (RUN_TEST_2_f): Likewise.
23034         (RUN_TEST_fff_f): Likewise.
23035         (RUN_TEST_c_f): Likewise.
23036         (RUN_TEST_f_f1): Likewise.
23037         (RUN_TEST_fF_f1): Likewise.
23038         (RUN_TEST_fI_f1): Likewise.
23039         (RUN_TEST_ffI_f1): Likewise.
23040         (RUN_TEST_c_c): Likewise.
23041         (RUN_TEST_cc_c): Likewise.
23042         (RUN_TEST_f_i): Likewise.
23043         (RUN_TEST_f_i_tg): Likewise.
23044         (RUN_TEST_ff_i_tg): Likewise.
23045         (RUN_TEST_f_b): Likewise.
23046         (RUN_TEST_f_b_tg): Likewise.
23047         (RUN_TEST_f_l): Likewise.
23048         (RUN_TEST_f_L): Likewise.
23049         (RUN_TEST_fFF_11): Likewise.
23050         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23051         conditionals.
23052         (cosh_test_data): Likewise.
23053         (exp_test_data): Likewise.
23054         (expm1_test_data): Likewise.
23055         (hypot_test_data): Likewise.
23056         (pow_test_data): Likewise.
23057         (sinh_test_data): Likewise.
23058         (tanh_test_data): Likewise.
23059         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23060         flags argument.
23062         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23063         tests with quiet NaN input and output.
23064         (acosh_test_data): Likewise.
23065         (asin_test_data): Likewise.
23066         (asinh_test_data): Likewise.
23067         (atan_test_data): Likewise.
23068         (atanh_test_data): Likewise.
23069         (atan2_test_data): Likewise.
23070         (cbrt_test_data): Likewise.
23071         (cos_test_data): Likewise.
23072         (cosh_test_data): Likewise.
23073         (erf_test_data): Likewise.
23074         (erfc_test_data): Likewise.
23075         (exp_test_data): Likewise.
23076         (exp10_test_data): Likewise.
23077         (exp2_test_data): Likewise.
23078         (expm1_test_data): Likewise.
23079         (hypot_test_data): Likewise.
23080         (j0_test_data): Likewise.
23081         (j1_test_data): Likewise.
23082         (jn_test_data): Likewise.
23083         (lgamma_test_data): Likewise.
23084         (log_test_data): Likewise.
23085         (log10_test_data): Likewise.
23086         (log1p_test_data): Likewise.
23087         (log2_test_data): Likewise.
23088         (pow_test_data): Likewise.
23089         (scalb_test_data): Likewise.
23090         (sin_test_data): Likewise.
23091         (sincos_test_data): Likewise.
23092         (sinh_test_data): Likewise.
23093         (tan_test_data): Likewise.
23094         (tanh_test_data): Likewise.
23095         (tgamma_test_data): Likewise.
23096         (y0_test_data): Likewise.
23097         (y1_test_data): Likewise.
23098         (yn_test_data): Likewise.
23100         [BZ #16167]
23101         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23102         argument being NaN and avoid computations with second argument in
23103         that case.
23104         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23105         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23106         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23108 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23110         * locale/iso-639.def: Add Chitwani Tharu (the).
23112 2013-11-14  Andreas Schwab  <schwab@suse.de>
23114         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23115         word instead of empty string.
23117 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23120         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23122         (__fe_nomask_env): Likewise.
23124 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23126         * benchtests/bench-timing.h: Include time.h.
23128 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23130         [BZ #15997]
23131         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23132         to 3.4.0 for x32.
23133         * sysdeps/unix/sysv/linux/configure: Regenerated.
23135 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23137         [BZ #16151]
23138         * stdlib/strtod_l.c (round_and_return): Do not consider
23139         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23140         exponent one less than half the least subnormal exponent.
23141         * stdlib/test-strtod-round-data: Add more tests.
23142         * stdlib/tst-strtod-round.c (tests): Regenerated.
23144 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23146         [BZ #14143]
23147         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23148         (__fe_mask_env): Likewise.
23149         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23150         libm_hidden_proto and add function prototype.
23151         (__fe_mask_env): Add function prototype.
23152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23153         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23155         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23157         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23159 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23161         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23162         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23164 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23166         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23167         of htab_find_slot().
23169 2013-11-11  David S. Miller  <davem@davemloft.net>
23171         [BZ #16150]
23172         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23173         symbol in the non-vis3 case in static builds.
23174         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23175         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23176         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23177         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23179 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23181         [BZ #387]
23182         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23183         it is empty.
23185 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23187         * benchtests/Makefile: Add bench-strtod.
23188         * benchtests/bench-strtod.c: New file: strtod benchtest
23190 2013-11-11  Andreas Schwab  <schwab@suse.de>
23192         [BZ #16153]
23193         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23194         terminating NUL in key length.
23196 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23198         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23199         Add artificial ODP entry for vDSO symbol for PPC64.
23200         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23201         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23203 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23205         [BZ #15374]
23206         * nss/getent.c (services_keys): Recognize services starting with digit.
23208 2013-11-06  David S. Miller  <davem@davemloft.net>
23210         [BZ #15985]
23211         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23212         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23214 2013-11-06  Will Newton  <will.newton@linaro.org>
23216         * manual/memory.texi (Malloc Examples): Remove register
23217         keyword from examples.
23219 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23221         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23223 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23225         [BZ #6981]
23226         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23227         depending on [__GCC_IEC_559 > 0].
23228         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23229         depending on [__GCC_IEC_559_COMPLEX > 0].
23231 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23233         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23234         to iso-639.def.
23236 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23238         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23240 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23242         [BZ #16112]
23243         * malloc/malloc (malloc_info): Do not handle first bin as
23244         special case.
23246 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23248         * locale/iso-639.def: Add Central Nahuatl (nhn).
23250 2013-11-01  Bruno Haible  <bruno@clisp.org>
23252         [BZ #7003]
23253         * manual/math.texi (BSD Random): Specify range upper bound as
23254         in POSIX.
23256 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23258         * locale/iso-639.def: Add Meadow Mari (mhr).
23260 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23262         [BZ #14752], [BZ #15763]
23263         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23264         Validate name.
23265         * rt/tst_shm.c: Add test for escaping directory.
23267 2013-10-31  Andreas Schwab  <schwab@suse.de>
23269         [BZ #15917]
23270         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23271         followed by 'x' as part of digit sequence.
23272         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23274 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23276         [BZ #16037]
23277         * configure.ac: allow GNU Make 4.0 and greater.
23278         * configure: Regenerated.
23280 2013-10-30  Will Newton  <will.newton@linaro.org>
23282         [BZ #16038]
23283         * malloc/hooks.c (memalign_check): Limit alignment to the
23284         maximum representable power of two.
23285         * malloc/malloc.c (__libc_memalign): Likewise.
23286         * malloc/tst-memalign.c (do_test): Add test for very
23287         large alignment values.
23288         * malloc/tst-posix_memalign.c (do_test): Likewise.
23290 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23292         [BZ #11087]
23293         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23294         (munmap_chunk): Likewise.
23295         (mremap_chunk): Likewise.
23297 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23299         [BZ #15799]
23300         * stdlib/div.c (div): Remove obsolete code.
23301         * stdlib/ldiv.c (ldiv): Likewise.
23302         * stdlib/lldiv.c (lldiv): Likewise.
23304 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23306         [BZ #16071]
23307         * nss/nss_files/files-XXX.c (get_contents_ret): New
23308         enumerator.
23309         (get_contents): New function.
23310         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23312 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23314         * configure.in: Moved to ...
23315         * configure.ac: ... here. Change reference to configure.in
23316         to configure.ac.
23317         * sysdeps/arm/preconfigure.ac: ... here.
23318         configure.in to configure.ac.
23319         * sysdeps/gnu/configure.in: Moved to ...
23320         * sysdeps/gnu/configure.ac: ... here.
23321         * sysdeps/i386/configure.in: Moved to ...
23322         * sysdeps/i386/configure.ac: ... here.
23323         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23324         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23325         * sysdeps/mach/configure.in: Moved to ...
23326         * sysdeps/mach/configure.ac: ... here.
23327         * sysdeps/mach/hurd/configure.in: Moved to ...
23328         * sysdeps/mach/hurd/configure.ac: ... here.
23329         * sysdeps/powerpc/configure.in: Moved to ...
23330         * sysdeps/powerpc/configure.ac: ... here.
23331         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23332         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23333         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23334         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23335         * sysdeps/s390/s390-32/configure.in: Moved to ...
23336         * sysdeps/s390/s390-32/configure.ac: ... here.
23337         * sysdeps/s390/s390-64/configure.in: Moved to ...
23338         * sysdeps/s390/s390-64/configure.ac: ... here.
23339         * sysdeps/sh/configure.in: Moved to ...
23340         * sysdeps/sh/configure.ac: ... here.
23341         * sysdeps/sparc/configure.in: Moved to ...
23342         * sysdeps/sparc/configure.ac: ... here.
23343         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23344         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23345         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23346         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23347         * sysdeps/x86_64/configure.in: Moved to ...
23348         * sysdeps/x86_64/configure.ac: ... here.
23349         * sysdeps/x86_64/preconfigure.in: Moved to ...
23350         * sysdeps/x86_64/preconfigure.ac: ... here.
23351         * aclocal.m4: Change reference to configure.in to configure.ac.
23352         * config.h.in: Likewise.
23353         * manual/install.texi: Likewise.
23354         * manual/maint.texi: Likewise.
23355         * Makefile: Likewise.
23356         * malloc/Makefile: Likewise.
23357         * nscd/Makefile: Likewise.
23358         * Makeconfig: Change reference to configure.in and
23359         preconfigure.in to configure.ac and preconfigure.ac
23360         respectively.
23361         * INSTALL: Regenerated.
23362         * configure: Likewise.
23363         * sysdeps/gnu/configure: Likewise.
23364         * sysdeps/i386/configure: Likewise.
23365         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23366         * sysdeps/mach/configure: Likewise.
23367         * sysdeps/mach/hurd/configure: Likewise.
23368         * sysdeps/powerpc/configure: Likewise.
23369         * sysdeps/powerpc/powerpc32/configure: Likewise.
23370         * sysdeps/powerpc/powerpc64/configure: Likewise.
23371         * sysdeps/s390/s390-32/configure: Likewise.
23372         * sysdeps/s390/s390-64/configure: Likewise.
23373         * sysdeps/sh/configure: Likewise.
23374         * sysdeps/sparc/configure: Likewise.
23375         * sysdeps/unix/sysv/linux/configure: Likewise.
23376         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23377         * sysdeps/x86_64/configure: Likewise.
23378         * sysdeps/x86_64/preconfigure: Likewise.
23380 2013-10-29  Andreas Schwab  <schwab@suse.de>
23382         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23384 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23386         * benchtests/pow-inputs: Add new inputs.
23388         * benchtests/exp-inputs: Add new inputs.
23390         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23391         conditional check for return value.
23392         (__cos32): Likewise.
23394 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23396         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23397         to provide a boost for large inputs with word alignment.
23398         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23399         implementation based on optimized PPC64 strcpy.
23400         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23401         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23402         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23403         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23405 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23407         [BZ #2801]
23408         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23410 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23412         [BZ #14876]
23413         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23414         * time/tst-strptime.c (day_tests): Add testcase.
23416 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23418         [BZ #14029]
23419         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23421 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23423         [BZ #16074]
23424         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23425         MAP_FAILED on error.
23427 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23429         [BZ #16072]
23430         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23431         heap for large requests.
23433 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23435         [BZ #9954]
23436         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23437         result if the result has no associated interface.
23438         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23439         interface for all 127.X.Y.Z addresses.
23441 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23443         * locale/iso-639.def: Add Ligurian (lij)
23445 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23447         [BZ #15825]
23448         * sunrpc/rpc_main.c: Document rpcgen -5.
23450 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23452         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23454 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23456         [BZ #10278]
23457         * posix/glob.c: Match only directories when trailing slash is present.
23458         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23459         (main): Add testcase.
23461 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23463         [BZ #15670]
23464         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23466 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23468         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23469         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23470         AUTH_DES and cindex for FIPS 140-2.
23471         (DES Encryption): Add cindex FIPS 46-3.
23473         * locale/locarchive.h (struct locarhandle): Add fname.
23474         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23475         if an optional argument was specified to --list-archive,
23476         otherwise NULL.
23477         * locale/programs/locarchive.c (show_archive_content): Take new
23478         argument fname and pass it via ah.fname to open_archive.
23479         * locale/programs/localedef.h: Update decl.
23480         (open_archive): If AH->fname is non-null, open that file
23481         rather than the default file name, and don't ignore ENOENT.
23482         (create_archive): Set AH.fname to NULL.
23483         (delete_locales_from_archive): Likewise.
23484         (add_locales_to_archive): Likewise.
23485         * locale/programs/locfile.c (write_all_categories): Likewise.
23487 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23488             Aldy Hernandez  <aldyh@redhat.com>
23490         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23491         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23492         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23493         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23494         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23495         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23496         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23497         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23498         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23499         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23500         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23501         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23502         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23503         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23504         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23505         Likewise.
23506         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23507         Likewise.
23508         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23509         Likewise.
23510         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23511         Likewise.
23512         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23513         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23514         Likewise.
23515         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23516         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23517         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23518         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23519         Likewise.
23520         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23521         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23522         * sysdeps/powerpc/preconfigure: Likewise.
23523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23524         Likewise.
23525         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23526         Replace contents of file by #include of <fenv_libc.h>.
23527         * sysdeps/powerpc/soft-fp/sfp-machine.h
23528         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23529         and <sys/prctl.h>.
23530         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23532         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23533         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23534         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23535         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23537         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23538         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23539         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23540         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23541         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23543         Allow copysignl PLT reference to be missing.
23545 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23546             Joseph Myers  <joseph@codesourcery.com
23548         [BZ #15948]
23549         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23550         single character.
23551         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23553 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23555         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23556         * elf/tst-tls1.c: Likewise.
23557         * elf/tst-tls10.h: Likewise.
23558         * elf/tst-tls14.c: Likewise.
23559         * elf/tst-tls2.c: Likewise.
23560         * elf/tst-tls3.c: Likewise.
23561         * elf/tst-tls4.c: Likewise.
23562         * elf/tst-tls5.c: Likewise.
23563         * elf/tst-tls6.c: Likewise.
23564         * elf/tst-tls7.c: Likewise.
23565         * elf/tst-tls8.c: Likewise.
23566         * elf/tst-tls9.c: Likewise.
23567         * elf/tst-tlsmod1.c: Likewise.
23568         * elf/tst-tlsmod13.c: Likewise.
23569         * elf/tst-tlsmod13a.c: Likewise.
23570         * elf/tst-tlsmod14a.c: Likewise.
23571         * elf/tst-tlsmod16a.c: Likewise.
23572         * elf/tst-tlsmod16b.c: Likewise.
23573         * elf/tst-tlsmod2.c: Likewise.
23574         * elf/tst-tlsmod3.c: Likewise.
23575         * elf/tst-tlsmod4.c: Likewise.
23576         * elf/tst-tlsmod5.c: Likewise.
23577         * elf/tst-tlsmod6.c: Likewise.
23579 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23581         [BZ #12486]
23582         * malloc/malloc.c: remove checks for statistics.
23584 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23586         [BZ #15277]
23587         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23588         * inet/tst-network.c: Add testcase.
23590 2013-10-17  Andreas Schwab  <schwab@suse.de>
23592         [BZ #15218]
23593         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23594         to determine canonical name.
23596 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23598         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23599         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23600         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23601         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23604         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23605         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23606         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23607         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23608         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23609         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23610         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23611         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23612         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23613         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23614         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23615         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23616         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23617         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23618         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23620         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23621         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23622         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23623         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23624         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23625         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23626         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23627         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23628         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23629         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23630         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23631         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23632         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23633         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23634         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23635         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23636         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23637         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23638         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23639         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23640         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23641         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23642         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23643         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23644         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23645         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23646         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23647         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23648         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23649         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23650         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23651         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23652         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23653         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23654         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23655         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23657 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23659         [BZ #16041]
23660         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23661         make result into a quiet NaN.
23663 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23665         * soft-fp/adddf3.c: Fix horizontal whitespace.
23666         * soft-fp/addsf3.c: Likewise.
23667         * soft-fp/addtf3.c: Likewise.
23668         * soft-fp/divdf3.c: Likewise.
23669         * soft-fp/divsf3.c: Likewise.
23670         * soft-fp/divtf3.c: Likewise.
23671         * soft-fp/double.h: Likewise.
23672         * soft-fp/eqdf2.c: Likewise.
23673         * soft-fp/eqsf2.c: Likewise.
23674         * soft-fp/eqtf2.c: Likewise.
23675         * soft-fp/extenddftf2.c: Likewise.
23676         * soft-fp/extended.h: Likewise.
23677         * soft-fp/extendsfdf2.c: Likewise.
23678         * soft-fp/extendsftf2.c: Likewise.
23679         * soft-fp/extendxftf2.c: Likewise.
23680         * soft-fp/fixdfdi.c: Likewise.
23681         * soft-fp/fixdfsi.c: Likewise.
23682         * soft-fp/fixdfti.c: Likewise.
23683         * soft-fp/fixsfdi.c: Likewise.
23684         * soft-fp/fixsfsi.c: Likewise.
23685         * soft-fp/fixsfti.c: Likewise.
23686         * soft-fp/fixtfdi.c: Likewise.
23687         * soft-fp/fixtfsi.c: Likewise.
23688         * soft-fp/fixtfti.c: Likewise.
23689         * soft-fp/fixunsdfdi.c: Likewise.
23690         * soft-fp/fixunsdfsi.c: Likewise.
23691         * soft-fp/fixunsdfti.c: Likewise.
23692         * soft-fp/fixunssfdi.c: Likewise.
23693         * soft-fp/fixunssfsi.c: Likewise.
23694         * soft-fp/fixunssfti.c: Likewise.
23695         * soft-fp/fixunstfdi.c: Likewise.
23696         * soft-fp/fixunstfsi.c: Likewise.
23697         * soft-fp/fixunstfti.c: Likewise.
23698         * soft-fp/floatdidf.c: Likewise.
23699         * soft-fp/floatdisf.c: Likewise.
23700         * soft-fp/floatditf.c: Likewise.
23701         * soft-fp/floatsidf.c: Likewise.
23702         * soft-fp/floatsisf.c: Likewise.
23703         * soft-fp/floatsitf.c: Likewise.
23704         * soft-fp/floattidf.c: Likewise.
23705         * soft-fp/floattisf.c: Likewise.
23706         * soft-fp/floattitf.c: Likewise.
23707         * soft-fp/floatundidf.c: Likewise.
23708         * soft-fp/floatundisf.c: Likewise.
23709         * soft-fp/floatunditf.c: Likewise.
23710         * soft-fp/floatunsidf.c: Likewise.
23711         * soft-fp/floatunsisf.c: Likewise.
23712         * soft-fp/floatunsitf.c: Likewise.
23713         * soft-fp/floatuntidf.c: Likewise.
23714         * soft-fp/floatuntisf.c: Likewise.
23715         * soft-fp/floatuntitf.c: Likewise.
23716         * soft-fp/fmadf4.c: Likewise.
23717         * soft-fp/fmasf4.c: Likewise.
23718         * soft-fp/fmatf4.c: Likewise.
23719         * soft-fp/gedf2.c: Likewise.
23720         * soft-fp/gesf2.c: Likewise.
23721         * soft-fp/getf2.c: Likewise.
23722         * soft-fp/ledf2.c: Likewise.
23723         * soft-fp/lesf2.c: Likewise.
23724         * soft-fp/letf2.c: Likewise.
23725         * soft-fp/muldf3.c: Likewise.
23726         * soft-fp/mulsf3.c: Likewise.
23727         * soft-fp/multf3.c: Likewise.
23728         * soft-fp/negdf2.c: Likewise.
23729         * soft-fp/negsf2.c: Likewise.
23730         * soft-fp/negtf2.c: Likewise.
23731         * soft-fp/op-1.h: Likewise.
23732         * soft-fp/op-2.h: Likewise.
23733         * soft-fp/op-4.h: Likewise.
23734         * soft-fp/op-8.h: Likewise.
23735         * soft-fp/op-common.h: Likewise.
23736         * soft-fp/quad.h: Likewise.
23737         * soft-fp/single.h: Likewise.
23738         * soft-fp/soft-fp.h: Likewise.
23739         * soft-fp/sqrtdf2.c: Likewise.
23740         * soft-fp/sqrtsf2.c: Likewise.
23741         * soft-fp/sqrttf2.c: Likewise.
23742         * soft-fp/subdf3.c: Likewise.
23743         * soft-fp/subsf3.c: Likewise.
23744         * soft-fp/subtf3.c: Likewise.
23745         * soft-fp/truncdfsf2.c: Likewise.
23746         * soft-fp/trunctfdf2.c: Likewise.
23747         * soft-fp/trunctfsf2.c: Likewise.
23748         * soft-fp/trunctfxf2.c: Likewise.
23749         * soft-fp/unorddf2.c: Likewise.
23750         * soft-fp/unordsf2.c: Likewise.
23751         * soft-fp/unordtf2.c: Likewise.
23753 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23755         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23756         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23758 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23760         * elf/dl-libc.c: Clear initfini list after freeing.
23762 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23764         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23765         * soft-fp/addsf3.c: Likewise.
23766         * soft-fp/addtf3.c: Likewise.
23767         * soft-fp/divdf3.c: Likewise.
23768         * soft-fp/divsf3.c: Likewise.
23769         * soft-fp/divtf3.c: Likewise.
23770         * soft-fp/double.h: Likewise.
23771         * soft-fp/eqdf2.c: Likewise.
23772         * soft-fp/eqsf2.c: Likewise.
23773         * soft-fp/eqtf2.c: Likewise.
23774         * soft-fp/extenddftf2.c: Likewise.
23775         * soft-fp/extended.h: Likewise.
23776         * soft-fp/extendsfdf2.c: Likewise.
23777         * soft-fp/extendsftf2.c: Likewise.
23778         * soft-fp/extendxftf2.c: Likewise.
23779         * soft-fp/fixdfdi.c: Likewise.
23780         * soft-fp/fixdfsi.c: Likewise.
23781         * soft-fp/fixdfti.c: Likewise.
23782         * soft-fp/fixsfdi.c: Likewise.
23783         * soft-fp/fixsfsi.c: Likewise.
23784         * soft-fp/fixsfti.c: Likewise.
23785         * soft-fp/fixtfdi.c: Likewise.
23786         * soft-fp/fixtfsi.c: Likewise.
23787         * soft-fp/fixtfti.c: Likewise.
23788         * soft-fp/fixunsdfdi.c: Likewise.
23789         * soft-fp/fixunsdfsi.c: Likewise.
23790         * soft-fp/fixunsdfti.c: Likewise.
23791         * soft-fp/fixunssfdi.c: Likewise.
23792         * soft-fp/fixunssfsi.c: Likewise.
23793         * soft-fp/fixunssfti.c: Likewise.
23794         * soft-fp/fixunstfdi.c: Likewise.
23795         * soft-fp/fixunstfsi.c: Likewise.
23796         * soft-fp/fixunstfti.c: Likewise.
23797         * soft-fp/floatdidf.c: Likewise.
23798         * soft-fp/floatdisf.c: Likewise.
23799         * soft-fp/floatditf.c: Likewise.
23800         * soft-fp/floatsidf.c: Likewise.
23801         * soft-fp/floatsisf.c: Likewise.
23802         * soft-fp/floatsitf.c: Likewise.
23803         * soft-fp/floattidf.c: Likewise.
23804         * soft-fp/floattisf.c: Likewise.
23805         * soft-fp/floattitf.c: Likewise.
23806         * soft-fp/floatundidf.c: Likewise.
23807         * soft-fp/floatundisf.c: Likewise.
23808         * soft-fp/floatunsidf.c: Likewise.
23809         * soft-fp/floatunsisf.c: Likewise.
23810         * soft-fp/floatuntidf.c: Likewise.
23811         * soft-fp/floatuntisf.c: Likewise.
23812         * soft-fp/floatuntitf.c: Likewise.
23813         * soft-fp/fmadf4.c: Likewise.
23814         * soft-fp/fmasf4.c: Likewise.
23815         * soft-fp/fmatf4.c: Likewise.
23816         * soft-fp/gedf2.c: Likewise.
23817         * soft-fp/gesf2.c: Likewise.
23818         * soft-fp/getf2.c: Likewise.
23819         * soft-fp/ledf2.c: Likewise.
23820         * soft-fp/lesf2.c: Likewise.
23821         * soft-fp/letf2.c: Likewise.
23822         * soft-fp/muldf3.c: Likewise.
23823         * soft-fp/mulsf3.c: Likewise.
23824         * soft-fp/multf3.c: Likewise.
23825         * soft-fp/negdf2.c: Likewise.
23826         * soft-fp/negsf2.c: Likewise.
23827         * soft-fp/negtf2.c: Likewise.
23828         * soft-fp/op-1.h: Likewise.
23829         * soft-fp/op-2.h: Likewise.
23830         * soft-fp/op-4.h: Likewise.
23831         * soft-fp/op-8.h: Likewise.
23832         * soft-fp/op-common.h: Likewise.
23833         * soft-fp/quad.h: Likewise.
23834         * soft-fp/single.h: Likewise.
23835         * soft-fp/soft-fp.h: Likewise.
23836         * soft-fp/sqrtdf2.c: Likewise.
23837         * soft-fp/sqrtsf2.c: Likewise.
23838         * soft-fp/sqrttf2.c: Likewise.
23839         * soft-fp/subdf3.c: Likewise.
23840         * soft-fp/subsf3.c: Likewise.
23841         * soft-fp/subtf3.c: Likewise.
23842         * soft-fp/truncdfsf2.c: Likewise.
23843         * soft-fp/trunctfdf2.c: Likewise.
23844         * soft-fp/trunctfsf2.c: Likewise.
23845         * soft-fp/trunctfxf2.c: Likewise.
23846         * soft-fp/unorddf2.c: Likewise.
23847         * soft-fp/unordsf2.c: Likewise.
23848         * soft-fp/unordtf2.c: Likewise.
23850 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23852         [BZ #15672]
23853         * misc/error.c (error_tail): Fix possible buffer overflow.
23855 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23857         [BZ #13028]
23858         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23859         address.
23861 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23863         [BZ #832]
23864         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23865         testing pipefail option.
23867 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23869         * soft-fp/double.h: Indent preprocessor directives inside #if.
23870         * soft-fp/extended.h: Likewise.
23871         * soft-fp/op-2.h: Likewise.
23872         * soft-fp/op-4.h: Likewise.
23873         * soft-fp/op-common.h: Likewise.
23874         * soft-fp/quad.h: Likewise.
23875         * soft-fp/single.h: Likewise.
23876         * soft-fp/soft-fp.h: Likewise.
23878 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23880         * iconv/iconv_prog.c: Fix typos.
23881         * stdio-common/psiginfo-data.h: Likewise.
23883 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23885         [BZ #15764]
23886         * locale/setlocale.c: Fix typo.
23888 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23890         [BZ #16036]
23891         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23892         signaling NaN arguments.
23893         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23894         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23896         [BZ #14910]
23897         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23898         unordered operands.
23899         * soft-fp/gesf2.c (__gesf2): Likewise.
23900         * soft-fp/getf2.c (__getf2): Likewise.
23901         * soft-fp/ledf2.c (__ledf2): Likewise.
23902         * soft-fp/lesf2.c (__lesf2): Likewise.
23903         * soft-fp/letf2.c (__letf2): Likewise.
23905         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23906         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23907         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23908         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23909         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23910         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23911         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23912         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23913         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23914         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23915         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23916         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23917         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23918         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23919         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23920         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23921         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23922         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23923         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23924         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23925         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23926         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23927         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23928         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23929         * soft-fp/floattidf.c (__floattidf): Likewise.
23930         * soft-fp/floattisf.c (__floattisf): Likewise.
23931         * soft-fp/floattitf.c (__floattitf): Likewise.
23932         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23933         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23934         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23935         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23936         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23937         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23938         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23939         * soft-fp/gesf2.c (__gesf2): Likewise.
23940         * soft-fp/getf2.c (__getf2): Likewise.
23941         * soft-fp/ledf2.c (__ledf2): Likewise.
23942         * soft-fp/lesf2.c (__lesf2): Likewise.
23943         * soft-fp/letf2.c (__letf2): Likewise.
23945         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23946         Undefine and redefine.
23947         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23948         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23949         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23950         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23951         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23952         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23953         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23954         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23955         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23956         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23957         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23958         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23959         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23960         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23961         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23963         [BZ #16032]
23964         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23965         without decrementing exponent if mantissa >= that for the
23966         denominator, not >.
23967         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23968         denominator, not >.  Decrement exponent in < case instead of
23969         incrementing in >= case.
23970         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23971         without decrementing exponent if mantissa >= that for the
23972         denominator, not >.
23974         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23975         computing saturated result for unsigned overflow.
23977 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23978             Jeff Law  <law@redhat.com>
23980         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23981         (atan2Mp): Add systemtap probe marker.
23982         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23983         (__ieee754_log): Add systemtap probe marker.
23984         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23985         (atanMp): Add systemtap probe marker.
23986         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23987         (tanMp): Add systemtap probe marker.
23988         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23989         (__slowexp): Add systemtap probe marker.
23990         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23991         (__slowpow): Add systemtap probe marker.
23992         * manual/probes.texi: Document probes.
23994 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23996         [BZ #15362]
23997         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23998         written.
23999         (_IO_new_file_xsputn): Don't return EOF if nothing has been
24000         written.
24001         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24002         written to buffer but not flushed.
24003         * libio/iofwrite_u.c:  Likewise.
24004         * libio/iopadn.c:  Return bytes returned even if EOF was
24005         encountered.
24006         * libio/iowpadn.c:  Likewise.
24007         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24008         if _IO_padn does not write the whole buffer.
24009         [!COMPILE_WPRINTF] (PAD): Likewise.
24011 2013-10-10  David S. Miller  <davem@davemloft.net>
24013         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24014         directory block.
24016 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24018         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24019         instead of FSF address.
24020         * soft-fp/fixdfti.c: Likewise.
24021         * soft-fp/fixsfti.c: Likewise.
24022         * soft-fp/fixtfti.c: Likewise.
24023         * soft-fp/fixunsdfti.c: Likewise.
24024         * soft-fp/fixunssfti.c: Likewise.
24025         * soft-fp/fixunstfti.c: Likewise.
24026         * soft-fp/floattidf.c: Likewise.
24027         * soft-fp/floattisf.c: Likewise.
24028         * soft-fp/floattitf.c: Likewise.
24029         * soft-fp/floatuntidf.c: Likewise.
24030         * soft-fp/floatuntisf.c: Likewise.
24031         * soft-fp/floatuntitf.c: Likewise.
24032         * soft-fp/trunctfxf2.c: Likewise.
24034         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24035         * soft-fp/fixdfti.c: Likewise.
24036         * soft-fp/fixsfti.c: Likewise.
24037         * soft-fp/fixtfti.c: Likewise.
24038         * soft-fp/fixunsdfti.c: Likewise.
24039         * soft-fp/fixunssfti.c: Likewise.
24040         * soft-fp/fixunstfti.c: Likewise.
24041         * soft-fp/floattidf.c: Likewise.
24042         * soft-fp/floattisf.c: Likewise.
24043         * soft-fp/floattitf.c: Likewise.
24044         * soft-fp/floatuntidf.c: Likewise.
24045         * soft-fp/floatuntisf.c: Likewise.
24046         * soft-fp/floatuntitf.c: Likewise.
24047         * soft-fp/trunctfxf2.c: Likewise.
24049 2013-10-10  David S. Miller  <davem@davemloft.net>
24051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24053 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24055         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24056         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24057         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24058         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24059         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24060         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24061         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24064         for NaNs before doing comparisons on argument.
24065         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24066         Likewise.
24068 2013-10-10  Will Newton  <will.newton@linaro.org>
24070         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24071         passed to _int_memalign does not overflow.
24073 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24075         * scripts/bench.pl: Add include-sources directive.
24076         * benchtests/README: Update documentation.
24078 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24080         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24081         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24082         instead of FP_INIT_ROUNDMODE.
24083         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24084         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24086         [BZ #16034]
24087         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24088         copy class of input value.
24089         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24090         not handle exceptions.
24091         * soft-fp/negsf2.c (__negsf2): Likewise.
24092         * soft-fp/negtf2.c (__negtf2): Likewise.
24093         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24095 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24097         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24098         semicolon.  From Linux kernel.
24100 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24102         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24104 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24106         [BZ #156]
24107         * manual/socket.texi: Added statement about buffer
24108         for gethostbyname2_r.
24110 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24112         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24113         Use .p2align directive instead, throughout.
24114         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24115         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24116         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24117         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24118         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24119         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24120         * sysdeps/x86_64/strchr.S: Likewise.
24121         * sysdeps/x86_64/strrchr.S: Likewise.
24123 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24125         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24127         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24129         * sysdeps/generic/math_private.h (__mpsin1): Remove
24130         declaration.
24131         (__mpcos1): Likewise.
24132         (__mpsin): New argument __range_reduce.
24133         (__mpcos): Likewise.
24134         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24135         (slow): Use __mpsin and __mpcos.
24136         (slow1): Likewise.
24137         (slow2): Likewise.
24138         (sloww): Likewise.
24139         (sloww1): Likewise.
24140         (sloww2): Likewise.
24141         (bsloww): Likewise.
24142         (bsloww1): Likewise.
24143         (bsloww2): Likewise.
24144         (cslow2): Likewise.
24145         (csloww): Likewise.
24146         (csloww1): Likewise.
24147         (csloww2): Likewise.
24148         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24149         range_reduce.  Merge in __mpsin1.
24150         (__mpcos): Likewise.
24151         (__mpsin1): Remove.
24152         (__mpcos1): Likewise.
24154 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24156         * locale/loadlocale.c (_nl_intern_locale_data): Use
24157         LOCFILE_ALIGNED_P.
24158         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24159         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24160         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24161         obstack data is appropriately aligned.
24162         (obstack_int32_grow_fast): Likewise.
24163         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24164         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24165         (add_locale_uint32_array): Likewise.
24167 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24169         * benchtests/Makefile: Remove ARGLIST and RET variables.
24170         ($(objpfx)bench-%.c): Pass only function name to the script.
24171         * benchtests/README: Update documentation.
24172         * benchtests/acos-inputs: Add new directives.
24173         * benchtests/acosh-inputs: Likewise.
24174         * benchtests/asin-inputs: Likewise.
24175         * benchtests/asinh-inputs: Likewise.
24176         * benchtests/atan-inputs: Likewise.
24177         * benchtests/atanh-inputs: Likewise.
24178         * benchtests/cos-inputs: Likewise.
24179         * benchtests/cosh-inputs: Likewise.
24180         * benchtests/exp-inputs: Likewise.
24181         * benchtests/log-inputs: Likewise.
24182         * benchtests/pow-inputs: Likewise.
24183         * benchtests/rint-inputs: Likewise.
24184         * benchtests/sin-inputs: Likewise.
24185         * benchtests/sinh-inputs: Likewise.
24186         * benchtests/tan-inputs: Likewise.
24187         * benchtests/tanh-inputs: Likewise.
24188         * scripts/bench.pl: Add support for new directives.
24190 2013-10-07  Alan Modra  <amodra@gmail.com>
24192         * README: Fix careless merge.
24194 2013-10-05  Alan Modra  <amodra@gmail.com>
24196         * NEWS: Mention powerpc64le support and bugs fixed.
24197         * README: Both big-endian and little-endian powerpc64 supported.
24199 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24201         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24202         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24203         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24204         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24206 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24208         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24209         match prototype.
24211 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24213         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24214         Move -mhard-float appending from
24215         ports/sysdeps/powerpc/powerpc32/Makefile.
24216         [$(with-fp) = yes] (ASFLAGS): Likewise.
24217         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24218         * sysdeps/powerpc/nofpu: Move directory from
24219         ports/sysdeps/powerpc/nofpu.
24220         * sysdeps/powerpc/soft-fp: Move directory from
24221         ports/sysdeps/powerpc/soft-fp.
24222         * sysdeps/powerpc/powerpc32/405: Move directory from
24223         ports/sysdeps/powerpc/powerpc32/405.
24224         * sysdeps/powerpc/powerpc32/440: Move directory from
24225         ports/sysdeps/powerpc/powerpc32/440.
24226         * sysdeps/powerpc/powerpc32/464: Move directory from
24227         ports/sysdeps/powerpc/powerpc32/464.
24228         * sysdeps/powerpc/powerpc32/476: Move directory from
24229         ports/sysdeps/powerpc/powerpc32/476.
24230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24231         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24233         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24235         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24237         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24239         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24240         * README: Update for powerpc-*-linux-gnu software floating point
24241         support in libc.
24243         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24244         case to powerpc/powerpc32*.
24245         * sysdeps/unix/sysv/linux/configure: Regenerated.
24247         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24248         (_FPU_MASK_OM): Define as 0x04.
24249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24251         0x00c10080.
24252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24253         0x0000003c.
24254         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24257         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24258         getcontext_e500.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24260         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24261         setcontext_e500.
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24263         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24264         and setcontext_e500.
24266 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24268         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24270 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24272         * manual/threads.texi (Default Thread Attributes): Fix typo.
24274 2013-10-04  Will Newton  <will.newton@linaro.org>
24276         * malloc/Makefile: Add tst-memalign.
24277         * malloc/tst-memalign.c: New file.
24279         * malloc/tst-posix_memalign.c: Add comments.
24280         (do_test): Add comments and call free on all potentially
24281         allocated pointers. Add space after cast.
24283         * malloc/tst-pvalloc.c: Add comments.
24284         (do_test): Add comments and call free on all potentially
24285         allocated pointers. Remove duplicate check for NULL pointer.
24286         Add space after cast.
24288         * malloc/tst-valloc.c: Add comments.
24289         (do_test): Add comments and call free on all potentially
24290         allocated pointers. Remove duplicate check for NULL pointer.
24291         Add space after cast.
24293 2013-10-04  Alan Modra  <amodra@gmail.com>
24295         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24296         Use stdint types in rather than __attribute__((mode())).
24297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24299 2013-10-04  Alan Modra  <amodra@gmail.com>
24301         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24302         Correct handling of unaligned relocs for little-endian.
24303         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24305 2013-10-04  Alan Modra  <amodra@gmail.com>
24307         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24308         * configure: Regenerate.
24309         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24310         * shlib-versions: Likewise.
24312 2013-10-04  Alan Modra  <amodra@gmail.com>
24314         * string/tester.c (test_memrchr): Increment reported test cycle.
24316 2013-10-04  Alan Modra  <amodra@gmail.com>
24318         * string/test-memcpy.c (do_one_test): When reporting errors, print
24319         string address and don't overrun end of string.
24321 2013-10-04  Alan Modra  <amodra@gmail.com>
24323         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24324         insrdi.  Make better use of reg selection to speed exit slightly.
24325         Schedule entry path a little better.  Remove useless "are we done"
24326         checks on entry to main loop.  Handle wrapping around zero address.
24327         Correct main loop count.  Handle single left-over word from main
24328         loop inline rather than by using loop_small.  Remove extra word
24329         case in loop_small caused by wrong loop count.  Add little-endian
24330         support.
24331         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24332         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24333         cache hint.
24334         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24335         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24336         support.  Avoid rlwimi.
24337         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24339 2013-10-04  Alan Modra  <amodra@gmail.com>
24341         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24342         insrdi.  Formatting.
24343         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24344         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24346         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24347         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24348         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24350 2013-10-04  Alan Modra  <amodra@gmail.com>
24352         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24353         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24354         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24355         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24356         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24357         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24358         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24359         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24360         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24361         use of regs.  Use power7 mtocrf.  Tidy function tails.
24363 2013-10-04  Alan Modra  <amodra@gmail.com>
24365         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24366         Formatting.  Consistently use rXXX register defines or rN defines.
24367         Use early exit labels that avoid restoring unused non-volatile regs.
24368         Make cr field use more consistent with rWORDn compares.  Rename
24369         regs used as shift registers for unaligned loop, using rN defines
24370         for short lifetime/multiple use regs.
24371         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24372         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24373         addi 1,1,64 to pop stack frame.  Simplify return value code.
24374         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24376 2013-10-04  Alan Modra  <amodra@gmail.com>
24378         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24379         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24380         rather than rlwimi.
24381         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24382         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24383         little-endian support.  Correct typos.
24384         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24385         rather than rlwimi.
24386         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24387         in loop and entry code to keep "and." results.
24388         (strchr): Add little-endian support.  Comment.  Move cntlzd
24389         earlier in tail.
24390         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24392 2013-10-04  Alan Modra  <amodra@gmail.com>
24394         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24395         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24396         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24397         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24399 2013-10-04  Alan Modra  <amodra@gmail.com>
24401         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24402         (rTMP): Define as r11.
24403         (strcmp): Add little-endian support.  Optimise tail.
24404         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24405         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24406         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24408         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24409         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24410         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24412 2013-10-04  Alan Modra  <amodra@gmail.com>
24414         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24415         little-endian support.  Remove unnecessary "are we done" tests.
24416         Handle "s" wrapping around zero and extremely large "size".
24417         Correct main loop count.  Handle single left-over word from main
24418         loop inline rather than by using small_loop.  Correct comments.
24419         Delete "zero" tail, use "end_max" instead.
24420         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24422 2013-10-04  Alan Modra  <amodra@gmail.com>
24424         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24425         support.  Don't branch over align.
24426         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24427         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24428         support.  Rearrange tmp reg use to suit.  Comment.
24429         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24431 2013-10-04  Alan Modra  <amodra@gmail.com>
24433         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24435 2013-10-04  Alan Modra  <amodra@gmail.com>
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24438         conditional form of branch and link when obtaining pc.
24439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24441 2013-10-04  Alan Modra  <amodra@gmail.com>
24443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24444         HIWORD/LOWORD.
24445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24448 2013-10-04  Alan Modra  <amodra@gmail.com>
24450         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24451         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24452         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24453         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24454         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24455         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24456         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24457         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24458         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24459         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24461 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24462             Alistair Popple <alistair@ozlabs.au.ibm.com>
24463             Alan Modra <amodra@gmail.com>
24465         [BZ #15723]
24466         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24467         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24468         _dl_hwcap access for little-endian.
24469         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24470         destroy vmx regs when saving unaligned.
24471         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24472         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24473         destroy vmx regs when saving unaligned.
24475 2013-10-04  Alan Modra  <amodra@gmail.com>
24477         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24478         Don't use a union to pack hi/low value.
24480 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24482         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24483         for little-endian.
24484         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24485         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24486         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24487         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24488         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24490 2013-10-04  Alan Modra  <amodra@gmail.com>
24492         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24493         constants to usual value for .cst8 section, and remove redundant
24494         high address load.
24495         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24496         constant for 0x1p52.  Load little-endian words of double from
24497         correct stack offsets.
24499 2013-10-04  Alan Modra  <amodra@gmail.com>
24501         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24502         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24503         words of double from correct stack offsets.
24504         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24505         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24506         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24507         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24508         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24509         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24510         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24511         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24512         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24513         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24514         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24515         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24516         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24517         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24518         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24519         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24520         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24522 2013-10-04  Alan Modra  <amodra@gmail.com>
24524         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24525         64-bit int/double union.
24526         (_FPU_SETCW): Likewise.
24527         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24528         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24530 2013-10-04  Alan Modra  <amodra@gmail.com>
24532         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24533         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24535 2013-10-04  Alan Modra  <amodra@gmail.com>
24537         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24538         use vector int constants.
24539         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24541 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24543         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24544         array with long long.
24545         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24546         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24547         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24548         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24549         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24550         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24551         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24552         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24553         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24554         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24555         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24556         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24557         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24559 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24561         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24562         (__signbit): Likewise.  Correct for little-endian.
24563         (__signbitl): Call __signbit.
24564         (lrint): Correct for little-endian.
24565         (lrintf): Call lrint.
24567 2013-10-04  Alan Modra  <amodra@gmail.com>
24569         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24570         union 32-bit int array member with 64-bit int array.
24571         (t515, tm256): Double rather than long double.
24572         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24574 2013-10-04  Alan Modra  <amodra@gmail.com>
24576         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24577         Delete.
24578         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24579         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24580         version of math_ldbl.h.
24582 2013-10-04  Alan Modra  <amodra@gmail.com>
24584         [BZ #15734], [BZ #15735]
24585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24586         all uses of ieee875 long double macros and unions.  Simplify test
24587         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24588         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24589         normalize after ldbl_extract_mantissa, and don't add hidden bit
24590         already handled.  Don't treat low word of ieee854 mantissa like
24591         low word of IBM long double and mask off bit when testing for
24592         zero.
24593         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24594         all uses of ieee875 long double macros and unions.  Simplify tests
24595         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24596         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24597         two1022, instead use their values.  Recognise that tests for large
24598         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24599         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24600         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24601         test for 0.0L and nan.  Correct negation.
24602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24603         ieee875 long double macros and unions.  Correct output for large
24604         magnitude x.  Correct absolute value calculation.
24605         (__erfcl): Likewise.
24606         * math/libm-test.inc: Add tests for errors discovered in IBM long
24607         double versions of fmodl, remainderl, erfl and erfcl.
24609 2013-10-04  Alan Modra  <amodra@gmail.com>
24611         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24612         all uses of ieee854 long double macros and unions.  Simplify tests
24613         for long doubles that are fully specified by the high double.
24614         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24615         Likewise.
24616         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24617         Remove dead code too.
24618         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24619         (__ieee754_ynl): Likewise.
24620         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24621         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24622         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24623         Remove dead code too.
24624         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24625         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24626         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24627         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24628         Simplify.
24629         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24630         Simplify.
24631         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24632         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24633         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24634         Comment on variable precision.
24635         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24636         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24637         Likewise.
24638         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24639         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24640         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24642         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24644 2013-10-04  Alan Modra  <amodra@gmail.com>
24646         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24647         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24648         all uses of ieee854 long double macros and unions.
24649         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24650         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24651         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24654         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24655         Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24658         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24661         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24662         Simplify sign and nan test too.
24663         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24666         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24667         Likewise.
24668         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24669         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24670         Likewise.
24671         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24672         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24673         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24674         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24675         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24676         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24678 2013-10-04  Alan Modra  <amodra@gmail.com>
24680         * stdio-common/printf_size.c (__printf_size): Don't use
24681         union ieee854_long_double in fpnum union.
24682         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24683         signbit macro to retrieve sign from long double.
24684         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24685         retrieve sign from long double.
24686         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24687         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24688         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24689         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24690         * math/test-misc.c (main): Don't use union ieee854_long_double.
24692 2013-10-04  Alan Modra  <amodra@gmail.com>
24694         [BZ #15680]
24695         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24696         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24697         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24698         calculation.  Remove unnecessary test for denormal exponent.
24699         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24700         Correct handling of denormals.  Avoid undefined shift behaviour.
24701         Correct normalisation of low mantissa when low double is denormal.
24702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24703         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24704         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24705         Correct normalisation of low mantissa.  Test for overflow of high
24706         mantissa and normalise.
24707         (ldbl_nearbyint): Use more readable constant for two52.
24708         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24709         (__mpn_construct_long_double): Fix test for overflow of high
24710         mantissa and correct normalisation.  Avoid undefined shift.
24712 2013-10-04  Alan Modra  <amodra@gmail.com>
24714         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24715         (union ibm_extended_long_double): Define as an array of ieee754_double.
24716         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24717         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24718         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24719         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24720         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24721         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24722         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24723         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24724         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24725         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24726         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24728 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24730         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24731         page size instead of calling getpagesize.
24733         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24734         (LOCFILE_ALIGN_MASK): Likewise.
24735         (LOCFILE_ALIGN_UP): Likewise.
24736         (LOCFILE_ALIGNED_P): Likewise.
24737         * locale/programs/ld-collate.c (collate_output): Use the new
24738         macros instead of __alignof__ (int32_t).
24739         * locale/weight.h (findidx): Likewise.
24741 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24743         [BZ #431]
24744         * manual/string.texi: Fix strncat and wcsncat.
24746 2013-10-03  Brooks Moses  <bmoses@google.com>
24748         [BZ #15915]
24749         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24750         * Makerules: ...here, and adjust associated comments.
24752 2013-10-02  Will Newton  <will.newton@linaro.org>
24754         * malloc/Makefile: Add tst-pvalloc.
24755         * malloc/tst-pvalloc.c: New file.
24757 2013-10-02  Will Newton  <will.newton@linaro.org>
24759         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24760         improve test coverage.
24762 2013-10-02  Will Newton  <will.newton@linaro.org>
24764         * malloc/Makefile: Add tst-posix_memalign.
24765         * malloc/tst-posix_memalign.c: New file.
24767 2013-10-01  Eric Blake  <eblake@redhat.com>
24769         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24770         Use __THROWNL rather than __THROW on static functions.
24772 2013-09-30  Petr Machata  <pmachata@redhat.com>
24774         * elf/elf.h (R_AARCH64_ABS16): New macro.
24775         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24776         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24777         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24778         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24779         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24780         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24781         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24782         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24783         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24784         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24785         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24786         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24787         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24788         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24789         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24790         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24791         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24792         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24793         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24794         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24795         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24796         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24797         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24798         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24799         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24800         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24801         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24802         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24803         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24804         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24805         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24806         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24807         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24808         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24809         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24810         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24811         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24812         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24813         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24814         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24815         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24816         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24817         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24818         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24819         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24820         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24821         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24822         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24823         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24824         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24825         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24826         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24827         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24828         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24829         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24830         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24831         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24832         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24833         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24834         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24835         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24836         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24837         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24838         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24839         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24840         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24841         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24842         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24843         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24844         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24845         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24846         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24847         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24848         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24849         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24850         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24851         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24852         (R_AARCH64_TLSDESC_LDR): Likewise.
24853         (R_AARCH64_TLSDESC_ADD): Likewise.
24854         (R_AARCH64_TLSDESC_CALL): Likewise.
24856 2013-09-30  Andreas Schwab  <schwab@suse.de>
24858         [BZ #15048]
24859         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24860         the nss database lookup.
24861         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24864 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24866         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24868 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24870         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24871         ${Bash-specific parameter/pattern/string} parameter expansion.
24872         * sysdeps/unix/make-syscalls.sh: Likewise.
24874 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24876         * sysdeps/sh/stackguard-macros.h: New file.
24878 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24882         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24883         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24884         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24885         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24887 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24889         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24890         Fix thread ID register.
24892 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24894         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24895         [POSIX || UNIX98]: Require rather than permitting all symbols from
24896         <time.h>.
24897         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24898         element of struct sched_param.
24899         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24900         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24901         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24902         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24903         constant.
24905 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24907         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24908         argument calculation.
24910 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24912         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24913         Expect macro.
24914         [POSIX] (pthread_attr_t): Do not require type.
24915         [POSIX] (pthread_cond_t): Likewise.
24916         [POSIX] (pthread_condattr_t): Likewise.
24917         [POSIX] (pthread_key_t): Likewise.
24918         [POSIX] (pthread_mutex_t): Likewise.
24919         [POSIX] (pthread_mutexattr_t): Likewise.
24920         [POSIX] (pthread_once_t): Likewise.
24921         [POSIX] (pthread_t): Likewise.
24922         [POSIX-based standards] (pthread_atfork): Expect function.
24924 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24925             Richard Sandiford  <richard@codesourcery.com>
24927         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24928         (swap_endianness_p): New extern variable.
24929         (set_big_endian): New inline function.
24930         (maybe_swap_uint32): Likewise.
24931         (maybe_swap_uint32_array): Likewise.
24932         (maybe_swap_uint32_obstack): Likewise.
24933         * locale/programs/locfile.c: Include <stdbool.h>.
24934         (swap_endianness_p): New variable.
24935         (add_locale_uint32): Call maybe_swap_uint32.
24936         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24937         (write_locale_data): Call maybe_swap_uint32_array.
24938         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24939         maybe_swap_uint32.
24940         (obstack_int32_grow_fast): Likewise.
24941         (output_weightwc): Call maybe_swap_uint32_obstack.
24942         (collate_output): Likewise.
24943         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24944         (OPT_LITTLE_ENDIAN): Likewise.
24945         (options): Add --little-endian and --big-endian options.
24946         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24947         * locale/programs/locarchive.c: Include "locfile.h".
24948         (GET): New macro.
24949         (SET): Likewise.
24950         (INC): Likewise.
24951         (create_archive): Use the new macros to access fields of
24952         structures directly mapped from or written to locale archives.
24953         (oldlocrecentcmp): Likewise.
24954         (enlarge_archive): Likewise.
24955         (insert_name): Likewise.
24956         (add_alias): Likewise.
24957         (add_locale): Likewise.
24958         (delete_locales_from_archive): Likewise.
24959         (show_archive_content): Likewise.
24960         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24961         locale data.
24963 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24965         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24966         http://www.gnu.org/doc/freemanuals.texi.
24967         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24969 2013-09-24  Will Newton  <will.newton@linaro.org>
24971         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24972         macro.
24974 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24976         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24977         unsigned char.
24979 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24981         * manual/threads.texi (POSIX Threads): Fix a typo.
24983 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24985         [BZ #14547]
24986         * string/tst-strcoll-overflow.c: New test case.
24987         * string/Makefile (xtests): Add tst-strcoll-overflow.
24988         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24989         cache if string sizes may cause integer overflow.
24991         [BZ #14547]
24992         * string/strcoll_l.c (coll_seq): New members rule, idx,
24993         save_idx and back_us.
24994         (get_next_seq_nocache): New function.
24995         (do_compare_nocache): New function.
24996         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24997         when malloc fails.
24999 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
25001         [BZ #15754]
25002         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25003         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25004         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25006         [BZ #15754]
25007         * elf/Makefile (tests): Add tst-ptrguard1.
25008         (tests-static): Add tst-ptrguard1-static.
25009         (tst-ptrguard1-ARGS): Define.
25010         (tst-ptrguard1-static-ARGS): Define.
25011         * elf/tst-ptrguard1.c: New file.
25012         * elf/tst-ptrguard1-static.c: New file.
25013         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25014         * sysdeps/i386/stackguard-macros.h: Likewise.
25015         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25016         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25017         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25018         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25019         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25020         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25022 2013-09-23  Hector Marco  <hecmargi@upv.es>
25023             Ismael Ripoll  <iripoll@disca.upv.es>
25024             Carlos O'Donell  <carlos@redhat.com>
25026         [BZ #15754]
25027         * sysdeps/generic/stackguard-macros.h: Define
25028         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25029         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25030         Define __pointer_chk_guard_local.
25031         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25032         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25034 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25036         [BZ #15859]
25037         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25039 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25041         * include/string.h (__ffs): Declare as hidden.
25042         * string/ffs.c (__ffs): Define as hidden.
25043         * sysdeps/i386/ffs.c (__ffs): Likewise.
25044         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25045         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25046         * sysdeps/s390/ffs.c (__ffs): Likewise.
25047         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25049 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25051         * NEWS: Mention malloc probes.
25053         * malloc/arena.c (new_heap): New memory_heap_new probe.
25054         (grow_heap): New memory_heap_more probe.
25055         (shrink_heap): New memory_heap_less probe.
25056         (heap_trim): New memory_heap_free probe.
25057         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25058         (systrim): New memory_sbrk_less probe.
25059         * manual/probes.texi: Document them.
25061         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25062         * manual/probes.texi: Document it.
25064         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25065         (__libc_realloc): Add memory_realloc_retry probe.
25066         (__libc_memalign): Add memory_memalign_retry probe.
25067         (__libc_valloc): Add memory_valloc_retry probe.
25068         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25069         (__libc_calloc): Add memory_calloc_retry probe.
25070         * manual/probes.texi: Document them.
25072         * malloc/arena.c (get_free_list): Add probe
25073         memory_arena_reuse_free_list.
25074         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25075         and memory_arena_reuse.
25076         (arena_get2) [!PER_THREAD]: Likewise.
25077         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25078         memory_arena_reuse_realloc.
25079         * manual/probes.texi: Document them.
25081         * malloc/malloc.c (__libc_free): Add
25082         memory_mallopt_free_dyn_thresholds probe.
25083         (__libc_mallopt): Add multiple memory_mallopt probes.
25084         * manual/probes.texi: Document them.
25086         * malloc/malloc.c: Include stap-probe.h.
25087         (__libc_mallopt): Add memory_mallopt probe.
25088         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25089         * manual/probes.texi: New.
25090         * manual/Makefile (chapters): Add probes.
25091         * manual/threads.texi: Set next node.
25093 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25095         [BZ #15963, #13985]
25096         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25097         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25098         Add `Chinese' to `nan' entry name.
25100 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25103         (POLYNOMIAL): Likewise.
25104         (TAYLOR_SINCOS): Likewise.
25105         (TAYLOR_SLOW): Likewise.
25106         (__sin): Use TAYLOR_SINCOS.
25107         (__cos): Likewise.
25108         (slow): Use TAYLOR_SLOW.
25109         (sloww): Likewise.
25110         (bsloww): Likewise.
25111         (csloww): Likewise.
25113 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25115         * stdlib/strtod_l.c: Fix buffer overrun.
25117 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25119         * benchtests/Makefile (bench): Add sincos.
25120         * benchtests/bench-sincos.c: New file.
25122         * math/libm-test.inc (cos_test_data): New test inputs.
25123         (sin_test_data): Likewise.
25125         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25126         macro.
25127         (__sin): Use it.
25128         (__cos): Likewise.
25129         (slow1): Likewise.
25130         (slow2): Likewise.
25131         (sloww1): Likewise.
25132         (sloww2): Likewise.
25133         (bsloww1): Likewise.
25134         (bsloww2): Likewise.
25135         (cslow2): Likewise.
25136         (csloww1): Likewise.
25137         (csloww2): Likewise.
25139         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25140         function.
25141         (__sin): Use it.
25142         (__cos): Likewise.
25144         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25145         gotos.
25146         (__cos): Likewise.
25148 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25150         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25151         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25152         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25153         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25154         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25155         * elf/cache.c (print_entry): Handle the new cache flags.
25157 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25158             Aldy Hernandez  <aldyh@redhat.com>
25160         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25161         Change condition to [_SOFT_FLOAT].
25162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25165         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25169         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25170         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25172         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25174         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25177         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25178         declaration.
25180 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25182         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25183         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25184         (__longjmp): Use LOAD_GP to load saved GPRs.
25185         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25186         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25187         (__sigsetjmp): Use SAVE_GP to save GPRs.
25189         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25190         Do not append -msoft-float.
25191         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25193 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25195         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25197 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25199         [BZ #15966]
25200         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25201         (_FPU_GETCW): Use initial "__" on variable and field names but not
25202         on macro parameter name.
25203         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25204         parentheses around reference to macro parameter.
25206 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25208         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25209         prototype.
25210         (ctype_startup): Use uint32_t in cast and sizeof for
25211         ctype->charnames.
25213 2013-09-11  Jia Liu  <proljc@gmail.com>
25215         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25216         __daddr_t_defined.
25217         [__FreeBSD__]: Likewise.
25219 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25221         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25222         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25223         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25224         (strchr): Remove __strchr_sse42 ifunc selection.
25225         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25226         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25228 2013-09-11  Will Newton  <will.newton@linaro.org>
25230         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25231         parameter to RES. Remove hardcoded 1000 value.
25232         * benchtests/bench-skeleton.c (main): Pass RES parameter
25233         to TIMING_INIT and multiply result by 1000.
25235 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25239 2013-09-11  Andreas Schwab  <schwab@suse.de>
25241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25242         if not defined.
25243         (O_TMPFILE) [__USE_GNU]: Define.
25244         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25245         Define.
25247 2013-09-11  Will Newton  <will.newton@linaro.org>
25249         [BZ #15857]
25250         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25251         does not overflow.
25253 2013-09-11  Will Newton  <will.newton@linaro.org>
25255         [BZ #15856]
25256         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25257         does not overflow.
25259 2013-09-11  Will Newton  <will.newton@linaro.org>
25261         [BZ #15855]
25262         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25263         does not overflow.
25265 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25267         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25268         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25269         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25270         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25271         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25273 2013-09-10  Allan McRae  <allan@archlinux.org>
25275         [BZ #15748]
25276         * manual/arith.texi (Parsing of Floats): Clarify
25277         cross-reference.
25279         [BZ #15849]
25280         * manual/install.texi (Running make install): Mention
25281         --enable-pt-chown.
25282         * INSTALL: Regenerated.
25284 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25286         * csu/init-first.c (_init): Remove the !SHARED condition around
25287         FPU control word initialization.
25288         * elf/dl-support.c (_dl_fpu_control): New variable.
25289         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25290         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25291         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25292         * math/test-fpucw-static.c: New file.
25293         * math/test-fpucw-ieee.c: New file.
25294         * math/test-fpucw-ieee-static.c: New file.
25295         * math/Makefile (tests): Add `test-fpucw-ieee' and
25296         `$(tests-static)'.
25297         (tests-static): New variable.
25298         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25299         dependency to...
25300         [($(build-shared),yes)]
25301         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25302         ... this.
25303         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25304         New dependency.
25306 2013-09-09  Allan McRae  <allan@archlinux.org>
25308         [BZ #15939]
25309         * manual/string.texi (Collation Functions): Fix typo in
25310         strcoll example.
25311         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25313         [BZ #15893]
25314         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25316         [BZ #15892]
25317         * libio/memstream.c (open_memstream): Fix memory leak.
25318         * libio/wmemstream.c (open_wmemstream): Likewise.
25320         [BZ #15895]
25321         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25323 2013-09-09  Will Newton  <will.newton@linaro.org>
25325         * malloc/Makefile: Add tst-realloc to tests.
25326         * malloc/tst-realloc.c: New file.
25328 2013-09-09  Allan McRae  <allan@archlinux.org>
25330         [BZ #15844]
25331         * COPYING: Update from GNU website to fix FSF address.
25332         * COPYING.LIB: Likewise.
25334 2013-09-06  David S. Miller  <davem@davemloft.net>
25336         * po/zh_TW.po: Update Chinese (traditional) translation from
25337         translation project.
25339 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25340             Joseph Myers  <joseph@codesourcery.com>
25342         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25343         "localeinfo.h".
25344         (obstack_chunk_alloc): New macro.
25345         (obstack_chunk_free): Likewise.
25346         (record_offset): New function.
25347         (init_locale_data): Likewise.
25348         (align_locale_data): Likewise.
25349         (add_locale_empty): Likewise.
25350         (add_locale_raw_data): Likewise.
25351         (add_locale_raw_obstack): Likewise.
25352         (add_locale_string): Likewise.
25353         (add_locale_wstring): Likewise.
25354         (add_locale_uint32): Likewise.
25355         (add_locale_uint32_array): Likewise.
25356         (add_locale_char): Likewise.
25357         (start_locale_structure): Likewise.
25358         (end_locale_structure): Likewise.
25359         (start_locale_prelude): Likewise.
25360         (end_locale_prelude): Likewise.
25361         (write_locale_data): Take locale_file structure rather than an
25362         iovec.
25363         * locale/programs/locfile.h: Include "obstack.h".
25364         (struct locale_file): Change to store locale file contents instead
25365         of header.
25366         (init_locale_data): New prototype.
25367         (align_locale_data): Likewise.
25368         (add_locale_empty): Likewise.
25369         (add_locale_raw_data): Likewise.
25370         (add_locale_raw_obstack): Likewise.
25371         (add_locale_string): Likewise.
25372         (add_locale_wstring): Likewise.
25373         (add_locale_uint32): Likewise.
25374         (add_locale_uint32_array): Likewise.
25375         (add_locale_char): Likewise.
25376         (start_locale_structure): Likewise.
25377         (end_locale_structure): Likewise.
25378         (start_locale_prelude): Likewise.
25379         (end_locale_prelude): Likewise.
25380         (write_locale_data): Update prototype.
25381         * locale/programs/3level.h (struct TABLE): Remove result field.
25382         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25383         Use new locale_file interface.
25384         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25385         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25386         * locale/programs/ld-address.c (address_output): Use new
25387         locale_file interface.
25388         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25389         NO_ADD_LOCALE.
25390         (collate_finish): Don't call collseq_table_finalize.
25391         (collate_output): Use new locale_file interface.
25392         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25393         in file.
25394         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25395         (TABLE): Move defines earlier in file.
25396         (ELEMENT): Likewise.
25397         (DEFAULT): Likewise.
25398         (wctrans_table_add): Move macro and inline function earlier in
25399         file.
25400         (struct wctype_table): Move type earlier in file.
25401         (add_locale_wctype_table): New static prototype.
25402         (struct locale_ctype_t): Use logical types instead of struct iovec
25403         pointers for members.
25404         (ctype_output): Use new locale_file interface.
25405         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25406         new locale_file interface.
25407         (allocate_arrays): Update for use of new locale_file interface.
25408         * locale/programs/ld-identification.c (identification_output): Use
25409         new locale_file interface.
25410         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25411         * locale/programs/ld-messages.c (messages_output): Likewise.
25412         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25413         * locale/programs/ld-name.c (name_output): Likewise.
25414         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25415         * locale/programs/ld-paper.c (paper_output): Likewise.
25416         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25417         * locale/programs/ld-time.c (time_output): Likewise.
25419 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25421         * benchtests/Makefile: Add memrchr benchmark.
25422         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25423         benchmark as memrchr.
25424         * benchtests/bench-memrchr-ifunc.c: New file.
25425         * benchtests/bench-memrchr.c: New file.
25427 2013-09-06   Will Newton  <will.newton@linaro.org>
25429         * benchtests/Makefile (string-bench): Add memcpy.
25431 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25432             Cong Wang  <amwang@redhat.com>
25434         [BZ #15850]
25435         * sysdeps/unix/sysv/linux/bits/in.h
25436         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25437         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25438         before __USE_KERNEL_IPV6_DEFS uses.
25439         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25440         IPPROTO_BEETPH.
25441         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25442         sockaddr_in6, or ipv6_mreq.
25444 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25446         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25447         memory access for final bytes in some large inputs.
25448         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25450 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25452         * string/test-memrchr.c: New file.
25453         * string/test-memrchr-ifunc.c: New file.
25454         * string/Makefile: Add new memrchr testcase.
25456 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25458         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25459         fanotify_init returns EPERM.
25461 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25463         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25464         errors.
25465         (top level): Treat second token from macro or constant entries for
25466         allowed headers as allowed.
25467         * include/complex.h: Condition internal declarations on
25468         [!_ISOMAC].
25469         * include/fenv.h: Condition include of <stdbool.h> and internal
25470         declarations on [!_ISOMAC].
25472 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25474         [BZ #15923]
25475         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25477 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25479         * configure.in (--enable-versioning): Remove configure option.
25480         (libc_cv_asm_symver_directive): Remove configure test.
25481         (libc_cv_ld_version_script_option): Likewise.
25482         (VERSIONING): Remove variable and AC_SUBST.
25483         (DO_VERSIONING): Remove AC_DEFINE.
25484         * configure: Regenerated.
25485         * config.h.in (DO_VERSIONING): Remove macro.
25486         * Makerules [$(versioning) = yes]: Change conditionals to
25487         [$(build-shared) = yes].
25488         * config.make.in (versioning): Remove variable.
25489         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25490         [$(build-shared) = yes].
25491         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25492         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25493         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25494         [$(build-shared) = yes].
25495         * extra-lib.mk [$(versioning) = yes]: Likewise.
25496         * hurd/Makefile [$(versioning) = yes]: Likewise.
25497         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25498         [SHARED].
25499         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25500         [SHARED].
25501         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25502         [SHARED && !NO_HIDDEN].
25503         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25504         [SHARED].
25505         [SHARED && DO_VERSIONING]: Likewise..
25506         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25507         [$(build-shared) = yes].
25508         * manual/install.texi (--disable-versioning): Remove
25509         documentation.
25510         * INSTALL: Regenerated.
25511         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25512         to [SHARED].
25513         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25514         [$(build-shared) = yes].
25515         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25516         * sysdeps/i386/i686/multiarch/strstr-c.c
25517         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25518         [SHARED && !NO_HIDDEN].
25519         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25520         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25521         * sysdeps/powerpc/powerpc32/dl-machine.c
25522         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25523         * sysdeps/powerpc/powerpc32/sysdep.h
25524         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25525         to [SHARED && PIC && !NO_HIDDEN].
25526         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25527         conditional to [SHARED].
25529 2013-09-04   Will Newton  <will.newton@linaro.org>
25531         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25532         * benchtests/bench-string.h: Include bench-timing.h instead
25533         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25534         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25535         call to HP_TIMING_DIFF_INIT.
25536         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25537         instead of hp-timing.h macros.
25538         * benchtests/bench-memchr.c: Likewise.
25539         * benchtests/bench-memcmp.c: Likewise.
25540         * benchtests/bench-memcpy.c: Likewise.
25541         * benchtests/bench-memmem.c: Likewise.
25542         * benchtests/bench-memmove.c: Likewise.
25543         * benchtests/bench-memset.c: Likewise.
25544         * benchtests/bench-rawmemchr.c: Likewise.
25545         * benchtests/bench-strcasecmp.c: Likewise.
25546         * benchtests/bench-strcasestr.c: Likewise.
25547         * benchtests/bench-strcat.c: Likewise.
25548         * benchtests/bench-strchr.c: Likewise.
25549         * benchtests/bench-strcmp.c: Likewise.
25550         * benchtests/bench-strcpy.c: Likewise.
25551         * benchtests/bench-strcpy_chk.c: Likewise.
25552         * benchtests/bench-strlen.c: Likewise.
25553         * benchtests/bench-strncasecmp.c: Likewise.
25554         * benchtests/bench-strncat.c: Likewise.
25555         * benchtests/bench-strncmp.c: Likewise.
25556         * benchtests/bench-strncpy.c: Likewise.
25557         * benchtests/bench-strnlen.c: Likewise.
25558         * benchtests/bench-strpbrk.c: Likewise.
25559         * benchtests/bench-strrchr.c: Likewise.
25560         * benchtests/bench-strspn.c: Likewise.
25561         * benchtests/bench-strstr.c: Likewise.
25563 2013-09-04  Will Newton  <will.newton@linaro.org>
25565         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25567 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25569         [BZ #15427]
25570         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25571         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25572         * math/libm-test.inc (lgamma_test_data): Add more tests.
25573         * sysdeps/i386/fpu/libm-test-ulps: Update.
25574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25576 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25578         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25579         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25580         Add ifunc.
25581         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25582         Add strcmp-sse2-unaligned
25583         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25585 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25587         * Versions.def (libc): Add GLIBC_2.19.
25589 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25591         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25592         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25594 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25596         [BZ #14155]
25597         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25598         intermediate calculations in recurrence.
25599         (__ieee754_ynf): Likewise.
25600         * math/libm-test.inc (jn_test_data): Do not allow spurious
25601         underflow exception.  Add more tests.
25602         (yn_test_data): Add more tests.
25603         * sysdeps/i386/fpu/libm-test-ulps: Update.
25604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25606 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25608         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25610 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25612         * csu/init-first.c: Fix then/than typos.
25613         * locale/programs/ld-collate.c: Likewise.
25614         * locale/programs/linereader.h: Likewise.
25615         * manual/charset.texi: Likewise.
25616         * manual/filesys.texi: Likewise.
25617         * manual/stdio.texi: Likewise.
25618         * manual/string.texi: Likewise.
25619         * stdlib/fmtmsg.c: Likewise.
25620         * sysdeps/i386/stpncpy.S: Likewise.
25621         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25622         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25623         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25624         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25626 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25628         * elf/dl-open.c: Fix typos.
25629         * iconvdata/gbbig5.c: Likewise.
25630         * iconvdata/iso-2022-jp.c: Likewise.
25631         * iconv/gconv_int.h: Likewise.
25632         * iconv/loop.c: Likewise.
25633         * nis/rpcsvc/nis.h: Likewise.
25634         * resolv/ns_name.c: Likewise.
25635         * stdio-common/vfscanf.c: Likewise.
25636         * streams/stropts.h: Likewise.
25637         * sunrpc/rpc_thread.c: Likewise.
25638         * sysdeps/i386/strpbrk.S: Likewise.
25639         * sysdeps/ieee754/k_standard.c: Likewise.
25640         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25642         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25643         * sysdeps/mach/hurd/profil.c: Likewise.
25644         * sysdeps/s390/dl-procinfo.h: Likewise.
25645         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25646         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25647         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25648         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25649         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25651 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25653         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25654         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25656 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25658         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25659         aix specific files.
25660         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25661         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25662         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25663         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25664         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25665         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25666         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25667         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25669 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25670             Roland McGrath  <roland@hack.frob.com>
25672         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25673         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25675 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25677         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25678         __executable_start symbol instead of _start.
25680 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25682         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25683         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25684         Move macros to...
25685         * sysdeps/gnu/ldsodefs.h: ... this new file.
25687         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25688         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25689         instead of ELFOSABI_LINUX.
25691         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25692         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25693         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25694         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25695         Likewise.
25696         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25697         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25698         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25699         Likewise.
25700         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25701         (ibm_extended_long_double): Add ieee_nan member.
25702         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25703         (do_test): New function.
25705         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25706         TEST_TRUNC.
25707         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25708         functions, renamed from truncdfsf_test, trunctfsf_test,
25709         trunctfdf_test.
25710         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25711         functions.
25712         (do_test): Run all these.
25714 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25716         * argp/argp-help.c: Fix typos.
25717         * argp/argp-parse.c: Likewise.
25718         * debug/backtracesyms.c: Likewise.
25719         * elf/elf.h: Likewise.
25720         * malloc/malloc.c: Likewise.
25721         * nis/nis_print.c: Likewise.
25722         * resolv/res_comp.c: Likewise.
25723         * stdlib/stdlib.h: Likewise.
25724         * sunrpc/clnt_tcp.c: Likewise.
25725         * sunrpc/clnt_udp.c: Likewise.
25726         * sunrpc/clnt_unix.c: Likewise.
25727         * sysdeps/unix/bsd/ptsname.c: Likewise.
25728         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25729         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25731         Likewise.
25732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25733         Likewise.
25734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25735         Likewise.
25736         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25738 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25740         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25741         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25743 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25745         [BZ #15897]
25746         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25747         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25748         ($(objpfx)bug-dl-leaf): New rule.
25749         ($(objpfx)bug-dl-leaf.so): Likewise.
25750         ($(objpfx)bug-dl-leaf.out): Likewise.
25751         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25752         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25753         * dlfcn/bug-dl-leaf.c: New test.
25754         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25755         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25756         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25757         (dlclose): Likewise.
25758         (dlmopen): Likewise.
25760 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25762         * include/netdb.h [!_ISOMAC]:
25763         Don't include <tls.h>.
25764         (h_errno, __libc_h_errno): Move declaration and macros out of
25765         [_LIBC_REENTRANT].
25767         * include/resolv.h [_RESOLV_H_]:
25768         Don't include <tls.h>.
25769         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25770         * resolv/res_libc.c: Don't include <tls.h>.
25771         (_res): Use __attribute__ ((nocommon)) in place of
25772         __attribute__ ((section (".bss"))).
25774         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25775         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25777         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25779         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25780         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25782         * resolv/res_mkquery.c: Include <sys/time.h>.
25784         * inet/ifreq.c: Moved to ...
25785         * sysdeps/unix/ifreq.c: ... here.
25786         * inet/ifreq.c: New file, true stub version.
25788         * socket/sa_len.c: New file.
25789         * socket/Makefile (aux): Add it.
25790         * sysdeps/unix/sysv/linux/Makefile
25791         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25792         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25793         and #include <socket/sa_len.c>.
25794         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25795         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25797         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25798         * bits/socket.h: ... here.
25800         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25801         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25802         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25804 2013-08-27  Andreas Schwab  <schwab@suse.de>
25806         [BZ #15736]
25807         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25808         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25809         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25810         * string/test-strcasecmp.c (test_main): Run tests in several
25811         locales.
25812         * string/test-strncasecmp.c (test_main): Likewise.
25814         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25815         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25816         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25817         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25818         (__strncasecmp_ssse3) [PIC]: Likewise.
25820 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25822         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25824         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25825         instead of explicitly declaring xdecrypt.
25826         * nis/nss_nis/nis-publickey.c: Likewise.
25828 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25830         [BZ #15890]
25831         * nscd/aicache.c: Include res_hconf.h.
25832         (addhstaiX): Initialize res_hconf.
25834 2013-08-26  Andreas Schwab  <schwab@suse.de>
25836         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25837         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25839 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25841         * nscd/aicache.c (addhstaiX): Fix indentation.
25843 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25845         * configure.ac: Quote $build_pt_chown test.
25846         * configure: Regenerated.
25848 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25850         [BZ #15532]
25851         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25852         * math/s_cexpf.c (__cexpf): Likewise.
25853         * math/s_cexpl.c (__cexpl): Likewise.
25854         * math/libm-test.inc (cexp_test_data): Correct expected return
25855         value for NaN + i0.  Add another test.
25857 2013-08-22  David S. Miller  <davem@davemloft.net>
25859         * po/ca.po: Update Catalan translation from translation project.
25860         * po/uk.po: Add Ukrainian translations from translation project.
25862 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25864         [BZ #15797]
25865         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25866         is infinite, not alongside NaN test.
25867         * math/s_fdimf.c (__fdimf): Likewise.
25868         * math/s_fdiml.c (__fdiml): Likewise.
25869         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25870         errno is unchanged.
25872 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25874         * argp/argp-help.c: Fix typos.
25875         * crypt/speeds.c: Likewise.
25876         * csu/check_fds.c: Likewise.
25877         * elf/dl-load.c: Likewise.
25878         * elf/dl-open.c: Likewise.
25879         * elf/reldep3.c: Likewise.
25880         * elf/reldep.c: Likewise.
25881         * elf/sprof.c: Likewise.
25882         * iconv/iconv_charmap.c: Likewise.
25883         * iconv/skeleton.c: Likewise.
25884         * iconv/strtab.c: Likewise.
25885         * io/lockf64.c: Likewise.
25886         * libio/libioP.h: Likewise.
25887         * resolv/gai_notify.c: Likewise.
25888         * resolv/ns_name.c: Likewise.
25889         * resolv/ns_samedomain.c: Likewise.
25890         * resolv/res_send.c: Likewise.
25891         * stdlib/random.c: Likewise.
25892         * sunrpc/rpc/xdr.h: Likewise.
25893         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25894         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25895         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25896         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25897         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25898         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25899         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25900         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25901         * sysdeps/mach/hurd/check_fds.c: Likewise.
25902         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25903         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25904         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25905         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25906         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25907         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25908         * sysdeps/pthread/aio_notify.c: Likewise.
25909         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25910         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25911         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25912         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25913         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25915 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25917         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25918         version if bit_Slow_SSE4_2 is set.
25919         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25920         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25922 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25924         [BZ #15867]
25925         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25926         trampoline stack frame information.
25927         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25928         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25929         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25930         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25931         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25932         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25933         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25934         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25935         sa_flags value.
25936         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25937         interrupting a syscall and set with option SA_SIGINFO.
25939 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25941         [BZ #15531]
25942         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25943         argument is infinite.
25944         * math/s_cprojf.c (__cprojf): Likewise.
25945         * math/s_cprojl.c (__cprojl): Likewise.
25946         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25947         * math/libm-test.inc (cproj_test_data): Add more tests.
25949         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25951         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25952         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25953         size.  Use __ffs to determine corresponding shift.
25955 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25956             Roland McGrath  <roland@hack.frob.com>
25958         * Makefile (INSTALL): Remove trailing blank lines from output of
25959         makeinfo.
25961 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25963         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25964         Align 32 bit compat elf_greg to 8 bytes.
25966 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25968         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25970 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25972         * string/strcoll_l.c (coll_seq): New structure.
25973         (get_next_seq_cached): New function.
25974         (get_next_seq): New function.
25975         (do_compare): New function.
25976         (STRCOLL): Use GNU style definition.  Simplify implementation
25977         by using get_next_seq, get_next_seq_cached and do_compare.
25979 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25981         [BZ #14699]
25982         CVE-2013-4237
25983         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25984         member.
25985         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25986         member.
25987         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25988         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25989         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25990         conditional.
25991         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25992         GETDENTS_64BIT_ALIGNED.
25993         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25994         * manual/filesys.texi (Reading/Closing Directory): Document
25995         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25996         strongly.
25997         * manual/conf.texi (Limits for Files): Add portability note to
25998         NAME_MAX, PATH_MAX.
25999         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26001 2013-08-13  Andreas Schwab  <schwab@suse.de>
26003         [BZ #15749]
26004         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26005         of fabs.
26006         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26007         LDBL_MAX_EXP >= 16384]: Add tests for it.
26009 2013-08-12  David S. Miller  <davem@davemloft.net>
26011         * version.h (RELEASE): Set to "development".
26012         (VERSION): Set to "2.18.90".
26013         * NEWS: Add 2.19 section.
26015 2013-08-03  David S. Miller  <davem@davemloft.net>
26017         * po/ko.po: Update Korean translation from translation project.
26019 2013-08-01  David S. Miller  <davem@davemloft.net>
26021         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26022         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26023         Bilka.
26025 2013-07-30  David S. Miller  <davem@davemloft.net>
26027         * po/fr.po: Update French translation from translation project.
26029 2013-07-28  David S. Miller  <davem@davemloft.net>
26031         * po/cs.po: Update Czech translation from translation project.
26033         * po/sv.po: Update Swedish translation from translation project.
26035 2013-07-27  David S. Miller  <davem@davemloft.net>
26037         * po/eo.po: Update Esperanto translation from translation project.
26039         * po/vi.po: Update Vietnamese translation from translation project.
26041         * po/de.po: Update German translation from translation project.
26043 2013-07-26  David S. Miller  <davem@davemloft.net>
26045         * po/bg.po: Update Bulgarian translation from translation project.
26047         * po/nl.po: Update Dutch translation from translation project.
26048         * po/pl.po: Update Polish translation from translation project.
26049         * po/ru.po: Update Russian translation from translation project.
26051 2013-07-24  David S. Miller  <davem@davemloft.net>
26053         * po/libc.pot: Update.
26055 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26057         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26058         variable page size.
26059         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26060         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26061         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26063 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26065         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26067 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26068             Andreas Schwab  <schwab@suse.de>
26069             Roland McGrath  <roland@hack.frob.com>
26070             Joseph Myers  <joseph@codesourcery.com>
26071             Carlos O'Donell  <carlos@redhat.com>
26073         [BZ #15755]
26074         * config.h.in: Define HAVE_PT_CHOWN.
26075         * config.make.in (build-pt-chown): New variable.
26076         * configure.in (--enable-pt_chown): New configure option.
26077         * configure: Regenerate.
26078         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26079         build-pt-chown is enabled.
26080         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26081         pt_chown to fix pty ownership.
26082         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26083         CLOSE_ALL_FDS.
26084         * manual/install.texi (Configuring and compiling): Mention
26085         --enable-pt_chown. Add @findex for grantpt.
26086         * INSTALL: Regenerate.
26088 2013-07-20  David S. Miller  <davem@davemloft.net>
26090         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26091         difference between 32-bit and 64-bit.
26093 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26095         [BZ #15711]
26096         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26097         Avoid system header dependency with -ffreestanding.
26098         ($(objpfx)bits/syscall%d): Likewise.
26100 2013-07-13  David S. Miller  <davem@davemloft.net>
26102         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26103         underflows from atanl/atan2l due to bug 15319.
26104         (casinh_test_data): Likewise.
26106 2013-07-07  David S. Miller  <davem@davemloft.net>
26108         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26110 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26112         * sysdeps/i386/fpu/libm-test-ulps: Update.
26113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26115 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117         * configure.in (--enable-lock-elision): Fix message text.
26118         * INSTALL: Regenerate.
26119         * configure: Regenerate.
26121 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26123         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26125 2013-07-03  Andreas Jaeger  <aj@suse.de>
26127         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26128         define.
26129         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26130         (ptrace_peeksiginfo_args): Add.
26131         (__ptrace_peeksiginfo_flags): Add.
26132         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26133         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26134         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26136 2013-07-03  Allan McRae  <allan@archlinux.org>
26138         * sysdeps/i386/fpu/libm-test-ulps: Update.
26140 2013-07-02  David S. Miller  <davem@davemloft.net>
26142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26144 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26146         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26148 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26150         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26153 2013-07-02  Andi Kleen <ak@linux.intel.com>
26155         * config.h.in (ENABLE_LOCK_ELISION): Add.
26156         * configure.in (--enable-lock-elision): Add option.
26157         * manual/install.texi: Document --enable lock elision.
26158         * configure: Regenerate
26159         * INSTALL: Regenerate.
26161 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26163         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26164         SSE4.2 strcasecmp for libc.a.
26165         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26167 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26169         [BZ #13304]
26170         * soft-fp/op-common.h (_FP_FMA): New macro.
26171         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26172         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26173         (_FP_MUL_MEAT_1_imm): ... here.
26174         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26175         (_FP_MUL_MEAT_1_wide): ... here.
26176         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26177         (_FP_MUL_MEAT_1_hard): ... here.
26178         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26179         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26180         (_FP_MUL_MEAT_2_wide): ... here.
26181         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26182         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26183         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26184         (_FP_MUL_MEAT_2_gmp): ... here.
26185         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26186         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26187         (_FP_MUL_MEAT_4_wide): ... here.
26188         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26189         (_FP_MUL_MEAT_4_gmp): ... here.
26190         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26191         (_FP_WFRACBITS_DW_S): Likewise.
26192         (_FP_WFRACXBITS_DW_S): Likewise.
26193         (_FP_HIGHBIT_DW_S): Likewise.
26194         (FP_FMA_S): Likewise.
26195         (_FP_FRAC_HIGH_DW_S): Likewise.
26196         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26197         (_FP_WFRACBITS_DW_D): Likewise.
26198         (_FP_WFRACXBITS_DW_D): Likewise.
26199         (_FP_HIGHBIT_DW_D): Likewise.
26200         (FP_FMA_D): Likewise.
26201         (_FP_FRAC_HIGH_DW_D): Likewise.
26202         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26203         (_FP_WFRACBITS_DW_E): Likewise.
26204         (_FP_WFRACXBITS_DW_E): Likewise.
26205         (_FP_HIGHBIT_DW_E): Likewise.
26206         (FP_FMA_E): Likewise.
26207         (_FP_FRAC_HIGH_DW_E): Likewise.
26208         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26209         (_FP_WFRACBITS_DW_Q): Likewise.
26210         (_FP_WFRACXBITS_DW_Q): Likewise.
26211         (_FP_HIGHBIT_DW_Q): Likewise.
26212         (FP_FMA_Q): Likewise.
26213         (_FP_FRAC_HIGH_DW_Q): Likewise.
26214         * soft-fp/fmasf4.c: New file.
26215         * soft-fp/fmadf4.c: Likewise.
26216         * soft-fp/fmatf4.c: Likewise.
26218 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26220         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26221         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26222         Silvermont.
26223         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26224         macro.
26225         (index_Slow_SSE4_2): Likewise.
26226         (index_Prefer_PMINUB_for_stringop): Likewise.
26227         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26228         bit_Slow_SSE4_2 is set.
26229         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26230         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26232 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26234         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26235         rtld_global._dl_hwcap2.
26236         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26237         POWER8.
26238         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26239         POWER8 feature descriptions defined in _dl_hwcap2.
26240         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26241         string handling for POWER8 feature bits.
26242         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26243         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26244         _dl_powerpc_cap_flags.
26245         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26246         * sysdeps/powerpc/rtld-global-offsets.sym
26247         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26248         _dl_hwcap2 in the rtld_global_ro structure.
26250 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26252         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26253         hardware capabilities in support of AT_HWCAP2.
26254         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26255         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26256         GLRO(dl_hwcap2).
26257         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26258         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26259         explicitly the unknown a_type display mechanism is used.
26260         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26261         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26262         struct member.
26263         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26264         to macro prototype for AT_HWCAP2 support.
26265         * sysdeps/i386/dl-procinfo.h: Likewise.
26266         * sysdeps/s390/dl-procinfo.h: Likewise.
26267         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26268         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26269         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26270         return -1 for unknown a_type display fallback.
26271         * sysdeps/sparc/dl-procinfo.h: Likewise.
26272         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26273         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26275 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26277         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26278         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26280 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26282         [BZ #12492]
26283         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26284         mprotect making __stack_prot writable.
26286 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26287             Joseph Myers  <joseph@codesourcery.com>
26289         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26290         as being properly aligned.
26292 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26294         * dlfcn/modstatic5.c: New file.
26295         * dlfcn/tststatic5.c: New file.
26296         * dlfcn/Makefile (tests): Add tststatic5.
26297         (tests-static): Likewise.
26298         (modules-names): Add modstatic5.
26299         (tststatic5-ENV): New variable.
26300         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26302         [BZ #15022]
26303         * elf/dl-support.c (_dl_main_map): New variable.
26304         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26305         (_dl_nns, _dl_load_adds): Set to 1.
26306         (_dl_initial_searchlist): Refer to _dl_main_map.
26307         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26308         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26309         call to _dl_get_origin.
26310         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26311         around call_map.
26312         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26313         * dlfcn/modstatic3.c: New file.
26314         * dlfcn/tststatic3.c: New file.
26315         * dlfcn/tststatic4.c: New file.
26316         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26317         (tests-static): Likewise.
26318         (modules-names): Add modstatic3.
26319         (tststatic3-ENV, tststatic4-ENV): New variables.
26320         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26321         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26323 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26325         * configure.in (CC): Require GCC version 4.4 or later.
26326         * configure: Regenerated.
26327         * manual/install.texi (Tools for Compilation): Update GCC version
26328         requirement.
26329         * INSTALL: Regenerated.
26331 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26333         [BZ #15674]
26334         * string/test-memcmp.c (check2): New.
26335         (main): Call check2.
26337         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26339 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26341         [BZ #15022]
26342         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26343         over to...
26344         (dl_open_worker) [!SHARED]: ... here.
26346 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26348         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26350 2013-06-25  Richard Henderson  <rth@redhat.com>
26352         * locale/programs/locarchive.c: Include <libc-internal.h>
26354 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26356         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26357         trailing whitespace removed.
26359 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26361         [BZ #10283]
26362         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26363         * locale/programs/locarchive.c: Include libc-mmap.h.
26364         (prepare_address_space): Take two new outputs (the mmap base and len).
26365         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26366         values.
26367         (create_archive): Declare new mmap base and len values for
26368         prepare_address_space, and store the result in ah.
26369         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26370         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26371         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26372         Declare new mmap base and len values for
26373         prepare_address_space, and store the result in new_ah.
26374         (open_archive): Declare new mmap base and len values for
26375         prepare_address_space, and store the result in ah.
26376         (close_archive): If ah->mmap_base is not NULL, use that and
26377         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26378         * sysdeps/generic/libc-mmap.h: New file.
26380 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26382         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26383         (ALIGN_UP): Likewise.
26384         (PTR_ALIGN_DOWN): Likewise.
26385         (PTR_ALIGN_UP): Likewise.
26387 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26389         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26390         entry mapped to PPC_PLATFORM_POWER8.
26391         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26392         POWER8.
26393         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26394         (_dl_string_platform): Add case for exporting platform position for
26395         POWER8.
26396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26397         search path to sysdeps/powerpc/powerpc32/power8 directory.
26398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26399         search path to sysdeps/powerpc/powerpc64/power8 directory.
26400         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26401         power7 directories.
26402         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26403         power7 directories.
26405 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26407         * INSTALL: Regenerate.
26409         * nscd/connections.c (nscd_init): Fix comment.
26411 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26413         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26415         [BZ #15667]
26416         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26417         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26419 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26421         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26422         DL_DST_REQ_STATIC.
26423         (DL_DST_REQ_STATIC): Remove macro.
26425 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26427         [BZ #7006]
26428         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26429         with a shift of 0 bits.
26431 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26433         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26434         $(tststatic-ENV).
26436 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26438         [BZ #15655]
26439         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26441 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26443         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26444         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26445         accepts -fno-tree-loop-distribute-patterns.
26446         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26447         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26448         recursive call.
26449         * string/memset.c (memset): Likewise.
26450         * string/test-memmove.c (simple_memmove): Disable loop transformation
26451         to library calls.
26452         * string/test-memset.c (simple_memset): Likewise.
26453         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26454         * benchtests/bench-memset.c (simple_memset): Likewise.
26455         * configure: Regenerated.
26457 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26459         * math/test-misc.c (main): Ignore fesetround failure when failures
26460         of subsequent rounding tests would be ignored.
26462         [BZ #15654]
26463         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26464         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26465         * math/fegetenv.c (__fegetenv): Return 0.
26466         * math/fegetexcept.c (fegetexcept): Return 0.
26467         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26468         FE_TONEAREST.
26469         * math/feholdexcpt.c (feholdexcept): Return 0.
26470         * math/fesetenv.c (__fesetenv): Return 0.
26471         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26472         argument FE_TONEAREST.
26473         * math/feupdateenv.c (__feupdateenv): Return 0.
26474         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26476 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26478         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26479         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26480         ($(objpfx)rtld-%.os rules): Use them.
26482 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26484         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26485         fields.
26487 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26489         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26490         length of target pattern, then descending length of dependency pattern.
26491         * configure.in (AWK): Require gawk 3.1.2 or newer.
26492         * manual/install.texi (Tools for Compilation): Say that we do.
26493         * configure: Regenerated.
26495         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26496         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26497         * scripts/sysd-rules.awk: ... this new script.
26498         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26499         than a glob-style pattern.
26501 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26503         * math/test-misc.c (main): Do not treat incorrectly rounded
26504         conversions as failure unless ROUNDING_TESTS passes.
26506 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26508         [BZ #15631]
26509         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26510         restore exception state around main square root computation, then
26511         check for inexactness explicitly.
26513         * math/libm-test.inc (fma_test_data): Add another test.
26515 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26517         * manual/threads.texi (Non-POSIX Extensions): New document
26518         node.  Document pthread_getattr_default_np and
26519         pthread_setattr_default_np.
26521         * Versions.def (libpthread): Add GLIBC_2.18.
26522         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26524         Likewise.
26525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26526         Likewise.
26527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26528         Likewise.
26529         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26530         Likewise.
26531         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26532         Likewise.
26533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26534         Likewise.
26535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26536         Likewise.
26537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26538         Likewise.
26539         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26540         Likewise.
26542 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26545         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26547 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26548             H.J. Lu  <hjl.tools@gmail.com>
26550         [BZ #15627]
26551         * sysdeps/x86_64/rtld-memset.c: Remove file.
26552         * sysdeps/x86_64/rtld-memset.S: New file.
26554 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26556         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26557         (test_in_one_mode): Take arguments for whether the rounding mode
26558         is supported for each floating-point type.
26559         (do_test): Pass new arguments to test_in_one_mode using
26560         ROUNDING_TESTS.
26562 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26564         * posix/tst-waitid.c (do_test): Distinguish different instances of
26565         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26566         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26567         before entering the kernel for waitpid.
26569 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26571         * NEWS: Fix note on clock function precision.  Text by Roland
26572         McGrath.
26574 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26576         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26577         it into place only when and if the sanity check passes.
26579 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26581         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26582         output for whether conversion result is exact.  Take argument
26583         indicating whether type is IBM long double.
26584         (round_for_all): Change need_exact field to ibm_ld.
26585         * stdlib/tst-strtod-round.c (struct exactness): New type.
26586         (struct test): Change bool ld_ok field to struct exactness exact.
26587         (TEST): Update all definitions for change to field.
26588         (tests): Regenerate array contents.
26589         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26590         field value.  Check for IBM long double here.
26591         (do_test): Update calls to test_in_one_mode.
26593 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26595         [BZ #12515]
26596         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26597         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26599 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26601         [BZ #15605]
26602         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26603         generated by the compiler on loop optimizations.
26604         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26605         general definitions.
26607 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26609         * math/bug-nextafter.c: Include <math-tests.h>.
26610         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26611         the relevant type.
26612         * math/bug-nexttoward.c: Include <math-tests.h>.
26613         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26614         the relevant type.
26615         * math/test-misc.c: Include <math-tests.h>.
26616         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26617         the relevant type.
26619 2013-06-12  Andreas Jaeger  <aj@suse.de>
26621         * po/ia.po: Update Interlingua translation from translation
26622         project.
26624 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26626         * include/fenv.h: Include stdbool.h.
26627         (struct rm_ctx): New structure.
26628         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26629         Define macro.
26630         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26631         (SET_RESTORE_ROUNDF): Likewise.
26632         (SET_RESTORE_ROUNDL): Likewise.
26633         (SET_RESTORE_ROUND_NOEX): Likewise.
26634         (SET_RESTORE_ROUND_NOEXF): Likewise.
26635         (SET_RESTORE_ROUND_NOEXL): Likewise.
26636         (SET_RESTORE_ROUND_53BIT): Likewise.
26637         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26638         (libc_feresetround_noexf_ctx): Likewise.
26639         (libc_feresetround_noexl_ctx): Likewise.
26640         (libc_feholdsetround_53bit_ctx): Likewise.
26641         (libc_feresetround_53bit_ctx): Likewise.
26642         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26643         (libc_feholdexcept_setround_sse_ctx): New function.
26644         (libc_fesetenv_sse_ctx): Likewise.
26645         (libc_feupdateenv_sse_ctx): Likewise.
26646         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26647         (libc_feholdexcept_setround_387_ctx): Likewise.
26648         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26649         (libc_feholdsetround_387_prec_ctx): Likewise.
26650         (libc_feholdsetround_387_ctx): Likewise.
26651         (libc_feholdsetround_387_53bit_ctx): Likewise.
26652         (libc_feholdsetround_sse_ctx): Likewise.
26653         (libc_feresetround_sse_ctx): Likewise.
26654         (libc_feresetround_387_ctx): Likewise.
26655         (libc_feupdateenv_387_ctx): Likewise.
26656         (libc_feholdexcept_setroundf_ctx): Define macro.
26657         (libc_fesetenvf_ctx): Likewise.
26658         (libc_feupdateenvf_ctx): Likewise.
26659         (libc_feholdsetroundf_ctx): Likewise.
26660         (libc_feresetroundf_ctx): Likewise.
26661         (libc_feholdexcept_setround_ctx): Likewise.
26662         (libc_fesetenv_ctx): Likewise.
26663         (libc_feupdateenv_ctx): Likewise.
26664         (libc_feholdsetround_ctx): Likewise.
26665         (libc_feresetround_ctx): Likewise.
26666         (libc_feholdexcept_setroundl_ctx): Likewise.
26667         (libc_feupdateenvl_ctx): Likewise.
26668         (libc_feholdsetroundl_ctx): Likewise.
26669         (libc_feresetroundl_ctx): Likewise.
26670         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26671         (libc_feresetround_53bit_ctx): Likewise.
26673 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26675         * locale/iso-639.def: Convert to UTF-8.
26677 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26679         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26680         (EXCEPTION_TESTS_double): Likewise.
26681         (EXCEPTION_TESTS_long_double): Likewise.
26682         (EXCEPTION_TESTS): Likewise.
26683         * math/libm-test.inc (test_exceptions): Only test exceptions if
26684         EXCEPTION_TESTS (FLOAT).
26686 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26688         * benchtests/Makefile (string-bench): Add strcpy_chk and
26689         stpcpy_chk.
26690         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26691         * benchtests/bench-stpcpy_chk.c: New file.
26692         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26693         * benchtests/bench-strcpy_chk.c: New file.
26694         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26695         code.
26696         (do_test): Likewise.
26698 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26700         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26701         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26702         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26703         with tabs where appropriate.
26704         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26705         dl-procinfo.h.
26706         [PPC_PLATFORM_PPC440]: Likewise.
26707         [PPC_PLATFORM_PPC464]: Likewise.
26708         [PPC_PLATFORM_PPC476]: Likewise.
26709         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26710         ppc464, and ppc476 platform strings merging from ports/
26711         dl-procinfo.h.
26713 2013-06-11  Andreas Schwab  <schwab@suse.de>
26715         [BZ #14991]
26716         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26717         (from_ucs4_idx): Regenerate.
26718         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26719         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26720         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26721         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26722         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26723         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26724         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26725         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26726         from FROM_LOOP and TO_LOOP specific macros.
26727         (BODY): Handle combining characters.
26728         * iconvdata/BIG5HKSCS.irreversible: Update.
26729         * iconvdata/BIG5HKSCS.precomposed: New file.
26730         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26731         characters.
26732         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26734 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26736         * include/sys/time.h: Fix indentation and add copyright header.
26738         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26739         (do_test): Likewise.
26740         * string/test-memchr.c (do_one_test): Likewise.
26741         (do_test): Likewise.
26742         * string/test-memcmp.c (do_one_test): Likewise.
26743         (do_test): Likewise.
26744         * string/test-memcpy.c (do_one_test): Likewise.
26745         (do_test): Likewise.
26746         * string/test-memmem.c (do_one_test): Likewise.
26747         (do_test): Likewise.
26748         (do_random_tests): Likewise.
26749         * string/test-memmove.c (do_one_test): Likewise.
26750         (do_test): Likewise.
26751         * string/test-memset.c (do_one_test): Likewise.
26752         (do_test): Likewise.
26753         * string/test-rawmemchr.c (do_one_test): Likewise.
26754         (do_test): Likewise.
26755         * string/test-strcasecmp.c (do_one_test): Likewise.
26756         (do_test): Likewise.
26757         * string/test-strcasestr.c (do_one_test): Likewise.
26758         (do_test): Likewise.
26759         * string/test-strcat.c (do_one_test): Likewise.
26760         (do_test): Likewise.
26761         * string/test-strchr.c (do_one_test): Likewise.
26762         (do_test): Likewise.
26763         * string/test-strcmp.c (do_one_test): Likewise.
26764         (do_test): Likewise.
26765         * string/test-strcpy.c (do_one_test): Likewise.
26766         (do_test): Likewise.
26767         * string/test-string.h: Likewise.
26768         (test_init): Likewise.
26769         * string/test-strlen.c (do_one_test): Likewise.
26770         (do_test): Likewise.
26771         * string/test-strncasecmp.c (do_one_test): Likewise.
26772         (do_test): Likewise.
26773         * string/test-strncat.c (do_one_test): Likewise.
26774         (do_test): Likewise.
26775         * string/test-strncmp.c (do_one_test): Likewise.
26776         (do_test_limit): Likewise.
26777         (do_test): Likewise.
26778         * string/test-strncpy.c (do_one_test): Likewise.
26779         (do_test): Likewise.
26780         * string/test-strnlen.c (do_one_test): Likewise.
26781         (do_test): Likewise.
26782         * string/test-strpbrk.c (do_one_test): Likewise.
26783         (do_test): Likewise.
26784         * string/test-strrchr.c (do_one_test): Likewise.
26785         (do_test): Likewise.
26786         * string/test-strspn.c (do_one_test): Likewise.
26787         (do_test): Likewise.
26788         * string/test-strstr.c (do_one_test): Likewise.
26789         (do_test): Likewise.
26791         * benchtests/Makefile (string-bench): Add string benchmarks.
26792         * benchtests/bench-bcopy-ifunc.c: New file.
26793         * benchtests/bench-bcopy.c: New file.
26794         * benchtests/bench-bzero-ifunc.c: New file.
26795         * benchtests/bench-bzero.c: New file.
26796         * benchtests/bench-memccpy-ifunc.c: New file.
26797         * benchtests/bench-memccpy.c: New file.
26798         * benchtests/bench-memchr-ifunc.c: New file.
26799         * benchtests/bench-memchr.c: New file.
26800         * benchtests/bench-memcmp-ifunc.c: New file.
26801         * benchtests/bench-memcmp.c: New file.
26802         * benchtests/bench-memmem-ifunc.c: New file.
26803         * benchtests/bench-memmem.c: New file.
26804         * benchtests/bench-memmove-ifunc.c: New file.
26805         * benchtests/bench-memmove.c: New file.
26806         * benchtests/bench-mempcpy-ifunc.c: New file.
26807         * benchtests/bench-mempcpy.c: New file.
26808         * benchtests/bench-memset-ifunc.c: New file.
26809         * benchtests/bench-memset.c: New file.
26810         * benchtests/bench-rawmemchr-ifunc.c: New file.
26811         * benchtests/bench-rawmemchr.c: New file.
26812         * benchtests/bench-stpcpy-ifunc.c: New file.
26813         * benchtests/bench-stpcpy.c: New file.
26814         * benchtests/bench-stpncpy-ifunc.c: New file.
26815         * benchtests/bench-stpncpy.c: New file.
26816         * benchtests/bench-strcasecmp-ifunc.c: New file.
26817         * benchtests/bench-strcasecmp.c: New file.
26818         * benchtests/bench-strcasestr-ifunc.c: New file.
26819         * benchtests/bench-strcasestr.c: New file.
26820         * benchtests/bench-strcat-ifunc.c: New file.
26821         * benchtests/bench-strcat.c: New file.
26822         * benchtests/bench-strchr-ifunc.c: New file.
26823         * benchtests/bench-strchr.c: New file.
26824         * benchtests/bench-strchrnul-ifunc.c: New file.
26825         * benchtests/bench-strchrnul.c: New file.
26826         * benchtests/bench-strcmp-ifunc.c: New file.
26827         * benchtests/bench-strcmp.c: New file.
26828         * benchtests/bench-strcpy-ifunc.c: New file.
26829         * benchtests/bench-strcpy.c: New file.
26830         * benchtests/bench-strcspn-ifunc.c: New file.
26831         * benchtests/bench-strcspn.c: New file.
26832         * benchtests/bench-strlen-ifunc.c: New file.
26833         * benchtests/bench-strlen.c: New file.
26834         * benchtests/bench-strncasecmp-ifunc.c: New file.
26835         * benchtests/bench-strncasecmp.c: New file.
26836         * benchtests/bench-strncat-ifunc.c: New file.
26837         * benchtests/bench-strncat.c: New file.
26838         * benchtests/bench-strncmp-ifunc.c: New file.
26839         * benchtests/bench-strncmp.c: New file.
26840         * benchtests/bench-strncpy-ifunc.c: New file.
26841         * benchtests/bench-strncpy.c: New file.
26842         * benchtests/bench-strnlen-ifunc.c: New file.
26843         * benchtests/bench-strnlen.c: New file.
26844         * benchtests/bench-strpbrk-ifunc.c: New file.
26845         * benchtests/bench-strpbrk.c: New file.
26846         * benchtests/bench-strrchr-ifunc.c: New file.
26847         * benchtests/bench-strrchr.c: New file.
26848         * benchtests/bench-strspn-ifunc.c: New file.
26849         * benchtests/bench-strspn.c: New file.
26850         * benchtests/bench-strstr-ifunc.c: New file.
26851         * benchtests/bench-strstr.c: New file.
26853         * benchtests/Makefile: Disable parallel execution of targets.
26854         (string-bench): Add memcpy.
26855         (benchset): New variable to store a list of benchmark sets.
26856         (bench-func): Renamed from bench.
26857         (bench-set): New target.
26858         (bench): Depend on bench-func and bench-set.
26859         * benchtests/README: Add section on benchmark sets.
26860         * benchtests/bench-memcpy-ifunc.c: New file.
26861         * benchtests/bench-memcpy.c: New file.
26862         * benchtests/bench-string.h: New file.
26864 2013-06-11  Andreas Schwab  <schwab@suse.de>
26866         [BZ #15577]
26867         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26868         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26869         values in the triple.
26870         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26871         terminator in the group key.
26873 2013-06-11  Andreas Jaeger  <aj@suse.de>
26875         * po/zh_TW.po: Update Chinese (traditional) translation from
26876         translation project.
26878 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26880         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26881         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26882         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26883         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26884         (clock_getcpuclockid): Likewise.
26885         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26886         Add weak_alias and libc_hidden_def.
26887         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26888         * rt/clock_gettime.c (clock_gettime): Rename to
26889         __clock_gettime.  Add weak_alias and libc_hidden_def.
26890         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26891         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26892         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26893         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26894         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26895         Likewise.
26896         * rt/clock_settime.c (clock_settime): Rename to
26897         __clock_settime.  Add weak_alias and libc_hidden_def.
26898         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26900 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26902         * mach/err_boot.sub: Remove trailing whitespace.
26903         * mach/err_ipc.sub: Likewise.
26904         * mach/err_mach.sub: Likewise.
26906         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26907         (ROUNDING_TESTS_double): Likewise.
26908         (ROUNDING_TESTS_long_double): Likewise.
26909         (ROUNDING_TESTS): Likewise.
26910         * math/libm-test.inc: Include <math-tests.h>.
26911         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26912         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26913         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26914         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26916 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26918         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26919         of assigning.
26921 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26923         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26924         otherwise empty TRANS lines.
26925         * sysdeps/gnu/errlist.c: Regenerated.
26927         * catgets/gencat.c (error_print): Use (void) in function
26928         definition.
26929         * crypt/crypt_util.c (__init_des): Likewise.
26930         * crypt/speeds.c (Stop): Likewise.
26931         (main): Likewise.
26932         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26933         * inet/ruserpass.c (token): Likewise.
26934         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26935         * intl/localealias.c (extend_alias_table): Likewise.
26936         * intl/plural-exp.c (init_germanic_plural): Likewise.
26937         * libio/fcloseall.c (__fcloseall): Likewise.
26938         * libio/genops.c (_IO_flush_all): Likewise.
26939         (_IO_flush_all_linebuffered): Likewise.
26940         (_IO_cleanup): Likewise.
26941         (_IO_iter_begin): Likewise.
26942         (_IO_iter_end): Likewise.
26943         (_IO_list_lock): Likewise.
26944         (_IO_list_unlock): Likewise.
26945         (_IO_list_resetlock): Likewise.
26946         * libio/getchar.c (getchar): Likewise.
26947         * libio/getchar_u.c (getchar_unlocked): Likewise.
26948         * libio/getwchar.c (getwchar): Likewise.
26949         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26950         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26951         * login/getpt.c (__getpt): Likewise.
26952         * login/tst-utmp.c (main): Likewise.
26953         * malloc/hooks.c (__malloc_check_init): Likewise.
26954         * malloc/malloc.c (__malloc_stats): Likewise.
26955         * malloc/mtrace.c (tr_break): Likewise.
26956         (mtrace): Likewise.
26957         (muntrace): Likewise.
26958         * misc/fstab.c (endfsent): Likewise.
26959         * misc/getclktck.c (__getclktck): Likewise.
26960         * misc/getdtsz.c (__getdtablesize): Likewise.
26961         * misc/gethostid.c (gethostid): Likewise.
26962         * misc/getpagesize.c (__getpagesize): Likewise.
26963         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26964         (__get_nprocs): Likewise.
26965         (__get_phys_pages): Likewise.
26966         (__get_avphys_pages): Likewise.
26967         * misc/getttyent.c (getttyent): Likewise.
26968         (setttyent): Likewise.
26969         (endttyent): Likewise.
26970         * misc/getusershell.c (getusershell): Likewise.
26971         (endusershell): Likewise.
26972         (setusershell): Likewise.
26973         (initshells): Likewise.
26974         * misc/hsearch.c (__hdestroy): Likewise.
26975         * misc/sync.c (sync): Likewise.
26976         * misc/syslog.c (closelog_internal): Likewise.
26977         (closelog): Likewise.
26978         * misc/ttyslot.c (ttyslot): Likewise.
26979         * misc/vhangup.c (vhangup): Likewise.
26980         * posix/fork.c (__fork): Likewise.
26981         * posix/getegid.c (__getegid): Likewise.
26982         * posix/geteuid.c (__geteuid): Likewise.
26983         * posix/getgid.c (__getgid): Likewise.
26984         * posix/getpid.c (__getpid): Likewise.
26985         * posix/getppid.c (__getppid): Likewise.
26986         * posix/getuid.c (__getuid): Likewise.
26987         * posix/pause.c (pause): Likewise.
26988         * posix/setpgrp.c (setpgrp): Likewise.
26989         * posix/setsid.c (__setsid): Likewise.
26990         * posix/test-vfork.c (noop): Likewise.
26991         * resolv/gethnamaddr.c (_endhtent): Likewise.
26992         (_gethtent): Likewise.
26993         (ht_endhostent): Likewise.
26994         (gethostent): Likewise.
26995         (dns_service): Likewise.
26996         * stdlib/drand48.c (drand48): Likewise.
26997         * stdlib/lrand48.c (lrand48): Likewise.
26998         * stdlib/mrand48.c (mrand48): Likewise.
26999         * stdlib/rand.c (rand): Likewise.
27000         * stdlib/random.c (__random): Likewise.
27001         * stdlib/setenv.c (clearenv): Likewise.
27002         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27003         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27004         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27005         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27006         (__get_nprocs): Likewise.
27007         (__get_phys_pages): Likewise.
27008         (__get_avphys_pages): Likewise.
27009         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27010         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27011         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27012         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27013         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27014         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27015         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27016         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27017         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27018         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27019         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27020         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27021         * sysdeps/posix/clock.c (clock): Likewise.
27022         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27023         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27024         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27025         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27026         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27028         (__get_nprocs_conf): Likewise.
27029         (__get_phys_pages): Likewise.
27030         (__get_avphys_pages): Likewise.
27031         * time/clock.c (clock): Likewise.
27032         * time/tzset.c (__tzname_max): Likewise.
27034 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27036         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27037         (__bswap_32): Do not use "register".
27038         * crypt/crypt.c (_ufc_doit_r): Likewise.
27039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27040         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27041         * gmon/gmon.c (__monstartup): Likewise.
27042         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27043         * hurd/hurdmalloc.c (more_memory): Likewise.
27044         (malloc): Likewise.
27045         (free): Likewise.
27046         (realloc): Likewise.
27047         (malloc_fork_prepare): Likewise.
27048         (malloc_fork_parent): Likewise.
27049         (malloc_fork_child): Likewise.
27050         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27051         (_svcauth_des): Likewise.
27052         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27053         * inet/inet_net.c (inet_network): Likewise.
27054         * inet/inet_netof.c (inet_netof): Likewise.
27055         * inet/rcmd.c (__validuser2_sa): Likewise.
27056         * io/fts.c (fts_open): Likewise.
27057         (fts_load): Likewise.
27058         (fts_close): Likewise.
27059         (fts_read): Likewise.
27060         (fts_children): Likewise.
27061         (fts_build): Likewise.
27062         (fts_stat): Likewise.
27063         (fts_sort): Likewise.
27064         (fts_alloc): Likewise.
27065         (fts_lfree): Likewise.
27066         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27067         (_IO_file_xsgetn): Likewise.
27068         (_IO_file_xsgetn_mmap): Likewise.
27069         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27070         (_IO_cookie_write): Likewise.
27071         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27072         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27073         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27074         * malloc/obstack.c (_obstack_begin): Likewise.
27075         (_obstack_begin_1): Likewise.
27076         (_obstack_newchunk): Likewise.
27077         (_obstack_allocated_p): Likewise.
27078         (obstack_free): Likewise.
27079         (_obstack_memory_used): Likewise.
27080         * misc/getttyent.c (getttynam): Likewise.
27081         (getttyent): Likewise.
27082         (skip): Likewise.
27083         (value): Likewise.
27084         * misc/getusershell.c (initshells): Likewise.
27085         * misc/syslog.c (__vsyslog_chk): Likewise.
27086         * misc/ttyslot.c (ttyslot): Likewise.
27087         * nis/nis_hash.c (__nis_hash): Likewise.
27088         * posix/fnmatch_loop.c (FCT): Likewise.
27089         * posix/getconf.c (print_all): Likewise.
27090         (main): Likewise.
27091         * posix/getopt.c (exchange): Likewise.
27092         * posix/glob.c (globfree): Likewise.
27093         (prefix_array): Likewise.
27094         (__glob_pattern_type): Likewise.
27095         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27096         (NS_GET32): Likewise.
27097         (NS_PUT16): Likewise.
27098         (NS_PUT32): Likewise.
27099         * resolv/gethnamaddr.c (getanswer): Likewise.
27100         (gethostbyname2): Likewise.
27101         (gethostbyaddr): Likewise.
27102         (_gethtent): Likewise.
27103         (_gethtbyname2): Likewise.
27104         (_gethtbyaddr): Likewise.
27105         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27106         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27107         * resolv/res_init.c (__res_vinit): Likewise.
27108         (net_mask): Likewise.
27109         * resolv/res_mkquery.c (outchar): Likewise.
27110         (PRINT): Likewise.
27111         * stdio-common/printf_fp.c (outchar): Likewise.
27112         (PRINT): Likewise.
27113         * stdio-common/printf_fphex.c (outchar): Likewise.
27114         (PRINT): Likewise.
27115         * stdio-common/printf_size.c (outchar): Likewise.
27116         (PRINT): Likewise.
27117         * stdio-common/test_rdwr.c (main): Likewise.
27118         * stdio-common/tfformat.c (matches): Likewise.
27119         * stdio-common/vfprintf.c (outchar): Likewise.
27120         (printf_unknown): Likewise.
27121         (buffered_vfprintf): Likewise.
27122         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27123         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27124         (ReadFile): Likewise.
27125         * stdlib/qsort.c (SWAP): Likewise.
27126         (_quicksort): Likewise.
27127         * stdlib/setenv.c (__add_to_environ): Likewise.
27128         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27129         * stdlib/strtol_l.c (__strtol_l): Likewise.
27130         * stdlib/tst-strtod.c (main): Likewise.
27131         * stdlib/tst-strtol.c (main): Likewise.
27132         * stdlib/tst-strtoll.c (main): Likewise.
27133         * string/bits/string2.h (__strcmp_cc): Likewise.
27134         (__strcmp_cg): Likewise.
27135         (__strcspn_c1): Likewise.
27136         (__strcspn_c2): Likewise.
27137         (__strcspn_c3): Likewise.
27138         (__strspn_c1): Likewise.
27139         (__strspn_c2): Likewise.
27140         (__strspn_c3): Likewise.
27141         (__strsep_1c): Likewise.
27142         (__strsep_2c): Likewise.
27143         (__strsep_3c): Likewise.
27144         * string/memccpy.c (__memccpy): Likewise.
27145         * string/stpcpy.c (__stpcpy): Likewise.
27146         * string/strcmp.c (strcmp): Likewise.
27147         * string/strrchr.c (strrchr): Likewise.
27148         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27149         Likewise.
27150         * sysdeps/mach/hurd/getcwd.c
27151         (_hurd_canonicalize_directory_name_internal): Likewise.
27152         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27153         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27154         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27155         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27156         Likewise, in both definitions.
27157         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27158         definitions.
27159         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27160         64] (__bswap_64): Likewise.
27161         * time/test_time.c (main): Likewise.
27162         * time/tzfile.c (__tzfile_read): Likewise.
27163         (__tzfile_compute): Likewise.
27164         * time/tzset.c (__tzset_parse_tz): Likewise.
27165         (tzset_internal): Likewise.
27166         (compute_change): Likewise.
27167         * wcsmbs/wcscat.c (__wcscat): Likewise.
27168         * wcsmbs/wcschr.c (wcschr): Likewise.
27169         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27170         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27171         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27172         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27173         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27174         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27175         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27176         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27177         * wcsmbs/wmemset.c (wmemset): Likewise.
27179 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27181         * scripts/config.guess: Update to version 2013-05-16.
27182         * scripts/config.sub: Update to version 2013-04-24.
27183         * scripts/install-sh: Update to version 2011-11-20.07.
27184         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27185         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27187 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27189         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27190         * elf/sln.c: Likewise.
27191         * hurd/hurd/ioctl.h: Likewise.
27192         * hurd/hurdmalloc.c: Likewise.
27193         * hurd/xattr.c: Likewise.
27194         * include/shlib-compat.h: Likewise.
27195         * inet/ruserpass.c: Likewise.
27196         * libio/iofgets_u.c: Likewise.
27197         * libio/iofgetws_u.c: Likewise.
27198         * locale/programs/ld-identification.c: Likewise.
27199         * locale/programs/ld-time.c: Likewise.
27200         * mach/msg-destroy.c: Likewise.
27201         * nss/nss_files/files-netgrp.c: Likewise.
27202         * resolv/res_data.c: Likewise.
27203         * soft-fp/op-1.h: Likewise.
27204         * soft-fp/op-2.h: Likewise.
27205         * soft-fp/op-4.h: Likewise.
27206         * soft-fp/op-common.h: Likewise.
27207         * stdio-common/printf_fphex.c: Likewise.
27208         * stdlib/strtod_l.c: Likewise.
27209         * sunrpc/rpc/clnt.h: Likewise.
27210         * sysdeps/generic/framestate.c: Likewise.
27211         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27212         * sysdeps/i386/bsd-setjmp.S: Likewise.
27213         * sysdeps/i386/__longjmp.S: Likewise.
27214         * sysdeps/i386/setjmp.S: Likewise.
27215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27216         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27224         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27225         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27226         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27227         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27228         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27231         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27232         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27233         * sysdeps/ieee754/support.c: Likewise.
27234         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27235         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27236         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27237         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27238         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27239         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27240         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27241         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27242         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27243         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27244         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27245         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27246         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27247         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27248         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27249         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27250         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27253 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27255         * posix/transbug.c: Remove executable mode.
27257 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27259         * crypt/speeds.c: Remove trailing whitespace.
27260         * dlfcn/default.c: Likewise.
27261         * elf/ifuncdep2.c: Likewise.
27262         * elf/ifuncmain1.c: Likewise.
27263         * elf/ifuncmain1vis.c: Likewise.
27264         * elf/testobj.h: Likewise.
27265         * elf/tst-stackguard1.c: Likewise.
27266         * gmon/sys/gmon.h: Likewise.
27267         * hurd/hurdmsg.c: Likewise.
27268         * hurd/new-fd.c: Likewise.
27269         * hurd/ports-get.c: Likewise.
27270         * iconvdata/ibm1008_420.c: Likewise.
27271         * inet/tst-getni1.c: Likewise.
27272         * inet/tst-getni2.c: Likewise.
27273         * libio/ioungetc.c: Likewise.
27274         * libio/wfiledoalloc.c: Likewise.
27275         * manual/libm-err-tab.pl: Likewise.
27276         * math/w_dremf.c: Likewise.
27277         * misc/ftruncate.c: Likewise.
27278         * posix/bug-glob2.c: Likewise.
27279         * posix/tst-pcre.c: Likewise.
27280         * posix/wait4.c: Likewise.
27281         * resolv/README: Likewise.
27282         * resolv/res_debug.h: Likewise.
27283         * resolv/tst-inet_ntop.c: Likewise.
27284         * setjmp/bug269-setjmp.c: Likewise.
27285         * soft-fp/extended.h: Likewise.
27286         * soft-fp/op-1.h: Likewise.
27287         * soft-fp/op-2.h: Likewise.
27288         * soft-fp/op-4.h: Likewise.
27289         * soft-fp/op-8.h: Likewise.
27290         * soft-fp/testit.c: Likewise.
27291         * stdio-common/bug16.c: Likewise.
27292         * stdlib/random.c: Likewise.
27293         * sunrpc/rpcsvc/rquota.x: Likewise.
27294         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27295         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27296         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27297         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27298         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27299         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27300         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27301         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27302         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27303         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27304         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27305         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27306         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27307         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27308         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27309         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27310         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27311         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27312         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27315         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27316         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27317         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27318         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27319         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27321         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27323         * sysdeps/ieee754/s_lib_version.c: Likewise.
27324         * sysdeps/mach/hurd/check_fds.c: Likewise.
27325         * sysdeps/mach/hurd/getsockname.c: Likewise.
27326         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27327         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27328         * sysdeps/powerpc/bits/link.h: Likewise.
27329         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27330         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27331         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27332         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27333         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27334         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27335         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27336         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27337         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27338         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27339         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27340         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27341         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27342         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27343         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27344         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27347         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27348         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27349         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27350         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27351         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27352         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27353         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27354         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27355         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27356         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27357         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27358         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27359         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27361         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27362         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27363         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27364         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27365         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27366         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27367         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27368         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27369         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27370         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27371         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27372         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27373         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27374         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27375         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27376         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27377         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27378         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27379         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27380         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27381         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27382         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27383         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27384         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27385         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27386         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27387         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27388         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27389         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27390         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27391         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27392         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27393         * sysdeps/powerpc/sysdep.h: Likewise.
27394         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27395         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27396         * sysdeps/sh/dl-trampoline.S: Likewise.
27397         * sysdeps/sh/memset.S: Likewise.
27398         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27399         * sysdeps/sh/strlen.S: Likewise.
27400         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27401         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27402         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27403         * sysdeps/sparc/sparc32/rem.S: Likewise.
27404         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27405         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27406         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27407         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27408         * sysdeps/sparc/sparc32/urem.S: Likewise.
27409         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27410         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27411         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27412         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27413         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27414         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27415         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27416         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27417         * sysdeps/unix/bsd/times.c: Likewise.
27418         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27419         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27423         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27424         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27425         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27426         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27427         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27428         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27429         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27430         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27431         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27432         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27433         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27434         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27435         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27436         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27437         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27438         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27439         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27440         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27441         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27442         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27443         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27444         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27445         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27446         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27447         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27448         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27449         * sysdeps/x86_64/strcspn.S: Likewise.
27451 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27453         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27454         generated file.  Regenerate properly from gen-translit.pl.
27455         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27456         locale/C-translit.h.
27458 2013-06-05  Andreas Schwab  <schwab@suse.de>
27460         [BZ #15100]
27461         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27462         week as 6 instead of -1.
27463         * time/tst-strptime.c (day_tests): Add test case.
27465 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27467         * sysdeps/generic/math_private.h
27468         (libc_feholdexcept_setround_53bit): Replace with
27469         libc_feholdsetround_53bit.
27470         (libc_feupdateenv_53bit): Replace with
27471         libc_feresetround_53bit.
27472         (SET_RESTORE_ROUND_53BIT): Adjust.
27474 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27476         * string/test-strchrnul.c: Add copyright header.
27478         * posix/tst-getaddrinfo4.c: Increase test timeout.
27480 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27482         [BZ #15536]
27483         * math/libm-test.inc (MAX_EXP): Remove
27484         (MIN_EXP): Define.
27485         (ulp): Use MIN_EXP - MANT_DIG.
27486         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27488 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27490         * po/be.po: Revert last change.
27491         * po/zh_CN.po: Likewise.
27492         * po/header.pot: Likewise.
27494 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27496         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27497         link-libc-deps to empty as target-specific variable.
27498         * Makerules (link-libc-args): New variable.
27499         (libc-for-link): Likewise.
27500         (link-libc-deps): Likewise.
27501         (lib%.so): Depend on $(link-libc-deps).  Link with
27502         $(link-libc-args).
27503         (build-module): Link with $(link-libc-args).
27504         (build-module-asneeded): Likewise.
27505         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27506         list of objects.
27507         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27508         target-specific variable.
27509         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27510         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27511         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27512         libc.
27513         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27514         libc and ld.so.
27515         ($(objpfx)libpcprofile.so): Likewise.
27516         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27517         libc_nonshared.a.
27518         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27519         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27520         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27521         $(link-libc-deps).
27522         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27523         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27524         * login/Makefile ($(objpfx)libutil.so): Likewise.
27525         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27526         * math/Makefile ($(objpfx)libm.so): Likewise.
27527         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27528         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27529         variable instead of depending directly on libc.
27530         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27531         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27532         $(link-libc-deps).
27533         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27534         libc.
27535         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27536         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27537         ($(objpfx)libanl.so): Likewise.
27538         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27539         ld.so.
27540         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27541         $(link-libc-deps).
27542         * sysdeps/i386/fpu/Makefile: Remove file.
27543         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27544         ($(objpfx)libm.so): Remove dependency on ld.so.
27546 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27548         [BZ # 15553]
27549         * nis/yp_xdr.c (XDRMAXNAME): Define.
27550         (XDRMAXRECORD): Define.
27551         (xdr_domainname): Use XDRMAXNAME.
27552         (xdr_mapname): Likewise.
27553         (xdr_peername): Likewise.
27554         (xdr_keydat): Use XDRMAXRECORD.
27555         (xdr_valdat): Likewise.
27557 2013-05-30  Jeff Law  <law@redhat.com>
27559         [BZ #14256]
27560         * manual/errno.texi (ESTALE): Update to account for more than
27561         just NFS file systems.
27562         * sysdeps/gnu/errlist.c: Regenerated.
27564 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27566         [BZ #15465]
27567         * elf/Makefile (tests): Add tst-null-argv.
27568         (modules-names):  Add tst-null-argv-lib.
27569         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27570         (tst-null-argv-ENV): Set environment for tst-null-argv.
27571         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27572         (RTLD_PROGNAME): New macro.
27573         * elf/tst-null-argv.c: New test case.
27574         * elf/tst-null-argv-lib.c: Library for test case.
27575         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27576         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27577         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27578         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27579         * elf/dl-init.c (call_init): Likewise.
27580         (_dl_init): Likewise.
27581         * elf/dl-load.c (print_search_path): Likewise.
27582         (_dl_map_object): Likewise.
27583         * elf/dl-lookup.c (do_lookup_x): Likewise.
27584         (add_dependency): Likewise.
27585         (_dl_lookup_symbol_x): Likewise.
27586         (_dl_debug_bindings): Likewise.
27587         * elf/dl-open.c (_dl_show_scope): Likewise.
27588         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27589         * elf/dl-version.c (match_symbol): Likewise.
27590         (_dl_check_map_versions): Likewise.
27591         * elf/rtld.c (dl_main): Likewise.
27592         (print_unresolved): Use RTLD_PROGNAME.
27593         (print_missing_version): Likewise.
27594         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27595         (elf_machine_rela): Likewise.
27596         * sysdeps/powerpc/powerpc32/dl-machine.c
27597         (__process_machine_rela): Likewise.
27598         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27599         Likewise.
27600         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27601         Likewise.
27602         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27603         Likewise.
27604         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27605         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27606         Likewise.
27607         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27608         Likewise.
27609         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27611 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27613         * po/be.po: Add descriptive title.
27614         * po/zh_CN.po: Likewise.
27615         * po/header.pot: Likewise.
27617 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27619         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27620         error message.
27621         (enlarge_archive): Likewise.
27623 2013-05-28  Ben North  <ben@redfrontdoor.org>
27625         * manual/arith.texi (frexp): It is the magnitude of the return
27626         value which lies in [0.5, 1), not the return value itself.
27628 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27634         * stdio-common/bug26.c (main): Correct fscanf template.
27636         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27637         declare _dl_skip_args.
27639         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27640         Don't declare.
27642         * manual/platform.texi: Add missing @end deftypefun.
27644 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27646         [BZ #15529]
27647         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27648         bit of mantissa of 2^16382.
27649         * math/libm-test.inc (hypot_test_data): Add more tests.
27651         * math/libm-test.inc: Add drem and pow10 to list of tested
27652         functions.
27653         (pow10_test): New function.
27654         (drem_test): Likewise.
27655         (drem_test_tonearest): Likewise.
27656         (drem_test_towardzero): Likewise.
27657         (drem_test_downward): Likewise.
27658         (drem_test_upward): Likewise.
27659         (main): Call the new functions.
27661         * math/libm-test.inc (finite_test_data): Remove.
27662         (finite_test): Run tests from isfinite_test_data.
27663         (gamma_test_data): Remove.
27664         (gamma_test): Run tests from lgamma_test_data.
27665         * sysdeps/i386/fpu/libm-test-ulps: Update.
27666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27668 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27670         * manual/platform.texi: Add PowerPC PPR function set documentation.
27671         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27672         implementation.
27674 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27676         * math/libm-test.inc (MAX_EXP): Define.
27677         (ULPDIFF): Define.
27678         (ulp): New function.
27679         (check_float_internal): Use ULPDIFF.
27680         (cpow_test): Disable failing test.
27681         (check_ulp): Test ulp() implemetnation.
27682         (main): Call check_ulp before starting tests.
27684 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27686         * math/gen-libm-test.pl (generate_testfile): Do not handle
27687         START_DATA and END_DATA.
27688         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27689         END_DATA.
27690         (acos_tonearest_test_data): Likewise.
27691         (acos_towardzero_test_data): Likewise.
27692         (acos_downward_test_data): Likewise.
27693         (acos_upward_test_data): Likewise.
27694         (acosh_test_data): Likewise.
27695         (asin_test_data): Likewise.
27696         (asin_tonearest_test_data): Likewise.
27697         (asin_towardzero_test_data): Likewise.
27698         (asin_downward_test_data): Likewise.
27699         (asin_upward_test_data): Likewise.
27700         (asinh_test_data): Likewise.
27701         (atan_test_data): Likewise.
27702         (atanh_test_data): Likewise.
27703         (atan2_test_data): Likewise.
27704         (cabs_test_data): Likewise.
27705         (cacos_test_data): Likewise.
27706         (cacosh_test_data): Likewise.
27707         (carg_test_data): Likewise.
27708         (casin_test_data): Likewise.
27709         (casinh_test_data): Likewise.
27710         (catan_test_data): Likewise.
27711         (catanh_test_data): Likewise.
27712         (cbrt_test_data): Likewise.
27713         (ccos_test_data): Likewise.
27714         (ccosh_test_data): Likewise.
27715         (ceil_test_data): Likewise.
27716         (cexp_test_data): Likewise.
27717         (cimag_test_data): Likewise.
27718         (clog_test_data): Likewise.
27719         (clog10_test_data): Likewise.
27720         (conj_test_data): Likewise.
27721         (copysign_test_data): Likewise.
27722         (cos_test_data): Likewise.
27723         (cos_tonearest_test_data): Likewise.
27724         (cos_towardzero_test_data): Likewise.
27725         (cos_downward_test_data): Likewise.
27726         (cos_upward_test_data): Likewise.
27727         (cosh_test_data): Likewise.
27728         (cosh_tonearest_test_data): Likewise.
27729         (cosh_towardzero_test_data): Likewise.
27730         (cosh_downward_test_data): Likewise.
27731         (cosh_upward_test_data): Likewise.
27732         (cpow_test_data): Likewise.
27733         (cproj_test_data): Likewise.
27734         (creal_test_data): Likewise.
27735         (csin_test_data): Likewise.
27736         (csinh_test_data): Likewise.
27737         (csqrt_test_data): Likewise.
27738         (ctan_test_data): Likewise.
27739         (ctan_tonearest_test_data): Likewise.
27740         (ctan_towardzero_test_data): Likewise.
27741         (ctan_downward_test_data): Likewise.
27742         (ctan_upward_test_data): Likewise.
27743         (ctanh_test_data): Likewise.
27744         (ctanh_tonearest_test_data): Likewise.
27745         (ctanh_towardzero_test_data): Likewise.
27746         (ctanh_downward_test_data): Likewise.
27747         (ctanh_upward_test_data): Likewise.
27748         (erf_test_data): Likewise.
27749         (erfc_test_data): Likewise.
27750         (exp_test_data): Likewise.
27751         (exp_tonearest_test_data): Likewise.
27752         (exp_towardzero_test_data): Likewise.
27753         (exp_downward_test_data): Likewise.
27754         (exp_upward_test_data): Likewise.
27755         (exp10_test_data): Likewise.
27756         (exp2_test_data): Likewise.
27757         (expm1_test_data): Likewise.
27758         (fabs_test_data): Likewise.
27759         (fdim_test_data): Likewise.
27760         (finite_test_data): Likewise.
27761         (floor_test_data): Likewise.
27762         (fma_test_data): Likewise.
27763         (fma_towardzero_test_data): Likewise.
27764         (fma_downward_test_data): Likewise.
27765         (fma_upward_test_data): Likewise.
27766         (fmax_test_data): Likewise.
27767         (fmin_test_data): Likewise.
27768         (fmod_test_data): Likewise.
27769         (fpclassify_test_data): Likewise.
27770         (frexp_test_data): Likewise.
27771         (gamma_test_data): Likewise.
27772         (hypot_test_data): Likewise.
27773         (ilogb_test_data): Likewise.
27774         (isfinite_test_data): Likewise.
27775         (isgreater_test_data): Likewise.
27776         (isgreaterequal_test_data): Likewise.
27777         (isinf_test_data): Likewise.
27778         (isless_test_data): Likewise.
27779         (islessequal_test_data): Likewise.
27780         (islessgreater_test_data): Likewise.
27781         (isnan_test_data): Likewise.
27782         (isnormal_test_data): Likewise.
27783         (issignaling_test_data): Likewise.
27784         (isunordered_test_data): Likewise.
27785         (j0_test_data): Likewise.
27786         (j1_test_data): Likewise.
27787         (jn_test_data): Likewise.
27788         (ldexp_test_data): Likewise.
27789         (lgamma_test_data): Likewise.
27790         (lrint_test_data): Likewise.
27791         (lrint_tonearest_test_data): Likewise.
27792         (lrint_towardzero_test_data): Likewise.
27793         (lrint_downward_test_data): Likewise.
27794         (lrint_upward_test_data): Likewise.
27795         (llrint_test_data): Likewise.
27796         (llrint_tonearest_test_data): Likewise.
27797         (llrint_towardzero_test_data): Likewise.
27798         (llrint_downward_test_data): Likewise.
27799         (llrint_upward_test_data): Likewise.
27800         (log_test_data): Likewise.
27801         (log10_test_data): Likewise.
27802         (log1p_test_data): Likewise.
27803         (log2_test_data): Likewise.
27804         (logb_test_data): Likewise.
27805         (logb_downward_test_data): Likewise.
27806         (lround_test_data): Likewise.
27807         (llround_test_data): Likewise.
27808         (modf_test_data): Likewise.
27809         (nearbyint_test_data): Likewise.
27810         (nextafter_test_data): Likewise.
27811         (nexttoward_test_data): Likewise.
27812         (pow_test_data): Likewise.
27813         (pow_tonearest_test_data): Likewise.
27814         (pow_towardzero_test_data): Likewise.
27815         (pow_downward_test_data): Likewise.
27816         (pow_upward_test_data): Likewise.
27817         (remainder_test_data): Likewise.
27818         (remainder_tonearest_test_data): Likewise.
27819         (remainder_towardzero_test_data): Likewise.
27820         (remainder_downward_test_data): Likewise.
27821         (remainder_upward_test_data): Likewise.
27822         (remquo_test_data): Likewise.
27823         (rint_test_data): Likewise.
27824         (rint_tonearest_test_data): Likewise.
27825         (rint_towardzero_test_data): Likewise.
27826         (rint_downward_test_data): Likewise.
27827         (rint_upward_test_data): Likewise.
27828         (round_test_data): Likewise.
27829         (scalb_test_data): Likewise.
27830         (scalbn_test_data): Likewise.
27831         (scalbln_test_data): Likewise.
27832         (signbit_test_data): Likewise.
27833         (sin_test_data): Likewise.
27834         (sin_tonearest_test_data): Likewise.
27835         (sin_towardzero_test_data): Likewise.
27836         (sin_downward_test_data): Likewise.
27837         (sin_upward_test_data): Likewise.
27838         (sincos_test_data): Likewise.
27839         (sinh_test_data): Likewise.
27840         (sinh_tonearest_test_data): Likewise.
27841         (sinh_towardzero_test_data): Likewise.
27842         (sinh_downward_test_data): Likewise.
27843         (sinh_upward_test_data): Likewise.
27844         (sqrt_test_data): Likewise.
27845         (tan_test_data): Likewise.
27846         (tan_tonearest_test_data): Likewise.
27847         (tan_towardzero_test_data): Likewise.
27848         (tan_downward_test_data): Likewise.
27849         (tan_upward_test_data): Likewise.
27850         (tanh_test_data): Likewise.
27851         (tgamma_test_data): Likewise.
27852         (trunc_test_data): Likewise.
27853         (y0_test_data): Likewise.
27854         (y1_test_data): Likewise.
27855         (yn_test_data): Likewise.
27856         (significand_test_data): Likewise.
27858         * math/gen-libm-test.pl (@functions): Remove variable.
27859         (generate_testfile): Don't handle START and END lines.
27860         * math/libm-test.inc (START): New macro.
27861         (END): Likewise.
27862         (END_COMPLEX): Likewise.
27863         (acos_test): Use END macro without arguments.
27864         (acos_test_tonearest): Likewise.
27865         (acos_test_towardzero): Likewise.
27866         (acos_test_downward): Likewise.
27867         (acos_test_upward): Likewise.
27868         (acosh_test): Likewise.
27869         (asin_test): Likewise.
27870         (asin_test_tonearest): Likewise.
27871         (asin_test_towardzero): Likewise.
27872         (asin_test_downward): Likewise.
27873         (asin_test_upward): Likewise.
27874         (asinh_test): Likewise.
27875         (atan_test): Likewise.
27876         (atanh_test): Likewise.
27877         (atan2_test): Likewise.
27878         (cabs_test): Likewise.
27879         (cacos_test): Use END_COMPLEX macro without arguments.
27880         (cacosh_test): Likewise.
27881         (carg_test): Use END macro without arguments.
27882         (casin_test): Use END_COMPLEX macro without arguments.
27883         (casinh_test): Likewise.
27884         (catan_test): Likewise.
27885         (catanh_test): Likewise.
27886         (cbrt_test): Use END macro without arguments.
27887         (ccos_test): Use END_COMPLEX macro without arguments.
27888         (ccosh_test): Likewise.
27889         (ceil_test): Use END macro without arguments.
27890         (cexp_test): Use END_COMPLEX macro without arguments.
27891         (cimag_test): Use END macro without arguments.
27892         (clog_test): Use END_COMPLEX macro without arguments.
27893         (clog10_test): Likewise.
27894         (conj_test): Likewise.
27895         (copysign_test): Use END macro without arguments.
27896         (cos_test): Likewise.
27897         (cos_test_tonearest): Likewise.
27898         (cos_test_towardzero): Likewise.
27899         (cos_test_downward): Likewise.
27900         (cos_test_upward): Likewise.
27901         (cosh_test): Likewise.
27902         (cosh_test_tonearest): Likewise.
27903         (cosh_test_towardzero): Likewise.
27904         (cosh_test_downward): Likewise.
27905         (cosh_test_upward): Likewise.
27906         (cpow_test): Use END_COMPLEX macro without arguments.
27907         (cproj_test): Likewise.
27908         (creal_test): Use END macro without arguments.
27909         (csin_test): Use END_COMPLEX macro without arguments.
27910         (csinh_test): Likewise.
27911         (csqrt_test): Likewise.
27912         (ctan_test): Likewise.
27913         (ctan_test_tonearest): Likewise.
27914         (ctan_test_towardzero): Likewise.
27915         (ctan_test_downward): Likewise.
27916         (ctan_test_upward): Likewise.
27917         (ctanh_test): Likewise.
27918         (ctanh_test_tonearest): Likewise.
27919         (ctanh_test_towardzero): Likewise.
27920         (ctanh_test_downward): Likewise.
27921         (ctanh_test_upward): Likewise.
27922         (erf_test): Use END macro without arguments.
27923         (erfc_test): Likewise.
27924         (exp_test): Likewise.
27925         (exp_test_tonearest): Likewise.
27926         (exp_test_towardzero): Likewise.
27927         (exp_test_downward): Likewise.
27928         (exp_test_upward): Likewise.
27929         (exp10_test): Likewise.
27930         (exp2_test): Likewise.
27931         (expm1_test): Likewise.
27932         (fabs_test): Likewise.
27933         (fdim_test): Likewise.
27934         (finite_test): Likewise.
27935         (floor_test): Likewise.
27936         (fma_test): Likewise.
27937         (fma_test_towardzero): Likewise.
27938         (fma_test_downward): Likewise.
27939         (fma_test_upward): Likewise.
27940         (fmax_test): Likewise.
27941         (fmin_test): Likewise.
27942         (fmod_test): Likewise.
27943         (fpclassify_test): Likewise.
27944         (frexp_test): Likewise.
27945         (gamma_test): Likewise.
27946         (hypot_test): Likewise.
27947         (ilogb_test): Likewise.
27948         (isfinite_test): Likewise.
27949         (isgreater_test): Likewise.
27950         (isgreaterequal_test): Likewise.
27951         (isinf_test): Likewise.
27952         (isless_test): Likewise.
27953         (islessequal_test): Likewise.
27954         (islessgreater_test): Likewise.
27955         (isnan_test): Likewise.
27956         (isnormal_test): Likewise.
27957         (issignaling_test): Likewise.
27958         (isunordered_test): Likewise.
27959         (j0_test): Likewise.
27960         (j1_test): Likewise.
27961         (jn_test): Likewise.
27962         (ldexp_test): Likewise.
27963         (lgamma_test): Likewise.
27964         (lrint_test): Likewise.
27965         (lrint_test_tonearest): Likewise.
27966         (lrint_test_towardzero): Likewise.
27967         (lrint_test_downward): Likewise.
27968         (lrint_test_upward): Likewise.
27969         (llrint_test): Likewise.
27970         (llrint_test_tonearest): Likewise.
27971         (llrint_test_towardzero): Likewise.
27972         (llrint_test_downward): Likewise.
27973         (llrint_test_upward): Likewise.
27974         (log_test): Likewise.
27975         (log10_test): Likewise.
27976         (log1p_test): Likewise.
27977         (log2_test): Likewise.
27978         (logb_test): Likewise.
27979         (logb_test_downward): Likewise.
27980         (lround_test): Likewise.
27981         (llround_test): Likewise.
27982         (modf_test): Likewise.
27983         (nearbyint_test): Likewise.
27984         (nextafter_test): Likewise.
27985         (nexttoward_test): Likewise.
27986         (pow_test): Likewise.
27987         (pow_test_tonearest): Likewise.
27988         (pow_test_towardzero): Likewise.
27989         (pow_test_downward): Likewise.
27990         (pow_test_upward): Likewise.
27991         (remainder_test): Likewise.
27992         (remainder_test_tonearest): Likewise.
27993         (remainder_test_towardzero): Likewise.
27994         (remainder_test_downward): Likewise.
27995         (remainder_test_upward): Likewise.
27996         (remquo_test): Likewise.
27997         (rint_test): Likewise.
27998         (rint_test_tonearest): Likewise.
27999         (rint_test_towardzero): Likewise.
28000         (rint_test_downward): Likewise.
28001         (rint_test_upward): Likewise.
28002         (round_test): Likewise.
28003         (scalb_test): Likewise.
28004         (scalbn_test): Likewise.
28005         (scalbln_test): Likewise.
28006         (signbit_test): Likewise.
28007         (sin_test): Likewise.
28008         (sin_test_tonearest): Likewise.
28009         (sin_test_towardzero): Likewise.
28010         (sin_test_downward): Likewise.
28011         (sin_test_upward): Likewise.
28012         (sincos_test): Likewise.
28013         (sinh_test): Likewise.
28014         (sinh_test_tonearest): Likewise.
28015         (sinh_test_towardzero): Likewise.
28016         (sinh_test_downward): Likewise.
28017         (sinh_test_upward): Likewise.
28018         (sqrt_test): Likewise.
28019         (tan_test): Likewise.
28020         (tan_test_tonearest): Likewise.
28021         (tan_test_towardzero): Likewise.
28022         (tan_test_downward): Likewise.
28023         (tan_test_upward): Likewise.
28024         (tanh_test): Likewise.
28025         (tgamma_test): Likewise.
28026         (trunc_test): Likewise.
28027         (y0_test): Likewise.
28028         (y1_test): Likewise.
28029         (yn_test): Likewise.
28030         (significand_test): Likewise.
28032 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28034         [BZ #15381]
28035         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28037 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28039         [BZ #14894]
28040         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28041         __ppc_mdoio and __ppc_mdoom.
28042         * manual/platform.texi: Document new functions __ppc_yield,
28043         __ppc_mdoio and __ppc_mdoom.
28045 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28047         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28048         (main): Mention "tls" pseudo-hwcap is legacy.
28049         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28051 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28053         * math/gen-libm-test.pl (parse_args): Output only string of
28054         arguments as text for test name, not full call or descriptions of
28055         tests for extra outputs.
28056         (generate_testfile): Do not pass function name to parse_args.
28057         Generate this_func variable from START.
28058         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28059         field to arg_str.
28060         (struct test_ff_f_data): Likewise.
28061         (test_ff_f_data_nexttoward): Likewise.
28062         (struct test_fi_f_data): Likewise.
28063         (struct test_fl_f_data): Likewise.
28064         (struct test_if_f_data): Likewise.
28065         (struct test_fff_f_data): Likewise.
28066         (struct test_c_f_data): Likewise.
28067         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28068         (struct test_fF_f1_data): Likewise.
28069         (struct test_ffI_f1_data): Likewise.
28070         (struct test_c_c_data): Rename test_name field to arg_str.
28071         (struct test_cc_c_data): Likewise.
28072         (struct test_f_i_data): Likewise.
28073         (struct test_ff_i_data): Likewise.
28074         (struct test_f_l_data): Likewise.
28075         (struct test_f_L_data): Likewise.
28076         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28077         and extra2_name.
28078         (COMMON_TEST_SETUP): New macro.
28079         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28080         (COMMON_TEST_CLEANUP): Likewise.
28081         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28082         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28083         macros.
28084         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28085         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28086         macros.
28087         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28088         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28089         cleanup macros.
28090         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28091         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28092         macros.
28093         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28094         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28095         macros.
28096         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28097         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28098         cleanup macros.
28099         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28100         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28101         cleanup macros.
28102         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28103         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28104         cleanup macros.
28105         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28106         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28107         macros.
28108         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28109         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28110         macros.
28111         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28112         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28113         macros.
28114         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28115         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28116         cleanup macros.
28117         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28118         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28119         cleanup macros.
28120         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28121         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28122         macros.
28123         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28124         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28125         cleanup macros.
28126         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28127         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28128         macros.
28129         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28130         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28131         macros.
28132         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28133         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28134         cleanup macros.
28135         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28137 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28139         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28140         to _sifields.sigfault.
28141         (si_addr_lsb): Define new macro.
28142         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28143         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28144         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28146 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28148         [BZ #15441]
28149         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28150         returns -1.
28151         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28152         null return -1.
28153         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28154         loading the domain.
28156 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28158         * math/gen-libm-test.pl (parse_args): Do not include expected
28159         result in test name.
28160         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28161         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28162         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28163         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28164         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28167 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169         * benchtests/Makefile: Sort function entries.
28171         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28172         tanh, asinh, acosh, atanh.
28173         * benchtests/acos-inputs: New file.
28174         * benchtests/acosh-inputs: New file.
28175         * benchtests/asin-inputs: New file.
28176         * benchtests/asinh-inputs: New file.
28177         * benchtests/atanh-inputs: New file.
28178         * benchtests/cosh-inputs: New file.
28179         * benchtests/log-inputs: New file.
28180         * benchtests/sinh-inputs: New file.
28181         * benchtests/tanh-inputs: New file.
28183 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28185         [BZ #15339]
28186         * posix/tst-getaddrinfo4.c: New test.
28187         * posix/Makefile (tests): Add it.
28189 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28191         [BZ #15339]
28192         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28193         when no services were used.
28194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28195         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28197 2013-05-21  Andreas Schwab  <schwab@suse.de>
28199         [BZ #15014]
28200         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28201         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28202         successful.
28203         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28204         redundant variable declarations and reallocation of buffer when
28205         parsing as IPv6 address.  Always set NSS status when called from
28206         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28207         buffer too small.  Correct computation of needed size.
28208         * nss/Makefile (tests): Add test-digits-dots.
28209         * nss/test-digits-dots.c: New test.
28211 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28213         * benchtests/Makefile: Remove instructions for adding
28214         benchmark tests.
28215         * benchtests/README: New file to explain how to execute and
28216         enhance the benchmark tests.
28218 2013-05-21  Andreas Schwab  <schwab@suse.de>
28220         [BZ #15493]
28221         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28222         * setjmp/tst-sigsetjmp.c: New test.
28224 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28226         * sysdeps/x86_64/memset.S (memset): New implementation.
28227         (__bzero): Likewise.
28228         (__memset_tail): New function.
28230 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28232         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28233         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28234         __memcpy_sse2_unaligned ifunc selection.
28235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28236         Add memcpy-sse2-unaligned.S.
28237         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28238         Add: __memcpy_sse2_unaligned.
28240 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28242         [BZ #15490]
28243         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28244         math_force_eval before restoring floating-point envrionment.
28245         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28246         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28247         Likewise.
28248         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28249         <math_private.h>.
28250         (__nearbyintl): Use math_force_eval before restoring
28251         floating-point environment.
28252         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28254         * math/gen-libm-test.pl (special_functions): Remove.
28255         (parse_args): Don't handle TEST_extra.  Handle functions with no
28256         return value.
28257         * math/libm-test.inc (struct test_sincos_data): Replace with
28258         struct test_fFF_11_data.
28259         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28260         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28261         (sincos_test_data): Change element type to struct
28262         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28263         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28264         RUN_TEST_LOOP_sincos.
28265         * math/README.libm-test: Don't mention special handling of
28266         individual functions.
28267         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28268         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28269         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28270         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28271         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28274         * math/gen-libm-test.pl (get_variable): Remove function.
28275         (parse_args): Don't show pointer parameters to call in test
28276         names.  Use "extra output N" in test names for extra outputs
28277         rather than naming variables.
28279 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28281         [BZ #15488]
28282         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28283         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28284         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28285         double tests.
28286         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28287         disable.
28288         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28289         check_long_double.
28291         * math/gen-libm-test.pl (@tests): Remove variable.
28292         ($count): Likewise.
28293         (new_test): Remove function.
28294         (show_exceptions): New function.
28295         (special_functions): Use show_exceptions instead of new_test.
28296         (parse_args): Likewise.
28297         (generate_testfile): Pass only function name in generated call to
28298         print_max_error or print_complex_max_error.
28299         (get_ulps): Do not handle complex tests specially.
28300         (output_test): Rename to ...
28301         (get_all_ulps_for_test): ... this.  Return a string rather than
28302         printing to a file.  Require ulps to be present.
28303         (output_ulps): Generate arrays rather than #defines.
28304         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28305         (struct ulp_data): New type.
28306         (BUILD_COMPLEX_ULP): Remove macro.
28307         (compare_ulp_data): New function.
28308         (find_ulps): Likewise.
28309         (find_test_ulps): Likewise.
28310         (find_function_ulps): Likewise.
28311         (find_complex_function_ulps): Likewise.
28312         (print_max_error): Determine allowed ulps using
28313         find_function_ulps.
28314         (print_complex_max_error): Determine allowed ulps using
28315         find_complex_function_ulps.
28316         (check_float_internal): Determine max ulps using find_test_ulps.
28317         (check_float): Do not take max_ulp parameter.  Update call to
28318         check_float_internal.
28319         (check_complex): Likewise.
28320         (check_int): Do not take max_ulp parameter.
28321         (check_long): Likewise.
28322         (check_bool): Likewise.
28323         (check_longlong): Likewise.
28324         (struct test_f_f_data): Remove max_ulp field.
28325         (struct test_ff_f_data): Likewise.
28326         (struct test_ff_f_data_nexttoward): Likewise.
28327         (struct test_fi_f_data): Likewise.
28328         (struct test_fl_f_data): Likewise.
28329         (struct test_if_f_data): Likewise.
28330         (struct test_fff_f_data): Likewise.
28331         (struct test_c_f_data): Likewise.
28332         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28333         (struct test_fF_f1_data): Likewise.
28334         (struct test_ffI_f1_data): Likewise.
28335         (struct test_c_c_data): Remove max_ulp field.
28336         (struct test_cc_c_data): Likewise.
28337         (struct test_f_i_data): Likewise.
28338         (struct test_ff_i_data): Likewise.
28339         (struct test_f_l_data): Likewise.
28340         (struct test_f_L_data): Likewise.
28341         (struct test_sincos_data): Likewise.
28342         (RUN_TEST_f_f): Do not handle ulps.
28343         (RUN_TEST_LOOP_f_f): Likewise.
28344         (RUN_TEST_2_f): Likewise.
28345         (RUN_TEST_LOOP_2_f): Likewise.
28346         (RUN_TEST_fff_f): Likewise.
28347         (RUN_TEST_LOOP_fff_f): Likewise.
28348         (RUN_TEST_c_f): Likewise.
28349         (RUN_TEST_LOOP_c_f): Likewise.
28350         (RUN_TEST_f_f1): Likewise.
28351         (RUN_TEST_LOOP_f_f1): Likewise.
28352         (RUN_TEST_fF_f1): Likewise.
28353         (RUN_TEST_LOOP_fF_f1): Likewise.
28354         (RUN_TEST_fI_f1): Likewise.
28355         (RUN_TEST_LOOP_fI_f1): Likewise.
28356         (RUN_TEST_ffI_f1): Likewise.
28357         (RUN_TEST_LOOP_ffI_f1): Likewise.
28358         (RUN_TEST_c_c): Likewise.
28359         (RUN_TEST_LOOP_c_c): Likewise.
28360         (RUN_TEST_cc_c): Likewise.
28361         (RUN_TEST_LOOP_cc_c): Likewise.
28362         (RUN_TEST_f_i): Likewise.
28363         (RUN_TEST_LOOP_f_i): Likewise.
28364         (RUN_TEST_f_i_tg): Likewise.
28365         (RUN_TEST_LOOP_f_i_tg): Likewise.
28366         (RUN_TEST_ff_i_tg): Likewise.
28367         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28368         (RUN_TEST_f_b): Likewise.
28369         (RUN_TEST_LOOP_f_b): Likewise.
28370         (RUN_TEST_f_b_tg): Likewise.
28371         (RUN_TEST_LOOP_f_b_tg): Likewise.
28372         (RUN_TEST_f_l): Likewise.
28373         (RUN_TEST_LOOP_f_l): Likewise.
28374         (RUN_TEST_f_L): Likewise.
28375         (RUN_TEST_LOOP_f_L): Likewise.
28376         (RUN_TEST_sincos): Likewise.
28377         (RUN_TEST_LOOP_sincos): Likewise.
28379 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28381         [BZ #15480]
28382         [BZ #15485]
28383         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28384         main case of finite arguments, set rounding mode to FE_TONEAREST
28385         and discard exceptions.
28386         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28387         exceptions.
28388         (remainder_tonearest_test_data): New variable.
28389         (remainder_test_tonearest): New function.
28390         (remainder_towardzero_test_data): New variable.
28391         (remainder_test_towardzero): New function.
28392         (remainder_downward_test_data): New variable.
28393         (remainder_test_downward): New function.
28394         (remainder_upward_test_data): New variable.
28395         (remainder_test_upward): New function.
28396         (main): Call the new test functions.
28398         * math/libm-test.inc (struct test_f_f1_data): Remove field
28399         extra_init.
28400         (struct test_fF_f1_data): Likewise.
28401         (struct test_ffI_f1_data): Likewise.
28402         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28403         based on value of EXTRA_EXPECTED.
28404         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28405         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28406         EXTRA_VAR based on value of EXTRA_EXPECTED.
28407         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28408         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28409         EXTRA_VAR based on value of EXTRA_EXPECTED.
28410         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28411         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28412         EXTRA_VAR based on value of EXTRA_EXPECTED.
28413         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28414         * math/gen-libm-test.pl (parse_args): Don't output initializers
28415         for extra output values.
28417         * math/libm-test.inc (check_int): Expect result to be exactly
28418         equal to expected value and do not handle ulps.
28419         (check_long): Likewise.
28420         (check_longlong): Likewise.
28422         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28423         exceptions.
28424         (cimag_test_data): Likewise.
28425         (conj_test_data): Likewise.
28426         (copysign_test_data): Likewise.
28427         (cproj_test_data): Likewise.
28428         (creal_test_data): Likewise.
28429         (fabs_test_data): Likewise.
28430         (fdim_test_data): Likewise.
28431         (finite_test_data): Likewise.
28432         (floor_test_data): Likewise.
28433         (fmax_test_data): Likewise.
28434         (fmin_test_data): Likewise.
28435         (fmod_test_data): Likewise.
28436         (fpclassify_test_data): Likewise.
28437         (frexp_test_data): Likewise.
28438         (ilogb_test_data): Likewise.
28439         (isfinite_test_data): Likewise.
28440         (isgreater_test_data): Likewise.
28441         (isgreaterequal_test_data): Likewise.
28442         (isinf_test_data): Likewise.
28443         (isless_test_data): Likewise.
28444         (islessequal_test_data): Likewise.
28445         (islessgreater_test_data): Likewise.
28446         (isnan_test_data): Likewise.
28447         (isnormal_test_data): Likewise.
28448         (issignaling_test_data): Likewise.
28449         (isunordered_test_data): Likewise.
28450         (ldexp_test_data): Likewise.
28451         (lrint_test_data): Likewise.
28452         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28453         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28454         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28455         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28456         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28457         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28458         test input.
28459         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28460         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28461         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28462         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28463         that test input.
28464         (lrint_downward_test_data): Test for "inexact" exceptions.
28465         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28466         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28467         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28468         test input.
28469         (lrint_upward_test_data): Test for "inexact" exceptions.
28470         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28471         test input.
28472         (llrint_test_data): Test for "inexact" exceptions.
28473         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28474         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28475         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28476         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28477         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28478         (llrint_downward_test_data): Test for "inexact" exceptions.
28479         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28480         (llrint_upward_test_data): Test for "inexact" exceptions.
28481         (logb_test_data): Likewise.
28482         (logb_downward_test_data): Likewise.
28483         (nextafter_test_data): Likewise.
28484         (nexttoward_test_data): Likewise.
28485         (remainder_test_data): Likewise.
28486         (remquo_test_data): Likewise.
28487         (scalbn_test_data): Likewise.
28488         (scalbln_test_data): Likewise.
28489         (signbit_test_data): Likewise.
28490         (sqrt_test_data): Likewise.
28491         (significand_test_data): Likewise.
28493 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28495         [BZ #15424]
28496         * benchtests/bench-modf.c (struct args): Mark arg0 as
28497         volatile.
28498         * scripts/bench.pl: Mark members of struct args as volatile.
28500 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28502         [BZ # 15497]
28503         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28504         negative infinity on POWER6 or lower.
28505         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28507 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28509         [BZ #15442]
28510         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28511         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28512         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28513         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28514         (_FP_SETQNAN): New macro.
28515         (_FP_SETQNAN_SEMIRAW): Likewise.
28516         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28517         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28518         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28519         (FP_EXTEND): Use _FP_FRAC_SNANP.
28520         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28521         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28522         into account.
28523         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28524         New macro.
28525         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28526         Likewise.
28528 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28530         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28531         with DIVIDE_BY_ZERO_EXCEPTION.
28532         (gamma_test_data): Likewise.
28533         (lgamma_test_data): Likewise.
28534         (log_test_data): Likewise.
28535         (log10_test_data): Likewise.
28536         (log2_test_data): Likewise.
28537         (tgamma_test_data): Likewise.
28539         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28540         (acos_test_tonearest): Likewise.
28541         (acos_test_towardzero): Likewise.
28542         (acos_test_downward): Likewise.
28543         (acos_test_upward): Likewise.
28544         (acosh_test): Likewise.
28545         (asin_test): Likewise.
28546         (asin_test_tonearest): Likewise.
28547         (asin_test_towardzero): Likewise.
28548         (asin_test_downward): Likewise.
28549         (asin_test_upward): Likewise.
28550         (asinh_test): Likewise.
28551         (atan_test): Likewise.
28552         (atanh_test): Likewise.
28553         (atan2_test): Likewise.
28554         (cabs_test): Likewise.
28555         (cacos_test): Likewise.
28556         (cacosh_test): Likewise.
28557         (casin_test): Likewise.
28558         (casinh_test): Likewise.
28559         (catan_test): Likewise.
28560         (catanh_test): Likewise.
28561         (cbrt_test): Likewise.
28562         (ccos_test): Likewise.
28563         (ccosh_test): Likewise.
28564         (cexp_test): Likewise.
28565         (clog_test): Likewise.
28566         (clog10_test): Likewise.
28567         (cos_test): Likewise.
28568         (cos_test_tonearest): Likewise.
28569         (cos_test_towardzero): Likewise.
28570         (cos_test_downward): Likewise.
28571         (cos_test_upward): Likewise.
28572         (cosh_test): Likewise.
28573         (cosh_test_tonearest): Likewise.
28574         (cosh_test_towardzero): Likewise.
28575         (cosh_test_downward): Likewise.
28576         (cosh_test_upward): Likewise.
28577         (cpow_test): Likewise.
28578         (csin_test): Likewise.
28579         (csinh_test): Likewise.
28580         (csqrt_test): Likewise.
28581         (ctan_test): Likewise.
28582         (ctan_test_tonearest): Likewise.
28583         (ctan_test_towardzero): Likewise.
28584         (ctan_test_downward): Likewise.
28585         (ctan_test_upward): Likewise.
28586         (ctanh_test): Likewise.
28587         (ctanh_test_tonearest): Likewise.
28588         (ctanh_test_towardzero): Likewise.
28589         (ctanh_test_downward): Likewise.
28590         (ctanh_test_upward): Likewise.
28591         (erf_test): Likewise.
28592         (erfc_test): Likewise.
28593         (exp_test): Likewise.
28594         (exp_test_tonearest): Likewise.
28595         (exp_test_towardzero): Likewise.
28596         (exp_test_downward): Likewise.
28597         (exp_test_upward): Likewise.
28598         (exp10_test): Likewise.
28599         (exp2_test): Likewise.
28600         (expm1_test): Likewise.
28601         (fmod_test): Likewise.
28602         (gamma_test): Likewise.
28603         (hypot_test): Likewise.
28604         (j0_test): Likewise.
28605         (j1_test): Likewise.
28606         (jn_test): Likewise.
28607         (lgamma_test): Likewise.
28608         (log_test): Likewise.
28609         (log10_test): Likewise.
28610         (log1p_test): Likewise.
28611         (log2_test): Likewise.
28612         (logb_test_downward): Likewise.
28613         (pow_test): Likewise.
28614         (pow_test_tonearest): Likewise.
28615         (pow_test_towardzero): Likewise.
28616         (pow_test_downward): Likewise.
28617         (pow_test_upward): Likewise.
28618         (remainder_test): Likewise.
28619         (remquo_test): Likewise.
28620         (sin_test): Likewise.
28621         (sin_test_tonearest): Likewise.
28622         (sin_test_towardzero): Likewise.
28623         (sin_test_downward): Likewise.
28624         (sin_test_upward): Likewise.
28625         (sincos_test): Likewise.
28626         (sinh_test): Likewise.
28627         (sinh_test_tonearest): Likewise.
28628         (sinh_test_towardzero): Likewise.
28629         (sinh_test_downward): Likewise.
28630         (sinh_test_upward): Likewise.
28631         (sqrt_test): Likewise.
28632         (tan_test): Likewise.
28633         (tan_test_tonearest): Likewise.
28634         (tan_test_towardzero): Likewise.
28635         (tan_test_downward): Likewise.
28636         (tan_test_upward): Likewise.
28637         (tanh_test): Likewise.
28638         (tgamma_test): Likewise.
28639         (y0_test): Likewise.
28640         (y1_test): Likewise.
28641         (yn_test): Likewise.
28643         * math/gen-libm-test.pl (adjust_arg): Remove function.
28644         (special_function): Remove argument $in_func.  Only handle
28645         generating output for tables of tests, not inside functions.
28646         (parse_args): Likewise.
28647         (generate_testfile): Remove variable $in_func.  Update call to
28648         parse_args.
28649         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28650         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28651         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28652         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28653         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28654         (MAX_VALUE_INIT): Rename macro to max_value.
28655         (MIN_VALUE_INIT): Rename macro to min_value.
28656         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28657         (plus_zero): Remove variable.
28658         (minus_zero): Likewise.
28659         (plus_infty): Likewise.
28660         (minus_infty): Likewise.
28661         (qnan_value): Likewise.
28662         (max_value): Likewise.
28663         (min_value): Likewise.
28664         (min_subnorm_value): Likewise.
28666 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28668         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28669         uint64_t or uint32_t usage.
28670         * crypt/sha256-block.c: Likewise.
28671         * crypt/sha256-crypt.c: Likewise.
28672         * crypt/sha256.c: Likewise.
28673         * crypt/sha512-block.c: Likewise.
28674         * crypt/sha512-crypt.c: Likewise.
28675         * crypt/sha512.c: Likewise.
28676         * debug/backtrace-tst.c: Likewise.
28677         * debug/pcprofiledump.c: Likewise.
28678         * elf/cache.c: Likewise.
28679         * elf/dl-cache.c: Likewise.
28680         * elf/dl-misc.c: Likewise.
28681         * elf/dl-profile.c: Likewise.
28682         * elf/dl-support.c: Likewise.
28683         * elf/ldconfig.c: Likewise.
28684         * elf/sprof.c: Likewise.
28685         * iconv/dummy-repertoire.c: Likewise.
28686         * iconv/iconv_charmap.c: Likewise.
28687         * iconv/skeleton.c: Likewise.
28688         * iconvdata/8bit-generic.c: Likewise.
28689         * iconvdata/cp737.h: Likewise.
28690         * iconvdata/cp775.h: Likewise.
28691         * iconvdata/ibm1008.h: Likewise.
28692         * iconvdata/ibm1025.h: Likewise.
28693         * iconvdata/ibm1046.h: Likewise.
28694         * iconvdata/ibm1097.h: Likewise.
28695         * iconvdata/ibm1112.h: Likewise.
28696         * iconvdata/ibm1122.h: Likewise.
28697         * iconvdata/ibm1123.h: Likewise.
28698         * iconvdata/ibm1124.h: Likewise.
28699         * iconvdata/ibm1129.h: Likewise.
28700         * iconvdata/ibm1130.h: Likewise.
28701         * iconvdata/ibm1132.h: Likewise.
28702         * iconvdata/ibm1133.h: Likewise.
28703         * iconvdata/ibm1137.h: Likewise.
28704         * iconvdata/ibm1140.h: Likewise.
28705         * iconvdata/ibm1141.h: Likewise.
28706         * iconvdata/ibm1142.h: Likewise.
28707         * iconvdata/ibm1143.h: Likewise.
28708         * iconvdata/ibm1144.h: Likewise.
28709         * iconvdata/ibm1145.h: Likewise.
28710         * iconvdata/ibm1146.h: Likewise.
28711         * iconvdata/ibm1147.h: Likewise.
28712         * iconvdata/ibm1148.h: Likewise.
28713         * iconvdata/ibm1149.h: Likewise.
28714         * iconvdata/ibm1153.h: Likewise.
28715         * iconvdata/ibm1154.h: Likewise.
28716         * iconvdata/ibm1155.h: Likewise.
28717         * iconvdata/ibm1156.h: Likewise.
28718         * iconvdata/ibm1157.h: Likewise.
28719         * iconvdata/ibm1158.h: Likewise.
28720         * iconvdata/ibm1160.h: Likewise.
28721         * iconvdata/ibm1161.h: Likewise.
28722         * iconvdata/ibm1162.h: Likewise.
28723         * iconvdata/ibm1163.h: Likewise.
28724         * iconvdata/ibm1164.h: Likewise.
28725         * iconvdata/ibm1166.h: Likewise.
28726         * iconvdata/ibm1167.h: Likewise.
28727         * iconvdata/ibm12712.h: Likewise.
28728         * iconvdata/ibm1390.h: Likewise.
28729         * iconvdata/ibm1399.h: Likewise.
28730         * iconvdata/ibm16804.h: Likewise.
28731         * iconvdata/ibm4517.h: Likewise.
28732         * iconvdata/ibm4899.h: Likewise.
28733         * iconvdata/ibm4909.h: Likewise.
28734         * iconvdata/ibm4971.h: Likewise.
28735         * iconvdata/ibm5347.h: Likewise.
28736         * iconvdata/ibm803.h: Likewise.
28737         * iconvdata/ibm856.h: Likewise.
28738         * iconvdata/ibm901.h: Likewise.
28739         * iconvdata/ibm902.h: Likewise.
28740         * iconvdata/ibm9030.h: Likewise.
28741         * iconvdata/ibm9066.h: Likewise.
28742         * iconvdata/ibm921.h: Likewise.
28743         * iconvdata/ibm922.h: Likewise.
28744         * iconvdata/ibm9448.h: Likewise.
28745         * iconvdata/isiri-3342.h: Likewise.
28746         * iconvdata/jis0201.h: Likewise.
28747         * include/link.h: Likewise.
28748         * include/netdb.h: Likewise.
28749         * inet/check_native.c: Likewise.
28750         * inet/check_pf.c: Likewise.
28751         * inet/getipv4sourcefilter.c: Likewise.
28752         * inet/getnameinfo.c: Likewise.
28753         * inet/getsourcefilter.c: Likewise.
28754         * inet/htonl.c: Likewise.
28755         * inet/setipv4sourcefilter.c: Likewise.
28756         * inet/setsourcefilter.c: Likewise.
28757         * inet/test-inet6_opt.c: Likewise.
28758         * inet/tst-network.c: Likewise.
28759         * locale/C-collate.c: Likewise.
28760         * locale/C-ctype.c: Likewise.
28761         * locale/C-time.c: Likewise.
28762         * locale/C-translit.h: Likewise.
28763         * locale/loadarchive.c: Likewise.
28764         * locale/programs/3level.h: Likewise.
28765         * locale/programs/charmap.c: Likewise.
28766         * locale/programs/charmap.h: Likewise.
28767         * locale/programs/ld-address.c: Likewise.
28768         * locale/programs/ld-collate.c: Likewise.
28769         * locale/programs/ld-ctype.c: Likewise.
28770         * locale/programs/ld-identification.c: Likewise.
28771         * locale/programs/ld-measurement.c: Likewise.
28772         * locale/programs/ld-messages.c: Likewise.
28773         * locale/programs/ld-monetary.c: Likewise.
28774         * locale/programs/ld-name.c: Likewise.
28775         * locale/programs/ld-numeric.c: Likewise.
28776         * locale/programs/ld-paper.c: Likewise.
28777         * locale/programs/ld-telephone.c: Likewise.
28778         * locale/programs/ld-time.c: Likewise.
28779         * locale/programs/linereader.c: Likewise.
28780         * locale/programs/locale.c: Likewise.
28781         * locale/programs/locarchive.c: Likewise.
28782         * locale/programs/locfile.h: Likewise.
28783         * locale/programs/repertoire.c: Likewise.
28784         * locale/programs/simple-hash.c: Likewise.
28785         * locale/programs/simple-hash.h: Likewise.
28786         * malloc/memusage.c: Likewise.
28787         * malloc/memusagestat.c: Likewise.
28788         * nis/nis_defaults.c: Likewise.
28789         * nis/nis_hash.c: Likewise.
28790         * nis/nis_print.c: Likewise.
28791         * nis/nis_xdr.c: Likewise.
28792         * nscd/connections.c: Likewise.
28793         * nscd/hstcache.c: Likewise.
28794         * nscd/nscd_gethst_r.c: Likewise.
28795         * nscd/nscd_getserv_r.c: Likewise.
28796         * nscd/nscd_helper.c: Likewise.
28797         * nscd/servicescache.c: Likewise.
28798         * nss/makedb.c: Likewise.
28799         * nss/nss_db/db-XXX.c: Likewise.
28800         * nss/nss_db/db-initgroups.c: Likewise.
28801         * nss/nss_db/db-netgrp.c: Likewise.
28802         * nss/nss_files/files-network.c: Likewise.
28803         * nss/nss_files/files-parse.c: Likewise.
28804         * posix/bug-regex5.c: Likewise.
28805         * posix/fnmatch_loop.c: Likewise.
28806         * posix/regcomp.c: Likewise.
28807         * posix/regexec.c: Likewise.
28808         * posix/tst-rfc3484-2.c: Likewise.
28809         * posix/tst-rfc3484-3.c: Likewise.
28810         * posix/tst-rfc3484.c: Likewise.
28811         * resolv/nss_dns/dns-canon.c: Likewise.
28812         * resolv/nss_dns/dns-network.c: Likewise.
28813         * resolv/res_init.c: Likewise.
28814         * resolv/res_mkquery.c: Likewise.
28815         * resolv/tst-aton.c: Likewise.
28816         * stdlib/cxa_atexit.c: Likewise.
28817         * stdlib/cxa_finalize.c: Likewise.
28818         * stdlib/gen-fpioconst.c: Likewise.
28819         * stdlib/strtol_l.c: Likewise.
28820         * string/tst-endian.c: Likewise.
28821         * sunrpc/auth_des.c: Likewise.
28822         * sunrpc/clnt_udp.c: Likewise.
28823         * sunrpc/rtime.c: Likewise.
28824         * sunrpc/svcauth_des.c: Likewise.
28825         * sunrpc/xdr.c: Likewise.
28826         * sunrpc/xdr_intXX_t.c: Likewise.
28827         * sunrpc/xdr_rec.c: Likewise.
28828         * sysdeps/generic/ldconfig.h: Likewise.
28829         * sysdeps/generic/ldsodefs.h: Likewise.
28830         * sysdeps/generic/memusage.h: Likewise.
28831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28832         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28833         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28834         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28835         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28837         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28838         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28839         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28841         * sysdeps/posix/getaddrinfo.c: Likewise.
28842         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28843         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28844         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28845         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28846         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28847         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28848         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28849         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28850         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28851         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28852         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28853         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28854         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28855         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28856         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28857         * sysdeps/x86_64/dl-tls.h: Likewise.
28858         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28859         * time/alt_digit.c: Likewise.
28860         * time/era.c: Likewise.
28861         * wcsmbs/tst-c16c32-1.c: Likewise.
28863 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28865         * math/libm-test.inc (struct test_sincos_data): New type.
28866         (RUN_TEST_LOOP_sincos): New macro.
28867         (sincos_test_data): New variable.
28868         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28870 2013-05-16  Richard Henderson  <rth@redhat.com>
28872         * math/atest-exp2.c (LIMB64): New macro.
28873         (CONSTSZ): New macro.
28874         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28875         (hexdig): Move ...
28876         (print_mpn_fp): ... to function scope.
28877         (read_mpn_hex): Remove.
28878         (get_log2): Remove.
28879         (exp2_mpn): Use mp_log2.
28880         (main): Use mp_exp1.
28882 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28884         * math/libm-test.inc: Remove comment about not testing "inexact"
28885         exceptions.
28886         (INEXACT_EXCEPTION): New macro.
28887         (NO_INEXACT_EXCEPTION): Likewise.
28888         (INVALID_EXCEPTION_OK): Update value.
28889         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28890         (OVERFLOW_EXCEPTION_OK): Likewise.
28891         (UNDERFLOW_EXCEPTION_OK): Likewise.
28892         (IGNORE_ZERO_INF_SIGN): Likewise.
28893         (ERRNO_UNCHANGED): Likewise.
28894         (ERRNO_EDOM): Likewise.
28895         (ERRNO_ERANGE): Likewise.
28896         (test_exceptions): Handle testing "inexact" exceptions.
28897         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28898         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28899         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28900         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28901         INEXACT_EXCEPTION.
28902         (rint_towardzero_test_data): Likewise.
28903         (rint_downward_test_data): Likewise.
28904         (rint_upward_test_data): Likewise.
28906         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28907         with OVERFLOW_EXCEPTION.
28908         (exp10_test_data): Likewise.
28909         (exp2_test_data): Likewise.
28910         (expm1_test_data): Likewise.
28911         (lgamma_test_data): Likewise.
28912         (pow_test_data): Likewise.
28913         (tgamma_test_data): Likewise.
28914         (yn_test_data): Remove duplicate test of overflow.
28916         * math/libm-test.inc (struct test_cc_c_data): New type.
28917         (RUN_TEST_LOOP_cc_c): New macro.
28918         (cpow_test_data): New variable.
28919         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28921         * math/libm-test.inc (struct test_f_L_data): New type.
28922         (RUN_TEST_LOOP_f_L): New macro.
28923         (llrint_test_data): New variable.
28924         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28925         (llrint_tonearest_test_data): New variable.
28926         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28927         (llrint_towardzero_test_data): New variable.
28928         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28929         (llrint_downward_test_data): New variable.
28930         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28931         (llrint_upward_test_data): New variable.
28932         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28933         (llround_test_data): New variable.
28934         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28936 2013-05-13  Peter Collingbourne  <pcc@google.com>
28938         * math/atest-exp2.c (get_log2): Remove const attribute.
28940 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28942         * math/libm-test.inc (struct test_f_l_data): New type.
28943         (RUN_TEST_LOOP_f_l): New macro.
28944         (lrint_test_data): New variable.
28945         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28946         (lrint_tonearest_test_data): New variable.
28947         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28948         (lrint_towardzero_test_data): New variable.
28949         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28950         (lrint_downward_test_data): New variable.
28951         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28952         (lrint_upward_test_data): New variable.
28953         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28954         (lround_test_data): New variable.
28955         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28957 2013-05-15  Peter Collingbourne  <pcc@google.com>
28959         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28960         (EXTRACT_WORDS64) Use where appropriate.
28961         (INSERT_WORDS64) Likewise.
28963         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28964         constraints with x constraints.
28965         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28967         * malloc/obstack.c (_obstack_compat): Add initializer.
28969 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28971         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28972         si_trapno and add si_addr_lsb to _sifields.sigfault.
28973         (si_trapno): Remove macro.
28974         (si_addr_lsb): Define new macro.
28975         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28977 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28979         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28980         instead of TEST_f_l.
28981         (llrint_test_tonearest): Likewise.
28982         (llrint_test_towardzero): Likewise.
28983         (llrint_test_downward): Likewise.
28984         (llrint_test_upward): Likewise.
28985         (llround_test): Likewise.
28987         * math/libm-test.inc (struct test_f_i_data): Add comment.
28988         (RUN_TEST_LOOP_f_b): New macro.
28989         (RUN_TEST_LOOP_f_b_tg): Likewise.
28990         (finite_test_data): New variable.
28991         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28992         (isfinite_test_data): New variable.
28993         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28994         (isinf_test_data): New variable.
28995         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28996         (isnan_test_data): New variable.
28997         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28998         (isnormal_test_data): New variable.
28999         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29000         (issignaling_test_data): New variable.
29001         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29002         (signbit_test_data): New variable.
29003         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29005         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29006         with INVALID_EXCEPTION.
29007         (acosh_test_data): Likewise.
29008         (asin_test_data): Likewise.
29009         (atanh_test_data): Likewise.
29010         (fmod_test_data): Likewise.
29011         (log_test_data): Likewise.
29012         (log10_test_data): Likewise.
29013         (log2_test_data): Likewise.
29014         (pow_test_data): Likewise.
29015         (sqrt_test_data): Likewise.
29016         (y0_test_data): Likewise.
29017         (y1_test_data): Likewise.
29018         (yn_test_data): Likewise.
29020         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29021         function contents.
29023         * math/libm-test.inc (struct test_ff_i_data): New type.
29024         (RUN_TEST_LOOP_ff_i_tg): New macro.
29025         (isgreater_test_data): New variable.
29026         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29027         (isgreaterequal_test_data): New variable.
29028         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29029         (isless_test_data): New variable.
29030         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29031         (islessequal_test_data): New variable.
29032         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29033         (islessgreater_test_data): New variable.
29034         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29035         (isunordered_test_data): New variable.
29036         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29038 2013-05-14  David S. Miller  <davem@davemloft.net>
29040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29042 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29044         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29046         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29047         extra_test to int.
29048         (struct test_f_i_data): Change type of max_ulp to int.
29050         * math/libm-test.inc (test_ffI_f1_data): New type.
29051         (RUN_TEST_LOOP_ffI_f1): New macro.
29052         (remquo_test_data): New variable.
29053         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29055         * setjmp/tst-setjmp-fp.c: New file.
29056         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29057         (link-libm): New variable.
29058         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29060         * math/libm-test.inc (struct test_f_i_data): New type.
29061         (RUN_TEST_LOOP_f_i): New macro.
29062         (RUN_TEST_LOOP_f_i_tg): Likewise.
29063         (fpclassify_test_data): New variable.
29064         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29065         (ilogb_test_data): New variable.
29066         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29068         * math/libm-test.inc (scalbln_test): Correct function name in END
29069         call.
29071         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29072         (RUN_TEST_LOOP_fI_f1): New macro.
29073         (frexp_test_data): New variable.
29074         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29076         * math/libm-test.inc (struct test_fF_f1_data): New type.
29077         (RUN_TEST_LOOP_fF_f1): New macro.
29078         (modf_test_data): New variable.
29079         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29081         * math/libm-test.inc (struct test_f_f1_data): New type.
29082         (RUN_TEST_LOOP_f_f1): New macro.
29083         (gamma_test_data): New variable.
29084         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29085         (lgamma_test_data): New variable.
29086         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29088 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29090         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29091         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29092         (main): Comment "tls" pseudo-hwcap.
29094 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29096         * math/libm-test.inc (struct test_fl_f_data): New type.
29097         (RUN_TEST_LOOP_fl_f): New variable.
29098         (scalbln_test_data): New variable.
29099         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29101         * math/libm-test.inc (struct test_fi_f_data): New type.
29102         (RUN_TEST_LOOP_fi_f): New macro.
29103         (ldexp_test_data): New variable.
29104         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29105         (scalbn_test_data): New variable.
29106         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29108         * math/libm-test.inc (struct test_c_f_data): New type.
29109         (RUN_TEST_LOOP_c_f): New macro.
29110         (cabs_test_data): New variable.
29111         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29112         (carg_test_data): New variable.
29113         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29114         (cimag_test_data): New variable.
29115         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29116         (creal_test_data): New variable.
29117         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29119         * math/libm-test.inc (struct test_if_f_data): New type.
29120         (RUN_TEST_LOOP_if_f): New macro.
29121         (jn_test_data): New variable.
29122         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29123         (yn_test_data): New variable.
29124         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29126         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29128 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29130         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29131         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29133 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29136         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29137         (bench-deps): Add bench-timing.h.
29138         * benchtests-bench-skeleton.c: Include bench-timing.h.
29139         (main): Use TIMING_* macros instead of clock_gettime.
29140         * benchtests/bench-timing.h: New file.
29142         [BZ #14582]
29143         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29144         Renamed from _LIB_VERSION.
29145         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29147 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29149         * math/libm-test.inc (struct test_fff_f_data): New type.
29150         (RUN_TEST_LOOP_fff_f): New macro.
29151         (fma_test_data): New variable.
29152         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29153         (fma_towardzero_test_data): New variable.
29154         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29155         (fma_downward_test_data): New variable.
29156         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29157         (fma_upward_test_data): New variable.
29158         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29160         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29161         (struct test_c_c_data): New type.
29162         (RUN_TEST_LOOP_c_c): New macro.
29163         (cacos_test_data): New variable.
29164         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29165         (cacosh_test_data): New variable.
29166         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29167         (casin_test_data): New variable.
29168         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29169         (casinh_test_data): New variable.
29170         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29171         (catan_test_data): New variable.
29172         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29173         (catanh_test_data): New variable.
29174         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29175         (ccos_test_data): New variable.
29176         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29177         (ccosh_test_data): New variable.
29178         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29179         (cexp_test_data): New variable.
29180         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29181         (clog_test_data): New variable.
29182         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29183         (clog10_test_data): New variable.
29184         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29185         (conj_test_data): New variable.
29186         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29187         (cproj_test_data): New variable.
29188         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29189         (csin_test_data): New variable.
29190         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29191         (csinh_test_data): New variable.
29192         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29193         (csqrt_test_data): New variable.
29194         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29195         (ctan_test_data): New variable.
29196         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29197         (ctan_tonearest_test_data): New variable.
29198         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29199         (ctan_towardzero_test_data): New variable.
29200         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29201         (ctan_downward_test_data): New variable.
29202         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29203         (ctan_upward_test_data): New variable.
29204         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29205         (ctanh_test_data): New variable.
29206         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29207         (ctanh_tonearest_test_data): New variable.
29208         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29209         (ctanh_towardzero_test_data): New variable.
29210         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29211         (ctanh_downward_test_data): New variable.
29212         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29213         (ctanh_upward_test_data): New variable.
29214         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29215         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29216         of BUILD_COMPLEX.
29218         * math/libm-test.inc (struct test_ff_f_data): New type.
29219         (struct test_ff_f_data_nexttoward): Likewise.
29220         (RUN_TEST_LOOP_2_f): New macro.
29221         (RUN_TEST_LOOP_ff_f): Likewise.
29222         (atan2_test_data): New variable.
29223         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29224         (copysign_test_data): New variable.
29225         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29226         (fdim_test_data): New variable.
29227         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29228         (fmax_test_data): New variable.
29229         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29230         (fmin_test_data): New variable.
29231         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29232         (fmod_test_data): New variable.
29233         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29234         (hypot_test_data): New variable.
29235         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29236         (nextafter_test_data): New variable.
29237         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29238         (nexttoward_test_data): New variable.
29239         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29240         (pow_test_data): New variable.
29241         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29242         (pow_tonearest_test_data): New variable.
29243         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29244         (pow_towardzero_test_data): New variable.
29245         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29246         (pow_downward_test_data): New variable.
29247         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29248         (pow_upward_test_data): New variable.
29249         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29250         (remainder_test_data): New variable.
29251         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29252         (scalb_test_data): New variable.
29253         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29254         * sysdeps/i386/fpu/libm-test-ulps: Update.
29256 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29258         * math/libm-test.inc (fma_test): Use max_value instead of local
29259         variable fltmax.
29260         (nextafter_test): Likewise.
29262         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29263         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29264         (acos_downward_test_data): New variable.
29265         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29266         (acos_upward_test_data): New variable.
29267         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29268         (acosh_test_data): New variable.
29269         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29270         (asin_test_data): New variable.
29271         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29272         (asin_tonearest_test_data): New variable.
29273         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29274         (asin_towardzero_test_data): New variable.
29275         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29276         (asin_downward_test_data): New variable.
29277         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29278         (asin_upward_test_data): New variable.
29279         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29280         (asinh_test_data): New variable.
29281         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29282         (atan_test_data): New variable.
29283         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29284         (atanh_test_data): New variable.
29285         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29286         (cbrt_test_data): New variable.
29287         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29288         (ceil_test_data): New variable.
29289         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29290         (cos_test_data): New variable.
29291         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29292         (cos_tonearest_test_data): New variable.
29293         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29294         (cos_towardzero_test_data): New variable.
29295         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29296         (cos_downward_test_data): New variable.
29297         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29298         (cos_upward_test_data): New variable.
29299         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29300         (cosh_test_data): New variable.
29301         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29302         (cosh_tonearest_test_data): New variable.
29303         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29304         (cosh_towardzero_test_data): New variable.
29305         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29306         (cosh_downward_test_data): New variable.
29307         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29308         (cosh_upward_test_data): New variable.
29309         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29310         (erf_test_data): New variable.
29311         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29312         (erfc_test_data): New variable.
29313         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29314         (exp_test_data): New variable.
29315         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29316         (exp_tonearest_test_data): New variable.
29317         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29318         (exp_towardzero_test_data): New variable.
29319         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29320         (exp_downward_test_data): New variable.
29321         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29322         (exp_upward_test_data): New variable.
29323         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29324         (exp10_test_data): New variable.
29325         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29326         (exp2_test_data): New variable.
29327         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29328         (expm1_test_data): New variable.
29329         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29330         (fabs_test_data): New variable.
29331         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29332         (floor_test_data): New variable.
29333         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29334         (j0_test_data): New variable.
29335         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29336         (j1_test_data): New variable.
29337         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29338         (log_test_data): New variable.
29339         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29340         (log10_test_data): New variable.
29341         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29342         (log1p_test_data): New variable.
29343         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29344         (log2_test_data): New variable.
29345         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29346         (logb_test_data): New variable.
29347         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29348         (logb_downward_test_data): New variable.
29349         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29350         (nearbyint_test_data): New variable.
29351         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29352         (rint_test_data): New variable.
29353         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29354         (rint_tonearest_test_data): New variable.
29355         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29356         (rint_towardzero_test_data): New variable.
29357         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29358         (rint_downward_test_data): New variable.
29359         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29360         (rint_upward_test_data): New variable.
29361         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29362         (round_test_data): New variable.
29363         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29364         (sin_test_data): New variable.
29365         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29366         (sin_tonearest_test_data): New variable.
29367         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29368         (sin_towardzero_test_data): New variable.
29369         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29370         (sin_downward_test_data): New variable.
29371         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29372         (sin_upward_test_data): New variable.
29373         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29374         (sinh_test_data): New variable.
29375         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29376         (sinh_tonearest_test_data): New variable.
29377         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29378         (sinh_towardzero_test_data): New variable.
29379         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29380         (sinh_downward_test_data): New variable.
29381         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29382         (sinh_upward_test_data): New variable.
29383         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29384         (sqrt_test_data): New variable.
29385         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29386         (tan_test_data): New variable.
29387         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29388         (tan_tonearest_test_data): New variable.
29389         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29390         (tan_towardzero_test_data): New variable.
29391         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29392         (tan_downward_test_data): New variable.
29393         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29394         (tan_upward_test_data): New variable.
29395         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29396         (tanh_test_data): New variable.
29397         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29398         (tgamma_test_data): New variable.
29399         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29400         (trunc_test_data): New variable.
29401         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29402         (y0_test_data): New variable.
29403         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29404         (y1_test_data): New variable.
29405         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29406         (significand_test_data): New variable.
29407         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29409 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29411         [BZ #12387]
29412         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29414 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29416         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29418 2013-05-10  Andreas Jaeger  <aj@suse.de>
29420         [BZ #15448]
29421         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29422         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29424 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29426         * math/gen-libm-test.pl (adjust_arg): New function.
29427         (special_functions): Handle generating output in both functions
29428         and arrays.
29429         (parse_args): Likewise.
29430         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29431         $in_func argument to parse_args.
29432         * math/libm-test.inc (struct test_f_f_data): New type.
29433         (IF_ROUND_INIT_): New macro.
29434         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29435         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29436         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29437         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29438         (ROUND_RESTORE_): Likewise.
29439         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29440         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29441         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29442         (ROUND_RESTORE_FE_UPWARD): Likewise.
29443         (RUN_TEST_LOOP_f_f): New macro.
29444         (acos_test_data): New variable.
29445         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29446         (acos_tonearest_test_data): New variable.
29447         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29449 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29451         * benchtests/bench-skeleton.c (startup): Fix coding style.
29453 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29455         [BZ #6809]
29456         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29457         negative infinity argument.
29458         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29459         negative infinity argument.
29460         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29461         negative infinity argument.
29462         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29463         domain errors.
29465 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29467         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29468         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29469         * iconv/iconv_prog.c (main): Likewise.
29470         * locale/programs/charmap-dir.c (charmap_readdir)
29471         (fopen_uncompressed): Likewise.
29472         * locale/programs/locfile.c (siblings_uncached)
29473         (write_locale_data): Use lstat64 instead of lstat.
29474         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29475         stat.
29477 2013-05-10  Andreas Jaeger  <aj@suse.de>
29479         [BZ #15395]
29480         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29481         localization.
29482         Include <locale.h>.
29484 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29486         * elf/dl-close.c (_dl_close_worker): Add comments.
29488 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29490         [BZ #15359]
29491         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29492         high part of pi/2.
29493         (__ieee754_rem_pio2l): Update comments.
29495         [BZ #15429]
29496         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29497         high part of pi/2.
29498         (__ieee754_rem_pio2l): Update comments.
29500         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29501         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29503         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29504         M_PI_4l.
29506         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29507         (M_PI_34_LOG10El): Likewise.
29508         (M_PI2_LOG10El): Likewise.
29509         (M_PI4_LOG10El): Likewise.
29510         (M_PI_LOG10El): Likewise.
29512 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29516 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29518         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29519         (MINUS_ZERO_INIT): Likewise.
29520         (PLUS_INFTY_INIT): Likewise.
29521         (MINUS_INFTY_INIT): Likewise.
29522         (QNAN_VALUE_INIT): Likewise.
29523         (MAX_VALUE_INIT): Likewise.
29524         (MIN_VALUE_INIT): Likewise.
29525         (MIN_SUBNORM_VALUE_INIT): Likewise.
29526         (plus_zero): Initialize with PLUS_ZERO_INIT.
29527         (minus_zero): Initialize with MINUS_ZERO_INIT.
29528         (plus_infty): Initialize with PLUS_INFTY_INIT.
29529         (minus_infty): Initialize with MINUS_INFTY_INIT.
29530         (qnan_value): Initialize with QNAN_VALUE_INIT.
29531         (max_value): Initialize with MAX_VALUE_INIT.
29532         (min_value): Initialize with MIN_VALUE_INIT.
29533         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29535         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29536         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29537         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29538         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29540         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29541         (RUN_TEST_2_f): Likewise.
29542         (RUN_TEST_ff_f): Likewise.
29543         (RUN_TEST_fi_f): Likewise.
29544         (RUN_TEST_fl_f): Likewise.
29545         (RUN_TEST_fff_f): Likewise.
29546         (RUN_TEST_c_f): Likewise.
29547         (RUN_TEST_f_f1): Likewise.
29548         (RUN_TEST_fF_f1): Likewise.
29549         (RUN_TEST_fI_f1): Likewise.
29550         (RUN_TEST_ffI_f1): Likewise.
29551         (RUN_TEST_c_c): Likewise.
29552         (RUN_TEST_cc_c): Likewise.
29553         (RUN_TEST_f_i): Likewise.
29554         (RUN_TEST_f_i_tg): Likewise.
29555         (RUN_TEST_ff_i_tg): Likewise.
29556         (RUN_TEST_f_b): Likewise.
29557         (RUN_TEST_f_b_tg): Likewise.
29558         (RUN_TEST_f_l): Likewise.
29559         (RUN_TEST_f_L): Likewise.
29560         (RUN_TEST_sincos): Likewise.
29561         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29562         whether to show exceptions.  Do not include ");\n" in return
29563         value.
29564         (special_functions): Output call to RUN_TEST_sincos instead of
29565         check_float calls.  Update calls to new_test.
29566         (parse_args): Output call to single RUN_TEST_* macro instead of
29567         check_* calls and other assignments.  Update calls to new_test.
29569         [BZ #2546]
29570         [BZ #2560]
29571         [BZ #5159]
29572         [BZ #15426]
29573         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29574         input to result for tgamma overflow.
29575         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29576         (gamma_coeff): New variable.
29577         (NCOEFF): New macro.
29578         (gamma_positive): New function.
29579         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29580         underflow here.  Use gamma_positive instead of exp (lgamma) for
29581         other arguments.
29582         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29583         (gamma_coeff): New variable.
29584         (NCOEFF): New macro.
29585         (gammaf_positive): New function.
29586         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29587         underflow here.  Use gamma_positive instead of exp (lgamma) for
29588         other arguments.
29589         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29590         (gamma_coeff): New variable.
29591         (NCOEFF): New macro.
29592         (gammal_positive): New function.
29593         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29594         underflow here.  Use gamma_positive instead of exp (lgamma) for
29595         other arguments.
29596         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29597         (gamma_coeff): New variable.
29598         (NCOEFF): New macro.
29599         (gammal_positive): New function.
29600         (__ieee754_gammal_r): Handle positive infinity, overflow and
29601         underflow here.  Handle NaN the same as positive infinity.  Remove
29602         check x < 0xffffffff for negative integers.  Use gamma_positive
29603         instead of exp (lgamma) for other arguments.
29604         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29605         (gamma_coeff): New variable.
29606         (NCOEFF): New macro.
29607         (gammal_positive): New function.
29608         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29609         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29610         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29611         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29612         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29613         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29614         * sysdeps/generic/math_private.h (__gamma_productf): New
29615         prototype.
29616         (__gamma_product): Likewise.
29617         (__gamma_productl): Likewise.
29618         * math/Makefile (libm-calls): Add gamma_product.
29619         * math/libm-test.inc (tgamma_test): Add more tests.
29620         * sysdeps/i386/fpu/libm-test-ulps: Update.
29621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29623 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29625         * benchtests/bench-skeleton.c (main): Preheat CPU.
29627 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29629         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29631 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29633         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29634         and _dl_skip_args_internal.
29636 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29638         * manual/message.texi (Message Translation): Talk about users.
29639         Message to key mapping impacts design.
29641 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29643         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29645         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29647         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29648         * sysdeps/wordsize-64/glob64.c: ... here.
29650         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29651         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29652         New macros.
29654         * debug/getlogin_r_chk.c: Moved to ...
29655         * login/getlogin_r_chk.c: ... here.
29656         * debug/Makefile (routines): Move getlogin_r_chk to ...
29657         * login/Makefile (routines): ... here.
29658         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29659         * login/Versions (libc: GLIBC_2.4): ... here.
29661         * io/poll.c (__poll): Renamed from poll.
29662         Add libc_hidden_def.
29663         (poll): Define as weak alias.
29665         * debug/ptsname_r_chk.c: Moved to ...
29666         * login/ptsname_r_chk.c: ... here.
29667         * debug/Makefile (routines): Move ptsname_r_chk to ...
29668         * login/Makefile (routines): ... here.
29669         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29670         * login/Versions (libc: GLIBC_2.4): ... here.
29672         * posix/getlogin.c: Moved to ...
29673         * login/getlogin.c: ... here.
29674         * posix/getlogin_r.c: Moved to ...
29675         * login/getlogin_r.c: ... here.
29676         * posix/getlogin_r.c: Moved to ...
29677         * login/getlogin_r.c: ... here.
29678         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29679         * login/Makefile (routines): ... here.
29680         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29681         * login/Versions (libc: GLIBC_2.0): ... here.
29683         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29684         (setrlimit): Define as weak alias.
29686         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29687         Call __ names for open, ftruncate, and close.
29688         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29689         (truncate): Define as weak alias.
29691 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29693         * math/gen-libm-test.pl (parse_args): Initialize x before each
29694         test of frexp, modf and remquo.
29696         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29697         test signgam value.
29699 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29701         [BZ #15418]
29702         [BZ #15419]
29703         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29704         internal tests.
29705         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29707 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29709         * elf/dl-writev.h: New file.
29710         * elf/dl-misc.c: Include it.
29711         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29712         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29714 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29716         * math/libm-test.inc (noXFails): Remove variable.
29717         (noXPasses): Likewise.
29718         (BUILD_COMPLEX_INT): Remove macro.
29719         (print_screen): Remove xfail argument.
29720         (print_screen_max_error): Likewise.
29721         (update_stats): Likewise.
29722         (print_max_error): Likewise.  Update calls to other affected
29723         functions.
29724         (print_complex_max_error): Likewise.
29725         (test_single_exception): Update calls to print_screen.
29726         (test_single_errno): Likewise.
29727         (check_float_internal): Remove xfail argument.  Update calls to
29728         other affected functions.
29729         (check_float): Likewise.
29730         (check_complex): Likewise.
29731         (check_int): Likewise.
29732         (check_long): Likewise.
29733         (check_bool): Likewise.
29734         (check_longlong): Likewise.
29735         (main): Don't print noXFails and noXPasses.
29736         * math/gen-libm-test.pl (top level): Don't mention expected
29737         failure handling in comment.
29738         (new_test): Don't handle expected failures.
29739         (parse_args): Don't mention expected failure handling in comment.
29740         (generate_testfile): Don't handle expected failures.
29741         (parse_ulps): Likewise.
29742         (print_ulps_file): Likewise.
29743         (get_failure): Remove function.
29744         (output_test): Don't handle expected failures.
29745         * make/README.libm-test: Don't mention expected failure handling.
29747         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29748         (minus_zero): Likewise.
29749         (plus_infty): Likewise.
29750         (minus_infty): Likewise.
29751         (qnan_value): Likewise.
29752         (max_value): Likewise.
29753         (min_value): Likewise.
29754         (min_subnorm_value): Likewise.
29755         (initialize): Do not initialize those variables dynamically.
29757 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29759         * io/open.c (__open_2): Moved to ...
29760         * io/open_2.c: ... this new file.
29761         * io/open64.c (__open64_2): Moved to ...
29762         * io/open64_2.c: ... this new file.
29763         * io/openat.c (__openat_2): Moved to ...
29764         * io/openat_2.c: ... this new file.
29765         * io/openat64.c (__openat64_2): Moved to ...
29766         * io/openat64_2.c: ... this new file.
29767         * io/Makefile (routines): Add them.
29768         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29769         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29770         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29771         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29772         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29773         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29774         (__openat64): Add hidden_ver.
29775         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29776         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29778         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29779         Separately conditionalize setting of GLRO(dl_sysinfo) so
29780         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29781         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29783 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29785         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29786         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29787         definition.
29788         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29789         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29790         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29791         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29792         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29794 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29796         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29797         test signgam value.
29799         * math/libm-test.inc (hypot_test): Do not use
29800         IGNORE_ZERO_INF_SIGN.
29802 2013-05-03  Andreas Jaeger  <aj@suse.de>
29804         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29805         Linux 3.9.
29806         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29807         (PF_MAX): Adjust for VSOCK change.
29809 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29813 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29815         [BZ #15264]
29816         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29817         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29818         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29820 2013-05-02  David S. Miller  <davem@davemloft.net>
29822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29824 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29826         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29828 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29830         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29832 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29834         [BZ #14952]
29835         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29836         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29837         Use __attribute__ ((__gnu_inline__)).
29838         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29839         Don't use __attribute__ ((__gnu_inline__)).
29841 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29843         [BZ #15423]
29844         * math/s_catan.c (__catan): Handle small real or imaginary part of
29845         input specially to avoid spurious underflow.
29846         * math/s_catanf.c (__catanf): Likewise.
29847         * math/s_catanh.c (__catanh): Likewise.
29848         * math/s_catanhf.c (__catanhf): Likewise.
29849         * math/s_catanhl.c (__catanhl): Likewise.
29850         * math/s_catanl.c (__catanl): Likewise.
29851         * math/libm-test.inc (catan_test): Add more tests.
29852         (catanh_test): Likewise.
29853         * sysdeps/i386/fpu/libm-test-ulps: Update.
29854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29856 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29860 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29862         [BZ #15416]
29863         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29864         accurately for denominator in atan2.
29865         * math/s_catanf.c (__catanf): Likewise.
29866         * math/s_catanh.c (__catanh): Likewise.
29867         * math/s_catanhf.c (__catanhf): Likewise.
29868         * math/s_catanhl.c (__catanhl): Likewise.
29869         * math/s_catanl.c (__catanl): Likewise.
29870         * math/libm-test.inc (catan_test): Add more tests.
29871         (catanh_test): Likewise.
29872         * sysdeps/i386/fpu/libm-test-ulps: Update.
29873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29875 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29877         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29879         * benchtests/Makefile (bench): Remove slow benchmarks.
29880         * benchtests/atan-inputs: Add slow benchmark inputs.
29881         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29882         (BENCH_FUNC): Accept variant offset.
29883         (VARIANT): Define.
29884         * benchtests/bench-skeleton.c (main): Run benchmark for each
29885         variant.
29886         * benchtests/cos-inputs: Add slow benchmark inputs.
29887         * benchtests/exp-inputs: Likewise.
29888         * benchtests/pow-inputs: Likewise.
29889         * benchtests/sin-inputs: Likewise.
29890         * benchtests/slowatan-inputs: Remove.
29891         * benchtests/slowatan.c: Remove.
29892         * benchtests/slowcos-inputs: Remove.
29893         * benchtests/slowcos.c: Remove.
29894         * benchtests/slowexp-inputs: Remove.
29895         * benchtests/slowexp.c: Remove.
29896         * benchtests/slowpow-inputs: Remove.
29897         * benchtests/slowpow.c: Remove.
29898         * benchtests/slowsin-inputs: Remove.
29899         * benchtests/slowsin.c: Remove.
29900         * benchtests/slowtan-inputs: Remove.
29901         * benchtests/slowtan.c: Remove.
29902         * benchtests/tan-inputs: Add slow benchmark inputs.
29903         * scripts/bench.pl: Parse comments and directives.
29905         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29906         in CPPFLAGS.
29907         ($(objpfx)bench-%.c): Remove *-ITER.
29908         * benchtests/bench-modf.c: Remove definition of ITER.
29909         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29910         (main): Loop for DURATION seconds instead of fixed number of
29911         iterations.
29912         * scripts/bench.pl: Don't expect iterations in parameters.
29914 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29916         * io/fchdir.c (__fchdir): Renamed from fchdir.
29917         (fchdir): Define as weak alias.
29919 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29921         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29922         (ERRNO_EDOM): Likewise.
29923         (ERRNO_ERANGE): Likewise.
29924         (noErrnoTests): New variable.
29925         (init_max_error): Set errno to 0.
29926         (test_single_errno): New function.
29927         (test_errno): Likewise.
29928         (check_float_internal): Call test_errno.  Set errno to 0.
29929         (check_complex): Refer to errno tests in comment.
29930         (check_int): Call test_errno.  Set errno to 0.
29931         (check_long): Likewise.
29932         (check_bool): Likewise.
29933         (check_longlong): Likewise.
29934         (cos_test): Use ERRNO_* flags for errno tests instead of
29935         check_int.
29936         (expm1_test): Likewise.
29937         (fmod_test): Likewise.
29938         (ilogb_test): Likewise.
29939         (lgamma_test): Likewise.
29940         (pow_test): Likewise.
29941         (remainder_test): Likewise.
29942         (sin_test): Likewise.
29943         (tan_test): Likewise.
29944         (yn_test): Likewise.
29945         (initialize): Set errno to 0.
29946         (main): Print number of errno tests.
29947         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29949 2013-04-29  Andreas Jaeger  <aj@suse.de>
29951         [BZ #15084]
29952         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29953         and RES_USEVC.
29955         [BZ #15085]
29956         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29957         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29958         unimplemented.
29960         [BZ #15380]
29961         * stdlib/random.c (__initstate): Return NULL if
29962         __initstate fails.
29964         [BZ #15086]
29965         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29966         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29967         RES_SNGLKUPREOP.
29969 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29973 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29975         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29976         of individual tests.
29977         (casin_test): Likewise.
29978         (casinh_test): Likewise.
29980 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29982         [BZ #15409]
29983         * math/s_catan.c (__catan): Handle arguments with large real or
29984         imaginary part separately without squaring.
29985         * math/s_catanf.c (__catanf): Likewise.
29986         * math/s_catanh.c (__catanh): Likewise.
29987         * math/s_catanhf.c (__catanhf): Likewise.
29988         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29989         and redefine.
29990         (__catanhl): Handle arguments with large real or imaginary part
29991         separately without squaring.
29992         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29993         and redefine.
29994         (__catanl): Handle arguments with large real or imaginary part
29995         separately without squaring.
29996         * math/libm-test.inc (catan_test): Add more tests.
29997         (catanh_test): Likewise.
29998         * sysdeps/i386/fpu/libm-test-ulps: Update.
29999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30001 2013-04-27  Andreas Jaeger  <aj@suse.de>
30003         [BZ #15007]
30004         * stdlib/stdlib.h: Update guards for qecvt.
30005         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30006         <stdlib.h>.
30008 2013-04-27  Allan McRae  <allan@archlinux.org>
30010         * sysdeps/i386/fpu/libm-test-ulps: Update.
30012 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30014         [BZ #15406]
30015         * math/s_catan.c: Include <float.h>.
30016         (__catan): Ensure underflow exception occurs for underflowed
30017         result.
30018         * math/s_catanf.c: Include <float.h>.
30019         (__catanf): Ensure underflow exception occurs for underflowed
30020         result.
30021         * math/s_catanh.c: Include <float.h>.
30022         (__catanh): Ensure underflow exception occurs for underflowed
30023         result.
30024         * math/s_catanhf.c: Include <float.h>.
30025         (__catanhf): Ensure underflow exception occurs for underflowed
30026         result.
30027         * math/s_catanhl.c: Include <float.h>.
30028         (__catanhl): Ensure underflow exception occurs for underflowed
30029         result.
30030         * math/s_catanl.c: Include <float.h>.
30031         (__catanl): Ensure underflow exception occurs for underflowed
30032         result.
30033         * math/libm-test.inc (catan_test): Add more tests.
30034         (catanh_test): Likewise.
30036         [BZ #15405]
30037         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30038         underflowed result.
30039         * math/s_ccoshf.c (__ccoshf): Likewise.
30040         * math/s_ccoshl.c (__ccoshl): Likewise.
30041         * math/s_csin.c (__csin): Likewise.
30042         * math/s_csinf.c (__csinf): Likewise.
30043         * math/s_csinh.c (__csinh): Likewise.
30044         * math/s_csinhf.c (__csinhf): Likewise.
30045         * math/s_csinhl.c (__csinhl): Likewise.
30046         * math/s_csinl.c (__csinl): Likewise.
30047         * math/libm-test.inc (ccos_test): Add more tests.
30048         (ccosh_test): Likewise.
30049         (csin_test): Likewise.
30050         (csinh_test): Likewise.
30052 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30054         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30055         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30056         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30057         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30058         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30059         powerpc/power5+/fpu folders.
30060         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30063 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30065         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30067 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30069         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30070         additions to variable.
30071         [$(config-machine) = x86_64] (modules-names): Likewise.
30072         ($(objpfx)tst-audit3): Remove dependency.
30073         ($(objpfx)tst-audit3.out): Likewise.
30074         ($(objpfx)tst-audit4): Likewise.
30075         ($(objpfx)tst-audit4.out): Likewise.
30076         ($(objpfx)tst-audit5): Likewise.
30077         ($(objpfx)tst-audit5.out): Likewise.
30078         ($(objpfx)tst-audit6): Likewise.
30079         ($(objpfx)tst-audit6.out): Likewise.
30080         ($(objpfx)tst-audit7): Likewise.
30081         ($(objpfx)tst-audit7.out): Likewise.
30082         (tst-audit3-ENV): Remove variable.
30083         (tst-audit4-ENV): Likewise.
30084         (tst-audit5-ENV): Likewise.
30085         (tst-audit6-ENV): Likewise.
30086         (tst-audit7-ENV): Likewise.
30087         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30088         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30089         addition to variable.
30090         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30091         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30092         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30093         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30094         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30095         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30096         tst-audit3, tst-audit4 and tst-audit5.
30097         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30098         tst-audit6 and tst-audit7.
30099         [$(subdir) = elf] (modules-names): Add audit modules for those
30100         tests.
30101         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30102         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30103         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30104         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30105         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30106         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30107         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30108         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30109         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30110         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30111         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30112         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30113         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30114         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30115         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30116         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30117         Likewise.
30118         [$(subdir) = elf && $(config-cflags-avx) = yes]
30119         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30120         [$(subdir) = elf && $(config-cflags-avx) = yes]
30121         (CFLAGS-tst-auditmod4a.c): Likewise.
30122         [$(subdir) = elf && $(config-cflags-avx) = yes]
30123         (CFLAGS-tst-auditmod4b.c): Likewise.
30124         [$(subdir) = elf && $(config-cflags-avx) = yes]
30125         (CFLAGS-tst-auditmod6b.c): Likewise.
30126         [$(subdir) = elf && $(config-cflags-avx) = yes]
30127         (CFLAGS-tst-auditmod6c.c): Likewise.
30128         [$(subdir) = elf && $(config-cflags-avx) = yes]
30129         (CFLAGS-tst-auditmod7b.c): Likewise.
30130         * elf/tst-audit3.c: Move to ...
30131         * sysdeps/x86_64/tst-audit3.c: ... here.
30132         * elf/tst-audit4.c: Move to ...
30133         * sysdeps/x86_64/tst-audit4.c: ... here.
30134         * elf/tst-audit5.c: Move to ...
30135         * sysdeps/x86_64/tst-audit5.c: ... here.
30136         * elf/tst-audit6.c: Move to ...
30137         * sysdeps/x86_64/tst-audit6.c: ... here.
30138         * elf/tst-audit7.c: Move to ...
30139         * sysdeps/x86_64/tst-audit7.c: ... here.
30140         * elf/tst-auditmod3a.c: Move to ...
30141         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30142         * elf/tst-auditmod3b.c: Move to ...
30143         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30144         * elf/tst-auditmod4a.c: Move to ...
30145         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30146         * elf/tst-auditmod4b.c: Move to ...
30147         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30148         * elf/tst-auditmod5a.c: Move to ...
30149         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30150         * elf/tst-auditmod5b.c: Move to ...
30151         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30152         * elf/tst-auditmod6a.c: Move to ...
30153         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30154         * elf/tst-auditmod6b.c: Move to ...
30155         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30156         * elf/tst-auditmod6c.c: Move to ...
30157         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30158         * elf/tst-auditmod7a.c: Move to ...
30159         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30160         * elf/tst-auditmod7b.c: Move to ...
30161         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30163 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30165         [BZ #15366]
30166         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30167         define unconditionally.
30168         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30169         define unconditionally.
30170         (INT8_C, INT16_C, etc.): Likewise.
30172 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30174         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30175         __ehdr_start with hidden visibility.
30177         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30179 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30181         * math/libm-test.inc (cos_test): Use accurate hex constants.
30182         (sincost_test): Likewise.
30184 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30186         * math/libm-test.inc (catan_test): Add more tests.
30187         (catanh_test): Likewise.
30189         * math/s_catanf.c (__catanf): Use suffixed floating-point
30190         constants.
30191         * math/s_catanhf.c (__catanhf): Likewise.
30192         * math/s_catanhl.c (__catanhl): Likewise.
30193         * math/s_catanl.c (__catanl): Likewise.
30195         [BZ #15394]
30196         * math/s_catan.c (__catan): Calculate imaginary part of result
30197         with log1p not log unless computing log of number close to 0.
30198         * math/s_catanf.c (__catanf): Likewise.
30199         * math/s_catanl.c (__catanl): Likewise.
30200         * math/s_catanh.c (__catanh): Calculate real part of result with
30201         log1p not log unless computing log of number close to 0.
30202         * math/s_catanhf.c (__catanhf): Likewise.
30203         * math/s_catanhl.c (__catanhl): Likewise.
30204         * math/libm-test.inc (catan_test): Add more tests.
30205         (catanh_test): Likewise.
30206         * sysdeps/i386/fpu/libm-test-ulps: Update.
30207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30209 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30211         * benchtests/Makefile: Mention files in which fast and slow
30212         paths of math functions are implemented.
30214 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30216         * sysdeps/posix/timespec_get.c: New file.
30218 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30220         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30221         POWER.
30222         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30223         for POWER.
30224         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30225         powerpc/power5/fpu folders.
30226         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30227         * benchtests/Makefile: Add modf testcase.
30228         * benchtests/bench-modf.c: New file: Benchmark test for mo
30230 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30232         [BZ #14888]
30233         * time/Makefile (tests): Add tst-strptime-whitespace.
30234         * time/strptime_l.c (get_number): Use ISSPACE.
30235         (__strptime_internal): Likewise.
30236         * time/tst-strptime-whitespace.c: New test case.
30238 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30240         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30241         member.
30242         (_nss_files_init): Set it here.
30244 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30246         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30247         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30248         unsigned.
30250 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30252         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30254 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30256         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30257         size just once.
30259 2013-04-21  David S. Miller  <davem@davemloft.net>
30261         * po/ru.po: Update Russion translation from translation project.
30263 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30265         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30266         and setfsgid.
30268 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30270         * configure.in: Remove i386 configure warning. Remove i386 case.
30271         * configure: Regenerate.
30272         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30273         Add example to error message.
30274         * sysdeps/i386/configure: Regenerate.
30276 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30278         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30279         slowtan.
30280         * benchtests/cos-inputs: New file.
30281         * benchtests/slowcos-inputs: New file.
30282         * benchtests/slowcos.c: New file.
30283         * benchtests/slowtan-inputs: New file.
30284         * benchtests/slowtan.c: New file.
30285         * benchtests/tan-inputs: New file.
30287 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30289         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30290         considered kosher.
30292 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30294         * benchtests/Makefile: Include cppflags-iterator.mk to add
30295         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30297         * Makefile.in (bench-clean): New target.
30298         * benchtests/Makefile (bench-clean): Likewise.
30300 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30302         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30304 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30306         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30308 2013-04-15  Andreas Schwab  <schwab@suse.de>
30310         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30311         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30312         * nscd/pwdcache.c (cache_addpw): Likewise.
30313         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30314         more than recsize.
30316 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30318         * benchtests/Makefile (bench): Write all output to
30319         bench-out.tmp together.
30321 2013-04-15  Andreas Schwab  <schwab@suse.de>
30323         * nscd/nscd.c (main): Don't fork again after closing files.
30325 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30327         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30329         * benchtests/Rules (bench-deps): Collect dependencies into a
30330         single variable.  Add Makefile to dependencies.
30331         ($(objpfx)bench-%.c): Depend on bench-deps.
30333 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30334             Xavier Roche  <roche+kml2@exalead.com>
30336         [BZ #15361]
30337         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30338         just that it's a file descriptor.
30339         * manual/llio.texi (Synchronizing AIO Operations): Update description
30340         for EBADF error from aio_fsync.
30342 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30344         * Rules (bench): Move target definition...
30345         * benchtests/Makefile: ... here.
30347 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30349         * math/libm-test.inc (cos_test): Fix PI/2 test.
30350         (sincos_test): Likewise.
30351         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30352         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30354 2013-04-11  Andreas Schwab  <schwab@suse.de>
30356         [BZ #13988]
30357         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30358         accept exponent character only when digits were seen.
30359         * stdio-common/Makefile (tests): Add bug26.
30360         * stdio-common/bug26.c: New file.
30362         [BZ #14293]
30363         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30364         non-freeable.
30366 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30368         * Makeconfig (rtld-prefix): Define built linker prefix.
30369         * Rules (run-bench): Use it.
30370         * math/Makefile (run-regen-ulps): Likewise.
30372         * Rules (bench): Remove eval.
30374 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30375             Roland McGrath  <roland@hack.frob.com>
30376             Ondrej Bilka  <neleai@seznam.cz>
30378         [BZ #15346]
30379         * time/getdate.c: Include ctype.h and alloca.h.
30380         (__getdate_r): Trim leading and trailing spaces of input.
30381         * time/tst-getdate.c (tests): Add tests with leading and
30382         trailing spaces.
30384 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30386         [BZ #14280]
30387         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30388         when computing value.
30390 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30392         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30393         Use testrun.sh to run libm tests.
30395         [BZ #15309]
30396         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30398 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30400         [BZ #15264]
30401         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30403 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30405         * Makefile.in (regen-ulps): New target.
30406         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30407         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30408         [ifneq (no,$(PERL)] (regen-ulps): New target.
30409         [ifeq (no,$(PERL)] (regen-ulps): New target.
30410         * math/libm-test.inc (ulps_file_name): Define.
30411         (output_dir): New variable.
30412         (options): Add "output-dir" option.
30413         (parse_opt): Handle 'o' case.
30414         (main): If output_dir is non-NULL use it as a prefix
30415         otherwise use "".
30416         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30418 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30420         [BZ #10060, #10062]
30421         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30422         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30423         fail configure if __sync_val_compare_and_swap is not inlined.
30424         * sysdeps/i386/configure: Regenerate.
30425         * configure.in: Build for i686 when configured for i386.
30426         * configure: Regenerate.
30427         * README: Remove i386 reference.
30429 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30431         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30432         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30434 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30436         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30437         (lmsnanval): New variables.
30438         (F): Add conversion tests.
30439         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30440         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30442         * stdio-common/tstdiomisc.c (F): Properly collect individual
30443         tests' results.
30445         [BZ #14686, #15336]
30446         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30447         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30448         Instead, use input NaN values or generate a qNaN by arithmetic
30449         operation.  Also fix bugs to comply with the standard.
30450         * math/libm-test.inc (remainder_test): Add more tests.
30452         [BZ #15335, #15342]
30453         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30454         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30455         input NaN values or generate a qNaN by arithmetic operation.
30457         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30458         unreachable code.
30460         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30461         definitions.
30463 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30465         [BZ #14478]
30466         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30467         underflowed result.
30468         * math/s_cexpf.c (__cexpf): Likewise.
30469         * math/s_cexpl.c (__cexpl): Likewise.
30470         * math/libm-test.inc (cexp_test): Add more tests.
30472 2013-04-03  Andreas Schwab  <schwab@suse.de>
30474         [BZ #15330]
30475         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30476         order arrays from heap if bigger than alloca cutoff.
30478 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30480         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30481         (SNAN_TESTS_double): Refer to GCC PR56831.
30482         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30483         GCC PR56828.
30485 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30487         * Rules (bench): Move bench.out after the run is complete.
30489         * Rules (bench): Echo currently running benchmark.
30491         * benchtests/Makefile (bench): Add atan and slowatan.
30492         * benchtests/atan-inputs: New file.
30493         * benchtests/slowatan-inputs: New file.
30494         * benchtests/slowatan.c: New file.
30496         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30497         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30498         its value.
30500         [BZ #15305]
30501         * sysdeps/unix/sysv/linux/kernel-features.h
30502         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30503         __ASSUME_XFS_RESTRICTED_CHOWN.
30504         * sysdeps/unix/sysv/linux/pathconf.c
30505         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30506         Save and restore errno.
30508 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30510         [BZ #15327]
30511         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30512         arguments using __kernel_casinh.
30513         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30514         arguments using __kernel_casinhf.
30515         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30516         arguments using __kernel_casinhl.
30517         * math/libm-test.inc (cacosh_test): Add more tests.
30518         * sysdeps/i386/fpu/libm-test-ulps: Update.
30519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30521 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30523         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30526         * bench/Makefile (bench): Add sin and slowsin.
30527         * benchtests/sin-inputs: New file.
30528         * benchtests/slowsin-inputs: New file.
30529         * benchtests/slowsin.c: New file.
30531         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30532         (bench): Add slowexp and slowpow.
30533         (exp-ITER): Increase iterations.
30534         (pow-ITER): Likewise.
30535         * benchtests/exp-inputs: Change input.
30536         * benchtests/pow-inputs: Likewise.
30537         * benchtests/slowexp-inputs: New file.
30538         * benchtests/slowexp.c: New file.
30539         * benchtests/slowpow-inputs: New file.
30540         * benchtests/slowpow.c: New file.
30542 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30544         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30545         instructions.
30546         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30547         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30548         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30549         * benchtests/Makefile: Add rint benchtest.
30550         * benchtests/rint-inputs: Input for rint benchtest.
30552 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30554         * Versions.def (libm): Add GLIBC_2.18.
30555         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30556         hidden libm prototypes.
30557         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30558         * math/Makefile (libm-calls): Add s_issignaling.
30559         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30560         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30561         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30562         declaration.
30563         * math/math.h [__USE_GNU] (issignaling): New macro.
30564         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30565         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30566         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30567         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30568         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30569         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30570         * manual/arith.texi (issignaling): New section.
30571         * manual/libm-err-tab.pl (@all_functions): Update comment.
30572         * math/gen-libm-test.pl (parse_args): Apply special handling for
30573         issignaling.
30574         * math/libm-test.inc (print_float, issignaling_test): New
30575         functions.
30576         (check_float_internal): Add issignaling checks.
30577         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30578         default definition.
30579         * sysdeps/powerpc/math-tests.h: New file.
30580         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30581         tests.
30582         * math/test-snan.c (TEST_FUNC): Likewise.
30584 2013-03-30  David S. Miller  <davem@davemloft.net>
30586         * po/de.po: Update from translation team.
30588 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30590         [BZ #10357]
30591         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30592         imaginary part less than 1.0 and real part less than 0.5
30593         specially.
30594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30596         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30597         (cacos_test): Add more tests.
30598         (casin_test): Likewise.
30599         (casinh_test): Likewise.
30600         * sysdeps/i386/fpu/libm-test-ulps: Update.
30601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30603 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30605         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30606         ONE with its value.
30608         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30609         (__pow_mp): Replace ONE and MONE with their values.
30610         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30611         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30612         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30613         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30614         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30615         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30617         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30619         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30620         (__pow_mp): Replace ZERO and MZERO with their values.
30621         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30622         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30623         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30624         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30625         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30626         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30627         (__sqr): Likewise.
30629         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30631         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30633 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30635         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30636         Declare with __attribute__ ((weak)).
30637         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30638         Call __call_tls_dtors only if it's not NULL.
30640 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30642         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30643         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30644         magic __ehdr_start linker symbol if it's defined.
30645         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30646         them up here if it was already done.
30648         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30649         (_dl_aux_init): Use const in cast when setting it.
30650         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30651         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30652         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30654         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30655         Declare them here.
30656         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30657         * csu/libc-tls.c: Nor here.
30658         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30660         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30661         (__libc_message): Never call vsyslog.
30663 2013-03-28  Alan Modra  <amodra@gmail.com>
30665         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30666         Define as empty.
30667         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30668         Likewise.
30670 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30672         [BZ #15214]
30673         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30674         underflow.
30675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30677 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30679         [BZ #15304]
30680         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30681         Don't add gid passed as argument.
30683         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30685 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30687         [BZ #15307]
30688         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30689         imaginary part between 1.0 and 1.5 and real part less than 0.5
30690         specially.
30691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30693         * math/libm-test.inc (cacos_test): Add more tests.
30694         (casin_test): Likewise.
30695         (casinh_test): Likewise.
30696         * sysdeps/i386/fpu/libm-test-ulps: Update.
30697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30699 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30701         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30702         constants.
30703         (norm): Likewise.
30704         (denorm): Likewise.
30705         (__dbl_mp): Likewise.
30706         (add_magnitudes): Likewise.
30707         (sub_magnitudes): Likewise.
30708         (__add): Likewise.
30709         (__sub): Likewise.
30710         (__mul): Likewise.
30711         (__sqr): Likewise.
30712         (__inv): Likewise.
30713         (__dvd): Likewise.
30715         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30716         commented code.
30717         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30718         (__dubcos): Likewise.
30719         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30720         (__ieee754_acos): Likewise.
30721         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30722         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30723         (__exp1): Likewise.
30724         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30725         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30726         (log1): Likewise.
30727         (my_log2): Likewise.
30728         (checkint): Likewise.
30729         * sysdeps/ieee754/dbl-64/e_remainder.c
30730         (__ieee754_remainder): Likewise.
30731         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30732         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30733         (bsloww): Likewise.
30734         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30736         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30737         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30738         MANTISSA_STORE_T to store computations on mantissa.  Use
30739         macros for rounding and division.
30740         (denorm): Likewise.
30741         (__dbl_mp): Likewise.
30742         (add_magnitudes): Likewise.
30743         (sub_magnitudes): Likewise.
30744         (__mul): Likewise.
30745         (__sqr): Likewise.
30746         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30747         powers of two in terms of TWOPOW macro.
30748         (mp_no): Make type of mantissa as MANTISSA_T.
30749         [!RADIXI]: Define RADIXI.
30750         [!TWO52]: Define TWO52.
30751         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30753 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30755         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30756         llroundl symbol when building for PPC32.
30758 2013-03-24  Mark H Weaver  <mhw@netris.org>
30760         * manual/arith.texi (Normalization Functions): Fix prototypes for
30761         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30763 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30765         [BZ #13889]
30766         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30767         high value to check if expl overflow.
30768         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30769         to check for underflow and overflow.
30770         * math/libm-test.inc: Add exp test.
30772 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30774         [BZ #11120]
30775         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30776         with NOT_IN_libc.
30778 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30780         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30781         symbol.
30783 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30785         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30786         wrap blocks consisting of several statements.
30788         * sysdeps/generic/math-tests.h: New file.
30789         * sysdeps/i386/fpu/math-tests.h: Likewise.
30790         * math/test-snan.c: Include it.
30791         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30793 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30795         [BZ #15285]
30796         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30797         (__ieee754_j0l): Do not improve calculations using cos of twice
30798         input for inputs above LDBL_MAX / 2.0L.
30799         (__ieee754_y0l): Likewise.
30800         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30801         (__ieee754_j1l): Do not improve calculations using cos of twice
30802         input for inputs above LDBL_MAX / 2.0L.
30803         (__ieee754_y1l): Likewise.
30804         * math/libm-test.inc (j0_test): Add another test.
30805         (j1_test): Likewise.
30806         (y0_test): Likewise.
30807         (y1_test): Likewise.
30808         * sysdeps/i386/fpu/libm-test-ulps: Update.
30810 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30812         * Rules ($(objpfx)bench-%.c): Include code from a C source
30813         file.
30815 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30817         [BZ #15287]
30818         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30819         imaginary part 1.0 and real part less than 0.5 specially.
30820         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30821         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30822         * math/libm-test.inc (cacos_test): Add more tests.
30823         (casin_test): Likewise.
30824         (casinh_test): Likewise.
30825         * sysdeps/i386/fpu/libm-test-ulps: Update.
30826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30828 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30831         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30833 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30835         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30836         * config.make.in (config-cflags-sse4): Remove variable.
30837         (config-cflags-avx): Likewise.
30838         (config-cflags-sse2avx): Likewise.
30839         (config-cflags-novzeroupper): Likewise.
30840         (config-asflags-i686): Likewise.
30841         (have-mfma4): Likewise.
30842         (have-as-vis3): Likewise.
30843         (MIG): Likewise.
30844         * configure.in (MIG): Do not AC_SUBST.
30845         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30846         (libc_cv_cc_sse4): Do not AC_SUBST.
30847         (libc_cv_cc_avx): Likewise.
30848         (libc_cv_cc_sse2avx): Likewise.
30849         (libc_cv_cc_novzeroupper): Likewise.
30850         (libc_cv_cc_fma4): Likewise.
30851         (libc_cv_as_i686): Likewise.
30852         (libc_cv_sparc_as_vis3): Likewise.
30853         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30854         LIBC_CONFIG_VAR.
30855         (config-asflags-i686): Likewise.
30856         (config-cflags-avx): Likewise.
30857         (config-cflags-sse2avx): Likewise.
30858         (have-mfma4): Likewise.
30859         (config-cflags-novzeroupper): Likewise.
30860         * sysdeps/mach/configure.in (MIG): Likewise.
30861         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30862         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30863         LIBC_CONFIG_VAR.
30864         (config-cflags-avx): Likewise.
30865         (config-cflags-sse2avx): Likewise.
30866         (have-mfma4): Likewise.
30867         (config-cflags-novzeroupper): Likewise.
30868         * configure: Regenerated.
30869         * sysdeps/i386/configure: Likewise.
30870         * sysdeps/mach/configure: Likewise.
30871         * sysdeps/sparc/configure: Likewise.
30872         * sysdeps/x86_64/configure: Likewise.
30874 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30876         [BZ #14812]
30877         * locale/programs/localedef.c (options): Put N_ translation marker
30878         on argument names, not just descriptions.
30880 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30882         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30884 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30886         [BZ #14176]
30887         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30889 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30891         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30892         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30893         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30894         [!BEFORE_ABORT] (before_abort): New function.
30895         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30896         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30897         (writev_for_fatal): New function.
30898         (WRITEV_FOR_FATAL): New macro; call that.
30899         (backtrace_and_maps): New function.
30900         (BEFORE_ABORT): New macro; call that.
30901         (struct str_list): Type removed.
30902         (__libc_message, __libc_fatal): Functions removed.
30903         Include <sysdeps/posix/libc_fatal.c> instead.
30905 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30907         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30908         constants.
30909         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30910         double constants.
30912 2013-03-19  Andreas Schwab  <schwab@suse.de>
30914         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30915         * sysdeps/gnu/configure: Regenerate.
30917         * configure.in: Substitute libc_cv_rtlddir.
30918         * configure: Regenerate.
30919         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30920         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30921         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30922         * elf/Makefile (install-others, CFLAGS-interp.c)
30923         (ldso_install, common-ldd-rewrite): Likewise.
30924         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30925         $(inst_slibdir)/$(rtld-installed-name).
30926         * scripts/rellns-sh: Add -p option.
30927         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30928         for source.
30930 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932         * manual/nptl.texi: Renamed to ...
30933         * manual/threads.texi: ... this.
30934         * manual/Makefile (chapters): Update.
30936 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30938         [BZ #14812]
30939         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30940         on argument names, not just descriptions.
30941         * malloc/memusagestat.c (options): Likewise.
30942         * nss/getent.c (options): Likewise.
30944 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30946         [BZ #14812]
30947         * iconv/iconv_prog.c (options): Put N_ translation marker
30948         on argument names, not just descriptions.
30949         * iconv/iconvconfig.c (options): Likewise.
30951 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30953         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30954         implementation which is faster on all x86_64 architectures.
30955         Tested on AMD, Intel Nehalem, SNB, IVB.
30956         * sysdeps/x86_64/strnlen.S: Likewise.
30958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30959         Remove all multiarch strlen and strnlen versions.
30960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30961         Remove strlen and strnlen related parts.
30963         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30964         Inline strlen part.
30965         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30967         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30968         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30969         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30970         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30971         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30972         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30974 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30976         * manual/memory.texi (Malloc Tunable Parameters):
30977         Sort parameters alphabetically. Add comments for missing entries.
30979 2013-03-17  David S. Miller  <davem@davemloft.net>
30981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30983 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30985         [BZ #15283]
30986         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30987         for arguments at most half maximum finite value.
30988         * math/libm-test.inc (j0_test): Add more tests.
30989         (j1_test): Likewise.
30990         (y0_test): Likewise.
30991         (y1_test): Likewise.
30992         * sysdeps/i386/fpu/libm-test-ulps: Update.
30993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30995         [BZ #14155]
30996         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30997         1 / x and functions P and Q for arguments above 0x1p256L.
30998         (__ieee754_y0l): Likewise.
30999         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31000         (__ieee754_y1l): Likewise.
31001         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31002         (j1_test): Likewise.
31003         (y0_test): Likewise.
31004         (y1_test): Likewise.
31006 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
31008         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31009         variable.
31011 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31013         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31014         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31015         zero since it's initialized to EXEC_PAGESIZE.
31017         * sysdeps/unix/sysv/linux/ldsodefs.h
31018         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31019         * sysdeps/generic/ldsodefs.h: ... here.
31021 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31023         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31025         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31026         math/test-snan.c.
31027         * math/test-snan.c: Renamed from
31028         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31029         * math/Makefile (tests): Add test-snan.
31030         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31031         test-powerpc-snan.
31033         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31034         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31035         functions.
31036         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31037         __builtin_nan family of functions.
31038         * math/libm-test.inc (initialize): Initialize qnan_value with
31039         __builtin_nan family of functions.
31040         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31041         Remove variables.
31042         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31043         Remove functions.
31044         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31045         storage class.  Initialize qNaN_var and sNaN_var with
31046         __builtin_nan and __builtin_nans families of functions,
31047         respectively.
31049         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31050         (sqrt_test): Remove duplicate test with qNaN input.
31051         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31052         (round_test, signbit_test, significand_test): Note missing +/-Inf
31053         as well as qNaN tests.
31055         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31056         qNaN_var.  Fix a few strings, too.
31057         * math/libm-test.inc (nan_value): Rename to qnan_value.
31058         * math/gen-libm-test.pl (%beautify): Adjust to that.
31059         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31060         * math/test-misc.c (main): Likewise.
31061         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31062         to __qnan_bytes, and __qnan_union, respectively.
31063         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31064         Likewise.
31065         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31066         and lqnanval, respectively.
31067         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31068         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31069         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31070         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31072         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31073         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31074         doubles.
31076         * math/test-misc.c (main): Fix copy'n'pastos.
31077         * misc/tst-efgcvt.c (special): Likewise.
31079         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31080         Remove declarations.
31082 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31084         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31085         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31086         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31087         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31089 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31091         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31092         macro to return vdso values correctly in IFUNC implementations.
31093         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31094         Optimization by using IFUNC.
31096 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31097             Richard Henderson  <rth@redhat.com>
31098             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31100         * Makefile.in (bench): New target.
31101         * NEWS: Mention the benchmark framework.
31102         * Rules (bench): Likewise.
31103         (binaries-bench): Generate binaries for functions to
31104         benchmark.
31105         * benchtests/Makefile: New makefile for benchmark tests.
31106         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31107         programs.
31108         * benchtests/exp-inputs: New input file for EXP function.
31109         * benchtests/pow-inputs: New input file for POW function.
31110         * scripts/bench.pl: New script to generate source files for
31111         benchmark programs.
31113 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31115         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31116         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31117         computations on mantissa.  Use macros for rounding and
31118         division.
31119         (denorm): Likewise.
31120         (__dbl_mp): Likewise.
31121         (add_magnitudes): Likewise.
31122         (sub_magnitudes): Likewise.
31123         (__mul): Likewise.
31124         (__sqr): Likewise.
31125         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31126         powers of two in terms of TWOPOW macro.
31127         (mp_no): Make type of mantissa as MANTISSA_T.
31128         [!RADIXI]: Define RADIXI.
31129         [!TWO52]: Define TWO52.
31130         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31132         * manual/nptl.texi (cindex): Modify threads to pthreads.
31134 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31136         * sysdeps/x86_64/preconfigure: Regenerated.
31138 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31140         [BZ #14155]
31141         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31142         0x1p28 and above.
31143         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31144         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31145         0x1p28 and above.
31146         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31147         * math/libm-test.inc (j0_test): Do not allow one spurious
31148         underflow exception.
31149         (y1_test): Likewise.
31151 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31153         * manual/Makefile (chapters): Add nptl.
31154         * manual/debug.texi (Debugging Support): Add link to Threads
31155         chapter.
31156         * manual/nptl.texi: New file.
31158         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31160 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31162         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31163         for non-NULL pointer before the memory validity test. Pointed
31164         out by Holger Brunck <holger.brunck@keymile.com>.
31166 2013-03-13  Andreas Schwab  <schwab@suse.de>
31168         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31169         instead of .os.
31171 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31173         * timezone/zic.c: Update from tzcode 2013b.
31175 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31177         * manual/install.texi (Configuring and compiling):
31178         Mention i686 and i586.
31179         * INSTALL: Regenerate.
31181 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31183         * sysdeps/init_array/elf-init.c: New file.
31184         * csu/elf-init.c
31185         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31186         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31188         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31189         __gmon_start__ as global, but as static with a .preinit_array pointer.
31190         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31191         * sysdeps/init_array/crti.S: New file, empty except for comments.
31192         * sysdeps/init_array/crtn.S: Likewise.
31194 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31196         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31197         definining bcopy.
31198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31199         Remove Prefer_SSE_for_memop.
31200         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31201         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31202         HAS_PREFER_SSE_FOR_MEMOP.
31203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31204         memset-x86-64.
31205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31206         Remove bzero, memset ifunc support.
31207         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31208         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31209         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31210         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31212 2013-03-11  Andreas Schwab  <schwab@suse.de>
31214         [BZ #15234]
31215         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31216         by SHLIB_COMPAT.
31217         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31218         (GLIBC_2.16): Remove pthread_atfork.
31220 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31222         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31223         (ptestcases.h): Likewise.
31225 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31227         * Makeconfig ($(common-objpfx)config.status): Depend on
31228         sysdeps/*/preconfigure{,.in} too.
31230 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31232         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31233         (__free_hook): Use void * instead of __malloc_ptr_t.
31234         (__malloc_hook): Likewise.
31235         (__realloc_hook): Likewise.
31236         (__memalign_hook): Likewise.
31237         (__after_morecore_hook): Likewise.
31238         * malloc/arena.c (save_malloc_hook): Likewise.
31239         (save_free_hook): Likewise.
31240         * malloc/hooks.c (malloc_hook_ini): Likewise.
31241         (realloc_hook_ini): Likewise.
31242         (memalign_hook_ini): Likewise.
31243         * malloc/malloc.c (malloc_hook_ini): Likewise.
31244         (realloc_hook_ini): Likewise.
31245         (memalign_hook_ini): Likewise.
31246         (__free_hook): Likewise.
31247         (__malloc_hook): Likewise.
31248         (__realloc_hook): Likewise.
31249         (__memalign_hook): Likewise.
31250         (__libc_malloc): Likewise.
31251         (__libc_free): Likewise.
31252         (__libc_realloc): Likewise.
31253         (__libc_memalign): Likewise.
31254         (__libc_valloc): Likewise.
31255         (__libc_pvalloc): Likewise.
31256         (__libc_calloc): Likewise.
31257         (__posix_memalign): Likewise.
31258         * malloc/morecore.c (__sbrk): Likewise.
31259         (__default_morecore): Likewise.
31261         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31263         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31264         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31265         __malloc_ptrdiff_t.
31267         * malloc/malloc.h (__malloc_size_t): Remove macro.
31268         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31269         __malloc_size_t.
31270         (old_memalign_hook): Likewise.
31271         (old_realloc_hook): Likewise.
31272         (struct hdr): Likewise.
31273         (flood): Likewise.
31274         (mallochook): Likewise.
31275         (memalignhook): Likewise.
31276         (reallochook): Likewise.
31277         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31278         (tr_old_realloc_hook): Likewise.
31279         (tr_old_memalign_hook): Likewise.
31280         (tr_mallochook): Likewise.
31281         (tr_reallochook): Likewise.
31282         (tr_memalignhook): Likewise.
31284 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31286         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31287         default_ldbl_pack and using as default implementation.
31288         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31289         implementation.
31290         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31291         redundant definition.
31292         (ldbl_insert_mantissa): Likewise.
31293         (ldbl_canonicalize): Likewise.
31294         (ldbl_nearbyint): Likewise.
31295         (ldbl_pack): Rename to ldbl_pack_ppc.
31296         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31297         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31298         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31300 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31303         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31304         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31305         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31306         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31308         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31309         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31311 2013-03-07  Andreas Jaeger  <aj@suse.de>
31313         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31314         bits/mman-linux.h.
31316 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31318         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31319         Include mpa.h and declare __MPEXP.
31320         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31321         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31322         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31323         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31324         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31325         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31326         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31328         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31329         (__slowpow): Use long double EXPL and LOGL functions to
31330         compute POW.
31331         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31332         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31333         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31334         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31335         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31336         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31339         intermediate variable to calculate exponent.
31340         (__sqr): Likewise.
31341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31342         Likewise.
31343         (__sqr): Likewise.
31345         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31346         [!NO__SQR]: Define __sqr.
31347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31348         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31349         sysdeps/ieee754/dbl-64/mpa.c.
31350         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31352         [BZ #12723]
31353         * posix/Makefile (tests): Add tst-pathconf.
31354         * posix/tst-pathconf.c: New test case.
31355         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31356         _PC_PIPE_BUF.
31357         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31359 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31361         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31363 2013-03-06  Andreas Jaeger  <aj@suse.de>
31365         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31366         definition via __MAP_ANONYMOUS.
31368         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31369         it's not part of Linux headers.
31371         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31372         (MAP_HUGE_MASK): Define.
31374         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31375         Define.
31376         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31377         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31378         Define.
31379         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31380         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31381         Define.
31382         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31383         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31384         Define.
31385         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31387         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31388         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31389         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31390         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31391         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31392         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31394         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31395         Handle f2fs.
31397         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31398         Handle f2fs and efivarfs.
31400         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31401         f2fs.
31403         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31404         (EFIVARFS_MAGIC): Add.
31405         (F2FS_LINK_MAX): Add.
31407 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31409         * stdio-common/vfprintf.c: Replace __builtin_expect with
31410         __glibc_unlikely.
31412 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31414         [BZ #13550]
31415         * sysdeps/generic/bp-sym.h: Remove file.
31416         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31417         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31418         <bp-sym.h> and <bp-asm.h>.
31419         (__longjmp): Don't use BP_SYM.
31420         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31421         and <bp-asm.h>.
31422         (memcpy): Don't use BP_SYM.
31423         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31424         <bp-sym.h> and <bp-asm.h>.
31425         (memcpy): Don't use BP_SYM.
31426         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31427         <bp-asm.h>.
31428         (memcpy): Don't use BP_SYM.
31429         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31430         <bp-asm.h>.
31431         (memset): Don't use BP_SYM.
31432         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31433         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31434         (__bzero): Don't use BP_SYM.
31435         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31436         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31437         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31438         <bp-sym.h> and <bp-asm.h>.
31439         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31440         pointers.
31441         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31442         <bp-sym.h> and <bp-asm.h>.
31443         (memcpy): Don't use BP_SYM.
31444         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31445         <bp-sym.h> and <bp-asm.h>.
31446         (memset): Don't use BP_SYM.
31447         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31448         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31449         (__bzero): Don't use BP_SYM.
31450         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31451         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31452         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31453         <bp-sym.h> and <bp-asm.h>.
31454         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31455         pointers.
31456         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31457         <bp-sym.h> and <bp-asm.h>.
31458         (memcpy): Don't use BP_SYM.
31459         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31460         <bp-sym.h> and <bp-asm.h>.
31461         (memset): Don't use BP_SYM.
31462         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31463         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31464         (__bzero): Don't use BP_SYM.
31465         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31466         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31467         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31468         <bp-sym.h> and <bp-asm.h>.
31469         (__memchr): Don't use BP_SYM.
31470         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31471         <bp-sym.h> and <bp-asm.h>.
31472         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31473         pointers.
31474         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31475         <bp-sym.h> and <bp-asm.h>.
31476         (memcpy): Don't use BP_SYM.
31477         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31478         <bp-sym.h> and <bp-asm.h>.
31479         (__mempcpy): Don't use BP_SYM.
31480         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31481         <bp-sym.h> and <bp-asm.h>.
31482         (__memrchr): Don't use BP_SYM.
31483         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31484         <bp-sym.h> and <bp-asm.h>.
31485         (memset): Don't use BP_SYM.
31486         (__bzero): Likewise.
31487         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31488         <bp-sym.h> and <bp-asm.h>.
31489         (__rawmemchr): Don't use BP_SYM.
31490         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31491         <bp-sym.h> and <bp-asm.h>.
31492         (__STRCMP): Don't use BP_SYM.
31493         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31494         <bp-sym.h> and <bp-asm.h>.
31495         (strchr): Don't use BP_SYM.
31496         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31497         <bp-sym.h> and <bp-asm.h>.
31498         (__strchrnul): Don't use BP_SYM.
31499         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31500         <bp-sym.h> and <bp-asm.h>.
31501         (strlen): Don't use BP_SYM.
31502         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31503         <bp-sym.h> and <bp-asm.h>.
31504         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31505         pointers.
31506         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31507         <bp-sym.h> and <bp-asm.h>.
31508         (__strnlen): Don't use BP_SYM.
31509         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31510         <bp-sym.h> and <bp-asm.h>.
31511         (__GI__setjmp): Don't use BP_SYM.
31512         (_setjmp): Likewise.
31513         (__sigsetjmp): Likewise.
31514         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31515         (L(start_addresses)): Don't use BP_SYM.
31516         (_start): Likewise.
31517         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31518         <bp-asm.h>.
31519         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31520         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31521         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31522         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31523         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31524         <bp-asm.h>.
31525         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31526         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31527         about bounded pointers.
31528         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31529         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31530         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31531         <bp-asm.h>.
31532         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31533         about bounded pointers.  Remove GKM FIXME comments.
31534         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31535         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31536         <bp-asm.h>.
31537         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31538         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31539         Remove GKM FIXME comments.
31540         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31541         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31542         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31543         <bp-asm.h>.
31544         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31545         about bounded pointers.  Remove GKM FIXME comment.
31546         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31547         and <bp-asm.h>.
31548         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31549         pointers.
31550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31551         <bp-sym.h> and <bp-asm.h>.
31552         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31554         <bp-sym.h> and <bp-asm.h>.
31555         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31556         comment.
31558 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31560         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31561         call free(NULL).
31563 2013-03-05  David S. Miller  <davem@davemloft.net>
31565         * po/es.po: Update from translation team.
31567 2013-03-05  Andreas Jaeger  <aj@suse.de>
31569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31570         <bits/mman-linux.h>.
31571         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31572         is fine.
31573         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31574         <bits/mman-linux.h> to end of file.
31575         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31576         is fine.
31577         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31578         <bits/mman-linux.h> to end of file.
31579         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31580         is fine.
31581         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31582         <bits/mman-linux.h> to end of file.
31584         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31585         (MCL_CURRENT, MCL_FUTURE): Define here.
31587 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31589         [BZ #15232]
31590         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31591         attribute_hidden.
31592         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31594 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31596         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31597         fourth parameter needed for rt_sigprocmask syscall.
31598         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31599         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31600         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31601         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31602         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31603         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31605 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31607         [BZ #13550]
31608         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31609         comment about bounded pointers.
31610         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31611         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31613 2013-03-04  Andreas Jaeger  <aj@suse.de>
31615         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31616         common definitions.
31618         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31619         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31620         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31621         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31622         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31623         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31625 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31627         [BZ #15055]
31628         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31629         __ieee754_sqrl instead of __sqrl.
31631 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31633         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31634         * sysdeps/powerpc/fpu_control.h: ... here.
31635         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31636         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31637         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31638         * sysdeps/powerpc/bits/mathinline.h: ... here.
31640 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31642         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31643         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31644         to just [NEED_DL_SYSINFO_DSO].
31645         * elf/dl-support.c: Likewise.
31646         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31647         * elf/rtld.c (dl_main): Likewise.
31648         * elf/setup-vdso.h (setup_vdso): Likewise.
31649         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31650         * sysdeps/unix/sysv/linux/dl-sysdep.c
31651         (_dl_discover_osversion): Likewise.
31653 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31655         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31656         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31658 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31660         * NEWS: Mention libm performance improvements and non-x86 PI
31661         futex support.
31663         * csu/libc-start.c (__pthread_initialize_minimal): Change
31664         function arguments.
31665         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31667 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31669         [BZ #13550]
31670         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31671         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31672         <bp-sym.h> and <bp-asm.h>.
31673         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31674         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31675         and <bp-asm.h>.
31676         (memcpy): Don't use BP_SYM.
31677         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31678         <bp-asm.h>.
31679         (__mpn_add_n): Don't use BP_SYM.
31680         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31681         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31682         and <bp-asm.h>.
31683         (__mpn_addmul_1): Don't use BP_SYM.
31684         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31685         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31686         <bp-sym.h>.
31687         (_setjmp): Don't use BP_SYM.
31688         (__novmx_setjmp): Likewise.
31689         (__GI__setjmp): Likewise.
31690         (__vmx_setjmp): Likewise.
31691         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31692         <bp-sym.h>.
31693         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31694         (__bzero): Don't use BP_SYM.
31695         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31696         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31697         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31698         <bp-sym.h> and <bp-asm.h>.
31699         (memcpy): Don't use BP_SYM.
31700         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31701         <bp-sym.h> and <bp-asm.h>.
31702         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31703         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31704         <bp-sym.h> and <bp-asm.h>.
31705         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31706         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31707         <bp-asm.h>.
31708         (__mpn_lshift): Don't use BP_SYM.
31709         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31710         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31711         <bp-asm.h>.
31712         (memset): Don't use BP_SYM.
31713         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31714         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31715         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31716         <bp-asm.h>.
31717         (__mpn_mul_1): Don't use BP_SYM.
31718         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31719         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31720         <bp-sym.h> and <bp-asm.h>.
31721         (memcmp): Don't use BP_SYM.
31722         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31723         <bp-sym.h> and <bp-asm.h>.
31724         (memcpy): Don't use BP_SYM.
31725         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31726         <bp-sym.h> and <bp-asm.h>.
31727         (memset): Don't use BP_SYM.
31728         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31729         <bp-sym.h> and <bp-asm.h>.
31730         (strncmp): Don't use BP_SYM.
31731         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31732         <bp-sym.h> and <bp-asm.h>.
31733         (memcpy): Don't use BP_SYM.
31734         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31735         <bp-sym.h> and <bp-asm.h>.
31736         (memset): Don't use BP_SYM.
31737         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31738         <bp-sym.h> and <bp-asm.h>.
31739         (__memchr): Don't use BP_SYM.
31740         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31741         <bp-sym.h> and <bp-asm.h>.
31742         (memcmp): Don't use BP_SYM.
31743         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31744         <bp-sym.h> and <bp-asm.h>.
31745         (memcpy): Don't use BP_SYM.
31746         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31747         <bp-sym.h> and <bp-asm.h>.
31748         (__mempcpy): Don't use BP_SYM.
31749         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31750         <bp-sym.h> and <bp-asm.h>.
31751         (__memrchr): Don't use BP_SYM.
31752         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31753         <bp-sym.h> and <bp-asm.h>.
31754         (memset): Don't use BP_SYM.
31755         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31756         <bp-sym.h> and <bp-asm.h>.
31757         (__rawmemchr): Don't use BP_SYM.
31758         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31759         <bp-sym.h> and <bp-asm.h>.
31760         (__STRCMP): Don't use BP_SYM.
31761         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31762         <bp-sym.h> and <bp-asm.h>.
31763         (strchr): Don't use BP_SYM.
31764         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31765         <bp-sym.h> and <bp-asm.h>.
31766         (__strchrnul): Don't use BP_SYM.
31767         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31768         <bp-sym.h> and <bp-asm.h>.
31769         (strlen): Don't use BP_SYM.
31770         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31771         <bp-sym.h> and <bp-asm.h>.
31772         (strncmp): Don't use BP_SYM.
31773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31774         <bp-sym.h> and <bp-asm.h>.
31775         (__strnlen): Don't use BP_SYM.
31776         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31777         <bp-asm.h>.
31778         (__mpn_rshift): Don't use BP_SYM.
31779         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31780         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31781         <bp-sym.h> and <bp-asm.h>.
31782         (__sigsetjmp): Don't use BP_SYM.
31783         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31784         (L(start_addresses)): Don't use BP_SYM.
31785         (_start): Likewise.
31786         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31787         <bp-asm.h>.
31788         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31789         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31790         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31791         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31792         <bp-asm.h>.
31793         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31794         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31795         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31796         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31797         <bp-asm.h>.
31798         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31799         comments.
31800         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31801         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31802         <bp-asm.h>.
31803         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31804         FIXME comments.
31805         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31806         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31807         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31808         <bp-asm.h>.
31809         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31810         comment.
31811         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31812         and <bp-asm.h>.
31813         (strncmp): Don't use BP_SYM,
31814         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31815         <bp-asm.h>.
31816         (__mpn_sub_n): Don't use BP_SYM.
31817         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31818         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31819         and <bp-asm.h>.
31820         (__mpn_submul_1): Don't use BP_SYM.
31821         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31823         <bp-sym.h> and <bp-asm.h>.
31824         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31826         <bp-sym.h> and <bp-asm.h>.
31827         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31828         comment.
31830 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31832         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31833         Use ZK to minimize writes to Z.
31834         (sub_magnitudes): Simplify code a bit.
31835         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31836         Use ZK to minimize writes to Z.
31837         (sub_magnitudes): Simplify code a bit.
31839 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31841         * csu/gmon-start.c: Add special exception to license text.
31843 2013-02-27  Richard Henderson  <rth@redhat.com>
31845         * scripts/config.guess: Update from config.git.
31846         * scripts/config.sub: Likewise.
31848 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31850         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31852         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31854         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31856         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31858         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31860 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31862         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31863         [$(build-shared = yes].
31865 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31867         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31868         (__mul): Reduce iterations for calculating mantissa.
31870         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31871         MPTWO.
31872         (__mpranred): Likewise.
31874         [BZ #15160]
31875         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31876         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31878 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31880         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31881         Define __attribute__.
31883 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31885         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31886         unused.
31887         * posix/regex_internal.h (__attribute): Remove.
31888         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31889         (re_string_context_at): Likewise.
31890         (bitset_not): Use __attribute__ and mark function as possibly
31891         unused.
31892         (bitset_merge): Likewise.
31893         (bitset_mask): Likewise.
31894         (re_string_char_size_at): Likewise.
31895         (re_string_wchar_at): Likewise.
31896         (re_string_elem_size_at): Likewise.
31898 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31900         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31901         code.
31902         (cc32): Likewise.
31904         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31905         (__acr): Likewise.
31906         (__cpy): Likewise.
31907         (norm): Likewise.
31908         (denorm): Likewise.
31909         (__dbl_mp): Likewise.
31910         (add_magnitudes): Likewise.
31911         (sub_magnitudes): Likewise.
31912         (__mul): Likewise.
31913         (__inv): Likewise.
31915         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31916         style.
31918         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31919         style.
31921         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31922         code.
31924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31925         up changes with default code.
31926         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31927         Likewise.
31929 2013-02-24  Allan McRae  <allan@archlinux.org>
31931         * manual/socket.texi (The Internet Namespace): Order menu items
31932         to match that in the file.
31934         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31935         node listing of the info page menu.
31937 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31939         [BZ #13550]
31940         * sysdeps/i386/bp-asm.h: Remove file.
31941         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31942         (PARMS): Do not use macros from bp-asm.h.
31943         (S1): Likewise.
31944         (S2): Likewise.
31945         (SIZE): Likewise.
31946         (__mpn_add_n): Do not use BP_SYM
31947         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31948         "bp-asm.h".
31949         (PARMS): Do not use macros from bp-asm.h.
31950         (S1): Likewise.
31951         (SIZE): Likewise.
31952         (__mpn_addmul_1): Do not use BP_SYM
31953         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31954         "bp-asm.h".
31955         (PARMS): Do not use macros from bp-asm.h.
31956         (SIGMSK): Likewise.
31957         (_setjmp): Likewise.  Do not use BP_SYM.
31958         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31959         "bp-asm.h".
31960         (PARMS): Do not use macros from bp-asm.h.
31961         (SIGMSK): Likewise.
31962         (setjmp): Likewise.  Do not use BP_SYM.
31963         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31964         "bp-asm.h".
31965         (PARMS): Do not use macros from bp-asm.h.
31966         (__frexp): Do not use BP_SYM.
31967         (frexp): Likewise.
31968         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31969         "bp-asm.h".
31970         (PARMS): Do not use macros from bp-asm.h.
31971         (__frexpf): Do not use BP_SYM.
31972         (frexpf): Likewise.
31973         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31974         "bp-asm.h".
31975         (PARMS): Do not use macros from bp-asm.h.
31976         (__frexpl): Do not use BP_SYM.
31977         (frexpl): Likewise.
31978         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31979         "bp-asm.h".
31980         (PARMS): Do not use macros from bp-asm.h.
31981         (__remquo): Do not use BP_SYM.
31982         (remquo): Likewise.
31983         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31984         "bp-asm.h".
31985         (PARMS): Do not use macros from bp-asm.h.
31986         (__remquof): Do not use BP_SYM.
31987         (remquof): Likewise.
31988         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31989         "bp-asm.h".
31990         (PARMS): Do not use macros from bp-asm.h.
31991         (__remquol): Do not use BP_SYM.
31992         (remquol): Likewise.
31993         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31994         "bp-asm.h".
31995         (PARMS): Do not use macros from bp-asm.h.
31996         (DEST): Likewise.
31997         (SRC): Likewise.
31998         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31999         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32000         "bp-asm.h".
32001         (PARMS): Do not use macros from bp-asm.h.
32002         (strlen): Do not use BP_SYM.
32003         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32004         "bp-asm.h".
32005         (PARMS): Do not use macros from bp-asm.h.
32006         (S1): Likewise.
32007         (S2): Likewise.
32008         (SIZE): Likewise.
32009         (__mpn_add_n): Do not use BP_SYM.
32010         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32011         "bp-asm.h".
32012         (PARMS): Do not use macros from bp-asm.h.
32013         (S1): Likewise.
32014         (SIZE): Likewise.
32015         (__mpn_addmul_1): Do not use BP_SYM.
32016         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32017         weak_alias.
32018         (bzero): Likewise.
32019         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32020         "bp-asm.h".
32021         (PARMS): Do not use macros from bp-asm.h.
32022         (S): Likewise.
32023         (SIZE): Likewise.
32024         (__mpn_lshift): Do not use BP_SYM.
32025         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32026         "bp-asm.h".
32027         (PARMS): Do not use macros from bp-asm.h.
32028         (DEST): Likewise.
32029         (SRC): Likewise.
32030         (LEN): Likewise.
32031         (memcpy): Likewise.  Do not use BP_SYM.
32032         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32033         libc_hidden_def and weak_alias.
32034         (mempcpy): Do not use BP_SYM in weak_alias.
32035         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32036         "bp-asm.h".
32037         (PARMS): Do not use macros from bp-asm.h.
32038         (DEST): Likewise.
32039         (LEN): Likewise.
32040         [!BZERO_P] (CHR): Likewise.
32041         (memset): Likewise.  Do not use BP_SYM.
32042         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32043         "bp-asm.h".
32044         (PARMS): Do not use macros from bp-asm.h.
32045         (S1): Likewise.
32046         (SIZE): Likewise.
32047         (__mpn_mul_1): Do not use BP_SYM.
32048         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32049         "bp-asm.h".
32050         (PARMS): Do not use macros from bp-asm.h.
32051         (S): Likewise.
32052         (SIZE): Likewise.
32053         (__mpn_rshift): Do not use BP_SYM.
32054         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32055         "bp-asm.h".
32056         (PARMS): Do not use macros from bp-asm.h.
32057         (STR): Likewise.
32058         (CHR): Likewise.
32059         (strchr): Likewise.  Do not use BP_SYM.
32060         (index): Do not use BP_SYM in weak_alias.
32061         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32062         "bp-asm.h".
32063         (PARMS): Do not use macros from bp-asm.h.
32064         (DEST): Likewise.
32065         (SRC): Likewise.
32066         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32067         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32068         "bp-asm.h".
32069         (PARMS): Do not use macros from bp-asm.h.
32070         (strlen): Do not use BP_SYM.
32071         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32072         "bp-asm.h".
32073         (PARMS): Do not use macros from bp-asm.h.
32074         (S1): Likewise.
32075         (S2): Likewise.
32076         (SIZE): Likewise.
32077         (__mpn_sub_n): Do not use BP_SYM.
32078         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32079         "bp-asm.h".
32080         (PARMS): Do not use macros from bp-asm.h.
32081         (S1): Likewise.
32082         (SIZE): Likewise.
32083         (__mpn_submul_1): Do not use BP_SYM.
32084         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32085         "bp-asm.h".
32086         (PARMS): Do not use macros from bp-asm.h.
32087         (S1): Likewise.
32088         (S2): Likewise.
32089         (SIZE): Likewise.
32090         (__mpn_add_n): Do not use BP_SYM.
32091         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32092         weak_alias.
32093         (bzero): Likewise.
32094         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32095         "bp-asm.h".
32096         (PARMS): Do not use macros from bp-asm.h.
32097         (BLK2): Likewise.
32098         (LEN): Likewise.
32099         (memcmp): Do not use BP_SYM.
32100         (bcmp): Do not use BP_SYM in weak_alias.
32101         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32102         "bp-asm.h".
32103         (PARMS): Do not use macros from bp-asm.h.
32104         (DEST): Likewise.
32105         (SRC): Likewise.
32106         (LEN): Likewise.
32107         (memcpy): Likewise.  Do not use BP_SYM.
32108         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32109         "bp-asm.h".
32110         (PARMS): Do not use macros from bp-asm.h.
32111         (DEST): Likewise.
32112         (SRC): Likewise.
32113         (LEN): Likewise.
32114         (memmove): Likewise.  Do not use BP_SYM.
32115         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32116         "bp-asm.h".
32117         (PARMS): Do not use macros from bp-asm.h.
32118         (DEST): Likewise.
32119         (SRC): Likewise.
32120         (LEN): Likewise.
32121         (__mempcpy): Likewise.  Do not use BP_SYM.
32122         (mempcpy): Do not use BP_SYM in weak_alias.
32123         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32124         "bp-asm.h".
32125         (PARMS): Do not use macros from bp-asm.h.
32126         (DEST): Likewise.
32127         (LEN): Likewise.
32128         [!BZERO_P] (CHR): Likewise.
32129         (memset): Likewise.  Do not use BP_SYM.
32130         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32131         "bp-asm.h".
32132         (PARMS): Do not use macros from bp-asm.h.
32133         (STR2): Likewise.
32134         (strcmp): Do not use BP_SYM.
32135         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32136         "bp-asm.h".
32137         (PARMS): Do not use macros from bp-asm.h.
32138         (STR): Likewise.
32139         (DELIM): Likewise.
32140         [USE_AS_STRTOK_R] (SAVE): Likewise.
32141         (FUNCTION): Likewise.  Do not use BP_SYM.
32142         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32143         aliases.
32144         (strtok_r): Likewise.
32145         (__GI___strtok_r): Likewise.
32146         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32147         (PARMS): Do not use macros from bp-asm.h.
32148         (S): Likewise.
32149         (SIZE): Likewise.
32150         (__mpn_lshift): Do not use BP_SYM.
32151         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32152         (PARMS): Do not use macros from bp-asm.h.
32153         (STR): Likewise.
32154         (CHR): Likewise.
32155         (__memchr): Do not use BP_SYM.
32156         (memchr): Do not use BP_SYM in weak_alias.
32157         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32158         (PARMS): Do not use macros from bp-asm.h.
32159         (BLK2): Likewise.
32160         (LEN): Likewise.
32161         (memcmp): Do not use BP_SYM.
32162         (bcmp): Do not use BP_SYM in weak_alias.
32163         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32164         (PARMS): Do not use macros from bp-asm.h.
32165         (S1): Likewise.
32166         (SIZE): Likewise.
32167         (__mpn_mul_1): Do not use BP_SYM.
32168         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32169         "bp-asm.h".
32170         (PARMS): Do not use macros from bp-asm.h.
32171         (STR): Likewise.
32172         (CHR): Likewise.
32173         (__rawmemchr): Do not use BP_SYM.
32174         (rawmemchr): Do not use BP_SYM in weak_alias.
32175         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32176         (PARMS): Do not use macros from bp-asm.h.
32177         (S): Likewise.
32178         (SIZE): Likewise.
32179         (__mpn_rshift): Do not use BP_SYM.
32180         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32181         (PARMS): Do not use macros from bp-asm.h.
32182         (SIGMSK): Likewise.
32183         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32184         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32185         (_start): Do not use BP_SYM.
32186         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32187         (PARMS): Do not use macros from bp-asm.h.
32188         (DEST): Likewise.
32189         (SRC): Likewise.
32190         (__stpcpy): Likewise.  Do not use BP_SYM.
32191         (stpcpy): Do not use BP_SYM in weak_alias.
32192         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32193         "bp-asm.h".
32194         (PARMS): Do not use macros from bp-asm.h.
32195         (DEST): Likewise.
32196         (SRC): Likewise.
32197         (LEN): Likewise.
32198         (__stpncpy): Likewise.  Do not use BP_SYM.
32199         (stpncpy): Do not use BP_SYM in weak_alias.
32200         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32201         (PARMS): Do not use macros from bp-asm.h.
32202         (STR): Likewise.
32203         (CHR): Likewise.
32204         (strchr): Likewise.  Do not use BP_SYM.
32205         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32206         "bp-asm.h".
32207         (PARMS): Do not use macros from bp-asm.h.
32208         (STR): Likewise.
32209         (CHR): Likewise.
32210         (__strchrnul): Likewise.  Do not use BP_SYM.
32211         (strchrnul): Do not use BP_SYM in weak_alias.
32212         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32213         "bp-asm.h".
32214         (PARMS): Do not use macros from bp-asm.h.
32215         (STOP): Likewise.
32216         (strcspn): Do not use BP_SYM.
32217         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32218         "bp-asm.h".
32219         (PARMS): Do not use macros from bp-asm.h.
32220         (STR): Likewise.
32221         (STOP): Likewise.
32222         (strpbrk): Likewise.  Do not use BP_SYM.
32223         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32224         "bp-asm.h".
32225         (PARMS): Do not use macros from bp-asm.h.
32226         (STR): Likewise.
32227         (CHR): Likewise.
32228         (strrchr): Likewise.  Do not use BP_SYM.
32229         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32230         (PARMS): Do not use macros from bp-asm.h.
32231         (SKIP): Likewise.
32232         (strspn): Do not use BP_SYM.
32233         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32234         (PARMS): Do not use macros from bp-asm.h.
32235         (STR): Likewise.
32236         (DELIM): Likewise.
32237         (SAVE): Likewise.
32238         (FUNCTION): Likewise.  Do not use BP_SYM.
32239         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32240         aliases.
32241         (strtok_r): Likewise.
32242         (__GI___strtok_r): Likewise.
32243         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32244         (PARMS): Do not use macros from bp-asm.h.
32245         (S1): Likewise.
32246         (S2): Likewise.
32247         (SIZE): Likewise.
32248         (__mpn_sub_n): Do not use BP_SYM.
32249         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32250         "bp-asm.h".
32251         (PARMS): Do not use macros from bp-asm.h.
32252         (S1): Likewise.
32253         (SIZE): Likewise.
32254         (__mpn_submul_1): Do not use BP_SYM.
32255         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32256         <bp-sym.h>.
32257         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32258         and <bp-asm.h>.
32259         (PARMS): Do not use macros from bp-asm.h.
32260         (FLAGS): Likewise.
32261         (PTID): Likewise.
32262         (TLS): Likewise.
32263         (CTID): Likewise.
32264         (__clone): Do not use BP_SYM.
32265         (clone): Do not use BP_SYM in weak_alias.
32266         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32267         and <bp-asm.h>.
32268         (PARMS): Do not use macros from bp-asm.h.
32269         (LEN): Likewise.
32270         (__mmap64): Do not use BP_SYM.
32271         (mmap64): Do not use BP_SYM in weak_alias.
32272         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32273         <bp-sym.h> and <bp-asm.h>.
32274         (PARMS): Do not use macros from bp-asm.h.
32275         (__posix_fadvise64_l64): Do not use BP_SYM.
32276         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32277         (PARMS): Do not use macros from bp-asm.h.
32278         (NSOPS): Likewise.
32279         (semtimedop): Do not use BP_SYM.
32280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32281         and <bp-asm.h>.
32283 2013-02-21  Allan McRae  <allan@archlinux.org>
32285         * manual/message.texi (Charset conversion in gettext):
32286         Move @end statement to beginning of line.
32288 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32290         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32291         static.
32292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32293         Likewise.
32295         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32296         (denorm): Likewise.
32297         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32298         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32300 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32302         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32303         tail-call to the resolved function if pltexit isn't needed.
32305 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32307         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32308         or Y being zero as being unlikely.
32309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32310         Likewise.
32312 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32314         * manual/nss.texi (System Databases and Name Service Switch):
32315         Remove frobnicate @pxref.
32317 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32319         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32320         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32322 2013-02-20  Petr Machata  <pmachata@redhat.com>
32324         * elf/elf.h (R_ARM_TARGET1): New macro.
32325         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32326         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32327         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32328         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32329         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32330         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32331         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32332         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32333         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32334         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32335         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32336         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32337         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32338         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32339         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32340         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32341         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32342         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32343         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32344         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32345         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32346         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32347         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32348         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32349         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32350         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32351         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32352         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32353         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32354         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32355         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32356         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32357         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32358         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32359         (R_ARM_THM_GOT_BREL12): Likewise.
32360         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32361         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32362         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32363         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32364         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32365         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32366         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32367         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32368         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32370 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32372         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32373         __attribute_used__ to __attribute__ ((unused)).
32375 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32377         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32378         powerpc mpa.c.
32379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32380         comment formatting.
32381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32383 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32385         [BZ #13550]
32386         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32387         Remove macro.
32388         (ENTER): Remove both macro definitions.
32389         (LEAVE): Likewise.
32390         (CHECK_BOUNDS_LOW): Likewise.
32391         (CHECK_BOUNDS_HIGH): Likewise.
32392         (CHECK_BOUNDS_BOTH): Likewise.
32393         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32394         (RETURN_BOUNDED_POINTER): Likewise.
32395         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32396         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32397         (POP_ERRNO_LOCATION_RETURN): Likewise.
32398         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32399         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32400         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32401         macros.
32402         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32403         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32404         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32405         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32406         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32407         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32408         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32409         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32410         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32411         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32412         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32413         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32414         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32415         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32416         removed macros.
32417         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32418         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32419         macros.
32420         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32421         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32422         * sysdeps/i386/i586/memset.S (memset): Likewise.
32423         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32424         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32425         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32426         macros.
32427         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32428         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32429         Change uses of L(2) to L(out).
32430         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32431         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32432         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32434         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32435         removed macros.
32436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32437         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32438         macros.
32439         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32440         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32441         (RETURN): Do not use macro LEAVE.
32442         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32443         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32444         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32445         * sysdeps/i386/i686/memset.S (memset): Likewise.
32446         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32447         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32448         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32449         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32450         Likewise.
32451         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32452         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32453         L(1_2) and L(1_3) into L(1).
32454         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32455         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32456         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32457         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32458         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32459         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32460         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32461         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32462         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32463         macros.
32464         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32465         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32466         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32467         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32468         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32469         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32470         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32471         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32472         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32473         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32474         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32475         * sysdeps/i386/strspn.S (strspn): Likewise.
32476         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32477         conditional code.
32478         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32479         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32480         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32481         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32482         L(1_3) into L(1_1).
32483         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32484         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32485         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32486         macros.
32487         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32489 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32491         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32492         macro.
32494 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32496         * math/atest-exp.c (exp_mpn): Remove ROUND.
32497         * math/atest-exp2.c (exp_mpn): Likewise.
32498         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32500         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32501         * stdlib/tst-tls-atexit-lib.c: Likewise.
32502         * stdlib/tst-tls-atexit.c: Likewise.
32504 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32506         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32507         and __attribute_alloc_size__.
32509 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32511         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32512         __attribute_alloc_size__.
32513         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32514         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32516 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32518         * include/programs/xmalloc.h: New file.
32519         * catgets/gencat.c: Include it.
32520         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32521         * elf/pldd.c: Likewise.
32522         * iconv/iconv_charmap.c: Likewise.
32523         * iconv/iconvconfig.c: Likewise.
32524         * iconv/strtab.c: Likewise.
32525         * locale/programs/locale.c: Likewise.
32526         * locale/programs/localedef.h: Likewise.
32527         * locale/programs/simple-hash.c: Likewise.
32528         * nscd/nscd.h: Likewise.
32529         * nss/makedb.c: Likewise.
32530         * sysdeps/generic/ldconfig.h: Likewise.
32532 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32534         * Versions.def: Add GLIBC_2.18.
32535         * include/link.h (struct link_map): New member l_tls_dtor_count.
32536         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32537         (__call_tls_dtors): Likewise.
32538         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32539         __cxa_thread_atexit_impl.
32540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32541         Likewise.
32542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32543         Likewise.
32544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32545         Likewise.
32546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32547         Likewise.
32548         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32550         Likewise.
32551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32552         Likewise.
32553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32554         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32555         Likewise.
32556         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32557         (tests): Add test case tst-tls-atexit.
32558         (modules-names): Add shared library for tst-tls-atexit.
32559         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32560         (GLIBC_PRIVATE): Add __call_tls_dtors.
32561         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32562         for libstdc++.
32563         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32564         * stdlib/tst-tls-atexit.c: New test case.
32565         * stdlib/tst-tls-atexit-lib.c: New test case.
32567         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32569         * elf/Versions (ld): Add _dl_find_dso_for_object.
32570         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32571         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32572         (dl_open_worker): Use _dl_find_dso_for_object.
32573         * elf/dl-sym.c (do_sym): Likewise.
32574         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32576 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32578         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32579         Syntactic changes only.
32580         (_dl_runtime_profile): Do a tail-call to the resolved function.
32582 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32584         [BZ #13550]
32585         * sysdeps/x86_64/bp-asm.h: Remove file.
32586         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32587         <bp-sym.h> and <bp-asm.h>.
32588         (__clone): Do not use BP_SYM.
32589         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32590         <bp-sym.h> and <bp-asm.h>.
32591         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32592         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32593         "bp-asm.h".
32594         (_setjmp): Do not use BP_SYM.
32595         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32596         "bp-asm.h".
32597         (setjmp): Do not use BP_SYM.
32598         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32599         libc_hidden_def.
32600         (mempcpy): Do not use BP_SYM in weak_alias.
32601         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32602         "bp-asm.h".
32603         (strchr): Do not use BP_SYM.
32604         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32605         "bp-asm.h".
32606         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32607         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32608         (_start): Do not use BP_SYM.
32609         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32610         "bp-asm.h".
32611         (strcat): Do not use BP_SYM.
32612         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32613         "bp-asm.h".
32614         (STRCMP): Do not use BP_SYM.
32615         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32616         "bp-asm.h".
32617         (STRCPY): Do not use BP_SYM.
32618         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32619         "bp-asm.h".
32620         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32621         "bp-asm.h".
32622         (FUNCTION): Do not use BP_SYM.
32623         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32624         weak_alias.
32625         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32627 2013-02-17  Andreas Jaeger  <aj@suse.de>
32629         * time/Versions: Sort entries.
32630         * string/Versions: Likewise.
32631         * resolv/Versions: Likewise.
32632         * posix/Versions: Likewise.
32633         * iconv/Versions: Likewise.
32634         * elf/Versions: Likewise.
32635         * wcsmbs/Versions: Likewise.
32637 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32639         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32640         loop termination condition.
32642         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32643         variable to calculate EZ.
32644         (__sqr): Likewise.
32646         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32647         the lower precision input.
32649 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32651         [BZ #13550]
32652         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32653         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32654         (run-via-rtld-prefix): Do not handle %-bp tests.
32655         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32656         (all-object-suffixes): Remove .ob.
32657         (bppfx): Remove variable.
32658         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32659         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32660         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32661         [$(build-bounded) = yes] (libtype.ob): Likewise.
32662         * Makerules (elide-routines.ob): Remove variable.
32663         (do-tests-clean): Do not handle *-bp.out.
32664         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32665         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32666         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32667         (tests): Do not include $(tests-bp.out).
32668         (xtests): Do not include $(xtests-bp.out).
32669         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32670         [$(build-bounded) = yes] ($(addprefix
32671         $(objpfx),$(binaries-bounded))): Remove rule.
32672         ($(objpfx)%-bp.out): Remove rule.
32673         * config.make.in (build-bounded): Remove variable.
32674         * crypt/Makefile [$(build-bounded) = yes]
32675         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32676         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32677         append to variable.
32678         [$(build-bounded) = yes] (install-lib): Likewise.
32679         [$(build-bounded) = yes] (generated): Likewise.
32680         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32681         Remove rule.
32682         * intl/Makefile [$(build-bounded) = yes]
32683         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32684         * math/Makefile [$(build-bounded) = yes]
32685         ($(tests:%=$(objpfx)%-bp): Likewise.
32686         * misc/Makefile [$(build-bounded) = yes]
32687         ($(objpfx)tst-tsearch-bp): Likewise.
32688         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32689         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32690         Remove dependency.
32691         * string/Makefile (o-objects.ob): Remove variable.
32692         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32693         (CFLAGS-.ob): Remove variable.
32694         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32695         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32696         both definitions of variable.
32697         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32698         (ASFLAGS-.ob): Remove variable.
32700 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32702         [BZ #13550]
32703         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32704         Remove __BOUNDED_POINTERS__ from condition.
32705         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32706         * string/bits/string2.h [!__NO_STRING_INLINES &&
32707         !__BOUNDED_POINTERS__]: Likewise.
32708         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32709         Likewise.
32710         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32711         Remove conditional code.
32712         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32713         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32714         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32715         condition.
32717         [BZ #13550]
32718         * csu/libc-start.c: Do not include <bp-sym.h>.
32719         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32720         * elf/dl-open.c: Do not include <bp-sym.h>.
32721         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32722         * math/fegetenv.c: Do not include <bp-sym.h>.
32723         (fegetenv): Do not use BP_SYM in versioned symbols.
32724         * nptl/sysdeps/pthread/bits/libc-lockP.h
32725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32726         <bp-sym.h>.
32727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32728         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32730         (__pthread_mutex_destroy): Likewise.
32731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32732         (__pthread_mutex_lock): Likewise.
32733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32734         (__pthread_mutex_trylock): Likewise.
32735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32736         (__pthread_mutex_unlock): Likewise.
32737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32738         (__pthread_mutexattr_init): Likewise.
32739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32740         (__pthread_mutexattr_destroy): Likewise.
32741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32742         (__pthread_mutexattr_settype): Likewise.
32743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32744         (__pthread_rwlock_init): Likewise.
32745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32746         (__pthread_rwlock_destroy): Likewise.
32747         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32748         (__pthread_rwlock_rdlock): Likewise.
32749         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32750         (__pthread_rwlock_tryrdlock): Likewise.
32751         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32752         (__pthread_rwlock_wrlock): Likewise.
32753         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32754         (__pthread_rwlock_trywrlock): Likewise.
32755         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32756         (__pthread_rwlock_unlock): Likewise.
32757         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32758         (__pthread_key_create): Likewise.
32759         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32760         (__pthread_setspecific): Likewise.
32761         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32762         (__pthread_getspecific): Likewise.
32763         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32764         Likewise.
32765         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32766         (_pthread_cleanup_push_defer): Likewise.
32767         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32768         (_pthread_cleanup_pop_restore): Likewise.
32769         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32770         (pthread_setcancelstate): Likewise.
32771         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32772         <bp-sym.h>.
32773         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32774         (memchr): Do not use BP_SYM in weak_alias.
32775         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32776         (fegetenv): Do not use BP_SYM in versioned symbols.
32777         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32778         (fesetenv): Do not use BP_SYM in versioned symbols.
32779         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32780         (feupdateenv): Do not use BP_SYM in versioned symbols.
32781         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32782         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32783         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32784         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32785         (open64): Do not use BP_SYM in weak_alias.
32786         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32787         (fegetenv): Do not use BP_SYM in versioned symbols.
32788         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32789         (fesetenv): Do not use BP_SYM in versioned symbols.
32790         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32791         (feupdateenv): Do not use BP_SYM in versioned symbols.
32792         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32793         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32794         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32795         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32796         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32797         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32798         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32799         <bp-sym.h>.
32800         (__libc_start_main): Do not use BP_SYM.
32802 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32805         redundant return line.
32806         (norm): Likewise.
32807         (denorm): Likewise.
32808         (dbl_mp): Likewise.
32809         (sub_magnitudes): Likewise.
32810         (__add): Likewise.
32811         (__sub): Likewise.
32812         (__mul): Likewise.
32813         (__inv): Likewise.
32814         (__dvd): Likewise.
32815         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32816         (norm): Likewise.
32817         (denorm): Likewise.
32818         (dbl_mp): Likewise.
32819         (sub_magnitudes): Likewise.
32820         (__add): Likewise.
32821         (__sub): Likewise.
32822         (__mul): Likewise.
32823         (__inv): Likewise.
32824         (__dvd): Likewise.
32826         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32827         instead of __mul.
32828         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32829         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32830         (cc32): Likewise.
32832         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32833         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32835         of __mul for squares.
32836         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32837         function
32838         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32839         Likewise.
32840         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32841         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32843 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32845         [BZ #13550]
32846         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32847         code.
32848         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32849         prototype or function definition.  Rename ubp_* variables and
32850         parameters.  Remove argv definitions conditional on
32851         [__BOUNDED_POINTERS__].
32852         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32853         * elf/dl-runtime.c (_dl_fixup): Likewise.
32854         * include/set-hooks.h (RUN_HOOK): Likewise.
32855         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32856         definition.
32857         * string/strcpy.c (strcpy): Do not use __unbounded.
32858         * sysdeps/generic/frame.h (struct layout): Likewise.
32859         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32860         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32861         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32862         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32863         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32864         (__backtrace): Likewise.
32865         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32866         use __ptrvalue.
32867         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32868         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32869         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32870         Likewise.
32871         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32872         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32873         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32874         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32875         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32876         Do not use __unbounded.
32877         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32878         Rename __unboundedrlimits parameter to rlimits in prototype.
32879         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32880         Do not use __unbounded.
32881         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32882         not use __ptrvalue.
32883         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32884         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32885         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32886         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32887         __ptrvalue or __unbounded.
32888         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32889         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32890         use __unbounded.
32891         (__new_msgctl): Do not use __ptrvalue.
32892         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32893         __unbounded.
32894         (__libc_msgrcv): Do not use __ptrvalue.
32895         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32896         startup_info): Do not use __unbounded.
32897         (__libc_start_main): Likewise.  Rename ubp_* variables and
32898         parameters.  Remove argv definitions conditional on
32899         [__BOUNDED_POINTERS__].
32900         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32901         __ptrvalue.
32902         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32903         use __unbounded.
32904         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32905         or __ptrvalue.
32906         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32907         use __unbounded.
32908         (__new_shmctl): Do not use __ptrvalue.
32909         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32910         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32911         Likewise.
32912         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32913         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32914         (__libc_sigaction): Likewise.
32915         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32916         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32917         Likewise.
32918         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32920 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32922         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32924         * string/mempcpy.c: Implement by calling memcpy.
32926 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32930         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32931         evaluation.
32933         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32934         values in the mantissa.
32936         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32937         minimize writes to Z.
32938         (sub_magnitudes): Simplify code a bit.
32940 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32942         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32943         from the message.  The linker prefixes all warnings with that already.
32945 2013-02-12  Andreas Schwab  <schwab@suse.de>
32947         [BZ #15078]
32948         * posix/regexec.c (extend_buffers): Add parameter min_len.
32949         (check_matching): Pass minimum needed length.
32950         (clean_state_log_if_needed): Likewise.
32951         (get_subexp): Likewise.
32952         * posix/Makefile (tests): Add bug-regex34.
32953         (bug-regex34-ENV): Define.
32954         * posix/bug-regex34.c: New file.
32956         [BZ #11561]
32957         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32958         elements compare against the byte sequence of it, not its name.
32959         * posix/Makefile (tests): Add bug-regex35.
32960         (bug-regex35-ENV): Define.
32961         * posix/bug-regex35.c: New file.
32963 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32965         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32966         comment.
32967         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32968         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32969         (CHECK_EOL): Add undef.
32971 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32973         * bits/stdlib-bsearch.h: New file.
32974         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32975         * stdlib/stdlib.h: Likewise.
32977 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32979         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32980         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32981         declaration.
32982         * manual/search.texi (Array Search Function): Add missing const in
32983         lfind prototype.
32984         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32985         declaration to use rlim_t.
32986         (Basic Scheduling Functions): Remove erroneous const from
32987         sched_getparam prototype.  Remove erroneous * from
32988         sched_get_priority_max and sched_get_priority_min prototypes.
32989         (Resource Usage): Fix summary @comment on vtimes to refer to
32990         sys/vtimes.h rather than vtimes.h.
32991         Add missing *s in vtimes prototype.
32992         (Limits on Resources): Fix ulimit prototype to return long int.
32993         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32994         prototypes to use long int rather than double.
32995         (BSD Random): Fix initstate and setstate to use char *, not void *.
32996         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32997         prototype to make second argument 'struct aiocb64 *const[]'.
32998         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32999         (Status of AIO Operations): Remove erroneous const in aio_return and
33000         aio_return64 prototypes.
33001         (Synchronizing I/O): Fix sync prototype to return void.
33002         * manual/startup.texi (Suboptions): Remove an erroneous const in
33003         getsubopt prototype.
33004         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33005         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33006         use size_t rather than int.
33007         (Scanning All Users): Likewise for getpwent_r.
33008         (Setting Groups): Add missing const to setgroups prototype.
33009         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33010         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33011         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33012         'const void *' rather than 'const char *'.
33013         (Host Address Functions): Likewise for inet_ntop.
33014         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33015         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33016         ssize_t for return value.
33017         (Sending Data): Likewise for send, sendto, sendmsg.
33018         (Socket Option Functions): Add a missing const in setsockopt prototype.
33019         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33020         use wchar_t for the argument.
33021         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33022         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33023         take no arguments.
33024         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33025         double/float/long double for second argument.
33026         Fix return types of significand, significandf, significandl.
33027         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33028         argument in fchmod prototype.
33029         (File Owner): Use uid_t and gid_t in fchown prototype.
33030         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33031         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33032         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33033         use 'const struct dirent **' as argument types to CMP function pointer
33034         argument.
33035         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33036         (File Times): Fix summary magic @comment for struct utimbuf and utime
33037         to refer to utime.h, not time.h.
33038         * manual/string.texi (Argz Functions): Add missing const in
33039         argz_extract and argz_next prototypes.
33040         (Finding Tokens in a String): Likewise for basename.
33041         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33042         (Copying and Concatenation): Fix typo in wmemmove prototype.
33043         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33044         (Signal Stack): Remove erroneous const in sigstack prototype.
33045         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33046         prototype.
33047         (Simple Calendar Time): Likewise for stime.
33048         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33049         prototype.
33050         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33051         say sys/sysctl.h instead.
33052         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33053         and vsyslog prototypes.
33055 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33057         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33058         Remove.
33060 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33062         * misc/sys/mman.h: Fix typo in mremap comment.
33064 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33066         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33067         the '\0' terminator.
33069 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33071         [BZ #13550]
33072         * debug/segfault.c: Don't include <bp-checks.h>.
33073         * sysdeps/generic/bp-checks.h: Remove file.
33074         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33075         (__GETDENTS): Don't use CHECK_N.
33076         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33077         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33078         (__getgroups): Don't use CHECK_N.
33079         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33080         (setgroups): Don't use CHECK_N.
33081         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33082         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33083         (__libc_msgrcv): Don't use CHECK_N.
33084         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33085         (__libc_msgsnd): Don't use CHECK_N.
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33087         <bp-checks.h>.
33088         (__libc_pread): Don't use CHECK_N.
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33090         include <bp-checks.h>.
33091         (__libc_pread64): Don't use CHECK_N.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33093         include <bp-checks.h>.
33094         (__libc_pwrite): Don't use CHECK_N.
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33096         include <bp-checks.h>.
33097         (__libc_pwrite64): Don't use CHECK_N.
33098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33099         <bp-checks.h>.
33100         (__libc_pread): Don't use CHECK_N.
33101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33102         include <bp-checks.h>.
33103         (__libc_pread64): Don't use CHECK_N.
33104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33105         include <bp-checks.h>.
33106         (__libc_pwrite): Don't use CHECK_N.
33107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33108         include <bp-checks.h>.
33109         (__libc_pwrite64): Don't use CHECK_N.
33110         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33111         (do_pread): Don't use CHECK_N.
33112         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33113         (do_pread64): Don't use CHECK_N.
33114         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33115         (do_pwrite): Don't use CHECK_N.
33116         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33117         (do_pwrite64): Don't use CHECK_N.
33118         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33119         (__libc_readv): Don't use CHECK_N.
33120         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33121         (semop): Don't use CHECK_N.
33122         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33123         <bp-checks.h>.
33124         (semtimedop): Don't use CHECK_N.
33125         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33126         (__libc_pread): Don't use CHECK_N.
33127         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33128         <bp-checks.h>.
33129         (__libc_pread64): Don't use CHECK_N.
33130         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33131         <bp-checks.h>.
33132         (__libc_pwrite): Don't use CHECK_N.
33133         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33134         <bp-checks.h>.
33135         (__libc_pwrite64): Don't use CHECK_N.
33136         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33137         <bp-checks.h>.
33138         (__libc_msgrcv): Don't use CHECK_N.
33139         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33140         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33141         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33142         (__libc_writev): Don't use CHECK_N.
33144 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33146         * string/strcpy.c: Removed unused variable.
33148         * Makeconfig (+sysdep-includes): Define with := rather than =.
33149         Use an existing include/ subdir of each sysdeps dir before it.
33151 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33153         * nscd/connection.c (register_traced_file): Comment function.
33154         [HAVE_INOTIFY] (union __inev): Define.
33155         [HAVE_INOTIFY] (inotify_check_files): New function.
33156         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33157         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33158         clear_db_cache.
33159         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33161 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33163         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33164         loaded if not already and that a failure is permanent.
33166 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33168         [BZ #15006]
33169         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33170         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33172 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33174         [BZ #13550]
33175         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33176         (CHECK_1_NULL_OK): Likewise.
33177         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33178         (__fxstat): Do not use CHECK_1.
33179         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33180         <bp-checks.h>.
33181         (___fxstat64): Do not use CHECK_1.
33182         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33183         <bp-checks.h>.
33184         (__fxstatat): Do not use CHECK_1.
33185         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33186         <bp-checks.h>.
33187         (__fxstatat64): Do not use CHECK_1.
33188         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33189         <bp-checks.h>.
33190         (__fxstat): Do not use CHECK_1.
33191         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33192         <bp-checks.h>.
33193         (__fxstatat): Do not use CHECK_1.
33194         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33195         <bp-checks.h>.
33196         (__getresgid): Do not use CHECK_1.
33197         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33198         <bp-checks.h>.
33199         (__getresuid): Do not use CHECK_1.
33200         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33201         <bp-checks.h>.
33202         (__lxstat): Do not use CHECK_1.
33203         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33204         <bp-checks.h>.
33205         (__old_msgctl): Do not use CHECK_1.
33206         (__new_msgctl): Likewise.
33207         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33208         <bp-checks.h>.
33209         (__new_setrlimit): Do not use CHECK_1.
33210         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33211         <bp-checks.h>.
33212         (__old_shmctl): Do not use CHECK_1.
33213         (__new_shmctl): Likewise.
33214         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33215         <bp-checks.h>.
33216         (__xstat): Do not use CHECK_1.
33217         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33218         (__lxstat): Do not use CHECK_1.
33219         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33220         <bp-checks.h>.
33221         (___lxstat64): Do not use CHECK_1.
33222         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33223         (__old_msgctl): Do not use CHECK_1.
33224         (__new_msgctl): Likewise.
33225         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33226         <bp-checks.h>.
33227         (__gettimeofday): Do not use CHECK_1.
33228         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33229         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33230         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33231         <bp-checks.h>.
33232         (__gettimeofday): Do not use CHECK_1.
33233         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33234         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33235         (__new_shmctl): Do not use CHECK_1.
33236         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33237         <bp-checks.h>.
33238         (do_sigtimedwait): Do not use CHECK_1.
33239         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33240         <bp-checks.h>.
33241         (do_sigwaitinfo): Do not use CHECK_1.
33242         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33243         <bp-checks.h>.
33244         (msgctl): Do not use CHECK_1.
33245         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33246         <bp-checks.h>.
33247         (shmctl): Do not use CHECK_1.
33248         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33249         (ustat): Do not use CHECK_1.
33250         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33251         <bp-checks.h>.
33252         (__fxstat): Do not use CHECK_1.
33253         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33254         <bp-checks.h>.
33255         (__fxstatat): Do not use CHECK_1.
33256         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33257         <bp-checks.h>.
33258         (__lxstat): Do not use CHECK_1.
33259         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33260         <bp-checks.h>.
33261         (__xstat): Do not use CHECK_1.
33262         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33263         (__xstat): Do not use CHECK_1.
33264         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33265         (___xstat64): Do not use CHECK_1.
33267         [BZ #13550]
33268         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33269         definitions.
33270         (CHECK_BOUNDS_HIGH): Likewise.
33271         * string/strcpy.c: Do not include <bp-checks.h>.
33272         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33274 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33276         * nscd/nscd-client.h (__nscd_drop_map_ref):
33277         Add __attribute__ ((unused)).
33278         * nis/nss-nisplus.h (niserr2nss): Likewise.
33280         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33281         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33283         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33284         Remove inline keyword.
33285         * include/rounding-mode.h (round_away): Likewise.
33286         * libio/wfileops.c (adjust_wide_data): Likewise.
33287         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33288         (__m128i_strloadu_tolower): Likewise.
33289         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33290         (__m128i_strloadu_tolower): Likewise.
33291         * time/mktime.c (ydhms_diff): Likewise.
33292         * locale/elem-hash.h (elem_hash): Likewise.
33293         * locale/setlocale.c (setdata): Likewise.
33294         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33295         (re_string_wchar_at): Likewise.
33296         (bitset_not, bitset_merge, bitset_mask): Likewise.
33297         [!(__GNUC__ > 3)] (inline): Remove macro.
33298         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33299         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33300         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33301         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33302         * string/memcmp.c (memcmp_bytes): Likewise.
33303         * locale/programs/locarchive.c (compute_hashval): Likewise.
33304         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33305         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33306         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33307         * nss/getent.c (print_rpc, print_protocols): Likewise.
33308         (print_passwd, print_group, print_aliases): Likewise.
33309         * nis/nss-nisplus.h (niserr2nss): Likewise.
33310         * nscd/connections.c (restart_p): Likewise.
33311         Change return type to bool.
33313 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33315         * Makeconfig (all-Depend-files): Add existing
33316         $(sorted-subdirs:=/Depend) files.
33317         (all-subdirs): Remove nss.
33318         * sysdeps/unix/inet/Subdirs: Add it here instead.
33319         * hesiod/Depend: New file.
33321         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33322         instead of calling alloca.
33324         * io/lseek.c (__lseek): Rename to __libc_lseek.
33325         Define __lseek as an alias.
33327         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33329 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33331         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33332         else clause and remove check for non-standard endianness.
33334 2013-02-04  David S. Miller  <davem@davemloft.net>
33336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33338 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33340         [BZ #13550]
33341         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33342         (__ubp_memchr): Remove prototype.
33343         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33344         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33345         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33346         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33347         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33348         Remove alias.
33349         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33350         (__ubp_memchr): Likewise.
33351         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33352         (__ubp_memchr): Likewise.
33353         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33354         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33355         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33356         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33357         CHECK_STRING.
33358         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33359         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33360         (__getcwd): Do not use CHECK_STRING.
33361         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33362         <bp-checks.h>.
33363         (__real_chown): Do not use CHECK_STRING.
33364         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33365         <bp-checks.h>.
33366         (fchownat): Do not use CHECK_STRING.
33367         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33368         CHECK_STRING.
33369         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33370         <bp-checks.h>.
33371         (__lchown): Do not use CHECK_STRING.
33372         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33373         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33374         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33375         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33377         include <bp-checks.h>.
33378         (truncate64): Do not use CHECK_STRING.
33379         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33380         <bp-checks.h>.
33381         (__real_chown): Do not use CHECK_STRING.
33382         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33383         <bp-checks.h>.
33384         (__lchown): Do not use CHECK_STRING.
33385         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33386         <bp-checks.h>.
33387         (__chown): Do not use CHECK_STRING.
33388         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33389         <bp-checks.h>.
33390         (truncate64): Do not use CHECK_STRING.
33391         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33392         Likewise.
33393         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33394         (__xmknod): Do not use CHECK_STRING.
33395         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33396         <bp-checks.h>.
33397         (__xmknodat): Do not use CHECK_STRING.
33398         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33399         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33401 2013-02-04  Andreas Schwab  <schwab@suse.de>
33403         [BZ #14142]
33404         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33405         * include/netdb.h: Likewise for h_errno.
33406         * elf/tst-stackguard1.c: Include <tls.h>.
33408 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33410         * elf/link.h (struct link_map): Extend the l_addr comment.
33411         * include/link.h (struct link_map): Likewise.
33413 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33415         [BZ #13550]
33416         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33417         (BOUNDED_1): Remove macro.
33418         * debug/backtrace.c: Don't include <bp-checks.h>.
33419         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33420         (__backtrace): Likewise.
33421         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33422         <bp-checks.h>.
33423         (__backtrace): Don't use BOUNDED_1.
33424         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33425         <bp-checks.h>.
33426         (__backtrace): Don't use BOUNDED_1.
33427         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33428         (__backtrace): Don't use BOUNDED_1.
33429         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33430         (shmat): Don't use BOUNDED_N.
33432 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33434         [BZ #13550]
33435         * sysdeps/generic/bp-start.h: Remove file.
33436         * csu/libc-start.c: Don't include <bp-start.h>.
33437         (LIBC_START_MAIN): Set up __environ directly instead of using
33438         INIT_ARGV_and_ENVIRON.
33439         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33440         <bp-start.h>.
33442         [BZ #13550]
33443         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33444         definitions.
33445         (CHECK_FCNTL): Likewise.
33446         (CHECK_N_PAGES): Likewise.
33448         [BZ #13550]
33449         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33450         definitions.
33451         (CHECK_SIGSET_NULL_OK): Likewise.
33452         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33453         <bp-checks.h>.
33454         (sigpending): Don't use CHECK_SIGSET.
33455         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33456         <bp-checks.h>.
33457         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33458         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33459         <bp-checks.h>.
33460         (do_sigsuspend): Don't use CHECK_SIGSET.
33461         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33462         use CHECK_SIGSET.
33463         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33464         (do_sigwait): Don't use CHECK_SIGSET.
33465         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33466         use CHECK_SIGSET.
33467         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33468         include <bp-checks.h>.
33469         (sigpending): Don't use CHECK_SIGSET.
33470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33471         include <bp-checks.h>.
33472         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33473         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33474         <bp-checks.h>.
33475         (sigpending): Don't use CHECK_SIGSET.
33476         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33477         <bp-checks.h>.
33478         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33480         [BZ #13550]
33481         * sysdeps/generic/bp-semctl.h: Remove file.
33482         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33483         <bp-checks.h> and <bp-semctl.h>.
33484         (__old_semctl): Don't use CHECK_SEMCTL.
33485         (__new_semctl): Likewise.
33486         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33487         and <bp-semctl.h>.
33488         (__old_semctl): Don't use CHECK_SEMCTL.
33489         (__new_semctl): Likewise.
33490         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33491         <bp-checks.h> and <bp-semctl.h>.
33492         (__old_semctl): Don't use CHECK_SEMCTL.
33493         (__new_semctl): Likewise.
33494         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33495         <bp-checks.h> and <bp-semctl.h>.
33496         (semctl): Don't use CHECK_SEMCTL.
33498         [BZ #13550]
33499         * Makerules (elide-bp-thunks): Remove variable.
33500         (elide-routines.oS): Don't use $(elide-bp-thunks).
33501         (elide-routines.os): Likewise.
33502         (elide-routines.o): Likewise.
33503         (elide-routines.op): Likewise.
33504         (elide-routines.og): Likewise.
33505         (objects): Don't use $(bp-thunks).
33506         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33507         include.
33508         (common-generated): Do not add s-proto-bp.d.
33509         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33510         (int): Likewise.
33511         (typ): Likewise.
33512         Do not generate makefile rules for bounded-pointer thunks.
33513         * sysdeps/generic/bp-thunks.h: Remove file.
33514         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33515         * sysdeps/unix/s-proto-bp.S: Likewise.
33517         [BZ #15062]
33518         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33519         parts of result separately when argument is not close to line from
33520         -i to i and one part of argument is small.
33521         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33522         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33523         * math/libm-test.inc (cacos_test): Add more tests.
33524         (casin_test): Likewise.
33525         (casinh_test): Likewise.
33526         * sysdeps/i386/fpu/libm-test-ulps: Update.
33527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33529 2013-01-31  David S. Miller  <davem@davemloft.net>
33531         * po/de.po: Update from translation team.
33533 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33535         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33537 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33539         * configure.in (_AC_PROG_CC_C89): New definition.
33540         * configure: Regenerate.
33542         * configure.in (AC_PROG_CPP): New definition.
33543         * configure: Regenerate.
33545 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33547         * debug/tst-backtrace.h: New file.
33548         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33549         (ret): Remove variable.
33550         (x): Likewise.
33551         (FAIL): Remove macro.
33552         (NO_INLINE): Likewise.
33553         (fn1): Use match function instead of strstr.
33554         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33555         (ret): Remove variable.
33556         (x): Likewise.
33557         (FAIL): Remove macro.
33558         (NO_INLINE): Likewise.
33559         (fn): Use match function instead of strstr.
33560         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33561         (ret): Remove variable.
33562         (x): Likewise.
33563         (FAIL): Remove macro.
33564         (NO_INLINE): Likewise.
33565         (handle_signal): Use match function instead of strstr.
33566         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33567         (ret): Remove variable.
33568         (x): Likewise.
33569         (FAIL): Remove macro.
33570         (NO_INLINE): Likewise.
33571         (handle_signal): Use match function instead of strstr.
33573 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33575         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33577 2013-01-23  David S. Miller  <davem@davemloft.net>
33579         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33580         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33581         argument of CAS if possible.
33582         * sysdeps/sparc/sparc64/bits/atomic.h
33583         (__arch_compare_and_exchange_val_32_acq): Likewise.
33584         (__arch_compare_and_exchange_val_64_acq): Likewise.
33586 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33588         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33589         * sysdeps/posix/ulimit.c: ... this.
33590         Include <limits.h>.
33591         * sysdeps/unix/bsd/ulimit.c: Remove file.
33593 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33595         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33596         (LDFLAGS-tst-array5): Likewise.
33598 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33600         [BZ #15036]
33601         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33602         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33603         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33604         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33606 2013-01-21  David S. Miller  <davem@davemloft.net>
33608         * sysdeps/sparc/backtrace.c: New file.
33609         * sysdeps/sparc/sparc32/backtrace.h: New file.
33610         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33611         * sysdeps/sparc/sparc64/backtrace.h: New file.
33612         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33613         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33614         -funwind-tables.
33616 2013-01-21  Andreas Schwab  <schwab@suse.de>
33618         [BZ #15020]
33619         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33620         closed its stdout.
33622 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33624         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33625         "mpa2.h".
33626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33628 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33629             Mark Mitchell  <mark@codesourcery.com>
33630             Tom de Vries  <tom@codesourcery.com>
33631             Paul Pluzhnikov  <ppluzhnikov@google.com>
33633         * debug/tst-backtrace2.c: New file.
33634         * debug/tst-backtrace3.c: Likewise.
33635         * debug/tst-backtrace4.c: Likewise.
33636         * debug/tst-backtrace5.c: Likewise.
33637         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33638         (CFLAGS-tst-backtrace3.c): Likewise.
33639         (CFLAGS-tst-backtrace4.c): Likewise.
33640         (CFLAGS-tst-backtrace5.c): Likewise.
33641         (LDFLAGS-tst-backtrace2): Likewise.
33642         (LDFLAGS-tst-backtrace3): Likewise.
33643         (LDFLAGS-tst-backtrace4): Likewise.
33644         (LDFLAGS-tst-backtrace5): Likewise.
33645         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33646         tst-backtrace4 and tst-backtrace5.
33648 2013-01-18  Anton Blanchard  <anton@samba.org>
33649             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33651         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33652         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33653         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33654         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33656         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33657         "+r" and remove output regs list as redundant.  Add explicit inline
33658         asm to specify register of return val to work around compiler codegen
33659         bug.  Remove (int) cast on return value.  Add return type parameter to
33660         use in macro so that this macro does not truncate return value for
33661         64-bit values.
33662         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33663         pass to INTERNAL_VSYSCALL_NCS.
33664         (INLINE_VSYSCALL): Add 'long int' as return type to
33665         INTERNAL_VSYSCALL_NCS macro invocation.
33666         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33667         INTERNAL_VSYSCALL_NCS macro invocation.
33668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33670 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33672         [BZ #14496]
33673         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33674         Fix application of SIMD FP exception mask.
33676         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33677         mp_no from a power of two.
33678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33679         __mpexp_twomm1.  Use __pow_mp.
33681         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33682         multiplication.
33684 2013-01-17  David S. Miller  <davem@davemloft.net>
33686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33688 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33690         [BZ #15023]
33691         * include/complex.h: Condition contents on [!_COMPLEX_H].
33692         (__kernel_casinhf): New prototype.
33693         (__kernel_casinh): Likewise.
33694         (__kernel_casinhl): Likewise.
33695         * math/Makefile (libm_calls): Add k_casinh.
33696         * math/k_casinh.c: New file.
33697         * math/k_casinhf.c: Likewise.
33698         * math/k_casinhl.c: Likewise.
33699         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33700         finite nonzero arguments.
33701         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33702         finite nonzero arguments.
33703         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33704         finite nonzero arguments.
33705         * math/s_casinh.c: Do not include <float.h>.
33706         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33707         * math/s_casinhf.c: Do not include <float.h>.
33708         (__casinhf): Move code for finite nonzero arguments to
33709         k_casinhf.c.
33710         * math/s_casinhl.c: Do not include <float.h>.
33711         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33712         redefine.
33713         (__casinhl): Move code for finite nonzero arguments to
33714         k_casinhl.c.
33715         * math/libm-test.inc (cacos_test): Add more tests.
33716         * sysdeps/i386/fpu/libm-test-ulps: Update.
33717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33719 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33721         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33722         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33723         [!HAVE_MREMAP]: Remove [defined linux] case.
33724         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33726 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33728         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33730 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33732         * elf/elf.h (R_386_SIZE32): New relocation.
33733         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33734         R_386_SIZE32.
33735         (elf_machine_rela): Likewise.
33736         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33737         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33739 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33741         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33742         (FP_FAST_FMA): Do not define.
33743         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33744         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33745         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33746         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33747         !_SOFT_FLOAT]: Likewise.
33748         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33749         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33750         value.
33751         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33752         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33753         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33754         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33755         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33756         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33757         file.
33759 2013-01-16  Andreas Schwab  <schwab@suse.de>
33761         [BZ #14327]
33762         * include/stdlib.h (__mktemp): Add declaration.
33763         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33764         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33766 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33768         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33769         definitions.
33770         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33771         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33772         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33773         definitions here.
33774         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33775         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33776         definitions.
33777         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33778         and ONE.
33779         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33780         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33781         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33782         definitions.
33783         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33784         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33785         definitions.
33786         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33788         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33790 2013-01-15  David S. Miller  <davem@davemloft.net>
33792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33793         trunc{,f} to libm-sysdep_routes.
33794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33796         file.
33797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33799         file.
33800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33801         file.
33802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33804         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33805         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33806         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33807         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33808         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33809         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33812         nearbyint{,f} to libm-sysdep_routes.
33813         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33815         New file.
33816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33817         file.
33818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33819         New file.
33820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33821         file.
33822         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33824         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33825         file.
33826         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33827         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33828         file.
33829         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33830         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33831         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33833         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33834         libc_feholdexcept and libc_fesetenv.
33836 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33838         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33840 2013-01-14  David S. Miller  <davem@davemloft.net>
33842         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33843         (SPARC_ASM_VIS2_IFUNC): Likewise.
33844         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33846         use of 'siam' instruction.
33847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33848         Likewise.
33849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33850         Likewise.
33851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33852         Likewise.
33853         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33854         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33858         file.
33859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33860         file.
33861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33862         file.
33863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33864         file.
33865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33870         new VIS2 routines.
33871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33874         Likewise.
33875         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33877         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33880         routines to libm-sysdep_routines.
33881         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33884         fdim/fdimf to libm-sysdep_routines.
33885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33886         file.
33887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33889         file.
33890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33893         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33894         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33895         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33896         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33898 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33900         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33901         to optimize copies.
33903         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33904         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33908         local variable MPTWO.
33909         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33910         Likewise.
33912 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33914         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33915         GLOB_NOESCAPE.
33917 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33919         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33921 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33923         * manual/pattern.texi (glob_t): Document gl_flags.
33924         (glob64_t): Likewise.
33926 2013-01-11  David S. Miller  <davem@davemloft.net>
33928         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33929         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33930         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33931         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33932         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33933         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33934         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33935         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33936         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33937         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33938         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33939         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33940         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33942         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33943         sparc V9 rather than using V8 code.
33944         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33945         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33947         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33948         Move to...
33949         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33950         Here.
33952 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33954         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33955         not in the main loop.
33956         * configure: Regenerated.
33958 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33960         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33961         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33962         to just #else.
33963         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33964         [!__GLIBC_HAVE_LONG_LONG] case.
33965         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33966         condition to just #else.
33967         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33968         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33969         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33970         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33971         unconditional.
33972         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33973         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33974         #elif condition to just #else.
33975         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33976         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33977         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33978         #elif condition to just #else.
33980 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33982         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33983         (EF_MIPS_ARCH_64): Fix value.
33984         (EF_MIPS_ARCH_32R2): New.
33985         (EF_MIPS_ARCH_64R2): New.
33987 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33989         * Makeconfig (+link-pie-before-libc): New.
33990         (+link-pie-after-libc): Likewise.
33991         (+link-pie-tests): Likewise.
33992         (+link-pie): Rewritten.
33993         (link-before-libc): Remove $(config-LDFLAGS).
33994         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33995         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33996         (config-LDFLAGS): Renamed to ...
33997         (rtld-LDFLAGS): This.
33998         (rtld-tests-LDFLAGS): New macro.
33999         (link-libc-rpath-link): Likewise.
34000         (link-libc-tests-rpath-link): Likewise.
34001         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34002         (link-libc): Prepand $(link-libc-rpath-link).
34003         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34004         (test-program-prefix): New macro.
34005         (test-via-rtld-prefix): Likewise.
34006         (test-program-cmd): Likewise.
34007         (host-test-program-cmd): Likewise.
34008         * Makefile ($(common-objpfx)testrun.sh): Replace
34009         $(run-program-prefix) with $(test-program-prefix).
34010         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34011         $(rtld-LDFLAGS).
34012         ($(common-objpfx)shlib.lds): Likewise.
34013         (build-module-helper): Likewise.
34014         ($(common-objpfx)format.lds): Likewise.
34015         * Rules (binaries-pie-tests): New.
34016         (binaries-pie-notests): Likewise.
34017         (binaries-pie): Rewritten.
34018         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34019         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34020         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34021         (make-test-out): Replace $(host-built-program-cmd) with
34022         $(host-test-program-cmd).
34023         * config.make.in (build-hardcoded-path-in-tests): New variable.
34024         * configure.in (--enable-hardcoded-path-in-tests): New configure
34025         option.
34026         (hardcoded_path_in_tests): New AC_SUBST.
34027         * configure: Regenerated.
34028         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34029         $(built-program-cmd) with $(test-program-cmd).
34030         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34031         (test_program_cmd): This.
34032         * elf/Makefile ($(objpfx)order.out): Run test with
34033         $(test-program-prefix).
34034         ($(objpfx)order2.out): Likewise.
34035         ($(objpfx)tst-initorder.out): Likewise.
34036         ($(objpfx)tst-initorder2.out): Likewise.
34037         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34038         $(test-program-cmd).
34039         ($(objpfx)tst-array1-static.out): Likewise.
34040         ($(objpfx)tst-array2.out): Likewise.
34041         ($(objpfx)tst-array3.out): Likewise.
34042         ($(objpfx)tst-array4.out): Likewise.
34043         ($(objpfx)tst-array5.out): Likewise.
34044         ($(objpfx)tst-array5-static.out): Likewise.
34045         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34046         $(test-program-cmd).
34047         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34048         $(run-program-prefix) with $(test-program-prefix).
34049         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34050         (test_program_prefix): This.
34051         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34052         $(run-program-prefix) with $(test-program-prefix).
34053         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34054         (test_program_prefix): This.
34055         * iconvdata/tst-tables.sh: Likewise.
34056         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34057         $(run-program-prefix) with $(test-program-prefix).
34058         ($(objpfx)tst-translit.out): Likewise.
34059         ($(objpfx)tst-gettext2.out): Likewise.
34060         ($(objpfx)tst-gettext4.out): Likewise.
34061         ($(objpfx)tst-gettext6.out): Likewise.
34062         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34063         (test_program_prefix): This.
34064         * intl/tst-gettext2.sh: Likewise.
34065         * intl/tst-gettext4.sh  Likewise.
34066         * intl/tst-gettext6.sh: Likewise.
34067         * intl/tst-translit.sh: Likewise.
34068         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34069         with $(test-program-cmd).
34070         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34071         $(run-program-prefix) with $(test-program-prefix).
34072         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34073         (test_program_prefix): This.
34074         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34075         $(run-program-prefix) with $(test-program-prefix).
34076         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34077         (test_program_prefix): This.
34078         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34079         * posix/Makefile ($(objpfx)globtest.out): Replace
34080         $(run-via-rtld-prefix) and $(test-wrapper) with
34081         $(test-program-prefix) and $(test-via-rtld-prefix).
34082         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34083         $(test-program-prefix).
34084         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34085         $(host-test-program-cmd).
34086         (tst-spawn-ARGS): Likewise.
34087         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34088         $(test-program-prefix).
34089         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34090         (test_via_rtld_prefix): This.
34091         (test_wrapper): Renamed to ...
34092         (test_program_prefix): This.
34093         (run_program_prefix): Replaced by test_program_prefix.
34094         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34095         (test_program_prefix): This.
34096         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34097         with $(host-test-program-cmd).
34098         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34099         $(run-program-prefix) with $(test-program-prefix).
34100         ($(objpfx)tst-printf.out): Likewise.
34101         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34102         $(test-program-cmd).
34103         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34104         (test_program_prefix): This.
34105         * stdio-common/tst-unbputc.sh: Likewise.
34106         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34107         $(run-program-prefix) with $(test-program-prefix).
34108         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34109         (test_program_prefix): This.
34110         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34111         $(built-program-cmd) with $(test-program-cmd).
34113 2013-01-11  Andreas Jaeger  <aj@suse.de>
34115         [BZ #15003]
34116         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34117         value. Sync with Linux 3.7.
34119 2013-01-10  David S. Miller  <davem@davemloft.net>
34121         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34122         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34123         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34125 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34127         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34128         never set.
34129         * configure: Regenerated.
34131 2013-01-10  David S. Miller  <davem@davemloft.net>
34133         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34134         sparc V9 rather than using V8 code.
34135         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34136         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34138 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34140         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34141         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34142         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34143         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34144         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34145         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34146         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34147         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34148         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34149         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34150         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34151         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34152         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34153         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34154         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34155         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34156         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34157         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34158         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34159         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34160         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34161         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34162         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34163         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34164         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34165         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34166         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34168 2013-01-10  David S. Miller  <davem@davemloft.net>
34170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34172 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34174         * posix/Makefile (tests-static): New variable.
34175         (tests): Add $(tests-static).
34176         (tst-exec-static-ARGS): New variable.
34177         (tst-spawn-static-ARGS): Likewise.
34178         * posix/tst-exec-static.c: New file.
34179         * posix/tst-spawn-static.c: Likewise.
34180         * posix/tst-exec.c: Support run directly.
34181         * posix/tst-spawn.c: Likewise.
34183 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34185         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34186         long.
34187         * math/bits/mathcalls.h (llrint): Likewise.
34188         (llround): Likewise.
34189         * stdlib/stdlib.h (struct drand48_data): Likewise.
34190         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34191         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34192         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34193         Likewise.
34194         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34195         Likewise.
34196         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34197         (elf_greg_t): Likewise.
34198         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34199         (__jmp_buf): Likewise.
34200         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34201         definitions.
34202         (llrint): Likewise, for all definitions.
34203         (llrintl): Likewise.
34205         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34206         Remove [__GNUC__] condition.
34207         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34208         condition to just [__USE_ISOC99].
34209         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34211 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34213         [BZ #14200]
34214         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34215         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34216         defined.
34217         (_POSIX_V6_ILP32_OFF32): Likewise.
34218         (_XBS5_ILP32_OFF32): Likewise.
34219         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34220         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34222 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34224         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34227         doubles __mpexp_twomm1.  Adjust usage.
34228         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34229         Remove.
34231 2013-01-10  Andreas Schwab  <schwab@suse.de>
34233         [BZ #14964]
34234         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34235         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34237 2013-01-09  David S. Miller  <davem@davemloft.net>
34239         [BZ #15003]
34240         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34241         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34242         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34243         (TCP_FASTOPEN): Define.
34244         (tcp_repair_opt): New structure.
34245         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34246         enum values.
34247         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34248         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34249         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34250         (tcp_cookie_transactions): New structure.
34252 2013-01-09  Anton Blanchard  <anton@samba.org>
34254         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34255         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34257         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34259 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34261         * include/features.h (__USE_ANSI): Remove.
34263 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34265         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34267         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34269 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34271         * sysdeps/s390/fpu/libm-test-ulps: Update.
34273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34275         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34276         (__acr): Likewise.
34277         (__cpy): Likewise.
34278         (norm): Likewise.
34279         (denorm): Likewise.
34280         (__mp_dbl): Likewise.
34281         (__dbl_mp): Likewise.
34282         (add_magnitudes): Likewise.
34283         (sub_magnitudes): Likewise.
34284         (__add): Likewise.
34285         (__sub): Likewise.
34286         (__mul): Likewise.
34287         (__inv): Likewise.
34288         (__dvd): Likewise.
34289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34290         (__acr): Likewise.
34291         (__cpy): Likewise.
34292         (norm): Likewise.
34293         (denorm): Likewise.
34294         (__mp_dbl): Likewise.
34295         (__dbl_mp): Likewise.
34296         (add_magnitudes): Likewise.
34297         (sub_magnitudes): Likewise.
34298         (__add): Likewise.
34299         (__sub): Likewise.
34300         (__mul): Likewise.
34301         (__inv): Likewise.
34302         (__dvd): Likewise.
34303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34304         (__acr): Likewise.
34305         (__cpy): Likewise.
34306         (norm): Likewise.
34307         (denorm): Likewise.
34308         (__mp_dbl): Likewise.
34309         (__dbl_mp): Likewise.
34310         (add_magnitudes): Likewise.
34311         (sub_magnitudes): Likewise.
34312         (__add): Likewise.
34313         (__sub): Likewise.
34314         (__mul): Likewise.
34315         (__inv): Likewise.
34316         (__dvd): Likewise.
34318 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34320         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34321         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34322         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34323         2 && __USE_EXTERN_INLINES]: Likewise.
34325 2013-01-08  Andreas Jaeger  <aj@suse.de>
34327         [BZ# 14985]
34328         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34329         Remove.
34330         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34331         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34333 2013-01-07  Anton Blanchard  <anton@samba.org>
34335         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34336         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34337         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34338         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34339         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34340         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34341         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34342         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34344         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34345         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34346         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34347         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34348         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34349         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34350         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34351         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34353         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34354         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34355         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34356         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34357         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34358         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34359         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34360         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34361         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34362         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34363         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34365         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34366         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34367         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34368         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34369         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34370         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34371         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34372         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34374         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34375         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34376         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34377         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34379 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34381         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34382         (__MALLOC_PMT): Likewise.
34383         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34384         [__GNUC__], only on [_LIBC].
34385         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34386         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34387         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34388         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34389         forward declaration.
34390         (realloc_hook_ini): Likewise.
34391         (memalign_hook_ini): Likewise.
34392         (__libc_memalign): Do not use __MALLOC_PMT in variable
34393         declaration.
34394         (__libc_valloc): Likewise.
34395         (__libc_pvalloc): Likewise.
34396         (__libc_calloc): Likewise.
34397         (__posix_memalign): Likewise.
34399         [BZ #14996]
34400         * math/s_casinh.c: Include <float.h>.
34401         (__casinh): Do not do computation with squaring and square root
34402         for large arguments.
34403         * math/s_casinhf.c: Include <float.h>.
34404         (__casinhf): Do not do computation with squaring and square root
34405         for large arguments.
34406         * math/s_casinhl.c: Include <float.h>.
34407         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34408         (__casinhl): Do not do computation with squaring and square root
34409         for large arguments.
34410         * math/libm-test.inc (casin_test): Add more tests.
34411         (casinh_test): Likewise.
34412         * sysdeps/i386/fpu/libm-test-ulps: Update.
34413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34415 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34417         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34418         (__x86_64_raw_data_cache_size): Likewise.
34419         (__x86_64_data_cache_size_half): Likewise.
34420         (__x86_64_raw_data_cache_size_half): Likewise.
34421         (__x86_64_shared_cache_size): Likewise.
34422         (__x86_64_raw_shared_cache_size): Likewise.
34423         (__x86_64_shared_cache_size_half): Likewise.
34424         (__x86_64_raw_shared_cache_size_half): Likewise.
34425         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34426         to ...
34427         (__x86_data_cache_size): This.
34428         (__x86_64_raw_data_cache_size): Renamed to ...
34429         (__x86_raw_data_cache_size): This.
34430         (__x86_64_data_cache_size_half): Renamed to ...
34431         (__x86_data_cache_size_half): This.
34432         (__x86_64_raw_data_cache_size_half): Renamed to ...
34433         (__x86_raw_data_cache_size_half): This.
34434         (__x86_64_shared_cache_size): Renamed to ...
34435         (__x86_shared_cache_size): This.
34436         (__x86_64_raw_shared_cache_size): Renamed to ...
34437         (__x86_raw_shared_cache_size): This.
34438         (__x86_64_shared_cache_size_half): Renamed to ...
34439         (__x86_shared_cache_size_half): This.
34440         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34441         (__x86_raw_shared_cache_size_half): This.
34442         * sysdeps/x86_64/memcpy.S: Updated.
34443         * sysdeps/x86_64/memset.S: Likewise.
34444         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34445         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34448 2013-01-04  David S. Miller  <davem@davemloft.net>
34450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34452 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34454         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34455         1 to avoid redefinition warning.
34456         (__USE_GNU): Don't define.
34457         (init_signaling_nan): Protoize.
34459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34461 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34463         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34464         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34465         (__cpymn): Likewise.
34466         (norm): Remove commented code.
34467         (denorm): Likewise.
34468         (__mp_dbl): Likewise.
34469         (__inv): Likewise.
34470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34471         (__cpymn): Likewise.
34472         (norm): Remove commented code.
34473         (denorm): Likewise.
34474         (__mp_dbl): Likewise.
34475         (__inv): Likewise.
34477         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34478         mp_no value for 1.0 and 2.0.
34479         (norm): Use RADIXI instead of radixi.d.
34480         (denorm): Likewise.
34481         (__mul): Use 0.0 instead of zero.d.
34482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34483         mp_no value for 1.0 and 2.0.
34484         (norm): Use RADIXI instead of radixi.d.
34485         (denorm): Likewise.
34486         (__mul): Use 0.0 instead of zero.d.
34488 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34490         [BZ #14994]
34491         * math/s_casinh.c (__casinh): Reduce finite argument to first
34492         quadrant then set signs of results at the end.
34493         * math/s_casinhf.c (__casinhf): Likewise.
34494         * math/s_casinhl.c (__casinhl): Likewise.
34495         * math/libm-test.inc (casin_test): Add more tests.
34496         (casinh_test): Likewise.
34497         * sysdeps/i386/fpu/libm-test-ulps: Update.
34498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34500 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34502         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34504         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34506         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34507         declarations.
34508         (denorm): Likewise.
34509         (__mp_dbl): Likewise.
34510         (__inv): Likewise.
34512         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34513         and adjust the header comment.
34515         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34516         variable name from declaration.
34518 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34521         Initialize COMMON_CPUID_INDEX_7 element.
34522         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34523         (CPUID_RTM): Likewise.
34524         (HAS_RTM): Likewise.
34525         (COMMON_CPUID_INDEX_7): New enum.
34527 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34529         [BZ #14981]
34530         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34531         size is zero, record memory as freed.
34533 2013-01-03  Andreas Jaeger  <aj@suse.de>
34535         * po/ia.po: Add new Interlingua translation.
34537 2012-01-03  Allan McRae  <allan@archlinux.org>
34539         * locale/programs/localedef.c: Fix description of '--posix' flag.
34541 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34543         * NEWS: Update dates in second copyright notice.
34544         * README: Update copyright dates in example.
34545         * manual/libc.texinfo: Update copyright dates.
34546         * scripts/test-installation.pl: Update copyright date in --version
34547         output.
34549         * hurd/ctty-input.c: Fix copyright notice formatting.
34550         * hurd/ctty-output.c: Likewise.
34551         * hurd/dtable.c: Likewise.
34552         * hurd/hurd-raise.c: Likewise.
34553         * hurd/hurdprio.c: Likewise.
34554         * hurd/msgportdemux.c: Likewise.
34555         * misc/sys/file.h: Likewise.
34556         * misc/sys/ioctl.h: Likewise.
34557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34558         * sysdeps/mach/hurd/chdir.c: Likewise.
34559         * sysdeps/mach/hurd/fchdir.c: Likewise.
34560         * sysdeps/mach/hurd/rename.c: Likewise.
34561         * sysdeps/mach/hurd/rmdir.c: Likewise.
34562         * sysdeps/mach/hurd/seekdir.c: Likewise.
34563         * sysdeps/mach/hurd/setsid.c: Likewise.
34564         * sysdeps/posix/wait3.c: Likewise.
34566         * All files with FSF copyright notices: Update copyright dates
34567         using scripts/update-copyrights.
34568         * intl/plural.c: Regenerated.
34569         * locale/programs/charmap-kw.h: Likewise.
34570         * locale/programs/locfile-kw.h: Likewise.
34572 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34574         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34575         four values.
34577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34578         calculation loop and add branch prediction.
34580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34581         check access beyond bounds of m1np.
34583         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34584         MPTWO.
34585         (__inv): Remove local variable MPTWO to use the global
34586         constant.
34587         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34588         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34589         variable MPTWO.
34590         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34591         MP3HALFS static const.
34593 2013-01-01  David S. Miller  <davem@davemloft.net>
34595         * po/ca.po: Update from translation team.
34597 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34599         * scripts/update-copyrights: New file.
34600         * Makeconfig: Reformat copyright notice.
34601         * ctype/ctype.h: Likewise.
34602         * debug/swprintf_chk.c: Likewise.
34603         * elf/dl-cache.c: Likewise.
34604         * elf/dl-debug.c: Likewise.
34605         * elf/dl-object.c: Likewise.
34606         * grp/initgroups.c: Likewise.
34607         * hurd/Makefile: Likewise.
34608         * hurd/hurd/signal.h: Likewise.
34609         * hurd/hurdfault.c: Likewise.
34610         * hurd/hurdioctl.c: Likewise.
34611         * hurd/hurdlookup.c: Likewise.
34612         * hurd/intr-msg.c: Likewise.
34613         * iconv/gconv_open.c: Likewise.
34614         * libio/swprintf.c: Likewise.
34615         * locale/lc-ctype.c: Likewise.
34616         * locale/nl_langinfo.c: Likewise.
34617         * mach/Machrules: Likewise.
34618         * mach/Makefile: Likewise.
34619         * malloc/obstack.h: Likewise.
34620         * manual/Makefile: Likewise.
34621         * manual/tsort.awk: Likewise.
34622         * misc/bits/stab.def: Likewise.
34623         * nis/nis_print_group_entry.c: Likewise.
34624         * nis/nis_table.c: Likewise.
34625         * nis/nss_compat/compat-pwd.c: Likewise.
34626         * nis/nss_compat/compat-spwd.c: Likewise.
34627         * po/Makefile: Likewise.
34628         * posix/fnmatch.c: Likewise.
34629         * posix/regex.h: Likewise.
34630         * resolv/Makefile: Likewise.
34631         * resolv/nss_dns/dns-network.c: Likewise.
34632         * resolv/res_hconf.c: Likewise.
34633         * scripts/gen-sorted.awk: Likewise.
34634         * soft-fp/soft-fp.h: Likewise.
34635         * stdio-common/printf.h: Likewise.
34636         * stdlib/monetary.h: Likewise.
34637         * stdlib/random.c: Likewise.
34638         * stdlib/random_r.c: Likewise.
34639         * sysdeps/generic/Makefile: Likewise.
34640         * sysdeps/gnu/Makefile: Likewise.
34641         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34642         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34643         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34644         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34645         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34646         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34647         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34648         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34649         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34650         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34651         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34652         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34653         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34654         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34655         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34656         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34657         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34658         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34659         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34660         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34661         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34662         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34663         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34664         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34665         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34667         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34668         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34669         * sysdeps/mach/hurd/errnos.awk: Likewise.
34670         * sysdeps/mach/hurd/fork.c: Likewise.
34671         * sysdeps/mach/hurd/getcwd.c: Likewise.
34672         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34673         * sysdeps/mach/hurd/mmap.c: Likewise.
34674         * sysdeps/mach/hurd/utimes.c: Likewise.
34675         * sysdeps/mach/hurd/xmknod.c: Likewise.
34676         * sysdeps/posix/profil.c: Likewise.
34677         * sysdeps/posix/readdir_r.c: Likewise.
34678         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34679         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34680         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34681         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34682         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34683         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34684         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34685         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34686         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34687         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34688         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34689         * sysdeps/pthread/lio_listio.c: Likewise.
34690         * sysdeps/sparc/dl-procinfo.h: Likewise.
34691         * sysdeps/unix/i386/sysdep.S: Likewise.
34692         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34693         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34694         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34695         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34697         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34698         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34699         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34700         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34701         * sysdeps/wordsize-32/divdi3.c: Likewise.
34702         * time/sys/time.h: Likewise.
34703         * wcsmbs/Makefile: Likewise.
34705 2013-01-01  David S. Miller  <davem@davemloft.net>
34707         * po/fr.po: Update from translation team.
34709         * catgets/gencat.c: Update copyright year.
34710         * csu/version.c: Likewise.
34711         * debug/catchsegv.sh: Likewise.
34712         * debug/pcprofiledump.c: Likewise.
34713         * debug/xtrace.sh: Likewise.
34714         * elf/ldconfig.c: Likewise.
34715         * elf/ldd.bash.in: Likewise.
34716         * elf/pldd.c: Likewise.
34717         * elf/sotruss.ksh: Likewise.
34718         * elf/sprof.c: Likewise.
34719         * iconv/iconv_prog.c: Likewise.
34720         * iconv/iconvconfig.c: Likewise.
34721         * locale/programs/locale.c: Likewise.
34722         * locale/programs/localedef.c: Likewise.
34723         * login/programs/pt_chown.c: Likewise.
34724         * malloc/memusage.sh: Likewise.
34725         * malloc/memusagestat.c: Likewise.
34726         * malloc/mtrace.pl: Likewise.
34727         * nscd/nscd.c: Likewise.
34728         * nss/getent.c: Likewise.
34729         * nss/makedb.c: Likewise.
34730         * posix/getconf.c: Likewise.
34732 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34734         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34735         numbers.
34737 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34739         * math/bits/mathcalls.h (modf): Use __nonnull.
34741 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34743         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34744         (split): Use macro CN instead of the bare value.
34745         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34746         could be used.
34747         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34748         instead of the bare value.
34749         (power1): Likewise.
34751 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34753         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34754         __ATAN_TWOM.
34755         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34757         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34758         their values.
34759         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34760         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34761         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34762         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34764 2012-12-28  Andreas Jaeger  <aj@suse.de>
34766         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34767         values are from Linux 3.7.
34769         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34770         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34772 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34774         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34775         TRUE case.
34777         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34778         (norm): Likewise.
34779         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34780         variables with preprocessor constants.
34781         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34782         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34783         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34785 2012-12-27  Bruno Haible  <bruno@clisp.org>
34787         [BZ #14317]
34788         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34789         only if needed.
34791 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34793         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34794         and use variable directly.
34795         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34797         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34798         MPONE.
34799         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34800         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34801         variable MPONE.
34802         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34803         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34804         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34805         include directive.  Remove local variable MPONE.
34806         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34807         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34808         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34810 2012-12-25  David S. Miller  <davem@davemloft.net>
34812         * version.h (RELEASE): Set to "development".
34813         (VERSION): Set to "2.17.90".
34814         * NEWS: Add 2.18 section.
34816 2012-12-21  David S. Miller  <davem@davemloft.net>
34818         * po/hr.po: Update from translation team.
34820 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34822         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34824 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34826         * NEWS:  Mention new memcpy for MIPS.
34828 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34830         * manual/contrib.texi (Contributors): Spelling correction.
34832 2012-12-15  David S. Miller  <davem@davemloft.net>
34834         * po/ru.po: Update from translation team.
34836 2012-12-13  David S. Miller  <davem@davemloft.net>
34838         * NEWS: Mention IFUNC testsuite enhancements.
34840         * po/pl.po: Update from translation team.
34841         * po/bg.po: Likewise.
34843         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34844         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34846 2012-12-11  David S. Miller  <davem@davemloft.net>
34848         * po/sv.po: Update from translation team.
34850         * po/vi.po: Update from translation team.
34852         * po/cs.po: Update from translation team.
34854         * po/de.po: Update from translation team.
34855         * po/eo.po: Likewise.
34856         * po/nl.po: Likewise.
34858 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34860         [BZ #14246]
34861         * manual/argp.texi (Argp Helper Functions): Move node to follow
34862         Argp Parsing State.
34864         [BZ #14872]
34865         * manual/conf.texi (Limits on File System Capacity): Mention if
34866         terminating null is included in the max size.
34868 2012-12-10  Andreas Jaeger  <aj@suse.de>
34870         * po/cs.po: Update from translation team.
34872 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34874         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34875         void pointer and cast to uintptr_t.
34876         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34877         path.
34878         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34879         * sysdeps/s390/s390-64/memset.S: Likewise.
34881 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34883         [BZ #14833]
34884         * menual/message.texi (Message Translation): Fix typos.
34885         (Helper programs for gettext): Likewise.
34887 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34889         [BZ #14898]
34890         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34891         Change to -1.
34893 2012-12-07  David S. Miller  <davem@davemloft.net>
34895         * po/libc.pot: Update.
34897 2012-12-07  Richard Henderson  <rth@redhat.com>
34899         [BZ #10114]
34900         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34901         normal/normal case to before the switch.
34902         (_FP_DIV): Likewise.
34904 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34905             Mike Frysinger  <vapier@gentoo.org>
34907         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34908         check for __NR_fadvise64_64.
34910 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34912         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34913         0, not just to plain "0" as a statement.
34914         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34915         with cw.
34917 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34919         * NEWS: Use sourceware.org in Bugzilla URL.
34921 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34924         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34926         * stdio-common/tst-put-error.c (do_test): Add newline to the
34927         padded test to ensure flush.
34929 2012-12-05  Jeff Law  <law@redhat.com>
34931         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34933 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34935         * README: Don't refer to ports add-on as distributed separately.
34936         Mention AArch64 in list of systems supported in the ports add-on.
34938         * LICENSES: Add more non-FSF copyright and license notices.
34940         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34941         ((unused)).
34943         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34945         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34946         10000 as width of padded output.
34948 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34950         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34952         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34953         variable LX with __attribute__ ((unused)).
34954         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34955         Likewise.
34956         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34958         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34959         with __attribute__ ((unused)).
34961 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34963         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34965 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34967         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34968         (CFLAGS-nldbl-acos.c): New variable.
34969         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34970         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34971         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34972         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34973         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34974         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34975         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34976         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34977         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34978         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34979         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34980         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34981         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34982         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34983         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34984         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34985         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34986         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34987         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34988         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34989         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34990         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34991         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34992         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34993         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34994         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34995         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34996         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34997         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34998         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34999         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35000         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35001         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35002         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35003         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35004         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35005         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35006         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35007         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35008         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35009         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35010         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35011         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35012         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35013         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35014         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35015         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35016         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35017         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35018         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35019         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35020         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35021         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35022         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35023         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35024         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35025         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35026         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35027         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35028         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35029         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35030         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35031         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35032         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35033         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35034         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35035         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35036         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35037         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35038         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35039         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35040         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35041         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35042         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35043         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35044         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35045         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35046         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35047         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35048         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35049         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35050         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35051         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35052         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35053         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35054         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35055         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35056         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35057         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35058         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35059         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35060         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35061         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35062         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35063         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35064         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35065         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35068         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35070         [BZ #14914]
35071         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35072         whole low double instead of just low 47 bits when splitting values
35073         into two parts.
35075 2012-12-03  Allan McRae  <allan@archlinux.org>
35077         * manual/stdio.texi (Predefined Printf Handlers): Remove
35078         @hsep and @vsep usage.
35080 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35082         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35083         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35085 2012-12-03  Jeff Law  <law@redhat.com>
35087         * time/sys/time.h (settimeofday): Do not mark TV argument
35088         as __nonnull.
35090 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35092         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35093         when currently writing and seek to current position when not.
35094         * libio/Makefile (tests): Remove bug-fclose1.
35095         * libio/bug-fclose1.c: Delete.
35097 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35099         * manual/arith.texi (feenableexcept): Fix typo.
35100         (fedisableexcept): Likewise.
35102 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35104         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35105         second, differently-typed declaration, rather than a cast.
35107 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35109         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35110         * include/rpc/svc.h: ... here.
35112 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35114         [BZ #13013]
35115         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35116         depending n and resplen2 to catch cases where answer
35117         equals answerp2.
35119 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35121         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35122         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35124 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35126         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35128 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35130         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35132 2012-11-28  Jeff Law  <law@redhat.com>
35134         [BZ #13761]
35135         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35136         dataset_temporary.  Track alloca usage into alloca_used.
35137         If dataset is large allocate and release it via malloc/free.
35139 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35141         [BZ #14197]
35142         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35144 2012-11-28  David S. Miller  <davem@davemloft.net>
35146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35148 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35150         [BZ #14803]
35151         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35152         of pi/2 rounded to nearest to 64 bits.
35153         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35154         nearest to 64 bits.
35155         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35156         bits.
35158 2012-11-28  Jeff Law <law@redhat.com>
35159             Martin Osvald <mosvald@redhat.com>
35161         [BZ #14889]
35162         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35163         * sunrpc/svc.c: Include time.h.
35164         (__svc_accept_failed): New function.
35165         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35166         any reason other than EINTR, call __svc_accept_failed.
35167         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35168         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35170 2012-11-28  Andreas Schwab  <schwab@suse.de>
35172         * scripts/abilist.awk: Also handle indirect functions in .opd
35173         section.
35175 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35177         [BZ #13881]
35178         * sysdeps/x86/fpu/powl_helper.c: New file.
35179         * sysdeps/x86/fpu/Makefile: Likewise.
35180         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35181         (p3): New object.
35182         (__ieee754_powl): Use __powl_helper for finite arguments except
35183         integer exponents below 8.
35184         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35185         (p3): New object.
35186         (__ieee754_powl): Use __powl_helper for finite arguments except
35187         integer exponents below 8.
35188         * math/libm-test.inc (pow_test): Add more tests and enable some
35189         previously disabled tests.
35190         * sysdeps/i386/fpu/libm-test-ulps: Update.
35191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35193 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35194             Carlos O'Donell  <carlos_odonell@mentor.com>
35196         * nss/makedb.c (is_prime): Assert that input is odd and greater
35197         than 4.  Note that fact in a comment too.
35198         (next_prime): Add 4 to input.
35200 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35202         [BZ #11741]
35203         * libio/Makefile (tests): Add test case tst-fwrite-error.
35204         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35205         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35206         * libio/tst-fwrite-error.c: New test case.
35208 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35210         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35211         before casting to void *.
35212         * include/libc-internal.h (__pointer_type): New macro.
35213         (__integer_if_pointer_type_sub): Likewise.
35214         (__integer_if_pointer_type): Likewise.
35215         (cast_to_integer): Likewise.
35216         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35217         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35218         before casting to atomic64_t.
35219         (atomic_exchange_acq): Likewise.
35220         (__arch_exchange_and_add_body): Likewise.
35221         (__arch_add_body): Likewise.
35222         (atomic_add_negative): Likewise.
35223         (atomic_add_zero): Likewise.
35225 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35227         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35228         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35229         (add_fdes): Likewise.
35230         (linear_search_fdes): Likewise.
35231         (binary_search_unencoded_fdes): Likewise.
35233 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35235         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35237 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35239         * configure.in: Autodetect C++ header directories.
35240         * configure: Regenerated.
35242 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35244         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35246 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35250 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35252         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35253         LDBL_MANT_DIG == 106]: Disable some tests.
35254         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35255         Likewise.
35256         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35257         Likewise.
35259         [BZ #14871]
35260         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35261         input for small inputs.  Return +/- pi/2 for large inputs.
35262         * math/libm-test.inc (atan_test): Add more tests.
35264         * sysdeps/generic/unwind-dw2-fde-glibc.c
35265         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35266         __attribute__ ((unused)).
35268         [BZ #14645]
35269         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35270         x * y if x and y are nonzero and z is zero.
35272         [BZ #14811]
35273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35274         nonzero exponents with absolute value below 0x1p-117 to +/-
35275         0x1p-117.
35277         [BZ #14869]
35278         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35279         up arguments below 2**-450, not just those below 2**-500.
35280         * math/libm-test.inc (hypot_test): Add another test.
35282         [BZ #14868]
35283         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35284         Return a+b for ratio over 2**120, not 2**60.
35285         * math/libm-test.inc (hypot_test): Add another test.
35287         * math/libm-test.inc (clog_test): Use
35288         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35289         (clog10_test): Likewise.
35291         [BZ #6778]
35292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35294 2012-11-22  Andreas Schwab  <schwab@suse.de>
35296         * sysdeps/i386/fpu/libm-test-ulps: Update.
35298 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35300         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35301         printf output with newline.
35303 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35305         [BZ #14865]
35306         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35307         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35308         -z nodlopen, -z initfirst and -z execstack support.
35309         * configure: Regenerated.
35311         * elf/elf.h (DF_1_NODIRECT): New macro.
35312         (DF_1_IGNMULDEF): Likewise.
35313         (DF_1_NOKSYMS): Likewise.
35314         (DF_1_NOHDR): Likewise.
35315         (DF_1_EDITED): Likewise.
35316         (DF_1_NORELOC): Likewise.
35317         (DF_1_SYMINTPOSE): Likewise.
35318         (DF_1_GLOBAUDIT): Likewise.
35319         (DF_1_SINGLETON): Likewise.
35320         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35321         DT_1_SUPPORTED_MASK bits.
35322         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35324 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35326         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35328 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35330         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35331         macro.
35333         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35334         (sendmmsg): Move declarations...
35335         * socket/sys/socket.h: ... here.
35336         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35337         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35338         include it from...
35339         * socket/recvmmsg.c: ... this new file.
35340         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35341         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35342         definition of __sendmmsg hidden.
35343         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35344         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35345         Move ENOSYS stub into and include it from...
35346         * socket/sendmmsg.c: ... this new file.
35347         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35348         (sysdep_routines): Move recvmmsg and sendmmsg...
35349         * socket/Makefile (routines): ... here.
35350         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35351         (GLIBC_PRIVATE): Add __sendmmsg.
35352         * include/sys/socket.h (__sendmmsg): Add declarations.
35353         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35354         sendmmsg.
35356 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35358         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35359         variable I1 with __attribute__ ((unused)).
35360         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35362 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35364         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35365         DUMMY variables with __attribute__ ((unused)).
35367         * bits/byteswap.h: Include <bits/types.h>.
35368         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35370 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35372         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35373         string_t.  Do not manually set errno.
35374         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35375         length with __strnlen.  Make sure to both set errno and return it on
35376         failure.
35378 2012-11-19  David S. Miller  <davem@davemloft.net>
35380         With help from Joseph Myers.
35381         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35382         very large arguments properly.
35383         * math/libm-test.inc (atan_test): New tests.
35384         (atan2_test): New tests.
35385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35388 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35390         [BZ #14856]
35391         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35392         Define to 3.
35394         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35395         [POSIX] (EADDRNOTAVAIL): Likewise.
35396         [POSIX] (EAFNOSUPPORT): Likewise.
35397         [POSIX] (EALREADY): Likewise.
35398         [POSIX] (ECONNABORTED): Likewise.
35399         [POSIX] (ECONNREFUSED): Likewise.
35400         [POSIX] (ECONNRESET): Likewise.
35401         [POSIX] (EDESTADDRREQ): Likewise.
35402         [POSIX] (EDQUOT): Likewise.
35403         [POSIX] (EHOSTUNREACH): Likewise.
35404         [POSIX] (EIDRM): Likewise.
35405         [POSIX] (EISCONN): Likewise.
35406         [POSIX] (ELOOP): Likewise.
35407         [POSIX] (EMULTIHOP): Likewise.
35408         [POSIX] (ENETDOWN): Likewise.
35409         [POSIX] (ENETUNREACH): Likewise.
35410         [POSIX] (ENOBUFS): Likewise.
35411         [POSIX] (ENODATA): Likewise.
35412         [POSIX] (ENOLINK): Likewise.
35413         [POSIX] (ENOMSG): Likewise.
35414         [POSIX] (ENOPROTOOPT): Likewise.
35415         [POSIX] (ENOSR): Likewise.
35416         [POSIX] (ENOSTR): Likewise.
35417         [POSIX] (ENOTCONN): Likewise.
35418         [POSIX] (ENOTSOCK): Likewise.
35419         [POSIX] (EOPNOTSUPP): Likewise.
35420         [POSIX] (EOVERFLOW): Likewise.
35421         [POSIX] (EPROTO): Likewise.
35422         [POSIX] (EPROTONOSUPPORT): Likewise.
35423         [POSIX] (EPROTOTYPE): Likewise.
35424         [POSIX] (ESTALE): Likewise.
35425         [POSIX] (ETIME): Likewise.
35426         [POSIX] (ETXTBSY): Likewise.
35427         [POSIX] (EWOULDBLOCK): Likewise.
35428         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35429         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35430         [POSIX] (SEEK_CUR): Likewise.
35431         [POSIX] (SEEK_END): Likewise.
35432         [POSIX || UNIX98] (mode_t): Do not require.
35433         [POSIX] (off_t): Likewise.
35434         [POSIX] (pid_t): Likewise.
35435         [POSIX] (sys/stat.h): Do not allow header.
35436         [POSIX] (unistd.h): Likewise.
35437         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35438         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35439         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35440         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35441         require.
35442         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35443         sigevent): Specify elements.
35444         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35445         entry.
35446         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35447         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35449         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35450         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35451         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35452         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35453         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35454         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35455         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35456         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35457         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35458         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35459         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35460         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35461         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35462         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35463         Likewise.
35464         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35465         Likewise.
35466         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35467         Likewise.
35468         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35469         Likewise.
35470         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35471         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35472         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35473         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35474         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35475         Specify lower bound on value.
35476         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35477         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35478         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35479         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35480         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35481         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35482         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35483         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35484         value.
35485         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35486         as optional.
35487         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35488         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35489         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35490         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35491         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35492         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35493         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35494         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35495         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35496         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35497         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35498         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35499         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35500         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35501         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35502         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35503         entry.
35504         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35505         optional.
35506         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35507         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35508         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35509         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35510         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35511         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35512         Likewise.
35513         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35514         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35515         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35516         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35517         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35518         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35519         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35520         as optional.
35521         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35522         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35523         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35524         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35525         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35526         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35527         specify as optional.
35528         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35529         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35530         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35531         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35532         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35533         [XPG3] (NL_LANGMAX): Likewise.
35534         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35535         [POSIX || XPG3] (NL_NMAX): Likewise.
35536         [POSIX || XPG3] (NL_SETMAX): Likewise.
35537         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35538         [XPG3] (NZERO): Likewise.
35539         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35540         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35541         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35542         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35543         (REG_ERANGE): Expect.
35544         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35545         optional-constant.
35546         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35547         Use (void) in prototype.
35548         [POSIX] (*_t): Allow.
35549         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35550         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35551         (WRDE_BADVAL): Expect.
35553         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35554         expect.
35555         [XPG3 || XPG4] (O_RSYNC): Likewise.
35556         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35557         Likewise.
35558         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35559         [XPG3 || XPG4] (sigqueue): Likewise.
35560         [XPG3 || XPG4] (sigtimedwait): Likewise.
35561         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35562         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35563         [XPG3 || XPG4] (vsnprintf): Likewise.
35564         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35565         Likewise.
35566         [XPG3 || XPG4] (blksize_t): Likewise.
35567         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35568         Likewise.
35569         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35570         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35571         [XPG3 || XPG4] (struct itimerspec): Likewise.
35572         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35573         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35574         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35575         [XPG3 || XPG4] (clockid_t): Likewise.
35576         [XPG3 || XPG4] (timer_t): Likewise.
35577         [XPG3 || XPG4] (clock_getres): Likewise.
35578         [XPG3 || XPG4] (clock_gettime): Likewise.
35579         [XPG3 || XPG4] (clock_settime): Likewise.
35580         [XPG3 || XPG4] (nanosleep): Likewise.
35581         [XPG3 || XPG4] (timer_create): Likewise.
35582         [XPG3 || XPG4] (timer_delete): Likewise.
35583         [XPG3 || XPG4] (timer_gettime): Likewise.
35584         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35585         [XPG3 || XPG4] (timer_settime): Likewise.
35586         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35587         [XPG3 || XPG4] (getlogin_r): Likewise.
35588         [XPG3 || XPG4] (pread): Likewise.
35589         [XPG3 || XPG4] (pthread_atfork): Likewise.
35590         [XPG3 || XPG4] (pwrite): Likewise.
35592         [BZ #14835]
35593         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35594         <bits/siginfo.h>.
35596 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35598         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35599         finalizing MALLSTREAM.
35601         * sysdeps/mach/hurd/syncfs.c: New file.
35603 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35605         [BZ #14719]
35606         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35607         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35608         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35609         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35610         (_nss_dns_gethostbyname4_r): Likewise.
35611         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35612         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35614 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35616         [BZ #13763]
35617         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35619 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35621         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35622         * elf/cache.c (print_entry): Print ",AArch64" for
35623         FLAG_AARCH64_LIB64
35625         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35626         * elf/cache.c (print_entry): Print ",hard-float" for
35627         FLAG_ARM_LIBHF.
35629 2012-11-18  David S. Miller  <davem@davemloft.net>
35631         With help from Joseph Myers.
35632         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35633         cutoff to 2**-13.
35634         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35635         cutoff to 2**-25.
35636         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35637         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35638         small.
35639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35640         * math/libm-test.inc (y0_test): New tests.
35641         (y1_test): New tests.
35642         * sysdeps/i386/fpu/libm-test-ulps: Update.
35643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35646 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35648         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35649         64-bit targets.
35650         * configure: Regenerated.
35652 2012-11-17  David S. Miller  <davem@davemloft.net>
35654         [BZ #14811]
35655         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35656         nonzero exponents with absolute value below 0x1p-128 to +/-
35657         0x1p-128.
35659 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35661         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35663         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35665         * posix/getconf-speclist.c: New file.
35666         * posix/posix-envs.def: Likewise.
35667         * posix/confstr.c (START_ENV_GROUP): New macro.
35668         (END_ENV_GROUP): Likewise.
35669         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35670         (KNOWN_PRESENT_ENV_STRING): Likewise.
35671         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35672         (UNKNOWN_ENVIRONMENT): Likewise.
35673         (confstr): Include posix-envs.def instead of handling
35674         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35675         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35676         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35677         (END_ENV_GROUP): Likewise.
35678         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35679         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35680         (UNKNOWN_ENVIRONMENT): Likewise.
35681         (__sysconf): Include posix-envs.def instead of handling associated
35682         cases directly here.
35683         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35684         preprocessing getconf-speclist.c rather than running getconf or
35685         generating empty file.
35687 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35689         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35691 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35693         [BZ #14672]
35694         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35696 2012-11-16  David S. Miller  <davem@davemloft.net>
35698         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35699         smaller than LDBL_EPSILON/2.0L, just return xm1.
35701 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35703         * elf/tst-array1.c (init): Set constructor priority to 1000.
35704         (fini): Set destructor priority to 1000.
35705         * elf/tst-array2dep.c: Likewise.
35707 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35709         [BZ #11741]
35710         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35711         (_IO_new_file_xsputn): Also return EOF if none of the input
35712         data was written when overflow failed.
35713         * libio/iopadn.c (_IO_padn): Likewise.
35714         * libio/iowpadn.c (_IO_wpadn): Likewise.
35715         * stdio-common/tst-put-error.c: Add copyright notice.
35716         (do_test): Add case for printing padded string.
35717         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35718         _IO_padn returned error.
35719         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35720         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35721         return EOF.
35723 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35725         * libio/libioP.h: Add comment note that the references to C++
35726         bits are now obsolete.
35728 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35730         * math/libm-test.inc (check_complex): Use asprintf.
35732 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35734         * debug/pcprofiledump.c (print_version): Update copyright year.
35735         * malloc/memusagestat.c (print_version): Likewise.
35737 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35739         [BZ #14831]
35740         * elf/Makefile (tests): Add tst-audit8.
35741         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35742         ($(objpfx)tst-audit8.out): New target.
35743         (tst-audit8-ENV): New variable.
35744         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35745         audit if l_reloc_result is NULL.
35746         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35747         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35748         * elf/tst-audit8.c: New file.
35750 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35752         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35753         * misc/Makefile (CFLAGS-select.c): Define.
35754         * posix/Makefile (CFLAGS-pause.c): Define.
35756 2012-11-13  David S. Miller  <davem@davemloft.net>
35758         * crypt/Makefile: Move test targets after toplevel Rules
35759         inclusion.  Grab any necessary sysdep routines when linking.
35760         * crypt/md5.c (md5_process_block): Remove define, we will always
35761         name it __md5_process_block.
35762         (md5_finish_ctx): Update md5_process_block call.
35763         (md5_stream): Likewise.
35764         (md5_process_bytes): Likewise.
35765         (md5_process_block): Rename to __md5_process_block and move to ...
35766         * crypt/md5-block.c: ... here.
35767         * crypt/sha256.c (sha256_process_block): Move to ...
35768         * crypt/sha256-block.c: ... here.
35769         * crypt/sha512.c (sha512_process_block): Move to ...
35770         * crypt/sha512-block.c: ... here.
35771         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35772         path.
35773         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35774         * sysdeps/sparc/sparc64/multiarch/Makefile
35775         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35776         crypt subdir.
35777         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35778         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35779         multiarch changes.
35780         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35781         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35782         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35783         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35784         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35785         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35786         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35787         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35788         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35789         file.
35790         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35791         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35792         file.
35793         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35795 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35797         * timezone/tzselect.ksh: Update from tzcode git revision
35798         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35799         * timezone/zdump.c: Likewise.
35800         * timezone/zic.c: Likewise.
35801         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35802         in TZVERSION setting, not $(PKGVERSION).
35803         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35804         REPORT_BUGS_TO settings.
35806         [BZ #14838]
35807         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35808         macro.
35810 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35812         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35813         detection to immediately after _FP_ROUND().
35814         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35815         bits are 0.
35817 2012-11-11  David S. Miller  <davem@davemloft.net>
35819         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35820         inttypes.h
35821         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35822         __close rather than their public counterparts.
35824 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35826         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35827         file.
35828         [UNIX98] (sem_timedwait): Do not expect.
35829         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35830         [XPG4 || UNIX98] (sockatmark): Do not expect.
35831         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35832         (clock_getcpuclockid): Do not expect.
35833         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35834         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35835         Do not expect.
35836         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35837         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35838         [UNIX98] (vwscanf): Likewise.
35839         [UNIX98] (vswscanf): Likewise.
35841 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35843         * timezone/version.h: Remove file.
35844         * timezone/README: Do not refer to version.h.
35845         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35846         $(objpfx)version.h.
35847         ($(objpfx)zdump.o): Likewise.
35848         ($(objpfx)version.h): New target.
35850         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35851         2012i.
35852         * timezone/README: Don't mention modification to tzselect.ksh.
35853         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35854         work on unmodified tzselect.ksh.  Substitute version numbers in
35855         tzselect.ksh.
35857         * Makefile (format-me): Remove.
35858         (INSTALL): Adjust indentation.  Use commands directly instead of
35859         using $(format-me).
35861         * aclocal.m4 (ACX_PKGVERSION): New macro.
35862         (ACX_BUGURL): Likewise.
35863         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35864         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35865         (REPORT_BUGS_TO): Likewise.
35866         * configure: Regenerated.
35867         * config.h.in (PKGVERSION): New macro.
35868         (REPORT_BUGS_TO): Likewise.
35869         * config.make.in (PKGVERSION): New variable.
35870         (PKGVERSION_TEXI): Likewise.
35871         (REPORT_BUGS_TO): Likewise.
35872         (REPORT_BUGS_TEXI): Likewise.
35873         * Makefile (format-me): Use -I$(common-objpfx)manual.
35874         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35875         ($(common-objpfx)manual/%): New target.
35876         (manual/%): Remove target.
35877         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35878         (print_version): Use PKGVERSION.
35879         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35880         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35881         and REPORT_BUGS_TO.
35882         ($(objpfx)xtrace): Likewise.
35883         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35884         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35885         (print_version): Use PKGVERSION.
35886         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35887         (do_version): Use PKGVERSION.
35888         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35889         REPORT_BUGS_TO.
35890         (common-ldd-rewrite): Likewise.
35891         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35892         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35893         (print_version): Use PKGVERSION.
35894         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35895         * elf/pldd.c (argp_program_bug_address): Remove variable.
35896         (more_help): New function.
35897         (argp): Use more_help.
35898         (print_version): Use PKGVERSION.
35899         * elf/sln.c (main): Use PKGVERSION.
35900         (usage): Use REPORT_BUGS_TO.
35901         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35902         (top level): Use PKGVERSION.
35903         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35904         (print_version): Use PKGVERSION.
35905         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35906         (print_version): Use PKGVERSION.
35907         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35908         (print_version): Use PKGVERSION.
35909         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35910         (print_version): Use PKGVERSION.
35911         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35912         (print_version): Use PKGVERSION.
35913         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35914         (print_version): Use PKGVERSION.
35915         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35916         and BUGURL.
35917         ($(objpfx)memusage): Likewise.
35918         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35919         (do_version): Use PKGVERSION.
35920         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35921         (print_version): Use PKGVERSION.
35922         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35923         ($PKGVERSION): New variable.
35924         ($REPORT_BUGS_TO): Likewise.
35925         (usage): Use $REPORT_BUGS_TO.
35926         (top level): Use $PKGVERSION.
35927         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35928         ($(objpfx)pkgvers.texi): New rule.
35929         ($(objpfx)stamp-pkgvers): Likewise.
35930         * manual/install.texi: Include pkgvers.texi.
35931         (--with-pkgversion): Document new configure option.
35932         (--with-bugurl): Likewise.
35933         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35934         than necessarily for this particular distribution.  Use
35935         REPORT_BUGS_TO for where to report bugs.
35936         * INSTALL: Regenerated.
35937         * manual/libc.texinfo: Include pkgvers.texi.
35938         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35939         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35940         (print_version): Use PKGVERSION.
35941         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35942         (print_version): Use PKGVERSION.
35943         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35944         (print_version): Use PKGVERSION.
35945         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35946         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35947         macro.
35948         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35949         (print_version): Use PKGVERSION.
35950         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35951         (print_version): Use PKGVERSION.
35952         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35953         and PKGVERSION.
35955         * timezone/checktab.awk: Update from tzcode 2012i.
35956         * timezone/ialloc.c: Likewise.
35957         * timezone/private.h: Likewise.
35958         * timezone/scheck.c: Likewise.
35959         * timezone/tzfile.h: Likewise.
35960         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35961         (TZVERSION): Hardcode tzcode version number.
35962         * timezone/zdump.c: Update from tzcode 2012i.
35963         * timezone/zic.c: Likewise.
35964         * timezone/version.h: New file.
35965         * timezone/README: Describe version.h.  Update upstream location.
35967         [BZ #14824]
35968         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35969         (mktemp): Enable declaration.
35970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35971         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35973         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35974         Likewise.
35975         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35976         Likewise.
35977         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35978         Likewise.
35979         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35980         Likewise.
35981         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35982         Likewise.
35983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35984         Likewise.
35986         [BZ #14821]
35987         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35988         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35989         for copies of such integer values.
35990         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35991         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35993 2012-11-09  Andreas Jaeger  <aj@suse.de>
35995         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35996         definitions and declarations that are provided by
35997         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35999 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36001         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
36002         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36003         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36004         definition.
36006 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36008         * elf/elf.h: Update comment before AArch64 relocations.
36010 2012-11-07  David S. Miller  <davem@davemloft.net>
36012         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36013         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36014         (__start_context): Declare.
36015         (__makecontext_ret): Delete.
36016         (__makecontext): Hook up __start_context instead of
36017         __makecontext_ret.
36018         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36019         (sysdep_routines): Add __start_context when in stdlib.
36021 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36023         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36024         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36025         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36026         hardcoded "nm".
36027         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36028         (READELF): New variable.  Use it instead of hardcoded "readelf".
36030 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36032         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36033         * sysdeps/x86/Makefile: Here.
36034         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36035         * sysdeps/x86/tst-xmmymm.sh: This.
36037 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36039         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36040         expectations.
36041         [UNIX98] (pthread_barrier_t): Do not expect.
36042         [UNIX98] (pthread_barrierattr_t): Likewise.
36043         [UNIX98] (pthread_spinlock_t): Likewise.
36044         [UNIX98] (pthread_barrier_destroy): Likewise.
36045         [UNIX98] (pthread_barrier_init): Likewise.
36046         [UNIX98] (pthread_barrier_wait): Likewise.
36047         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36048         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36049         [UNIX98] (pthread_barrierattr_init): Likewise.
36050         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36051         [UNIX98] (pthread_getcpuclockid): Likewise.
36052         [UNIX98] (pthread_mutex_timedlock): Likewise.
36053         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36054         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36055         [UNIX98] (pthread_sigmask): Likewise.
36056         [UNIX98] (pthread_spin_destroy): Likewise.
36057         [UNIX98] (pthread_spin_init): Likewise.
36058         [UNIX98] (pthread_spin_lock): Likewise.
36059         [UNIX98] (pthread_spin_trylock): Likewise.
36060         [UNIX98] (pthread_spin_unlock): Likewise.
36061         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36062         Do not expect.
36063         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36065         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36066         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36067         [XPG3 || XPG4] (pthread_key_t): Likewise.
36068         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36069         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36070         [XPG3 || XPG4] (pthread_once_t): Likewise.
36071         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36072         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36073         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36074         [XPG3 || XPG4] (pthread_t): Likewise.
36076         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36077         not expect.
36078         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36080         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36081         Change function return type to int.
36083         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36084         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36085         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36086         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36087         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36088         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36089         [!POSIX] (posix_madvise): Likewise.
36090         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36091         && !UNIX98].
36092         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36093         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36094         (mode_t): Likewise.
36095         (posix_mem_offset): Likewise.
36096         (posix_typed_mem_get_info): Likewise.
36097         (posix_typed_mem_open): Likewise.
36099         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36100         Change condition to [XOPEN2K8].
36102         * conform/conformtest.pl: Preprocess allow-header data with -x c
36103         instead of from stdin.
36104         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36105         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36106         [C99-based standards] (cerfc): Likewise.
36107         [C99-based standards] (cexp2): Likewise.
36108         [C99-based standards] (cexpm1): Likewise.
36109         [C99-based standards] (clog10): Likewise.
36110         [C99-based standards] (clog1p): Likewise.
36111         [C99-based standards] (clog2): Likewise.
36112         [C99-based standards] (clgamma): Likewise.
36113         [C99-based standards] (ctgamma): Likewise.
36114         [C99-based standards] (cerff): Likewise.
36115         [C99-based standards] (cerfcf): Likewise.
36116         [C99-based standards] (cexp2f): Likewise.
36117         [C99-based standards] (cexpm1f): Likewise.
36118         [C99-based standards] (clog10f): Likewise.
36119         [C99-based standards] (clog1pf): Likewise.
36120         [C99-based standards] (clog2f): Likewise.
36121         [C99-based standards] (clgammaf): Likewise.
36122         [C99-based standards] (ctgammaf): Likewise.
36123         [C99-based standards] (cerfl): Likewise.
36124         [C99-based standards] (cerfcl): Likewise.
36125         [C99-based standards] (cexp2l): Likewise.
36126         [C99-based standards] (cexpm1l): Likewise.
36127         [C99-based standards] (clog10l): Likewise.
36128         [C99-based standards] (clog1pl): Likewise.
36129         [C99-based standards] (clog2l): Likewise.
36130         [C99-based standards] (clgammal): Likewise.
36131         [C99-based standards] (ctgammal): Likewise.
36132         * conform/data/inttypes.h-data [C99-based standards]: Include
36133         stdint.h-data.  Remove all expectations for stdint.h contents.
36134         [C99-based standards] (PRI*): Do not allow.
36135         [C99-based standards] (SCN*): Likewise.
36136         [C99-based standards] (*_t): Likewise.
36137         [C99-based-standards] (PRId8): Expect macro.
36138         [C99-based-standards] (PRIi8): Likewise.
36139         [C99-based-standards] (PRIo8): Likewise.
36140         [C99-based-standards] (PRIu8): Likewise.
36141         [C99-based-standards] (PRIx8): Likewise.
36142         [C99-based-standards] (PRIX8): Likewise.
36143         [C99-based-standards] (SCNd8): Likewise.
36144         [C99-based-standards] (SCNi8): Likewise.
36145         [C99-based-standards] (SCNo8): Likewise.
36146         [C99-based-standards] (SCNu8): Likewise.
36147         [C99-based-standards] (SCNx8): Likewise.
36148         [C99-based-standards] (PRIdLEAST8): Likewise.
36149         [C99-based-standards] (PRIiLEAST8): Likewise.
36150         [C99-based-standards] (PRIoLEAST8): Likewise.
36151         [C99-based-standards] (PRIuLEAST8): Likewise.
36152         [C99-based-standards] (PRIxLEAST8): Likewise.
36153         [C99-based-standards] (PRIXLEAST8): Likewise.
36154         [C99-based-standards] (SCNdLEAST8): Likewise.
36155         [C99-based-standards] (SCNiLEAST8): Likewise.
36156         [C99-based-standards] (SCNoLEAST8): Likewise.
36157         [C99-based-standards] (SCNuLEAST8): Likewise.
36158         [C99-based-standards] (SCNxLEAST8): Likewise.
36159         [C99-based-standards] (PRIdFAST8): Likewise.
36160         [C99-based-standards] (PRIiFAST8): Likewise.
36161         [C99-based-standards] (PRIoFAST8): Likewise.
36162         [C99-based-standards] (PRIuFAST8): Likewise.
36163         [C99-based-standards] (PRIxFAST8): Likewise.
36164         [C99-based-standards] (PRIXFAST8): Likewise.
36165         [C99-based-standards] (SCNdFAST8): Likewise.
36166         [C99-based-standards] (SCNiFAST8): Likewise.
36167         [C99-based-standards] (SCNoFAST8): Likewise.
36168         [C99-based-standards] (SCNuFAST8): Likewise.
36169         [C99-based-standards] (SCNxFAST8): Likewise.
36170         [C99-based-standards] (PRId16): Likewise.
36171         [C99-based-standards] (PRIi16): Likewise.
36172         [C99-based-standards] (PRIo16): Likewise.
36173         [C99-based-standards] (PRIu16): Likewise.
36174         [C99-based-standards] (PRIx16): Likewise.
36175         [C99-based-standards] (PRIX16): Likewise.
36176         [C99-based-standards] (SCNd16): Likewise.
36177         [C99-based-standards] (SCNi16): Likewise.
36178         [C99-based-standards] (SCNo16): Likewise.
36179         [C99-based-standards] (SCNu16): Likewise.
36180         [C99-based-standards] (SCNx16): Likewise.
36181         [C99-based-standards] (PRIdLEAST16): Likewise.
36182         [C99-based-standards] (PRIiLEAST16): Likewise.
36183         [C99-based-standards] (PRIoLEAST16): Likewise.
36184         [C99-based-standards] (PRIuLEAST16): Likewise.
36185         [C99-based-standards] (PRIxLEAST16): Likewise.
36186         [C99-based-standards] (PRIXLEAST16): Likewise.
36187         [C99-based-standards] (SCNdLEAST16): Likewise.
36188         [C99-based-standards] (SCNiLEAST16): Likewise.
36189         [C99-based-standards] (SCNoLEAST16): Likewise.
36190         [C99-based-standards] (SCNuLEAST16): Likewise.
36191         [C99-based-standards] (SCNxLEAST16): Likewise.
36192         [C99-based-standards] (PRIdFAST16): Likewise.
36193         [C99-based-standards] (PRIiFAST16): Likewise.
36194         [C99-based-standards] (PRIoFAST16): Likewise.
36195         [C99-based-standards] (PRIuFAST16): Likewise.
36196         [C99-based-standards] (PRIxFAST16): Likewise.
36197         [C99-based-standards] (PRIXFAST16): Likewise.
36198         [C99-based-standards] (SCNdFAST16): Likewise.
36199         [C99-based-standards] (SCNiFAST16): Likewise.
36200         [C99-based-standards] (SCNoFAST16): Likewise.
36201         [C99-based-standards] (SCNuFAST16): Likewise.
36202         [C99-based-standards] (SCNxFAST16): Likewise.
36203         [C99-based-standards] (PRId32): Likewise.
36204         [C99-based-standards] (PRIi32): Likewise.
36205         [C99-based-standards] (PRIo32): Likewise.
36206         [C99-based-standards] (PRIu32): Likewise.
36207         [C99-based-standards] (PRIx32): Likewise.
36208         [C99-based-standards] (PRIX32): Likewise.
36209         [C99-based-standards] (SCNd32): Likewise.
36210         [C99-based-standards] (SCNi32): Likewise.
36211         [C99-based-standards] (SCNo32): Likewise.
36212         [C99-based-standards] (SCNu32): Likewise.
36213         [C99-based-standards] (SCNx32): Likewise.
36214         [C99-based-standards] (PRIdLEAST32): Likewise.
36215         [C99-based-standards] (PRIiLEAST32): Likewise.
36216         [C99-based-standards] (PRIoLEAST32): Likewise.
36217         [C99-based-standards] (PRIuLEAST32): Likewise.
36218         [C99-based-standards] (PRIxLEAST32): Likewise.
36219         [C99-based-standards] (PRIXLEAST32): Likewise.
36220         [C99-based-standards] (SCNdLEAST32): Likewise.
36221         [C99-based-standards] (SCNiLEAST32): Likewise.
36222         [C99-based-standards] (SCNoLEAST32): Likewise.
36223         [C99-based-standards] (SCNuLEAST32): Likewise.
36224         [C99-based-standards] (SCNxLEAST32): Likewise.
36225         [C99-based-standards] (PRIdFAST32): Likewise.
36226         [C99-based-standards] (PRIiFAST32): Likewise.
36227         [C99-based-standards] (PRIoFAST32): Likewise.
36228         [C99-based-standards] (PRIuFAST32): Likewise.
36229         [C99-based-standards] (PRIxFAST32): Likewise.
36230         [C99-based-standards] (PRIXFAST32): Likewise.
36231         [C99-based-standards] (SCNdFAST32): Likewise.
36232         [C99-based-standards] (SCNiFAST32): Likewise.
36233         [C99-based-standards] (SCNoFAST32): Likewise.
36234         [C99-based-standards] (SCNuFAST32): Likewise.
36235         [C99-based-standards] (SCNxFAST32): Likewise.
36236         [C99-based-standards] (PRId64): Likewise.
36237         [C99-based-standards] (PRIi64): Likewise.
36238         [C99-based-standards] (PRIo64): Likewise.
36239         [C99-based-standards] (PRIu64): Likewise.
36240         [C99-based-standards] (PRIx64): Likewise.
36241         [C99-based-standards] (PRIX64): Likewise.
36242         [C99-based-standards] (SCNd64): Likewise.
36243         [C99-based-standards] (SCNi64): Likewise.
36244         [C99-based-standards] (SCNo64): Likewise.
36245         [C99-based-standards] (SCNu64): Likewise.
36246         [C99-based-standards] (SCNx64): Likewise.
36247         [C99-based-standards] (PRIdLEAST64): Likewise.
36248         [C99-based-standards] (PRIiLEAST64): Likewise.
36249         [C99-based-standards] (PRIoLEAST64): Likewise.
36250         [C99-based-standards] (PRIuLEAST64): Likewise.
36251         [C99-based-standards] (PRIxLEAST64): Likewise.
36252         [C99-based-standards] (PRIXLEAST64): Likewise.
36253         [C99-based-standards] (SCNdLEAST64): Likewise.
36254         [C99-based-standards] (SCNiLEAST64): Likewise.
36255         [C99-based-standards] (SCNoLEAST64): Likewise.
36256         [C99-based-standards] (SCNuLEAST64): Likewise.
36257         [C99-based-standards] (SCNxLEAST64): Likewise.
36258         [C99-based-standards] (PRIdFAST64): Likewise.
36259         [C99-based-standards] (PRIiFAST64): Likewise.
36260         [C99-based-standards] (PRIoFAST64): Likewise.
36261         [C99-based-standards] (PRIuFAST64): Likewise.
36262         [C99-based-standards] (PRIxFAST64): Likewise.
36263         [C99-based-standards] (PRIXFAST64): Likewise.
36264         [C99-based-standards] (SCNdFAST64): Likewise.
36265         [C99-based-standards] (SCNiFAST64): Likewise.
36266         [C99-based-standards] (SCNoFAST64): Likewise.
36267         [C99-based-standards] (SCNuFAST64): Likewise.
36268         [C99-based-standards] (SCNxFAST64): Likewise.
36269         [C99-based-standards] (PRIdMAX): Likewise.
36270         [C99-based-standards] (PRIiMAX): Likewise.
36271         [C99-based-standards] (PRIoMAX): Likewise.
36272         [C99-based-standards] (PRIuMAX): Likewise.
36273         [C99-based-standards] (PRIxMAX): Likewise.
36274         [C99-based-standards] (PRIXMAX): Likewise.
36275         [C99-based-standards] (SCNdMAX): Likewise.
36276         [C99-based-standards] (SCNiMAX): Likewise.
36277         [C99-based-standards] (SCNoMAX): Likewise.
36278         [C99-based-standards] (SCNuMAX): Likewise.
36279         [C99-based-standards] (SCNxMAX): Likewise.
36280         [C99-based-standards] (PRIdPTR): Likewise.
36281         [C99-based-standards] (PRIiPTR): Likewise.
36282         [C99-based-standards] (PRIoPTR): Likewise.
36283         [C99-based-standards] (PRIuPTR): Likewise.
36284         [C99-based-standards] (PRIxPTR): Likewise.
36285         [C99-based-standards] (PRIXPTR): Likewise.
36286         [C99-based-standards] (SCNdPTR): Likewise.
36287         [C99-based-standards] (SCNiPTR): Likewise.
36288         [C99-based-standards] (SCNoPTR): Likewise.
36289         [C99-based-standards] (SCNuPTR): Likewise.
36290         [C99-based-standards] (SCNxPTR): Likewise.
36291         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36292         allow.
36293         * conform/data/stdint.h-data: Update comments to clarify
36294         requirements.
36295         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36296         type.
36297         [C99-based standards] (INT8_MAX): Likewise.
36298         [C99-based standards] (INT16_MIN): Likewise.
36299         [C99-based standards] (INT16_MAX): Likewise.
36300         [C99-based standards] (INT32_MIN): Likewise.
36301         [C99-based standards] (INT32_MAX): Likewise.
36302         [C99-based standards] (INT64_MIN): Likewise.
36303         [C99-based standards] (INT64_MAX): Likewise.
36304         [C99-based standards] (UINT8_MAX): Likewise.
36305         [C99-based standards] (UINT16_MAX): Likewise.
36306         [C99-based standards] (UINT32_MAX): Likewise.
36307         [C99-based standards] (UINT64_MAX): Likewise.
36308         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36309         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36310         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36311         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36312         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36313         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36314         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36315         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36316         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36317         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36318         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36319         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36320         [C99-based standards] (INT_FAST8_MIN): Likewise.
36321         [C99-based standards] (INT_FAST8_MAX): Likewise.
36322         [C99-based standards] (INT_FAST16_MIN): Likewise.
36323         [C99-based standards] (INT_FAST16_MAX): Likewise.
36324         [C99-based standards] (INT_FAST32_MIN): Likewise.
36325         [C99-based standards] (INT_FAST32_MAX): Likewise.
36326         [C99-based standards] (INT_FAST64_MIN): Likewise.
36327         [C99-based standards] (INT_FAST64_MAX): Likewise.
36328         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36329         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36330         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36331         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36332         [C99-based standards] (INTPTR_MIN): Likewise.
36333         [C99-based standards] (INTPTR_MAX): Likewise.
36334         [C99-based standards] (UINTPTR_MAX): Likewise.
36335         [C99-based standards] (INTMAX_MIN): Likewise.
36336         [C99-based standards] (INTMAX_MAX): Likewise.
36337         [C99-based standards] (UINTMAX_MAX): Likewise.
36338         [C99-based standards] (PTRDIFF_MIN): Likewise.
36339         [C99-based standards] (PTRDIFF_MAX): Likewise.
36340         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36341         [C99-based standards] (SIZE_MAX): Likewise.
36342         [C99-based standards] (WCHAR_MAX): Likewise.
36343         [C99-based standards] (WINT_MAX): Likewise.
36344         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36345         constraint on value.
36346         [C99-based standards] (WCHAR_MIN): Likewise.
36347         [C99-based standards] (WINT_MIN): Likewise.
36348         [C99-based standards] (*_t): Allow.
36349         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36350         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36351         Include math.h-data and complex.h-data.  Remove all expectations
36352         of math.h and complex.h contents.
36353         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36354         at end of line.
36355         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36356         (struct tm): Expect tag.
36357         [C99-based-standards] (wcstof): Expect function.
36358         [C99-based-standards] (wcstold): Likewise.
36359         [C99-based-standards] (wcstoll): Likewise.
36360         [C99-based-standards] (wcstoull): Likewise.
36361         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36362         macro-int-constant.  Specify type.
36363         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36364         constraint on value.
36365         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36366         Specify type.
36367         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36368         Specify value.
36369         [ISO C standards]: Do not allow headers.
36370         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36371         wcs[abcdefghijklmnopqrstuvwxyz]*.
36372         [ISO C standards] (*_t): Do not allow.
36373         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36374         Expect function.
36375         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36376         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36377         Specify type.
36378         [ISO C standards]: Do not allow headers.
36379         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36380         is[abcdefghijklmnopqrstuvwxyz]*.
36381         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36382         to[abcdefghijklmnopqrstuvwxyz]*.
36383         [ISO C standards] (*_t): Do not allow.
36384         * conform/data/stdalign.h-data: New file.
36385         * conform/data/stdbool.h-data: Likewise.
36386         * conform/data/stdnoreturn.h-data: Likewise.
36388 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36390         [BZ #14815]
36391         * manual/filesys.texi (Directory Entries): Typo fix.
36392         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36394 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36396         * elf/elf.h (EM_AARCH64): New macro.
36397         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36398         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36399         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36400         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36401         (R_AARCH64_TLSDESC): Likewise.
36402         (NT_ARM_TLS): Likewise.
36403         (NT_ARM_HW_BREAK): Likewise.
36404         (NT_ARM_HW_WATCH): Likewise.
36406 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36408         [BZ #14811]
36409         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36410         (__ieee754_powl): Saturate nonzero exponents with absolute value
36411         below 0x1p-79 to +/- 0x1p-79.
36412         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36413         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36414         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36415         nonzero exponents with absolute value below 0x1p-32 to +/-
36416         0x1p-32.
36417         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36418         (__ieee754_powl): Saturate nonzero exponents with absolute value
36419         below 0x1p-79 to +/- 0x1p-79.
36420         * math/libm-test.inc (pow_test): Add more tests.
36422 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36424         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36425         _dl_s390_cap_flags with kernel. Increase string length.
36426         (_dl_s390_platforms): Add z196 and zEC12.
36428 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36430         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36431         Change XOPEN21K to XOPEN2K.
36433 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36435         * string/memmove.c: Use memcpy when possible.
36437 2012-11-06  Andreas Jaeger  <aj@suse.de>
36439         * po/eo.po: Update from translation team.
36441 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36443         [BZ #14793]
36444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36445         exponent and small x and y exponents, scale x or y up.  Increase
36446         by 2 the exponent used in scaling up.
36447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36449         * math/libm-test.inc (fma_test): Add more tests.
36450         (fma_test_towardzero): Likewise.
36451         (fma_test_downward): Likewise.
36452         (fma_test_upward): Likewise.
36454 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36456         [BZ #14805]
36457         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36458         fenv_t *.
36460         [BZ #14801]
36461         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36462         namespace for names of struct fields.
36463         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36464         fenv_t fields.
36465         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36466         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36468 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36470         [BZ #3665]
36471         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36473 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36475         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36476         PTR_DEMANGLE.
36478         [BZ #5246]
36479         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36480         PTR_DEMANGLE.
36482 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36484         [BZ #14797]
36485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36486         definitely overflow as x * y not x * y + z.
36487         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36488         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36489         * math/libm-test.inc (fma_test): Add more tests.
36490         (fma_test_towardzero): Likewise.
36491         (fma_test_downward): Likewise.
36492         (fma_test_upward): Likewise.
36494 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36496         [BZ #157]
36498         * include/stub-tag.h: Remove file.
36499         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36500         '#include' of it.
36501         * manual/maint.texi (Porting): Don't reference it.
36502         * Makerules ($(objpfx)stubs): Likewise.
36503         * dirent/closedir.c: Don't include <stub-tag.h>.
36504         * dirent/dirfd.c: Likewise.
36505         * dirent/fdopendir.c: Likewise.
36506         * dirent/getdents.c: Likewise.
36507         * dirent/getdents64.c: Likewise.
36508         * dirent/opendir.c: Likewise.
36509         * dirent/readdir.c: Likewise.
36510         * dirent/readdir64.c: Likewise.
36511         * dirent/readdir64_r.c: Likewise.
36512         * dirent/readdir_r.c: Likewise.
36513         * dirent/rewinddir.c: Likewise.
36514         * dirent/seekdir.c: Likewise.
36515         * dirent/telldir.c: Likewise.
36516         * gmon/profil.c: Likewise.
36517         * grp/setgroups.c: Likewise.
36518         * inet/if_index.c: Likewise.
36519         * io/access.c: Likewise.
36520         * io/chdir.c: Likewise.
36521         * io/chmod.c: Likewise.
36522         * io/chown.c: Likewise.
36523         * io/close.c: Likewise.
36524         * io/dup.c: Likewise.
36525         * io/dup2.c: Likewise.
36526         * io/dup3.c: Likewise.
36527         * io/euidaccess.c: Likewise.
36528         * io/faccessat.c: Likewise.
36529         * io/fchdir.c: Likewise.
36530         * io/fchmod.c: Likewise.
36531         * io/fchmodat.c: Likewise.
36532         * io/fchown.c: Likewise.
36533         * io/fchownat.c: Likewise.
36534         * io/fcntl.c: Likewise.
36535         * io/flock.c: Likewise.
36536         * io/fstatfs.c: Likewise.
36537         * io/fstatfs64.c: Likewise.
36538         * io/fstatvfs.c: Likewise.
36539         * io/fstatvfs64.c: Likewise.
36540         * io/futimens.c: Likewise.
36541         * io/fxstat.c: Likewise.
36542         * io/fxstat64.c: Likewise.
36543         * io/fxstatat.c: Likewise.
36544         * io/fxstatat64.c: Likewise.
36545         * io/getcwd.c: Likewise.
36546         * io/isatty.c: Likewise.
36547         * io/lchmod.c: Likewise.
36548         * io/lchown.c: Likewise.
36549         * io/link.c: Likewise.
36550         * io/linkat.c: Likewise.
36551         * io/lseek.c: Likewise.
36552         * io/lseek64.c: Likewise.
36553         * io/lxstat64.c: Likewise.
36554         * io/mkdir.c: Likewise.
36555         * io/mkdirat.c: Likewise.
36556         * io/mkfifo.c: Likewise.
36557         * io/mkfifoat.c: Likewise.
36558         * io/open.c: Likewise.
36559         * io/open64.c: Likewise.
36560         * io/openat.c: Likewise.
36561         * io/openat64.c: Likewise.
36562         * io/pipe.c: Likewise.
36563         * io/pipe2.c: Likewise.
36564         * io/poll.c: Likewise.
36565         * io/posix_fadvise.c: Likewise.
36566         * io/posix_fadvise64.c: Likewise.
36567         * io/posix_fallocate.c: Likewise.
36568         * io/posix_fallocate64.c: Likewise.
36569         * io/read.c: Likewise.
36570         * io/readlink.c: Likewise.
36571         * io/readlinkat.c: Likewise.
36572         * io/rmdir.c: Likewise.
36573         * io/sendfile.c: Likewise.
36574         * io/sendfile64.c: Likewise.
36575         * io/statfs.c: Likewise.
36576         * io/statfs64.c: Likewise.
36577         * io/statvfs.c: Likewise.
36578         * io/statvfs64.c: Likewise.
36579         * io/symlink.c: Likewise.
36580         * io/symlinkat.c: Likewise.
36581         * io/ttyname.c: Likewise.
36582         * io/ttyname_r.c: Likewise.
36583         * io/umask.c: Likewise.
36584         * io/unlink.c: Likewise.
36585         * io/unlinkat.c: Likewise.
36586         * io/utime.c: Likewise.
36587         * io/utimensat.c: Likewise.
36588         * io/write.c: Likewise.
36589         * io/xmknod.c: Likewise.
36590         * io/xmknodat.c: Likewise.
36591         * io/xstat.c: Likewise.
36592         * io/xstat64.c: Likewise.
36593         * login/getpt.c: Likewise.
36594         * login/grantpt.c: Likewise.
36595         * login/unlockpt.c: Likewise.
36596         * math/e_acoshl.c: Likewise.
36597         * math/e_acosl.c: Likewise.
36598         * math/e_asinl.c: Likewise.
36599         * math/e_atan2l.c: Likewise.
36600         * math/e_atanhl.c: Likewise.
36601         * math/e_coshl.c: Likewise.
36602         * math/e_expl.c: Likewise.
36603         * math/e_fmodl.c: Likewise.
36604         * math/e_gammal_r.c: Likewise.
36605         * math/e_hypotl.c: Likewise.
36606         * math/e_j0l.c: Likewise.
36607         * math/e_j1l.c: Likewise.
36608         * math/e_jnl.c: Likewise.
36609         * math/e_lgammal_r.c: Likewise.
36610         * math/e_log10l.c: Likewise.
36611         * math/e_log2l.c: Likewise.
36612         * math/e_logl.c: Likewise.
36613         * math/e_powl.c: Likewise.
36614         * math/e_rem_pio2l.c: Likewise.
36615         * math/e_sinhl.c: Likewise.
36616         * math/e_sqrtl.c: Likewise.
36617         * math/fclrexcpt.c: Likewise.
36618         * math/fedisblxcpt.c: Likewise.
36619         * math/feenablxcpt.c: Likewise.
36620         * math/fegetenv.c: Likewise.
36621         * math/fegetexcept.c: Likewise.
36622         * math/fegetround.c: Likewise.
36623         * math/feholdexcpt.c: Likewise.
36624         * math/fesetenv.c: Likewise.
36625         * math/fesetround.c: Likewise.
36626         * math/feupdateenv.c: Likewise.
36627         * math/fgetexcptflg.c: Likewise.
36628         * math/fraiseexcpt.c: Likewise.
36629         * math/fsetexcptflg.c: Likewise.
36630         * math/ftestexcept.c: Likewise.
36631         * math/k_cosl.c: Likewise.
36632         * math/k_rem_pio2l.c: Likewise.
36633         * math/k_sinl.c: Likewise.
36634         * math/k_tanl.c: Likewise.
36635         * math/s_asinhl.c: Likewise.
36636         * math/s_atanl.c: Likewise.
36637         * math/s_cbrtl.c: Likewise.
36638         * math/s_erfl.c: Likewise.
36639         * math/s_expm1l.c: Likewise.
36640         * math/s_log1pl.c: Likewise.
36641         * math/s_tanhl.c: Likewise.
36642         * misc/acct.c: Likewise.
36643         * misc/brk.c: Likewise.
36644         * misc/chflags.c: Likewise.
36645         * misc/chroot.c: Likewise.
36646         * misc/fchflags.c: Likewise.
36647         * misc/fgetxattr.c: Likewise.
36648         * misc/flistxattr.c: Likewise.
36649         * misc/fremovexattr.c: Likewise.
36650         * misc/fsetxattr.c: Likewise.
36651         * misc/fsync.c: Likewise.
36652         * misc/ftruncate.c: Likewise.
36653         * misc/futimes.c: Likewise.
36654         * misc/futimesat.c: Likewise.
36655         * misc/getdomain.c: Likewise.
36656         * misc/getdtsz.c: Likewise.
36657         * misc/gethostid.c: Likewise.
36658         * misc/gethostname.c: Likewise.
36659         * misc/getloadavg.c: Likewise.
36660         * misc/getpagesize.c: Likewise.
36661         * misc/getsysstats.c: Likewise.
36662         * misc/getxattr.c: Likewise.
36663         * misc/gtty.c: Likewise.
36664         * misc/ioctl.c: Likewise.
36665         * misc/lgetxattr.c: Likewise.
36666         * misc/listxattr.c: Likewise.
36667         * misc/llistxattr.c: Likewise.
36668         * misc/lremovexattr.c: Likewise.
36669         * misc/lsetxattr.c: Likewise.
36670         * misc/lutimes.c: Likewise.
36671         * misc/madvise.c: Likewise.
36672         * misc/mincore.c: Likewise.
36673         * misc/mlock.c: Likewise.
36674         * misc/mlockall.c: Likewise.
36675         * misc/mmap.c: Likewise.
36676         * misc/mprotect.c: Likewise.
36677         * misc/msync.c: Likewise.
36678         * misc/munlock.c: Likewise.
36679         * misc/munlockall.c: Likewise.
36680         * misc/munmap.c: Likewise.
36681         * misc/preadv.c: Likewise.
36682         * misc/preadv64.c: Likewise.
36683         * misc/ptrace.c: Likewise.
36684         * misc/pwritev.c: Likewise.
36685         * misc/pwritev64.c: Likewise.
36686         * misc/readv.c: Likewise.
36687         * misc/reboot.c: Likewise.
36688         * misc/remap_file_pages.c: Likewise.
36689         * misc/removexattr.c: Likewise.
36690         * misc/revoke.c: Likewise.
36691         * misc/select.c: Likewise.
36692         * misc/setdomain.c: Likewise.
36693         * misc/setegid.c: Likewise.
36694         * misc/seteuid.c: Likewise.
36695         * misc/sethostid.c: Likewise.
36696         * misc/sethostname.c: Likewise.
36697         * misc/setregid.c: Likewise.
36698         * misc/setreuid.c: Likewise.
36699         * misc/setxattr.c: Likewise.
36700         * misc/sstk.c: Likewise.
36701         * misc/stty.c: Likewise.
36702         * misc/swapoff.c: Likewise.
36703         * misc/swapon.c: Likewise.
36704         * misc/sync.c: Likewise.
36705         * misc/syncfs.c: Likewise.
36706         * misc/syscall.c: Likewise.
36707         * misc/truncate.c: Likewise.
36708         * misc/ualarm.c: Likewise.
36709         * misc/usleep.c: Likewise.
36710         * misc/ustat.c: Likewise.
36711         * misc/utimes.c: Likewise.
36712         * misc/vhangup.c: Likewise.
36713         * misc/writev.c: Likewise.
36714         * posix/_exit.c: Likewise.
36715         * posix/alarm.c: Likewise.
36716         * posix/execve.c: Likewise.
36717         * posix/fexecve.c: Likewise.
36718         * posix/fork.c: Likewise.
36719         * posix/fpathconf.c: Likewise.
36720         * posix/getaddrinfo.c: Likewise.
36721         * posix/getegid.c: Likewise.
36722         * posix/geteuid.c: Likewise.
36723         * posix/getgid.c: Likewise.
36724         * posix/getgroups.c: Likewise.
36725         * posix/getlogin.c: Likewise.
36726         * posix/getlogin_r.c: Likewise.
36727         * posix/getpgid.c: Likewise.
36728         * posix/getpid.c: Likewise.
36729         * posix/getppid.c: Likewise.
36730         * posix/getresgid.c: Likewise.
36731         * posix/getresuid.c: Likewise.
36732         * posix/getsid.c: Likewise.
36733         * posix/getuid.c: Likewise.
36734         * posix/glob64.c: Likewise.
36735         * posix/nanosleep.c: Likewise.
36736         * posix/pathconf.c: Likewise.
36737         * posix/pause.c: Likewise.
36738         * posix/posix_madvise.c: Likewise.
36739         * posix/pread.c: Likewise.
36740         * posix/pread64.c: Likewise.
36741         * posix/pwrite.c: Likewise.
36742         * posix/pwrite64.c: Likewise.
36743         * posix/sched_getaffinity.c: Likewise.
36744         * posix/sched_getp.c: Likewise.
36745         * posix/sched_gets.c: Likewise.
36746         * posix/sched_primax.c: Likewise.
36747         * posix/sched_primin.c: Likewise.
36748         * posix/sched_rr_gi.c: Likewise.
36749         * posix/sched_setaffinity.c: Likewise.
36750         * posix/sched_setp.c: Likewise.
36751         * posix/sched_sets.c: Likewise.
36752         * posix/sched_yield.c: Likewise.
36753         * posix/setgid.c: Likewise.
36754         * posix/setlogin.c: Likewise.
36755         * posix/setpgid.c: Likewise.
36756         * posix/setresgid.c: Likewise.
36757         * posix/setresuid.c: Likewise.
36758         * posix/setsid.c: Likewise.
36759         * posix/setuid.c: Likewise.
36760         * posix/sleep.c: Likewise.
36761         * posix/spawni.c: Likewise.
36762         * posix/sysconf.c: Likewise.
36763         * posix/times.c: Likewise.
36764         * posix/wait.c: Likewise.
36765         * posix/wait3.c: Likewise.
36766         * posix/wait4.c: Likewise.
36767         * posix/waitpid.c: Likewise.
36768         * resolv/gai_sigqueue.c: Likewise.
36769         * resource/getpriority.c: Likewise.
36770         * resource/getrlimit.c: Likewise.
36771         * resource/getrusage.c: Likewise.
36772         * resource/nice.c: Likewise.
36773         * resource/setpriority.c: Likewise.
36774         * resource/setrlimit.c: Likewise.
36775         * resource/ulimit.c: Likewise.
36776         * rt/aio_cancel.c: Likewise.
36777         * rt/aio_fsync.c: Likewise.
36778         * rt/aio_read.c: Likewise.
36779         * rt/aio_sigqueue.c: Likewise.
36780         * rt/aio_suspend.c: Likewise.
36781         * rt/aio_write.c: Likewise.
36782         * rt/clock_getres.c: Likewise.
36783         * rt/clock_gettime.c: Likewise.
36784         * rt/clock_nanosleep.c: Likewise.
36785         * rt/clock_settime.c: Likewise.
36786         * rt/lio_listio.c: Likewise.
36787         * rt/mq_close.c: Likewise.
36788         * rt/mq_getattr.c: Likewise.
36789         * rt/mq_notify.c: Likewise.
36790         * rt/mq_open.c: Likewise.
36791         * rt/mq_receive.c: Likewise.
36792         * rt/mq_send.c: Likewise.
36793         * rt/mq_setattr.c: Likewise.
36794         * rt/mq_timedreceive.c: Likewise.
36795         * rt/mq_timedsend.c: Likewise.
36796         * rt/mq_unlink.c: Likewise.
36797         * rt/shm_open.c: Likewise.
36798         * rt/shm_unlink.c: Likewise.
36799         * rt/timer_create.c: Likewise.
36800         * rt/timer_delete.c: Likewise.
36801         * rt/timer_getoverr.c: Likewise.
36802         * rt/timer_gettime.c: Likewise.
36803         * rt/timer_settime.c: Likewise.
36804         * setjmp/__longjmp.c: Likewise.
36805         * setjmp/setjmp.c: Likewise.
36806         * signal/kill.c: Likewise.
36807         * signal/killpg.c: Likewise.
36808         * signal/raise.c: Likewise.
36809         * signal/sigaction.c: Likewise.
36810         * signal/sigaltstack.c: Likewise.
36811         * signal/sigblock.c: Likewise.
36812         * signal/sigignore.c: Likewise.
36813         * signal/sigintr.c: Likewise.
36814         * signal/signal.c: Likewise.
36815         * signal/sigpause.c: Likewise.
36816         * signal/sigpending.c: Likewise.
36817         * signal/sigqueue.c: Likewise.
36818         * signal/sigreturn.c: Likewise.
36819         * signal/sigset.c: Likewise.
36820         * signal/sigsetmask.c: Likewise.
36821         * signal/sigstack.c: Likewise.
36822         * signal/sigsuspend.c: Likewise.
36823         * signal/sigtimedwait.c: Likewise.
36824         * signal/sigvec.c: Likewise.
36825         * signal/sigwait.c: Likewise.
36826         * signal/sigwaitinfo.c: Likewise.
36827         * signal/sysv_signal.c: Likewise.
36828         * socket/accept.c: Likewise.
36829         * socket/accept4.c: Likewise.
36830         * socket/bind.c: Likewise.
36831         * socket/connect.c: Likewise.
36832         * socket/getpeername.c: Likewise.
36833         * socket/getsockname.c: Likewise.
36834         * socket/getsockopt.c: Likewise.
36835         * socket/isfdtype.c: Likewise.
36836         * socket/listen.c: Likewise.
36837         * socket/recv.c: Likewise.
36838         * socket/recvfrom.c: Likewise.
36839         * socket/recvmsg.c: Likewise.
36840         * socket/send.c: Likewise.
36841         * socket/sendmsg.c: Likewise.
36842         * socket/sendto.c: Likewise.
36843         * socket/setsockopt.c: Likewise.
36844         * socket/shutdown.c: Likewise.
36845         * socket/sockatmark.c: Likewise.
36846         * socket/socket.c: Likewise.
36847         * socket/socketpair.c: Likewise.
36848         * stdio-common/ctermid.c: Likewise.
36849         * stdio-common/cuserid.c: Likewise.
36850         * stdio-common/remove.c: Likewise.
36851         * stdio-common/rename.c: Likewise.
36852         * stdio-common/renameat.c: Likewise.
36853         * stdio-common/tempname.c: Likewise.
36854         * stdlib/getcontext.c: Likewise.
36855         * stdlib/makecontext.c: Likewise.
36856         * stdlib/setcontext.c: Likewise.
36857         * stdlib/swapcontext.c: Likewise.
36858         * stdlib/system.c: Likewise.
36859         * streams/fattach.c: Likewise.
36860         * streams/fdetach.c: Likewise.
36861         * streams/getmsg.c: Likewise.
36862         * streams/getpmsg.c: Likewise.
36863         * streams/putmsg.c: Likewise.
36864         * streams/putpmsg.c: Likewise.
36865         * sysdeps/unix/bsd/getpt.c: Likewise.
36866         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36867         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36868         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36870         Likewise.
36871         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36872         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36873         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36874         * sysvipc/msgctl.c: Likewise.
36875         * sysvipc/msgget.c: Likewise.
36876         * sysvipc/msgrcv.c: Likewise.
36877         * sysvipc/msgsnd.c: Likewise.
36878         * sysvipc/semctl.c: Likewise.
36879         * sysvipc/semget.c: Likewise.
36880         * sysvipc/semop.c: Likewise.
36881         * sysvipc/semtimedop.c: Likewise.
36882         * sysvipc/shmat.c: Likewise.
36883         * sysvipc/shmctl.c: Likewise.
36884         * sysvipc/shmdt.c: Likewise.
36885         * sysvipc/shmget.c: Likewise.
36886         * termios/tcdrain.c: Likewise.
36887         * termios/tcflow.c: Likewise.
36888         * termios/tcflush.c: Likewise.
36889         * termios/tcgetattr.c: Likewise.
36890         * termios/tcgetpgrp.c: Likewise.
36891         * termios/tcsendbrk.c: Likewise.
36892         * termios/tcsetattr.c: Likewise.
36893         * termios/tcsetpgrp.c: Likewise.
36894         * time/adjtime.c: Likewise.
36895         * time/clock.c: Likewise.
36896         * time/getitimer.c: Likewise.
36897         * time/gettimeofday.c: Likewise.
36898         * time/setitimer.c: Likewise.
36899         * time/settimeofday.c: Likewise.
36900         * time/stime.c: Likewise.
36901         * time/time.c: Likewise.
36903 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36905         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36906         /usr/old/bin.
36908         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36909         instead of spaces.
36910         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36912 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36914         [BZ #14796]
36915         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36916         FE_TONEAREST before applying Dekker multiplication and Knuth
36917         addition.  Clear inexact exceptions and check for exact zero
36918         results afterwards.
36919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36920         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36921         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36922         * math/libm-test.inc (fma_test): Add more tests.
36923         (fma_test_towardzero): Likewise.
36924         (fma_test_downward): Likewise.
36925         (fma_test_upward): Likewise.
36926         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36927         function.
36928         (libc_fesetround): New macro.
36929         (libc_fesetroundf): Likewise.
36930         (libc_fesetroundl): Likewise.
36931         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36932         function.
36933         (libc_fesetround_387): Likewise.
36934         (libc_fesetroundf): New macro.
36935         (libc_fesetround): Likewise.
36936         (libc_fesetroundl): Likewise.
36937         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36938         function.
36939         (libc_fesetroundf): New macro.
36940         (libc_fesetround): Likewise.
36941         (libc_fesetroundl): Likewise.
36942         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36943         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36944         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36945         libm_hidden_ver.
36946         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36947         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36948         libm_hidden_def.
36949         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36950         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36951         libm_hidden_ver.
36952         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36953         libm_hidden_def.
36955         [BZ #3439]
36956         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36957         integer constant usable in #if and use that to give value to enum
36958         constant.
36959         (FE_DIVBYZERO): Likewise.
36960         (FE_UNDERFLOW): Likewise.
36961         (FE_OVERFLOW): Likewise.
36962         (FE_INVALID): Likewise.
36963         (FE_INVALID_SNAN): Likewise.
36964         (FE_INVALID_ISI): Likewise.
36965         (FE_INVALID_IDI): Likewise.
36966         (FE_INVALID_ZDZ): Likewise.
36967         (FE_INVALID_IMZ): Likewise.
36968         (FE_INVALID_COMPARE): Likewise.
36969         (FE_INVALID_SOFTWARE): Likewise.
36970         (FE_INVALID_SQRT): Likewise.
36971         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36972         (FE_TONEAREST): Likewise.
36973         (FE_TOWARDZERO): Likewise.
36974         (FE_UPWARD): Likewise.
36975         (FE_DOWNWARD): Likewise.
36976         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36977         (FE_DIVBYZERO): Likewise.
36978         (FE_OVERFLOW): Likewise.
36979         (FE_UNDERFLOW): Likewise.
36980         (FE_INEXACT): Likewise.
36981         (FE_TONEAREST): Likewise.
36982         (FE_DOWNWARD): Likewise.
36983         (FE_UPWARD): Likewise.
36984         (FE_TOWARDZERO): Likewise.
36985         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36986         (FE_UNDERFLOW): Likewise.
36987         (FE_OVERFLOW): Likewise.
36988         (FE_DIVBYZERO): Likewise.
36989         (FE_INVALID): Likewise.
36990         (FE_TONEAREST): Likewise.
36991         (FE_TOWARDZERO): Likewise.
36992         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36993         (FE_OVERFLOW): Likewise.
36994         (FE_UNDERFLOW): Likewise.
36995         (FE_DIVBYZERO): Likewise.
36996         (FE_INEXACT): Likewise.
36997         (FE_TONEAREST): Likewise.
36998         (FE_TOWARDZERO): Likewise.
36999         (FE_UPWARD): Likewise.
37000         (FE_DOWNWARD): Likewise.
37001         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37002         (FE_DIVBYZERO): Likewise.
37003         (FE_OVERFLOW): Likewise.
37004         (FE_UNDERFLOW): Likewise.
37005         (FE_INEXACT): Likewise.
37006         (FE_TONEAREST): Likewise.
37007         (FE_DOWNWARD): Likewise.
37008         (FE_UPWARD): Likewise.
37009         (FE_TOWARDZERO): Likewise.
37011 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37013         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37015 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37017         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37018         commands.  Quote $PWD.
37019         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37020         -x" by "export".
37021         (remove_newlines): Remove.
37023 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37025         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37026         * stdlib/stdlib.h (atof): Moved to ...
37027         * include/bits/stdlib-float.h: Here.  New file.
37028         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37029         * stdlib/bits/stdlib-float.h: New file.
37030         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37031         -mno-sse -mno-mmx.
37032         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37033         <xmmintrin.h>.
37035 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37037         * conform/conformtest.pl (@headers): Add fenv.h.
37038         * conform/data/fenv.h-data: New file.
37039         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37040         include of <math/fenv.h>.
37042         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37043         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37044         && !UNIX98].  Enables tests for XOPEN2K8.
37045         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37046         POSIX2008]: Likewise.
37048         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37049         (struct rusage): Do not expect type or its members.
37051         [BZ #3439]
37052         * math/math.h (FP_NAN): Define macro to integer constant usable in
37053         #if and use that to give value to enum constant.
37054         (FP_INFINITE): Likewise.
37055         (FP_ZERO): Likewise.
37056         (FP_SUBNORMAL): Likewise.
37057         (FP_NORMAL): Likewise.
37059 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37061         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37062         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37063         arguments.
37065 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37067         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37068         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37069         autoconf-time if not.
37070         * configure.in: Remove AC_PREREQ.
37072 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37074         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37075         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37076         of the internal implementation.
37078 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37080         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37081         except include of <misc/sys/syslog.h>.
37083 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37086         function returns with a NULL context exit with zero.
37088 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37090         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37092 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37094         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37095         (run_program_cmd): This.
37096         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37097         (tst_langinfo): New variable.  Use it.
37099 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37101         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37102         floating point opcodes.
37104 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37106         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37107         variable.
37109         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37111         * sysdeps/mach/hurd/powerpc: Remove directory.
37112         * sysdeps/mach/powerpc: Likewise.
37114 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37116         * scripts/check-local-headers.sh: Ignore c++ headers.
37118 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37120         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37121         __libc_cleanup_region_start argument.
37123 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37125         [BZ #14784]
37126         [BZ #14785]
37127         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37128         x * y using scaling, not as x * y + z.
37129         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37131         * math/libm-test.inc (fma_test): Add more tests.
37132         (fma_test_towardzero): Likewise.
37133         (fma_test_downward): Likewise.
37134         (fma_test_upward): Likewise.
37136 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37138         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37140 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37142         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37143         New variable.
37145 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37147         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37149 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37152         Fix sort order.
37153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37154         Likewise.
37156 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37159         Fix the order of the list for glibc 2.17.
37160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37161         Likewise.
37163 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37167 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37169         [BZ #14610]
37170         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37171         for low part of x being zero before using __atanl (y).
37172         * math/libm-test.inc (atan2_test): Add another test.
37174         * manual/install.texi (Configuring and compiling): Document
37175         general use of test-wrapper and test-wrapper-env.
37176         * INSTALL: Regenerated.
37178         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37179         (__fma): Do not extract and scale down low bits on after-rounding
37180         systems when result rounded to normal precision would have normal
37181         exponent.
37182         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37183         (__fmal): Do not extract and scale down low bits on after-rounding
37184         systems when result rounded to normal precision would have normal
37185         exponent.
37186         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37187         (__fmal): Do not extract and scale down low bits on after-rounding
37188         systems when result rounded to normal precision would have normal
37189         exponent.
37190         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37191         macro.
37192         (fma_test): Add more tests.
37193         (fma_test_towardzero): Likewise.
37194         (fma_test_downward): Likewise.
37195         (fma_test_upward): Likewise.
37197 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37199         * sysdeps/i386/tininess.h: Renamed to ...
37200         * sysdeps/x86/tininess.h: This.
37201         * sysdeps/x86_64/tininess.h: Removed.
37203 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37205         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37206         input.  Use $(build-program-cmd).
37207         ($(objpfx)tst-array1-static.out): Likewise.
37208         ($(objpfx)tst-array2.out): Likewise.
37209         ($(objpfx)tst-array3.out): Likewise.
37210         ($(objpfx)tst-array4.out): Likewise.
37211         ($(objpfx)tst-array5.out): Likewise.
37212         ($(objpfx)tst-array5-static.out): Likewise.
37214 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37216         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37217         if defined.
37219         * nss/nsswitch.h (nss_interface_function): Provide new
37220         macro for use with NSS functions.
37221         * grp/initgroups.c: Use new macro.
37222         * nss/getXXbyYY.c: Likewise.
37223         * nss/getXXbyYY_r.c: Likewise.
37224         * nss/getXXent.c: Likewise.
37225         * nss/getXXent_r.c: Likewise.
37226         * sysdeps/posix/getaddrinfo.c: Likewise.
37228 2012-10-30  Andreas Jaeger  <aj@suse.de>
37230         * po/ru.po: Update Russion translation from translation project.
37232 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37234         [BZ #14152]
37235         [BZ #14783]
37236         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37237         result and shift together with sticky bit instead of replicating
37238         round-to-nearest rounding.
37239         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37241         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37242         missing underflow exceptions.
37243         (fma_test_towardzero): Add more tests.
37244         (fma_test_downward): Likewise.
37245         (fma_test_upward): Likewise.
37247         [BZ #14047]
37248         * sysdeps/generic/tininess.h: New file.
37249         * sysdeps/i386/tininess.h: Likewise.
37250         * sysdeps/sh/tininess.h: Likewise.
37251         * sysdeps/x86_64/tininess.h: Likewise.
37252         * stdlib/tst-strtod-underflow.c: Likewise.
37253         * stdlib/tst-tininess.c: Likewise.
37254         * stdlib/strtod_l.c: Include <tininess.h>.
37255         (round_and_return): Do not set errno for exact underflow cases.
37256         Force an underflow exception when setting errno for underflow.
37257         Determine underflow based on rounding to normal precision if
37258         TININESS_AFTER_ROUNDING.
37259         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37260         ERANGE for exact underflow cases.
37261         * stdlib/Makefile (tests): Add tst-tininess and
37262         tst-strtod-underflow.
37263         ($(objpfx)tst-tininess): Use $(link-libm).
37264         ($(objpfx)tst-strtod-underflow): Likewise.
37266 2012-10-30  Andreas Jaeger  <aj@suse.de>
37268         [BZ#14767]
37269         * elf/Makefile (tests): Remove conditional for have-initfini-array
37270         since this is now always required and the variable does not exist
37271         anymore.
37272         (tests-static): Likewise.
37273         (modules-names): Likewise.
37275         * po/eo.po: Add Esperanto translation from translation project.
37277         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37278         merged with constructor/destructor.
37279         (init_array): Likewise.
37280         * elf/tst-array2dep.c (fini_array): Likewise.
37281         (init_array): Likewise.
37283 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37285         * manual/message.texi: Delete @cartouche tags.
37287 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37289         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37290         EOPNOTSUPP.
37291         * sysdeps/mach/hurd/fsync.c: Likewise.
37293         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37294         [_POSIX_REALTIME_SIGNALS]: Change condition to
37295         [_POSIX_REALTIME_SIGNALS > 0].
37297 2012-10-27  Andreas Jaeger  <aj@suse.de>
37299         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37300         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37301         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37302         [__WORDSIZE != 64]: Likewise.
37304 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37306         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37307         *  iconvdata/tst-tables.sh: Likewise.
37309 2012-10-25  David S. Miller  <davem@davemloft.net>
37311         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37312         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37313         of strtoull.
37315         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37316         ifunc-impl-list.c
37317         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37318         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37319         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37320         file.
37322 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37324         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37325         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37326         __getdirentries.
37328 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37329             Jim Blandy  <jimb@codesourcery.com>
37331         * scripts/cross-test-ssh.sh: New file.
37332         * manual/install.texi (Configuring and compiling): Document use of
37333         cross-test-ssh.sh.
37334         * INSTALL: Regenerated.
37336 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37338         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37339         EOPNOTSUPP.
37341 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37343         * Makeconfig (run-program-prefix): Fix comment.
37345 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37346             Jim Blandy  <jimb@codesourcery.com>
37348         * Makeconfig (test-wrapper): New variable,
37349         (test-wrapper-env): Likewise.
37350         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37351         (run-built-tests): Define to yes.
37352         (run-program-prefix): Use $(test-wrapper).
37353         (built-program-cmd): Likewise.
37354         * Rules (make-test-out): Use $(test-wrapper-env) and
37355         $(host-built-program-cmd).
37356         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37357         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37358         tst-pathopt.sh.
37359         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37360         $(test-wrapper-env) to tst-rtld-load-self.sh.
37361         ($(objpfx)order2.out): Use $(test-wrapper).
37362         ($(objpfx)tst-initorder.out): Likewise.
37363         ($(objpfx)tst-initorder2.out): Likewise.
37364         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37365         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37366         (test_wrapper_env): New variable.  Use it to run ld.so.
37367         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37368         Use it to run ld.so.
37369         (test_wrapper_env): Likewise.
37370         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37371         $(test-wrapper) to run-iconv-test.sh.
37372         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37373         (ICONV): Use $test_wrapper.
37374         * posix/Makefile ($(objpfx)globtest.out): Pass
37375         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37376         globtest.sh, not $(run-program-prefix).
37377         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37378         (test_wrapper): Likewise.
37379         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37380         set together with run_via_rtld_prefix.
37381         (run_program_prefix): Define in terms of test_wrapper and
37382         run_via_rtld_prefix.
37384 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37386         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37387         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37388         Targets removed.
37390         [BZ #14743]
37391         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37392         Declare __clock_getres, __clock_gettime, __clock_settime,
37393         __clock_nanosleep, and __clock_getcpuclockid.
37394         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37395         Remove librt_hidden_def (clock_gettime).
37396         * sysdeps/unix/clock_gettime.c: Likewise.
37397         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37398         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37399         * rt/clock_getres.c: Define __clock_getres as an alias.
37400         * sysdeps/posix/clock_getres.c: Likewise.
37401         * rt/clock_settime.c: Define __clock_settime as an alias.
37402         * sysdeps/unix/clock_settime.c: Likewise.
37403         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37404         * sysdeps/unix/clock_nanosleep.c: Likewise.
37405         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37406         * rt/clock-compat.c: New file.
37407         * rt/Makefile (librt-routines): Add clock-compat and move
37408         $(clock-routines) to ...
37409         (routines): ... here, new variable.
37410         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37411         Don't add get_clockfreq here.
37412         * rt/Versions (libc: GLIBC_2.17): New version set.
37413         Add clock_* symbols here.
37414         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37415         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37416         (GLIBC_2.17): Add clock_* symbols.
37417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37419         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37421         Likewise.
37422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37423         Likewise.
37424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37425         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37426         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37428         * NEWS: Mention the move.
37430         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37431         Use __open, __read, __close rather than their public counterparts.
37432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37433         (__get_clockfreq_via_cpuinfo): Likewise.
37434         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37435         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37437         * config.h.in (HAVE_IFUNC): New #undef.
37438         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37439         was successful.
37440         * configure: Regenerated.
37442 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37444         * configure.in: Move READELF check to start of file.
37445         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37446         libc_cv_asm_gnu_indirect_function in the process.
37447         * configure: Regenerated.
37449 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37451         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37452         send the output to /dev/null.
37453         (libc_cv_cc_with_libunwind): Likewise.
37454         (libc_cv_as_noexecstack): Likewise.
37455         * configure: Regenerate.
37457 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37459         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37461         * posix/globtest.sh (TMPDIR): Do not set.
37462         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37463         (testout): Likewise.
37465 2012-10-24  Andreas Jaeger  <aj@suse.de>
37467         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37468         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37469         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37470         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37471         posix_fadvise64, posix_fallocate64.
37473         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37474         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37475         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37476         Likewise.
37477         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37478         Likewise.
37479         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37481         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37482         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37483         <bits/fcntl-linux.h>.
37484         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37486         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37487         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37488         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37489         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37490         [__WORDSIZE != 64]: Likewise.
37492 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37494         * Makeconfig (run-built-tests): New variable.
37495         * Rules [$(cross-compiling) = yes]: Change condition to
37496         [$(run-built-tests) = no].
37497         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37498         to [$(run-built-tests) = yes].
37499         * elf/Makefile [$(cross-compiling) = no]: Likewise
37500         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37501         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37502         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37503         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37504         * io/Makefile [$(cross-compiling) = no]: Likewise.
37505         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37506         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37507         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37508         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37509         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37510         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37511         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37512         * string/Makefile [$(cross-compiling) = no]: Likewise.
37514         * posix/Makefile ($(objpfx)globtest.out): Pass
37515         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37516         $(rtld-installed-name).
37517         * posix/globtest.sh (elf_objpfx): Remove variable.
37518         (rtld_installed_name): Likewise.
37519         (library_path): Likewise.
37520         (run_program_prefix): New variable.  Use for running globtest
37521         binary.
37523 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37524             Joseph Myers  <joseph@codesourcery.com>
37526         * Makeconfig (host-built-program-cmd): New variable.
37527         * elf/Makefile (tst-stackguard1-ARGS): Use
37528         $(host-built-program-cmd).
37529         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37530         (tst-spawn-ARGS): Likewise.
37531         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37533 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37534             Jim Blandy  <jimb@codesourcery.com>
37536         * Makeconfig (run-via-rtld-prefix): New variable.
37537         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37538         (built-program-cmd): Likewise.
37540 2012-10-22  Andreas Jaeger  <aj@suse.de>
37542         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37543         __O_RSYNC if it exists, otherwise to O_SYNC.
37545 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37546             Joseph Myers  <joseph@codesourcery.com>
37548         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37549         /dev/null.
37550         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37551         from /dev/null
37552         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37553         /dev/null.
37555 2012-10-22  Andreas Jaeger  <aj@suse.de>
37557         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37558         Define always.
37559         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37562         bits/fcntl-linux.h.
37564         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37565         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37567         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37568         to __O_LARGEFILE.
37569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37570         to __O_LARGEFILE.
37572 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37573             Joseph Myers  <joseph@codesourcery.com>
37575         * config.make.in (NM): New variable.
37577 2012-10-21  Andreas Jaeger  <aj@suse.de>
37579         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37580         definitions and declarations that are provided by
37581         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37583 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37585         [BZ #14683]
37586         * elf/Makefile (tests-static): Add tst-leaks1-static.
37587         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37588         ($(objpfx)tst-leaks1-static): New rule.
37589         ($(objpfx)tst-leaks1-static-mem): Likewise.
37590         (tst-leaks1-static-ENV): New macro.
37591         * elf/dl-open.c (dl_open_worker): Check the main application
37592         only if SHARED is defined.
37593         * elf/tst-leaks1-static.c: New file.
37595 2012-10-20  Andreas Jaeger  <aj@suse.de>
37597         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37598         generic values for Linux.
37599         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37600         and declarations that are provided by <bits/fcntl-linux.h> and
37601         include <bits/fcntl-linux.h>.
37602         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37603         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37605 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37607         * io/fcntl.h: Move include of <bits/types.h> to the top and
37608         include it unconditionally.
37610 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37612         * wcsmbs/Makefile (tests-ifunc): New variable.
37613         (tests): Add $(tests-ifunc).
37614         * wcsmbs/test-wcschr-ifunc.c: New file.
37615         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37616         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37617         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37618         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37619         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37621         * string/Makefile (tests-ifunc): New variable.
37622         (tests): Add $(tests-ifunc).
37623         * string/test-memccpy.c (TEST_NAME): New macro.
37624         * string/test-memchr.c (TEST_NAME): Likewise.
37625         * string/test-memcmp.c (TEST_NAME): Likewise.
37626         * string/test-memcpy.c (TEST_NAME): Likewise.
37627         * string/test-memmem.c (TEST_NAME): Likewise.
37628         * string/test-memmove.c (TEST_NAME): Likewise.
37629         * string/test-memset.c (TEST_NAME): Likewise.
37630         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37631         * string/test-stpcpy.c (TEST_NAME): Likewise.
37632         * string/test-stpncpy.c (TEST_NAME): Likewise.
37633         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37634         * string/test-strcasestr.c (TEST_NAME): Likewise.
37635         * string/test-strcat.c (TEST_NAME): Likewise.
37636         * string/test-strchr.c (TEST_NAME): Likewise.
37637         * string/test-strcmp.c(TEST_NAME): Likewise.
37638         * string/test-strcpy.c (TEST_NAME): Likewise.
37639         * string/test-strcspn.c (TEST_NAME): Likewise.
37640         * string/test-strlen.c (TEST_NAME): Likewise.
37641         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37642         * string/test-strncmp.c (TEST_NAME): Likewise.
37643         * string/test-strncpy.c (TEST_NAME): Likewise.
37644         * string/test-strnlen.c (TEST_NAME): Likewise.
37645         * string/test-strpbrk.c (TEST_NAME): Likewise.
37646         * string/test-strrchr.c (TEST_NAME): Likewise.
37647         * string/test-strspn.c (TEST_NAME): Likewise.
37648         * string/test-strstr.c (TEST_NAME): Likewise.
37649         * string/test-bcopy-ifunc.c: New file.
37650         * string/test-bzero-ifunc.c: Likewise.
37651         * string/test-memccpy-ifunc.c: Likewise.
37652         * string/test-memchr-ifunc.c: Likewise.
37653         * string/test-memcmp-ifunc.c: Likewise.
37654         * string/test-memcpy-ifunc.c: Likewise.
37655         * string/test-memmem-ifunc.c: Likewise.
37656         * string/test-memmove-ifunc.c: Likewise.
37657         * string/test-mempcpy-ifunc.c: Likewise.
37658         * string/test-memset-ifunc.c: Likewise.
37659         * string/test-rawmemchr-ifunc.c: Likewise.
37660         * string/test-stpcpy-ifunc.c: Likewise.
37661         * string/test-stpncpy-ifunc.c: Likewise.
37662         * string/test-strcasecmp-ifunc.c: Likewise.
37663         * string/test-strcasestr-ifunc.c: Likewise.
37664         * string/test-strcat-ifunc.c: Likewise.
37665         * string/test-strchr-ifunc.c: Likewise.
37666         * string/test-strchrnul-ifunc.c: Likewise.
37667         * string/test-strcmp-ifunc.c: Likewise.
37668         * string/test-strcpy-ifunc.c: Likewise.
37669         * string/test-strcspn-ifunc.c: Likewise.
37670         * string/test-strlen-ifunc.c: Likewise.
37671         * string/test-strncasecmp-ifunc.c: Likewise.
37672         * string/test-strncat-ifunc.c: Likewise.
37673         * string/test-strncmp-ifunc.c: Likewise.
37674         * string/test-strncpy-ifunc.c: Likewise.
37675         * string/test-strnlen-ifunc.c: Likewise.
37676         * string/test-strpbrk-ifunc.c: Likewise.
37677         * string/test-strrchr-ifunc.c: Likewise.
37678         * string/test-strspn-ifunc.c: Likewise.
37679         * string/test-strstr-ifunc.c: Likewise.
37681         * debug/Makefile (tests-ifunc): New variable.
37682         (tests): Add $(tests-ifunc).
37683         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37684         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37685         * debug/test-stpcpy_chk-ifunc.c: New file.
37686         * debug/test-strcpy_chk-ifunc.c: Likewise.
37688 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37690         [BZ #13601]
37691         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37692         header is not read in.
37694 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37696         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37697         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37698         directly.  Pass built executable to script as
37699         $(built-program-cmd).
37700         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37701         $testprogram without using LD_LIBRARY_PATH and $ldso.
37703         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37704         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37705         $(rtld-installed-name).
37706         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37707         (rtld_installed_name): Likewise.
37708         (library_path): Likewise.
37709         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37710         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37711         $(run-program-prefix) to tst-tables.sh.
37712         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37713         it to run tst-table-from and tst-table-to.
37714         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37715         Pass it to tst-table.sh.
37716         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37717         $(run-program-prefix) to tst-gettext.sh.
37718         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37719         tst-translit.sh.
37720         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37721         tst-gettext2.sh.
37722         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37723         to run tst-gettext.
37724         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37725         to run tst-gettext2.
37726         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37727         to run tst-translit.
37728         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37729         $(run-program-prefix) to tst-mtrace.sh.
37730         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37731         to run tst-mtrace.
37732         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37733         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37734         $(rtld-installed-name).
37735         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37736         (rtld_installed_name): Likewise.
37737         (run_program_prefix): New variable.  Use it to run wordexp-test.
37739         * Makeconfig (ARCH): Remove all definitions.
37740         (machine): Likewise.
37741         [ARCH]: Remove conditional code.
37742         [!objdir]: Give error.
37743         [!objdir] (objpfx): Remove.
37744         [!objdir] (common-objpfx): Likewise.
37745         [!objdir] (common-objdir): Likewise.
37746         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37747         AC_CONFIG_FILES call.
37748         * configure: Regenerated.
37750         [BZ #13888]
37751         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37752         or TMPDIR.
37753         (testout): Likewise.
37755         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37756         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37757         $(rtld-installed-name).
37758         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37759         (rtld_installed_name): Likwise.
37760         (runit): Remove function.
37761         (run_getconf): New variable,  Use it for running getconf binary.
37763 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37765         [BZ #14716]
37766         * string/test-memmem.c (check_result): New function.
37767         (do_one_test): Use it.
37768         (check1): New function.
37769         (test_main): Use it.
37771 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37773         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37775 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37777         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37778         (_G_LSEEK64): Likewise.
37779         (_G_MMAP64): Likewise.
37780         (_G_FSTAT64): Likewise.
37781         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37782         (_G_LSEEK64): Likewise.
37783         (_G_MMAP64): Likewise.
37784         (_G_FSTAT64): Likewise.
37785         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37786         unconditional.  Call __mmap64 directly.
37787         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37788         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37789         __lseek64 directly.
37790         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37791         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37792         __mmap64 directly.
37793         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37794         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37795         __lseek64 directly.
37796         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37797         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37798         __lseek64 directly.
37799         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37800         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37801         __lseek64 directly.
37802         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37803         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37804         __fxstat64 directly.
37805         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37806         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37807         unconditional.
37808         (freopen64) [!_G_OPEN64]: Remove conditional code.
37809         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37810         unconditional.
37811         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37812         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37813         unconditional.
37814         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37815         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37816         unconditional.
37817         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37818         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37819         unconditional.
37820         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37821         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37822         unconditional.
37823         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37824         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37825         unconditional.
37826         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37827         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37828         unconditional.
37829         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37831 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37833         [BZ #12140]
37834         * manual/memory.texi (Malloc Tunable Parameters): Add note
37835         about free list pointers overwriting some perturb bytes.
37836         Wording suggested by Roland McGrath.
37838 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37840         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37841         (lgamma_test): Likewise.
37842         (tgamma_test): Likewise.
37844 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37846         [BZ #14700]
37847         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37848         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37850 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37852         * NEWS: Mention BZ #14716.
37853         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37854         when removing AVAILABLE1_USES_J macro.
37856 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37858         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37859         (__bswap_64): __uint64_t for unsigned 64-bit int.
37861 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37863         * include/string.h (memmem): Declare libc hidden alias.
37864         * string/memmem.c (memmem): Define libc hidden alias.
37865         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37866         __read, __close instead of open, read, close.
37868 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37870         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37871         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37872         global and hidden.
37873         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37874         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37875         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37876         Likewise.
37877         (__rawmemchr_sse2): Likewise.
37878         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37879         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37880         (__strchr_sse2): Likewise.
37881         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37882         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37883         (__strcasecmp_sse2): Likewise.
37884         (__strncasecmp_sse2): Likewise.
37885         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37886         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37887         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37888         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37889         (__strrchr_sse2): Likewise.
37890         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37891         ifunc-impl-list.c.
37892         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37893         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37894         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37895         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37896         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37897         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37898         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37899         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37900         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37901         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37902         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37903         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37904         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37905         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37906         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37907         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37908         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37909         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37910         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37911         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37912         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37913         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37914         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37915         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37916         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37917         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37918         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37919         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37920         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37921         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37923         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37924         global and hidden.
37925         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37926         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37927         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37928         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37929         Likewise.
37930         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37931         Likewise.
37932         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37933         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37934         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37935         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37936         ifunc-impl-list.c.
37937         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37938         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37939         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37940         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37941         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37942         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37943         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37944         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37945         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37946         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37947         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37948         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37949         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37950         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37951         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37952         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37953         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37954         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37955         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37956         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37957         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37958         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37959         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37960         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37961         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37962         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37963         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37964         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37965         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37966         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37967         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37968         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37969         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37970         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37971         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37972         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37973         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37974         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37975         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37976         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37977         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37979         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37980         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37981         * include/ifunc-impl-list.h: New file.
37982         * misc/ifunc-impl-list.c: Likewise.
37983         * misc/Makefile (routines): Add ifunc-impl-list.
37984         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37985         * string/test-string.h: Include <ifunc-impl-list.h>.
37986         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37987         TEST_NAME]: New variables.
37988         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37989         are defined.
37990         (test_init): Call __libc_ifunc_impl_list to initialize
37991         func_list if TEST_IFUNC and TEST_NAME are defined.
37993         * string/Makefile (strop-tests): Add bcopy and bzero.
37994         * string/test-bcopy.c: New file.
37995         * string/test-bzero.c: Likewise.
37996         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37997         defined.
37998         * string/test-memset.c: Support bzero test if TEST_BZERO is
37999         defined.
38000         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38001         __libc_memmove.
38002         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38003         __libc_memset.
38004         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38005         of memset.
38007 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38009         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38010         * configure: Regenerated.
38012         * Makeconfig (+link-static-before-libc): Don't include
38013         $(link-static-libc).
38015         * libio/libio.h (_IO_pos_t): Remove.
38017 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38019         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38020         McGrath.
38022 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38024         * crypt/crypt-entry.c: Include fips-private.h.
38025         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38026         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38027         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38028         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38030 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38032         * crypt/crypt-private.h: Include stdbool.h.
38033         (_ufc_setup_salt_r): Return bool.
38034         * crypt/crypt-entry.c: Include errno.h.
38035         (__crypt_r): Return NULL with EINVAL for bad salt.
38036         * crypt/crypt_util.c (bad_for_salt): New.
38037         (_ufc_setup_salt_r): Check that salt is long enough and within
38038         the specified alphabet.
38039         * crypt/badsalttest.c: New file.
38040         * crypt/Makefile (tests): Add it.
38041         ($(objpfx)badsalttest): New.
38043 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38045         * NEWS: Add entry for BZ #14602.
38047 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38049         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38050         type-generic.
38051         * math/libm-test.inc: Update comment listing what functions and
38052         macros are tested.
38053         (isgreater_test): New function.
38054         (isgreaterequal_test): Likewise.
38055         (isless_test): Likewise.
38056         (islessequal_test): Likewise.
38057         (islessgreater_test): Likewise.
38058         (isunordered_test): Likewise.
38059         (main): Call the new functions.
38061 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38063         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38064         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38065         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38066         * sysdeps/i386/configure: Regenerated.
38067         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38068         * sysdeps/mach/configure: Regenerated.
38069         * sysdeps/mach/hurd/configure: Regenerated.
38070         * sysdeps/powerpc/configure: Regenerated.
38071         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38072         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38073         * sysdeps/s390/s390-32/configure: Regenerated.
38074         * sysdeps/s390/s390-64/configure: Regenerated.
38075         * sysdeps/sh/configure: Regenerated.
38076         * sysdeps/sparc/configure: Regenerated.
38077         * sysdeps/unix/sysv/linux/configure: Regenerated.
38078         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38079         * sysdeps/x86_64/configure: Regenerated.
38081         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38082         defined.  Don't check if MAP is NULL.
38084 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38086         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38087         (_G_stat64): Likewise.
38088         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38089         (_G_stat64): Likewise.
38090         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38091         instead of struct _G_stat64.
38092         * libio/fileops.c (mmap_remap_check): Likewise.
38093         (decide_maybe_mmap): Likewise.
38094         (_IO_new_file_seekoff): Likewise.
38095         (_IO_file_stat): Likewise.
38096         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38097         _G_off64_t.
38098         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38099         instead of struct _G_stat64.
38100         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38102 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38104         [BZ #14602]
38105         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38106         Replace with ...
38107         (CHECK_EOL): New macro.
38108         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38109         CHECK_EOL.
38110         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38111         Replace with CHECK_EOL.
38112         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38113         Replace with CHECK_EOL.
38115 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38117         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38118         type-generic.
38119         * math/libm-test.inc: Update comment listing what functions and
38120         macros are tested.
38121         (finite_test): New function.
38122         (isinf_test): Likewise.
38123         (isnan_test): Likewise.
38124         (fpclassify_test): Test subnormal input.
38125         (isfinite_test): Likewise.
38126         (isnormal_test): Likewise.
38127         (main): Call the new functions.
38129 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38131         [BZ #14660]
38132         * Makerules (%.dynsym): Force C locale when running
38133         $(OBJDUMP) --dynamic-syms.
38135 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38137         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38138         <stdint.h>.
38140 2012-10-06  David S. Miller  <davem@davemloft.net>
38142         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38143         upper 32-bits of the length value in %o2 since we use branch-on-register
38144         tests which consider the entire 64-bit register.
38146 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38148         * string/test-strstr.c (check2): Add a test for page boundary.
38150 2012-10-05  David S. Miller  <davem@davemloft.net>
38152         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38153         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38154         file.
38155         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38156         sysdep_routines.
38157         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38158         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38159         and bzero when HWCAP_SPARC_CRYPTO is present.
38161 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38163         [BZ #14602]
38164         * string/test-strstr.c (check2): New function.
38165         (test_main): Call check2.
38167         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38168         and bug-strchr1.
38169         * string/bug-strcasestr1.c (do_test): Moved to ...
38170         * string/test-strcasestr.c (check1): Here.  New function.
38171         (do_one_test): Break out result checking code into ...
38172         (check_result): This.  New function.
38173         (do_one_test): Call check_result.
38174         (test_main): Call check1.
38175         * string/bug-strchr1.c (do_test): Moved to ...
38176         * string/test-strchr.c (check1): Here.  New function.
38177         (do_one_test): Break out result checking code into ...
38178         (check_result): This.  New function.
38179         (do_one_test): Call check_result.
38180         (test_main): Call check1.
38181         * string/bug-strstr1.c (main): Moved to ...
38182         * string/test-strstr.c (check1): Here.  New function.
38183         (do_one_test): Break out result checking code into ...
38184         (check_result): This.  New function.
38185         (do_one_test): Call check_result.
38186         (test_main): Call check1.
38187         * string/bug-strcasestr1.c: Removed.
38188         * string/bug-strchr1.c: Likewise.
38189         * string/bug-strstr1.c: Likewise.
38191         * elf/Makefile (dl-routines): Add hwcaps.
38192         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38193         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38194         (_dl_important_hwcaps): Moved to ...
38195         * elf/dl-hwcaps.c: Here.  New file.
38196         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38198         [BZ #14557]
38199         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38200         if IS_IN_rtld isn't defined.
38202         * elf/dl-support.c (_dl_sysinfo_map): New.
38203         Include "get-dynamic-info.h" and "setup-vdso.h".
38204         (_dl_non_dynamic_init): Call setup_vdso.
38205         * elf/dynamic-link.h: Don't include <assert.h>.
38206         (elf_get_dynamic_info): Moved to ...
38207         * elf/get-dynamic-info.h: Here.  New file.
38208         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38209         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38210         * elf/setup-vdso.h: Here.  New file.
38211         * elf/rtld.c: Include "setup-vdso.h".
38212         (dl_main): Call setup_vdso.
38214 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38216         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38217         creal in comment listing functions tested.  List finite, isinf,
38218         isnan, isless, islessequal, isgreater, isgreaterequal,
38219         islessgreater, isunordered, lgamma_r and pow10 as functions and
38220         macros not tested.  Mention which functions not tested are aliases
38221         for other functions.  Fix typo.  Note that signs of NaNs are not
38222         tested.
38224         * scripts/config.guess: Update from config.git.
38225         * scripts/config.sub: Likewise.
38227 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38229         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38230         * misc/madvise.c (madvise): Renamed to __madvise.
38231         Make madvise a weak alias.
38232         * include/sys/mman.h: Declare __madvise.
38233         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38234         * sysdeps/unix/syscalls.list
38235         (madvise): Make __madvise the strong name, and madvise a weak alias.
38236         * sysdeps/unix/sysv/linux/syscalls.list
38237         (madvise, mmap): Remove redundant entries.
38238         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38239         * malloc/malloc.c (mtrim): Likewise.
38240         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38242 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38244         * sysdeps/mach/hurd/dl-cache.c: File removed.
38245         * config.h.in (USE_LDCONFIG): New #undef.
38246         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38247         * configure: Regenerated.
38248         * elf/Makefile (dl-routines): Add dl-cache only under
38249         [$(use-ldconfig) = yes].
38250         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38251         cache on [USE_LDCONFIG].
38252         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38253         [USE_LDCONFIG].
38254         * elf/rtld.c (dl_main): Likewise.
38256 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38258         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38259         _SC_LEVEL4_CACHE_LINESIZE.
38261 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38263         * sysdeps/unix/bsd/confstr.h: File removed.
38265 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38267         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38268         sys/sdt-config.h.
38270 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38272         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38273         Make 'mapoff' field ElfW(Off) rather than off_t.
38275 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38277         * nscd/Makefile: Remove nscd-cflags and all its users.
38278         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38279         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38281         [BZ #10631]
38282         * malloc.c (malloc_printerr): Clarify error message.
38284 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38286         [BZ #14648]
38287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38288         Set bit_FMA_Usable if FMA is supported.
38289         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38290         macro.
38291         (bit_FMA4_Usable): Updated.
38292         (index_FMA_Usable): New macro.
38293         (CPUID_FMA): Likewise
38294         (HAS_FMA): Defined with bit_FMA_Usable.
38296 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38298         * bits/types.h (__swblk_t): Type removed.
38299         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38300         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38301         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38302         (__SWBLK_T_TYPE): Likewise.
38303         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38304         (__SWBLK_T_TYPE): Likewise.
38305         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38306         (__SWBLK_T_TYPE): Likewise.
38307         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38308         (__SWBLK_T_TYPE): Likewise.
38310 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38311             Honza Horak <hhorak@redhat.com>
38313         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38314         (xdr_mapname): Use YPMAXMAP as maxsize.
38315         (xdr_peername): Use YPMAXPEER as maxsize.
38316         (xdr_keydat): Use YPAXRECORD as maxsize.
38317         (xdr_valdat): Use YPMAXRECORD as maxsize.
38319 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38321         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38323         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38324         * csu/init-first.c: ... here.
38325         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38326         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38327         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38328         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38329         * sysdeps/i386/init-first.c: File removed.
38330         * sysdeps/sh/init-first.c: File removed.
38332 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38334         [BZ #14645]
38335         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38336         if x * y might underflow to zero and z is zero.
38337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38339         * math/libm-test.inc (min_subnorm_value): New variable.
38340         (fma_test): Add more tests.
38341         (fma_test_towardzero): Likewise.
38342         (fma_test_downward): Likewise
38343         (fma_test_upward): Likewise.
38344         (initialize): Set min_subnorm_value.
38346 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38348         [BZ #14638]
38349         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38350         0 + 0.
38351         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38352         mode for addition resulting in exact zero.
38353         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38355         exact 0 + 0.
38356         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38357         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38358         * math/libm-test.inc (fma_test): Add more tests.
38359         (fma_test_towardzero): New function.
38360         (fma_test_downward): Likewise.
38361         (fma_test_upward): Likewise.
38362         (main): Call the new functions.
38364 2012-09-28  David S. Miller  <davem@davemloft.net>
38366         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38368 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38370         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38371         instead of SIGALRM.
38373         * sysdeps/gnu/_G_config.h: Moved to ...
38374         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38375         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38376         * sysdeps/generic/_G_config.h: ... here.
38378         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38380         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38382         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38383         Conditionalize target on [libnss_test1.so-version].
38385         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38387         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38388         (elfobjdir): Move out of conditionals.
38390         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38391         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38392         (__nss_lookup_function): Conditionalize label remove_from_tree on
38393         [!DO_STATIC_NSS || SHARED], matching its only use.
38395 2012-09-28  David S. Miller  <davem@davemloft.net>
38397         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38398         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38399         file.
38400         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38401         sysdep_routines.
38402         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38403         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38404         when HWCAP_SPARC_CRYPTO is present.
38406 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38408         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38410 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38412         [BZ #6530]
38413         * stdio-common/vfprintf.c (process_string_arg): Revert
38414         2000-07-22 change.
38416 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38418         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38419         for testcase.
38420         * stdio-common/tst-sprintf.c: Include <locale.h>
38421         (main): Test sprintf's handling of incomplete multibyte
38422         characters.
38424 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38426         * elf/dl-runtime.c (VERSYMIDX): Removed.
38427         * elf/dl-version.c (VERSYMIDX): Likewise.
38428         * elf/do-rel.h (VERSYMIDX): Likewise.
38429         (VALIDX): Likewise.
38430         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38431         * elf/rtld.c (VALIDX): Likewise.
38432         (ADDRIDX): Likewise.
38433         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38434         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38435         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38436         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38437         (VALIDX): Likewise.
38438         (ADDRIDX): Likewise.
38440 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38442         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38444 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38446         [BZ #11438]
38447         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38448         to global scope.
38449         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38450         addresses are in the same scope as 192.0.2/24.
38451         * posix/gai.conf: Document new scope table defaults.
38453 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38455         [BZ #5298]
38456         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38457         for ftell.  Compute offsets from write pointers instead.
38458         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38460 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38462         [BZ #14543]
38463         * libio/Makefile (tests): New test case tst-fseek.
38464         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38465         combination works in wide mode.
38466         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38467         state when the external buffer state changes.
38469 2012-09-27  David S. Miller  <davem@davemloft.net>
38471         [BZ #14376]
38472         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38473         pass reloc->r_addend in as the 'high' argument to
38474         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38478 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38480         * rt/tst-aio2.c: Include <pthread.h>.
38481         * rt/tst-aio3.c: Likewise.
38483 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38485         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38487 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38489         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38490         contents on [SHARED].
38492 2012-09-26  Marek Polacek  <polacek@redhat.com>
38494         [BZ #14530]
38495         [BZ #13741]
38496         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38497         for C++ and GCC <4.3 as well as for non GCC compilers.
38499 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38501         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38503 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38505         * Makefile.in (all, install): Declare with .PHONY.
38506         Reported by Michael Hope <michael.hope@linaro.org>.
38508 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38510         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38511         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38512         system header.
38513         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38514         Likewise.
38515         (sydep_routines): Add the new and the internal functions.
38516         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38517         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38519         (GLIBC_2.17): Add the new function.
38520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38521         (GLIBC_2.17): Likewise.
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38523         (GLIBC_2.17): Likewise.
38524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38525         (GLIBC_2.17): Likewise.
38526         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38528 2012-09-25  Alan Modra  <amodra@gmail.com>
38530         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38531         Add release barrier before setting once_control to say
38532         initialisation is done.  Add hints on lwarx.  Use macro in
38533         place of isync.
38534         (clear_once_control): Add release barrier.
38536 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38538         [BZ #13629]
38539         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38540         specially.
38541         * math/s_clog10.c (__clog10): Likewise.
38542         * math/s_clog10f.c (__clog10f): Likewise.
38543         * math/s_clog10l.c (__clog10l): Likewise.
38544         * math/s_clogf.c (__clogf): Likewise.
38545         * math/s_clogl.c (__clogl): Likewise.
38546         * math/Makefile (libm-calls): Add x2y2m1.
38547         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38548         (__x2y2m1): Likewise.
38549         (__x2y2m1l): Likewise.
38550         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38551         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38552         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38553         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38554         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38555         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38556         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38557         * sysdeps/i386/fpu/libm-test-ulps: Update.
38558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38560         [BZ #14621]
38561         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38562         int as type of variable DEPTH.
38563         (glob): Use size_t instead of int as type of variables NEWCOUNT
38564         and OLD_PATHC.
38566 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38568         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38569         Add s_sincosf-sse2.
38570         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38571         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38572         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38573         macros for using routine as __sincosf_ia32.
38574         Use macro for function declaration and weak_alias.
38575         * sysdeps/i386/fpu/libm-test-ulps: Update.
38577         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38580         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38581         subnormal argument.
38582         * math/s_cexpf.c (__cexpf): Likewise.
38583         * math/s_csinf.c (__csinf): Likewise.
38584         * math/s_csinhf.c (__csinhf): Likewise.
38585         * math/s_ctanf.c (__ctanf): Likewise.
38586         * math/s_ctanhf.c (__ctanhf): Likewise.
38587         * math/s_ccosh.c (__ccoshf): Likewise.
38588         * math/s_cexp.c (__cexpl): Likewise.
38589         * math/s_csin.c (__csin): Likewise.
38590         * math/s_csinh.c (__csinh): Likewise.
38591         * math/s_ctan.c (__ctan): Likewise.
38592         * math/s_ctanh.c (ctanh): Likewise.
38593         * math/s_ccoshl.c (__ccoshl): Likewise.
38594         * math/s_cexpl.c (__cexpl): Likewise.
38595         * math/s_csinl.c (__csinl): Likewise.
38596         * math/s_csinhl.c (__csinhl): Likewise.
38597         * math/s_ctanl.c (__ctanl): Likewise.
38598         * math/s_ctanhl.c (__ctanhl): Likewise.
38600 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38602         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38603         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38604         (_IO_off_t): Define to __off_t, not _G_off_t.
38605         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38606         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38607         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38608         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38609         type of __dummy and __dummy2 fields.
38610         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38611         (_G_ssize_t): Likewise.
38612         (_G_off_t): Likewise.
38613         (_G_pid_t): Likewise.
38614         (_G_uid_t): Likewise.
38615         (_G_wchar_t): Likewise.
38616         (_G_wint_t): Likewise.
38617         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38618         (_G_ssize_t): Likewise.
38619         (_G_off_t): Likewise.
38620         (_G_pid_t): Likewise.
38621         (_G_uid_t): Likewise.
38622         (_G_wchar_t): Likewise.
38623         (_G_wint_t): Likewise.
38624         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38625         (_G_ssize_t): Likewise.
38626         (_G_off_t): Likewise.
38627         (_G_pid_t): Likewise.
38628         (_G_uid_t): Likewise.
38629         (_G_wchar_t): Likewise.
38630         (_G_wint_t): Likewise.
38632 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38634         * malloc/arena.c: Include malloc-sysdep.h.
38635         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38636         is sufficient to shrink the heap or an unmap is needed.
38637         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38638         new function check_may_shrink_heap.
38639         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38640         new function check_may_shrink_heap.
38642 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38644         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38645         comments.
38647 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38649         * catgets/test-gencat.sh: Add "set -e".
38650         * elf/tst-pathopt.sh: Likewise.
38651         * grp/tst_fgetgrent.sh: Likewise.
38652         * iconvdata/run-iconv-test.sh: Likewise.
38653         * intl/tst-gettext.sh: Likewise.
38654         * intl/tst-gettext2.sh: Likewise.
38655         * intl/tst-gettext4.sh: Likewise.
38656         * intl/tst-gettext6.sh: Likewise.
38657         * intl/tst-translit.sh: Likewise.
38658         * io/ftwtest-sh: Likewise.
38659         * libio/test-freopen.sh: Likewise.
38660         * malloc/tst-mtrace.sh: Likewise.
38661         * posix/globtest.sh: Likewise.
38662         * posix/tst-getconf.sh: Likewise.
38663         * posix/wordexp-tst.sh: Likewise.
38664         * stdio-common/tst-printf.sh: Likewise.
38665         * stdio-common/tst-unbputc.sh: Likewise.
38666         * stdlib/tst-fmtmsg.sh: Likewise.
38667         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38668         * catgets/Makefile: Do not specify -e option when running
38669         testsuite shell scripts.
38670         * elf/Makefile: Likewise.
38671         * grp/Makefile: Likewise.
38672         * iconvdata/Makefile: Likewise.
38673         * intl/Makefile: Likewise.
38674         * io/Makefile: Likewise.
38675         * libio/Makefile: Likewise.
38676         * malloc/Makefile: Likewise.
38677         * posix/Makefile: Likewise.
38678         * stdio-common/Makefile: Likewise.
38679         * stdlib/Makefile: Likewise.
38680         * sysdeps/x86_64/Makefile: Likewise.
38682         * io/ftwtest-sh: Add copyright header.
38683         * posix/globtest.sh: Likewise.
38684         * posix/tst-getconf.sh: Likewise.
38685         * posix/wordexp-tst.sh: Likewise.
38686         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38688 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38690         [BZ #13679]
38691         * Makeconfig (+link): Defined as $(+link-static) if
38692         $(build-shared) isn't yes.
38693         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38694         isn't yes.
38695         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38697         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38699         [BZ #14562]
38700         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38701         new chunk size with MALLOC_ALIGN_MASK.
38703 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38705         [BZ #5044]
38706         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38707         <rounding-mode.h>.
38708         (__printf_fphex): Determine rounding using get_rounding_mode and
38709         round_away.
38710         * stdio-common/tst-printf-round.c (struct hex_test): New
38711         structure.
38712         (hex_tests): New variable.
38713         (test_hex_in_one_mode): New function.
38714         (do_test): Also run tests for hex float output.
38716 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38718         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38719         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38720         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38721         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38722         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38723         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38724         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38725         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38727 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38729         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38730         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38731         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38732         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38734 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38736         [BZ #14579]
38737         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38738         mode only.
38739         * elf/tst-rtld-load-self.sh: New test.
38740         * elf/Makefile: Run it.
38742 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38744         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38745         (tst-writev-ENV): Remove.
38746         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38748 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38750         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38752 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38754         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38755         unconditional.
38756         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38757         Likewise.
38758         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38759         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38760         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38761         Likewise.
38763 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38765         [BZ #14587]
38766         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38767         * config.make.in (have-cpp-asm-debuginfo): Removed.
38768         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38769         * configure: Regenerated.
38771 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38773         [BZ #5044]
38774         * stdio-common/printf_fp.c: Include <stdbool.h> and
38775         <rounding-mode.h>.
38776         (___printf_fp): Determine rounding using get_rounding_mode and
38777         round_away.
38778         * stdio-common/tst-printf-round.c: New file.
38779         * stdio-common/Makefile (tests): Add tst-printf-round.
38780         (link-libm): New variable.
38781         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38783 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38785         [BZ #14576]
38786         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38787         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38788         Likewise.
38789         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38790         Likewise.
38792 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38794         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38795         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38796         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38797         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38799 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38801         [BZ #14518]
38802         * include/rounding-mode.h: New file.
38803         * sysdeps/generic/get-rounding-mode.h: Likewise.
38804         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38805         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38806         (MAX_VALUE): New macro.
38807         (MIN_VALUE): Likewise.
38808         (overflow_value): New function.
38809         (underflow_value): Likewise.
38810         (round_and_return): Use overflow_value and underflow_value to
38811         determine return values in overflow and underflow cases.  Use
38812         round_away to determine rounding depending on rounding mode.
38813         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38814         determine return values in overflow and underflow cases.
38815         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38816         (struct test_results): New structure.
38817         (struct test): Use struct test_results to store expected results
38818         for all rounding modes.
38819         (TEST): Include expected results for all rounding modes.
38820         (test_in_one_mode): New function.
38821         (do_test): Use test_in_one_mode to compute and check results.
38822         Check results for all rounding modes.
38823         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38824         $(link-libm).
38826 2012-12-09  Allan McRae  <allan@archlinux.org>
38828         * sysdeps/i386/fpu/libm-test-ulps: Update
38830 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38832         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38833         (_G_int32_t): Likewise.
38834         (_G_uint16_t): Likewise.
38835         (_G_uint32_t): Likewise.
38836         (_G_HAVE_BOOL): Likewise.
38837         (_G_HAVE_ATEXIT): Likewise.
38838         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38839         (_G_HAVE_IO_FILE_OPEN): Likewise.
38840         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38841         (_G_int32_t): Likewise.
38842         (_G_uint16_t): Likewise.
38843         (_G_uint32_t): Likewise.
38844         (_G_HAVE_BOOL): Likewise.
38845         (_G_HAVE_ATEXIT): Likewise.
38846         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38847         (_G_HAVE_IO_FILE_OPEN): Likewise.
38848         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38849         (_G_int32_t): Likewise.
38850         (_G_uint16_t): Likewise.
38851         (_G_uint32_t): Likewise.
38852         (_G_HAVE_BOOL): Likewise.
38853         (_G_HAVE_ATEXIT): Likewise.
38854         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38855         (_G_HAVE_IO_FILE_OPEN): Likewise.
38857 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38859         * csu/libc-tls.c: Update copyright years.
38861 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38863         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38864         [!_G_USING_THUNKS]: Remove conditional code.
38865         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38866         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38868         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38869         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38870         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38871         (_G_VTABLE_LABEL_PREFIX): Likewise.
38872         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38873         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38874         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38875         (_G_VTABLE_LABEL_PREFIX): Likewise.
38876         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38877         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38878         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38879         (_G_VTABLE_LABEL_PREFIX): Likewise.
38880         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38882 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38884         * libio/Makefile: Include ../Makeconfig before tests.
38885         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38886         only if $(build-shared) is yes.
38888         * iconv/gconv_db.c: Update copyright years.
38890 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38892         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38893         unwind info if defined PIC. Fix special cases description.
38894         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38896         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38897         DP_HI_MASK entry.
38898         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38900 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38902         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38904         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38905         is NULL.
38907         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38908         (LDLIBS-tst-chk4): This.
38909         (LDFLAGS-tst-chk5): Renamed to ...
38910         (LDLIBS-tst-chk5): This.
38911         (LDFLAGS-tst-chk6): Renamed to ...
38912         (LDLIBS-tst-chk6): This.
38913         (LDFLAGS-tst-lfschk4): Renamed to ...
38914         (LDLIBS-tst-lfschk4): This.
38915         (LDFLAGS-tst-lfschk5): Renamed to ...
38916         (LDLIBS-tst-lfschk5): This.
38917         (LDFLAGS-tst-lfschk6): Renamed to ...
38918         (LDLIBS-tst-lfschk6): This.
38920         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38921         on $(common-objpfx)soversions.mk.
38923 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38925         [BZ #10014]
38926         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38927         example host name.
38929 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38931         * malloc/arena.c (arena_get_retry): New function that gets
38932         another arena for the caller to try its request on.
38933         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38934         current arena cannot fulfill the request.
38935         (__libc_memalign): Likewise.
38936         (__libc_memalign): Likewise.
38937         (__libc_pvalloc): Likewise.
38938         (__libc_calloc): Likewise.
38940 2012-09-05  John Tobey  <john.tobey@gmail.com>
38942         [BZ #13542]
38943         * manual/arith.texi (Operations on Complex): Fix description
38944         of carg branch cut.
38946 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38948         [BZ #10014]
38949         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38950         host name.
38952         [BZ #10038]
38953         * manual/memory.texi (Memory): Make order of menu items match
38954         order of sections.
38956 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38958         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38959         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38960         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38962 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38964         * csu/libc-tls.c (static_dtv): Renamed to ...
38965         (_dl_static_dtv): This.  Make it global.
38966         (_dl_initial_dtv): Removed.
38967         (__libc_setup_tls): Updated.
38968         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38969         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38970         DL_INITIAL_DTV.
38972 2012-09-06  Petr Machata  <pmachata@redhat.com>
38974         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38975         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38976         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38977         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38979 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38981         [BZ #14545]
38982         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38983         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38984         freeing dtv[-1].
38986 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38988         [BZ #14544]
38989         * Makeconfig (link-static-before-libc): Replace $(+prector)
38990         with $(+prectorT).
38991         (link-static-after-libc): Replace $(+postctor) with
38992         $(+postctorT).
38993         (link-bounded): Replace $(+prector)/$(+postctor) with
38994         $(+prectorT)/$(+postctorT).
38995         (+prectorT): New macro.
38996         (+postctorT): Likewise.
38998 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
39000         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39001         (round_str): Handle values above the maximum for IBM long double
39002         as inexact.
39003         * stdlib/tst-strtod-round.c (tests): Regenerated.
39005 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39007         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39008         assembler flag.
39009         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39010         zarch_nohighgprs around the zarch optimized routines.
39011         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39012         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39013         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39014         for zarch.
39016 2012-09-05  David S. Miller  <davem@davemloft.net>
39018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39020         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39021         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39022         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39023         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39024         entries.
39026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39028         * malloc/arena.c: Fold copyright years.
39029         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39031 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39033         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39037         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39039 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39041         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39042         change internal state upon failure.
39044 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39046         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39047         * malloc/memusage.c (mmap): Likewise.
39048         (mmap64, mremap): Likewise.  Adjust name in comment.
39050 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39052         * libio/fileops.c: Fix typos in comments.
39053         * libio/oldfileops.c: Likewise.
39054         * libio/wfileops.c: Likewise.
39056 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39058         [BZ #1349]
39059         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39060         (tst-malloc-usable-ENV): Set environment for test case.
39061         * malloc/hooks.c (malloc_check_get_size): New function to get
39062         requested size.
39063         * malloc/malloc.c (musable): Use malloc_check_get_size.
39064         * malloc/tst-malloc-usable.c: New test case.
39066 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39068         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39070 2012-09-05  Allan McRae  <allan@archlinux.org>
39072         [BZ #13966]
39073         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39074         determine header location.
39075         * configure: Regenerated.
39077 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39079         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39080         float format.
39081         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39082         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39083         format.
39084         (test): Regenerate.
39086 2012-09-04  David S. Miller  <davem@davemloft.net>
39088         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39089         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39092 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39094         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39095         failures.
39097         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39099 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39101         [BZ #9914]
39102         * libio/iogetdelim.c: Include <limits.h>.
39103         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39104         + len + 1 would overflow.
39106 2012-09-03  Andreas Jaeger  <aj@suse.de>
39108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39109         * sysdeps/i386/fpu/libm-test-ulps: Update.
39111 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39113         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39114         Add s_sinf-sse2, s_conf-sse2.
39116         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39117         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39118         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39119         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39121         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39122         for using routine as __sinf_ia32.
39123         Use macro for function declaration and weak_alias.
39124         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39125         for using routine as __cosf_ia32.
39126         Use macro for function declaration and weak_alias.
39128         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39129         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39131         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39132         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39135         * math/libm-test.inc (cos_test): Add more test cases.
39136         (sin_test): Likewise.
39137         (sincos_test): Likewise.
39139 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39141         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39142         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39143         hidden.
39144         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39146 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39148         [BZ #14538]
39149         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39150         first element of the GOT.
39151         (elf_machine_load_address): Return the difference between
39152         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39154 2012-09-01  Allan McRae  <allan@archlinux.org>
39156         [BZ #13412]
39157         * configure.in (AWK): Require gawk version 3.0 or later.
39158         * configure: Regenerated.
39160 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39162         * sysdeps/unix/sysv/linux/kernel-features.h
39163         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39164         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39165         [__NR_clock_getres]: Make code unconditional.
39166         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39167         (clock_getcpuclockid): Remove code left unreachable by removal of
39168         conditionals.
39169         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39170         code unconditional.
39171         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39172         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39173         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39174         Make code unconditional.
39175         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39176         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39177         * sysdeps/unix/sysv/linux/clock_settime.c
39178         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39179         conditional code.
39180         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39181         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39183 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39185         [BZ #14476]
39186         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39187         scripts/test-installation.pl.
39189         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39190         and $ld_so_version if it is set.
39192 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39194         [BZ #14516]
39195         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39196         failure if reading from procfs failed.
39197         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39199 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39201         * sysdeps/unix/sysv/linux/kernel-features.h
39202         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39203         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39204         Remove conditional code.
39205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39206         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39207         Remove conditional code.
39208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39209         * sysdeps/unix/sysv/linux/i386/fxstat.c
39210         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39212         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39213         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39215         * sysdeps/unix/sysv/linux/i386/lxstat.c
39216         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39218         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39219         Remove conditional code.
39220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39221         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39222         Remove conditional code.
39223         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39224         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39225         <kernel-features.h>.
39226         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39227         Remove.
39228         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39229         Remove conditional code.
39230         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39231         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39232         Remove conditional.
39234 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39236         [BZ #5400]
39237         * NEWS: Add fixed bug number.
39239 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39241         [BZ #14519]
39242         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39243         underflowing exponent in case of negative sign.
39244         * stdlib/tst-strtod-round-data: Add more tests.
39245         * stdlib/tst-strtod-round.c (tests): Regenerated.
39247         [BZ #3479]
39248         * stdlib/strtod_l.c (NDIG): Remove.
39249         (HEXNDIG): Likewise.
39250         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39251         smallest representable value.
39252         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39253         lie within an exact representation of 1/2 ulp of the result.
39254         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39255         unconditionally.
39256         (TENS_P9_IDX): Define unconditionally.
39257         (TENS_P9_SIZE): Likewise.
39258         (TENS_P10_IDX): Likewise.
39259         (TENS_P10_SIZE): Likewise.
39260         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39261         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39262         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39263         entries for 10^2^13 and 10^2^14.
39264         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39265         (TENS_P13_IDX): Define.
39266         (TENS_P13_SIZE): Likewise.
39267         (TENS_P14_IDX): Likewise.
39268         (TENS_P14_SIZE): Likewise.
39269         (_fpioconst_pow10): Change array size to
39270         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39271         unconditional.
39272         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39273         1024]: Add entries for 10^2^13 and 10^2^14.
39274         [LAST_POW10 > _LAST_POW10]: Remove #error.
39275         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39276         (_fpioconst_pow10): Change array size to
39277         FPIOCONST_POW10_ARRAY_SIZE.
39278         * stdlib/gen-fpioconst.c: New file.
39279         * stdlib/gen-tst-strtod-round.c: Likewise.
39280         * stdlib/tst-strtod-round-data: Likewise.
39281         * stdlib/tst-strtod-round.c: Likewise.
39282         * stdlib/Makefile (tests): Add tst-strtod-round.
39284         [BZ #14459]
39285         * stdlib/strtod_l.c: Include <stdint.h>.
39286         (NDEBUG): Do not define.
39287         (round_and_return): Change EXPONENT parameter to type intmax_t.
39288         Rearrange calculations to avoid internal overflow possibilities.
39289         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39290         Rearrange calculations to avoid internal overflow possibilities.
39291         Assert that number fits inside MPNSIZE limbs.
39292         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39293         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39294         calculations and add assertions to avoid internal overflow
39295         possibilities.  Add casts to avoid signed/unsigned operations.
39296         * stdlib/tst-strtod-overflow.c: New file.
39297         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39299 2012-08-25  Marek Polacek  <polacek@redhat.com>
39301         * time/time.h: Fix some typos in comments.
39303 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39305         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39306         * posix/tst-rfc3484-2.c: Likewise.
39307         * posix/tst-rfc3484-3.c: Likewise.
39309 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39311         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39312         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39314 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39316         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39317         #include of fxstatat64.c.
39319 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39321         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39322         * shadow/getspent_r.c: Likewise.
39323         * shadow/getspnam.c: Likewise.
39324         * shadow/getspnam_r.c: Likewise.
39325         * gshadow/getsgent.c: Likewise.
39326         * gshadow/getsgent_r.c: Likewise.
39327         * gshadow/getsgnam.c: Likewise.
39328         * gshadow/getsgnam_r.c: Likewise.
39329         * inet/getnetbyad.c: Likewise.
39330         * inet/getnetbyad_r.c: Likewise.
39331         * inet/getnetbynm.c: Likewise.
39332         * inet/getnetbynm_r.c: Likewise.
39333         * inet/getnetent.c: Likewise.
39334         * inet/getnetent_r.c: Likewise.
39335         * inet/getproto.c: Likewise.
39336         * inet/getproto_r.c: Likewise.
39337         * inet/getprtent.c: Likewise.
39338         * inet/getprtent_r.c: Likewise.
39339         * inet/getprtname.c: Likewise.
39340         * inet/getprtname_r.c: Likewise.
39341         * inet/getrpcbyname.c: Likewise.
39342         * inet/getrpcbyname_r.c: Likewise.
39343         * inet/getrpcbynumber.c: Likewise.
39344         * inet/getrpcbynumber_r.c: Likewise.
39345         * inet/getrpcent.c: Likewise.
39346         * inet/getrpcent_r.c: Likewise.
39347         * inet/getaliasent.c: Likewise.
39348         * inet/getaliasent_r.c: Likewise.
39349         * inet/getaliasname.c: Likewise.
39350         * inet/getaliasname_r.c: Likewise.
39351         * nscd/getgrgid_r.c: Likewise.
39352         * nscd/getgrnam_r.c: Likewise.
39353         * nscd/gethstbyad_r.c: Likewise.
39354         * nscd/gethstbynm3_r.c: Likewise.
39355         * nscd/getpwnam_r.c: Likewise.
39356         * nscd/getpwuid_r.c: Likewise.
39357         * nscd/getsrvbynm_r.c: Likewise.
39358         * nscd/getsrvbypt_r.c: Likewise.
39359         * nscd/gai.c: Likewise.
39361         * configure.in (build_nscd): New substituted variable, set
39362         by --disable-build-nscd and defaults to $use_nscd.
39363         * configure: Regenerated.
39364         * config.make.in (build-nscd): New substituted variable.
39365         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39366         Change conditional to require [$(build-nscd) = yes] as well.
39367         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39369         [BZ# 13696]
39370         * configure.in (use_nscd): New substituted variable, set by
39371         --disable-nscd.  If enabled, define USE_NSCD.
39372         * configure: Regenerated.
39373         * config.h.in: Add USE_NSCD.
39374         * config.make.in (use-nscd): New substituted variable.
39375         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39376         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39377         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39378         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39379         (CFLAGS-getgrnam_r.c): Likewise.
39380         (CFLAGS-initgroups.c): Likewise.
39381         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39382         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39383         Variables removed.
39384         * inet/getnetgrent_r.c
39385         (nscd_setnetgrent): New function, broken out of ...
39386         (setnetgrent): ... here.  Call it.
39387         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39388         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39389         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39390         * nscd/Makefile (routines, aux): Move definitions after include of
39391         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39392         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39393         Conditionalize on [USE_NSCD].
39394         (is_nscd, nscd_init_cb): Likewise.
39395         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39396         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39397         * nss/nss_db/db-init.c: Likewise.
39398         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39399         [USE_NSCD].
39400         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39401         (make_request): Use it.
39402         (cache_valid_p): New function.
39403         (__check_pf): Use it.
39404         * NEWS: Add item for --disable-nscd.
39406 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39408         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39409         to support sed >= 4.2.1-20-ga9bf076.
39410         * configure: Regenerated.
39412 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39414         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39415         Conditionalize whole body on [IREL].
39417 2012-08-22  Jeff Law <law@redhat.com>
39419         [BZ #14505]
39420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39421         if the family is PF_UNSPEC.
39423 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39425         * Makerules (lib-version): Rename from V.
39426         (install-lib-nosubdir): Change V to lib-version.
39428 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39430         [BZ #14252]
39431         * powerpc32/power6/wcschr.c: New file.
39432         * powerpc32/power6/wcscpy.c: New file.
39433         * powerpc32/power6/wcsrchr.c: New file.
39434         * powerpc64/power6/wcschr.c: New file.
39435         * powerpc64/power6/wcscpy.c: New file.
39436         * powerpc64/power6/wcsrchr.c: New file.
39438 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39440         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39441         (two_way_short_needle): Use it.
39442         * string/strstr.c (AVAILABLE1_USES_J): Define.
39443         * string/strcasestr.c: Likewise.
39445         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39446         array references.
39447         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39449         [BZ #11607]
39450         * NEWS: Add an entry.
39451         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39452         define their defaults.
39453         (two_way_short_needle): Detect end-of-string on-the-fly.
39454         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39455         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39456         * string/bug-strcasestr1.c: New test.
39457         * string/Makefile: Run it.
39459 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39461         [BZ #11607]
39462         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39463         the first character.
39465 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39467         * csu/elf-init.c (__libc_csu_irel): Function removed.
39468         * csu/libc-start.c (apply_irel): New function.
39469         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39471 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39473         * sysdeps/unix/sysv/linux/kernel-features.h
39474         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39475         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39476         <kernel-features.h>.
39477         [__NR_fadvise64_64]: Make code unconditional.
39478         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39479         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39480         !__NR_fadvise64_64)]: Likewise.
39481         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39482         !__NR_fadvise64_64))]: Likewise.
39483         [__NR_fadvise64]: Make code unconditional.
39484         [!__NR_fadvise64]: Remove conditional code.
39485         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39486         <kernel-features.h>.
39487         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39488         unconditional.
39489         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39490         conditional code.
39491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39492         not include <kernel-features.h>.
39493         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39494         unconditional.
39495         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39496         conditional code.
39497         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39498         include <kernel-features.h>.
39499         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39500         unconditional.
39501         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39502         conditional code.
39504 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39506         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39507         slight instruction rearrangements per scrollpipe analysis.
39508         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39510 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39512         * manual/syslog.texi (syslog; vsyslog, closelog):
39513         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39514         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39516         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39517         DSOCAPS to match condition on defining it.
39519 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39521         * sysdeps/unix/sysv/linux/kernel-features.h
39522         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39524         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39525         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39527         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39528         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39530         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39531         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39533         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39534         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39536         * sysdeps/unix/sysv/linux/kernel-features.h
39537         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39538         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39539         unconditional.
39540         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39541         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39542         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39543         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39544         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39545         Make code unconditional.
39546         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39547         (__mmap64) [!__NR_mmap2]: Likewise.
39548         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39549         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39550         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39551         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39552         [__NR_mmap2]: Make code unconditional.
39553         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39554         (__mmap64) [!__NR_mmap2]: Likewise.
39556 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39558         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39560 2012-08-18  Andreas Jaeger  <aj@suse.de>
39562         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39564 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39566         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39567         * include/unistd.h (__have_sock_cloexec): Likewise.
39568         (__have_pipe2): Likewise.
39569         (__have_dup3): Likewise.
39571 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39573         [BZ #9685]
39574         * include/unistd.h (__have_pipe2): Change define into an extern int.
39575         (__have_dup3): Likewise.
39576         * socket/have_sock_cloexec.c: Include fcntl.h.
39577         (__have_pipe2): New variable.
39578         (__have_dup3): Likewise.
39580 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39582         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39584 2012-08-17  Marek Polacek  <polacek@redhat.com>
39586         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39587         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39589 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39591         * configure.in: Add AC_SUBST for sysheaders.
39592         * configure: Regenerated.
39593         * config.make.in (sysheaders): New substituted variable.
39595         * sysdeps/unix/mkfifo.c: Moved ...
39596         * sysdeps/posix/mkfifo.c: ... here.
39597         * sysdeps/unix/mkfifoat.c: Moved ...
39598         * sysdeps/posix/mkfifoat.c: ... here.
39600         * sysdeps/unix/utime.c: Moved ...
39601         * sysdeps/posix/utime.c: ... here.
39603         * sysdeps/unix/time.c: Moved ...
39604         * sysdeps/posix/time.c: ... here.
39605         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39606         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39608         * sysdeps/unix/nice.c: Moved ...
39609         * sysdeps/posix/nice.c: ... here.
39611         * sysdeps/unix/alarm.c: Moved ...
39612         * sysdeps/posix/alarm.c: ... here.
39614         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39616 2012-08-17  Jeff Law <law@redhat.com>
39618         * intl/Makefile (codeset_mo): New variable.
39619         ($(codeset_mo)): New target.
39620         (tst-codeset.out): Depend on that.  Remove explicit rule.
39621         (tst-gettext3.out, tst-gettext5.out): Likewise.
39622         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39623         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39624         * intl/tst-codeset.sh: Remove.
39625         * intl/tst-gettext3.sh: Likewise.
39626         * intl/tst-gettext5.sh: Likewise.
39628 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39630         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39631         * sysdeps/unix/syscalls.list: ... here.
39633         * sysdeps/posix/getaddrinfo.c
39634         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39635         (gaiconf_init, gaiconf_reload): Use them.
39636         [!_STATBUF_ST_NSEC]
39637         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39638         Define using time_t rather than struct timespec.
39640         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39641         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39642         Macros removed.
39643         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39644         [!NO_THREADS].
39645         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39646         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39647         Likewise.
39649         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39650         __libc_cleanup_push argument.
39652         * bits/param.h: New file.
39653         * misc/sys/param.h: New file.
39654         * include/sys/param.h: New file.
39655         * misc/Makefile (headers): Add bits/param.h.
39656         * sysdeps/generic/sys/param.h: File removed.
39657         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39658         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39659         * sysdeps/mach/hurd/bits/param.h: New file.
39660         * sysdeps/mach/hurd/sys/param.h: File removed.
39662         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39663         last change.
39665         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39666         [_IO_MTSAFE_IO].
39667         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39668         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39669         New macros.
39671         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39672         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39673         rather than -D_IO_MTSAFE_IO conditionally.
39674         * stdio-common/Makefile (CPPFLAGS): Likewise.
39675         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39676         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39677         Use $(libio-mtsafe).
39678         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39679         of -D_IO_MTSAFE_IO.
39680         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39681         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39682         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39683         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39684         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39685         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39686         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39687         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39688         (CFLAGS-fread_u_chk.c): Likewise.
39689         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39690         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39691         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39692         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39693         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39694         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39695         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39696         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39697         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39699         * libio/Makefile: Test [$(libc-reentrant) = yes]
39700         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39702         * Makeconfig
39703         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39704         * sysdeps/pthread/configure: File removed.
39705         * sysdeps/pthread/Makeconfig: New file.
39706         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39707         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39709 2012-08-16  Gary Benson  <gbenson@redhat.com>
39711         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39712         unmapping the first object in a namespace.
39714 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39716         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39717         (__internal_setnetgrent): ... this.  Add internal_function to
39718         definition.  Add libc_hidden_def.
39719         (setnetgrent): Update caller.
39720         (internal_endnetgrent): Renamed to ...
39721         (__internal_endnetgrent): ... this.  Add internal_function to
39722         definition.  Add libc_hidden_def.
39723         (endnetgrent): Update caller.
39724         (internal_getnetgrent_r): Renamed to ...
39725         (__internal_getnetgrent_r): ... this.  Add internal_function to
39726         definition.  Add libc_hidden_def.
39727         (__getnetgrent_r): Update caller.
39728         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39730 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39732         * stdlib/longlong.h: Update from GCC.
39734 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39736         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39737         on _QL, which is set by umul_ppmm but never used.
39738         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39739         variables, which are set by GMP macros but never used.
39740         * stdio-common/_itowa.c (_itowa): Likewise.
39741         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39742         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39744 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39746         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39747         struct La_sh_regs is not constant.
39748         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39749         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39750         and struct La_sparc64_regs are not constant.
39752 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39754         * sysdeps/unix/sysv/linux/kernel-features.h
39755         (__ASSUME_POSIX_TIMERS): Remove.
39756         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39757         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39758         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39759         Make code unconditional.
39760         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39761         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39762         Make code unconditional.
39763         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39764         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39765         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39766         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39767         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39768         Make code unconditional.
39769         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39770         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39771         (__libc_missing_posix_timers): Remove.
39773 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39775         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39776         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39778         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39780         * elf/dl-sym.c: Include <stdlib.h>.
39782         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39783         constants, which avoids warnings in 32-bit builds.
39785         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39786         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39788         * misc/lseek.c: File moved to ...
39789         * io/lseek.c: ... here.
39791         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39793         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39794         shifting LEN more than 31 bits at once.
39796 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39798         [BZ #14195]
39799         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39800         segmentation fault for a case of two empty input strings.
39801         * string/test-strncasecmp.c (check1): Renamed to...
39802         (bz12205): ...this.
39803         (bz14195): Add new testcase for two empty input strings and N > 0.
39804         (test_main): Call new testcase, adapt for renamed function.
39806 2012-08-15  Andreas Jaeger  <aj@suse.de>
39808         [BZ #14090]
39809         * crypt/md5test2.c: New test, based on test supplied by Serge
39810         Belyshev <belyshev@depni.sinp.msu.ru>.
39811         * crypt/Makefile (xtests): Add md5test-giant..
39812         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39814 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39816         [BZ #14090]
39817         * crypt/md5.c (md5_process_block): Don't assume the buffer
39818         length is less than 2**32.
39819         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39820         length is less than 2**64.
39822 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39824         * string/str-two-way.h: Include <sys/param.h>.
39825         (MAX): Macro removed.
39827         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39828         Move #define and #undef of memmove to just before and after
39829         including <string.h>.
39831         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39832         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39833         and after including <string.h>.  Move declarations of
39834         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39835         to before #include "string/memmove.c".
39837         * include/dirent.h: Declare __getdirentries.
39839         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39840         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39842 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39844         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39845         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39846         * sysdeps/i386/configure: Regenerated.
39847         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39848         STABS_CURRENT_FILE, and STABS_FUN.
39849         (END): Remove call to STABS_FUN_END.
39850         (STABS_CURRENT_FILE1): Delete.
39851         (STABS_CURRENT_FILE): Likewise.
39852         (STABS_FUN): Likewise.
39853         (STABS_FUN_END): Likewise.
39854         (STABS_FUN2): Likewise.
39855         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39856         * sysdeps/x86_64/configure: Regenerated.
39858 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39860         * elf/dl-open.c: Include <atomic.h>.
39861         * elf/dl-lookup.c: Likewise.
39863 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39865         * sysdeps/unix/sysv/linux/kernel-features.h
39866         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39867         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39868         unconditionally.
39869         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39870         unconditionally.
39871         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39872         condition on __ASSUME_CLONE_THREAD_FLAGS.
39874 2012-08-14  Andreas Jaeger  <aj@suse.de>
39876         * sysdeps/i386/fpu/libm-test-ulps: Update.
39878 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39880         * include/atomic.h (atomic_exchange_and_add): Split into ...
39881         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39882         New atomic macros.
39884 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39886         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39888 2012-08-13  Jeff Law <law@redhat.com>
39890         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39891         null byte in the output string.
39893 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39895         * sysdeps/unix/sysv/linux/kernel-features.h
39896         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39897         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39898         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39899         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39900         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39901         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39902         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39904 2012-08-09  Jeff Law <law@redhat.com>
39906         [BZ #13939]
39907         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39908         When avoid_arena is set, don't retry in the that arena.  Pick the
39909         next one, whatever it might be.
39910         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39911         (arena_lock): Pass in new parameter to arena_get2.
39912         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39913         arena_get2.
39914         (__libc_malloc): Unify retrying after main arena failure with
39915         __libc_memalign version.
39916         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39918 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39920         [BZ #14166]
39921         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39922         to __redirect_strstr.
39923         (__strstr_sse42): Use typeof __redirect_strstr.
39924         (__strstr_ia32): Likewise.
39925         (__libc_strstr): New prototype.
39926         (strstr): Renamed to ...
39927         (__libc_strstr): This.
39928         (strstr): New strong alias of __libc_strstr.
39929         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39930         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39931         __redirect_time.
39932         Include <time.h>.
39933         (__libc_time): New prototype.
39934         (time_ifunc): Replace time with __libc_time.
39935         (time): New strong alias and hidden definition of __libc_time.
39936         (__GI_time): Remove strong alias.
39937         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39938         Include <stddef.h>.
39939         (memmove): Redefined to __redirect_memmove.
39940         (__memmove_sse2): Use typeof __redirect_memmove.
39941         (__memmove_ssse3): Likewise.
39942         (__memmove_ssse3_back): Likewise.
39943         (__libc_memmove): New prototype.
39944         (memmove): Renamed to ...
39945         (__libc_memmove): This.
39946         (memmove): New strong alias of __libc_memmove.
39948 2012-08-08  Mark Salter  <msalter@redhat.com>
39950         * elf/elf.h
39951         (R_MN10300_TLS_GD): Define.
39952         (R_MN10300_TLS_LD): Likewise.
39953         (R_MN10300_TLS_LDO): Likewise.
39954         (R_MN10300_TLS_GOTIE): Likewise.
39955         (R_MN10300_TLS_IE): Likewise.
39956         (R_MN10300_TLS_LE): Likewise.
39957         (R_MN10300_TLS_DTPMOD): Likewise.
39958         (R_MN10300_TLS_DTPOFF): Likewise.
39959         (R_MN10300_TLS_TPOFF): Likewise.
39960         (R_MN10300_SYM_DIFF): Likewise.
39961         (R_MN10300_ALIGN): Likewise.
39962         (R_MN10300_NUM): Update.
39964 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39966         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39967         Remove.
39969 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39971         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39973         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39974         sysdeps/unix -> sysdeps/posix move.
39975         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39977 2012-08-07      Allan McRae     <allan@archlinux.org>
39979         [BZ #14303]
39980         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39981         (SUNOS_CPP): Likewise.
39982         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39983         not found.
39984         (open_input): Call CPP using execvp.
39986 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39988         * sysdeps/unix/sysv/linux/kernel-features.h
39989         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39990         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39991         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39992         (__ASSUME_WAITID_SYSCALL): Likewise.
39993         * sysdeps/unix/sysv/linux/dl-execstack.c
39994         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39995         code unconditional.
39996         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39997         conditional code.
39998         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39999         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40000         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40001         code.
40002         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40003         unconditional.
40004         [__ASSUME_WAITID_SYSCALL]: Likewise.
40005         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40007 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40009         * sysdeps/unix/closedir.c: Renamed to ...
40010         * sysdeps/posix/closedir.c: ... here.
40011         * sysdeps/unix/dirfd.c: Renamed to ...
40012         * sysdeps/posix/dirfd.c: ... here.
40013         * sysdeps/unix/dirstream.h: Renamed to ...
40014         * sysdeps/posix/dirstream.h: ... here.
40015         * sysdeps/unix/fdopendir.c: Renamed to ...
40016         * sysdeps/posix/fdopendir.c: ... here.
40017         * sysdeps/unix/opendir.c: Renamed to ...
40018         * sysdeps/posix/opendir.c: ... here.
40019         * sysdeps/unix/readdir.c: Renamed to ...
40020         * sysdeps/posix/readdir.c: ... here.
40021         * sysdeps/unix/readdir_r.c: Renamed to ...
40022         * sysdeps/posix/readdir_r.c: ... here.
40023         * sysdeps/unix/rewinddir.c: Renamed to ...
40024         * sysdeps/posix/rewinddir.c: ... here.
40025         * sysdeps/unix/seekdir.c: Renamed to ...
40026         * sysdeps/posix/seekdir.c: ... here.
40027         * sysdeps/unix/telldir.c: Renamed to ...
40028         * sysdeps/posix/telldir.c: ... here.
40029         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40030         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40031         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40032         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40034         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40035         * bits/fcntl.h: ... here.
40037         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40038         not 0.
40039         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40040         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40041         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40042         (struct flock): Move l_start, l_len to the beginning.
40043         Use __pid_t for l_pid.
40044         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40045         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40046         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40047         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40048         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40049         [__USE_LARGEFILE64] (struct flock64): New type.
40050         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40052         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40053         * bits/dirent.h: ... here.
40055         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40056         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40058 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40061         Change from 2.6.0 to 2.6.16.
40062         * sysdeps/unix/sysv/linux/configure: Regenerated.
40063         * sysdeps/unix/sysv/linux/kernel-features.h
40064         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40065         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40066         version.
40067         (__ASSUME_UTIMES): Likewise.
40068         (__ASSUME_CLONE_STOPPED): Remove.
40069         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40070         architectures, not kernel version.
40071         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40072         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40073         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40074         (__ASSUME_WAITID_SYSCALL): Likewise.
40075         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40076         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40077         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40078         refer to older versions.
40080 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40082         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40083         Define alphasort64 as an alias.
40084         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40085         Define versionsort64 as an alias.
40086         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40087         Define scandir64 as an alias.
40088         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40089         Define scandirat64 as an alias.
40090         * dirent/alphasort64.c (alphasort64):
40091         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40092         * dirent/versionsort64.c: Likewise.
40093         * dirent/scandir64.c: Likewise.
40094         * dirent/scandirat64.c: Likewise.
40095         * sysdeps/wordsize-64/alphasort.c: File removed.
40096         * sysdeps/wordsize-64/alphasort64.c: File removed.
40097         * sysdeps/wordsize-64/scandir.c: File removed.
40098         * sysdeps/wordsize-64/scandir64.c: File removed.
40099         * sysdeps/wordsize-64/scandirat.c: File removed.
40100         * sysdeps/wordsize-64/scandirat64.c: File removed.
40101         * sysdeps/wordsize-64/versionsort.c: File removed.
40102         * sysdeps/wordsize-64/versionsort64.c: File removed.
40103         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40104         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40105         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40106         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40107         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40108         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40109         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40110         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40112         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40113         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40114         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40116         [defined __arch64__ || defined __sparcv9]
40117         (__INO_T_MATCHES_INO64_T): New macro.
40118         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40119         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40120         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40121         * sysdeps/unix/sysv/linux/bits/dirent.h
40122         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40123         (_DIRENT_MATCHES_DIRENT64): New macro.
40125         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40126         Define lockf64 as an alias.
40127         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40128         Define fseeko64 as an alias.
40129         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40130         Define ftello64 as an alias.
40131         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40132         Define _IO_fgetpos64 and fgetpos64 as aliases.
40133         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40134         Define _IO_fsetpos64 and fsetpos64 as aliases.
40135         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40136         Conditionalize body on this.
40137         * libio/fseeko64.c: Likewise.
40138         * libio/ftello64.c: Likewise.
40139         * libio/iofgetpos64.c: Likewise.
40140         * libio/iofsetpos64.c: Likewise.
40141         * sysdeps/wordsize-64/lockf.c: File removed.
40142         * sysdeps/wordsize-64/lockf64.c: File removed.
40143         * sysdeps/wordsize-64/fseeko.c: File removed.
40144         * sysdeps/wordsize-64/fseeko64.c: File removed.
40145         * sysdeps/wordsize-64/ftello.c: File removed.
40146         * sysdeps/wordsize-64/ftello64.c: File removed.
40147         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40148         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40149         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40150         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40151         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40152         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40153         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40154         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40155         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40156         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40157         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40158         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40159         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40160         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40162         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40163         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40164         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40165         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40166         [defined __arch64__ || defined __sparcv9]
40167         (__OFF_T_MATCHES_OFF64_T): New macro.
40168         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40169         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40170         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40171         (__OFF_T_MATCHES_OFF64_T): New macro.
40173 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40175         * stdlib/secure-getenv.c (__secure_getenv): Replace
40176         GLIBC_2_16 with GLIBC_2_17.
40178 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40180         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40181         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40183 2012-08-03  David S. Miller  <davem@davemloft.net>
40185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40187 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40189         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40190         Remove.
40191         (__ASSUME_CORRECT_SI_PID): Likewise.
40192         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40193         (__ASSUME_TMPFS_NAME): Likewise.
40194         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40195         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40196         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40197         (HAVE_AUX_SECURE): Make definition unconditional.
40198         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40199         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40201 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40203         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40204         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40205         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40206         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40207         __eloop_threshold instead of SYMLOOP_MAX.
40209         * sysdeps/generic/eloop-threshold.h: New file.
40210         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40211         of MAXSYMLINKS.
40212         * elf/chroot_canon.c (chroot_canon): Likewise.
40214 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40216         [BZ #13717]
40217         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40218         Change to 2.6.0 everywhere.
40219         * sysdeps/unix/sysv/linux/configure: Regenerated.
40220         * sysdeps/unix/sysv/linux/kernel-features.h
40221         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40222         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40223         kernel versions.
40224         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40225         (__ASSUME_FUTEX_REQUEUE): Remove.
40226         (__ASSUME_STATFS64): Define unconditionally.
40227         (__ASSUME_AT_SECURE): Likewise.
40228         (__ASSUME_CORRECT_SI_PID): Likewise.
40229         (__ASSUME_TGKILL): Define without depending on kernel version for
40230         i386.
40231         (__ASSUME_UTIMES): Likewise.
40232         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40233         kernel version.
40234         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40235         (__ASSUME_TMPFS_NAME): Likewise.
40236         * README: Update reference to Linux kernel versions.
40238 2012-08-02  Marek Polacek  <polacek@redhat.com>
40240         [BZ# 14150]
40241         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40242         libc_cv_asm_type_prefix with %.
40243         * configure: Regenerated.
40244         * include/libc-symbols.h: Remove comment about
40245         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40246         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40247         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40248         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40249         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40250         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40251         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40252         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40253         * elf/tst-unique2mod1.c: Likewise.
40254         * elf/tst-unique1mod2.c: Likewise.
40255         * elf/tst-unique1mod1.c: Likewise.
40256         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40257         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40258         Replace ASM_TYPE_DIRECTIVE with .type.
40259         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40260         * sysdeps/i386/sysdep.h: Likewise.
40261         * sysdeps/x86_64/sysdep.h: Likewise.
40262         * sysdeps/sh/sysdep.h: Likewise.
40263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40264         Do not define ASM_TYPE_DIRECTIVE.
40265         * sysdeps/powerpc/sysdep.h: Likewise.
40266         * sysdeps/powerpc/powerpc32/sysdep.h:
40267         Replace ASM_TYPE_DIRECTIVE with .type.
40268         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40269         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40270         * sysdeps/i386/fpu/e_powf.S: Likewise.
40271         * sysdeps/i386/fpu/e_expl.S: Likewise.
40272         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40273         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40274         * sysdeps/i386/fpu/e_pow.S: Likewise.
40275         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40276         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40277         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40278         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40279         * sysdeps/i386/fpu/e_log2.S: Likewise.
40280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40281         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40282         * sysdeps/i386/fpu/e_powl.S: Likewise.
40283         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40284         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40285         * sysdeps/i386/fpu/e_logl.S: Likewise.
40286         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40287         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40288         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40289         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40290         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40291         * sysdeps/i386/fpu/e_log.S: Likewise.
40292         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40293         * sysdeps/i386/fpu/e_logf.S: Likewise.
40294         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40295         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40296         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40297         * sysdeps/i386/fpu/e_log10.S: Likewise.
40298         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40299         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40300         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40301         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40302         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40303         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40304         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40305         * sysdeps/i386/i686/strtok.S: Likewise.
40306         * sysdeps/i386/i386-mcount.S: Likewise.
40307         * sysdeps/i386/strtok.S: Likewise.
40308         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40309         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40310         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40311         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40312         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40313         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40314         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40315         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40316         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40317         * sysdeps/x86_64/_mcount.S: Likewise.
40318         * sysdeps/x86_64/strtok.S: Likewise.
40319         * sysdeps/sh/_mcount.S: Likewise.
40321 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40323         * libio/iofopen.c: Include <fcntl.h>.
40324         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40325         (_IO_fopen64, fopen64): Define as aliases.
40326         * libio/iofopen64.c: Include <fcntl.h>.
40327         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40328         Conditionalize body on this.
40329         * sysdeps/wordsize-64/iofopen.c: File removed.
40330         * sysdeps/wordsize-64/iofopen64.c: File removed.
40332 2012-08-01  Marek Polacek  <polacek@redhat.com>
40334         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40335         Use dlfcn directly instead of a variable.
40336         (binfmt-subdir): Do not define.
40337         (dlfcn): Likewise.
40339 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40341         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40342         Remove all definitions.
40343         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40344         <kernel-features.h>.
40345         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40346         (miss_F_GETOWN_EX): Remove all definitions.
40347         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40348         macro definition.
40349         [!__ASSUME_FCNTL64]: Remove conditional code.
40350         [__ASSUME_FCNTL64]: Make code unconditional.
40351         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40352         <kernel-features.h>.
40353         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40354         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40355         (lockf64) [__NR_fcntl64]: Make code unconditional.
40356         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40358         * sysdeps/unix/sysv/linux/kernel-features.h
40359         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40360         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40361         Make code unconditional.
40362         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40363         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40365         [__NR_vfork]: Make code unconditional.
40366         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40367         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40369         [__NR_vfork]: Make code unconditional.
40370         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40371         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40373 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40375         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40376         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40378         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40379         Define mkstemp64 as an alias.
40380         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40381         Define mkstemps64 as an alias.
40382         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40383         Define mkostemp64 as an alias.
40384         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40385         Define mkostemps64 as an alias.
40386         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40387         Conditionalize body on this.
40388         * misc/mkostemp64.c: Likewise.
40389         * misc/mkostemps64.c: Likewise.
40390         * misc/mkstemps64.c: Likewise.
40391         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40392         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40393         * sysdeps/wordsize-64/mkostemp.c: File removed.
40394         * sysdeps/wordsize-64/mkstemp.c: File removed.
40395         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40396         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40397         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40398         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40400         [BZ #14138]
40401         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40402         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40403         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40404         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40406         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40407         compat_symbol macros from <shlib-compat.h> rather than the underlying
40408         default_symbol_version and symbol_version macros, so that DEFAULT
40409         lines in shlib-versions are respected.
40410         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40412 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40414         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40415         Declare with warn_unused_result.
40416         (setgid, setregid, setegid, setresgid): Likewise.
40417         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40418         Likewise.
40419         * WUR-REPORT: Remove set*id functions.
40421 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40423         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40425 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40427         [BZ #10191]
40428         * include/sys/socket.h (__libc_accept, __libc_accept4):
40429         Add attribute_hidden.
40430         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40432         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40433         use of PTR_MANGLE.
40434         * inet/getnetgrent_r.c (setup): Likewise.
40436         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40438 2012-07-31  David S. Miller  <davem@davemloft.net>
40440         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40442 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40444         [BZ #13629]
40445         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40446         value between 1.0 and 2.0 and smaller part has absolute value less
40447         than 1.0.
40448         * math/s_clog10.c (__clog10): Likewise.
40449         * math/s_clog10f.c (__clog10f): Likewise.
40450         * math/s_clog10l.c (__clog10l): Likewise.
40451         * math/s_clogf.c (__clogf): Likewise.
40452         * math/s_clogl.c (__clogl): Likewise.
40453         * math/libm-test.inc (clog_test): Add more tests.
40454         (clog10_test): Likewise.
40455         * sysdeps/i386/fpu/libm-test-ulps: Update.
40456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40458 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40460         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40461         Exit with zero in case no suitable GID is found, and write a
40462         message to standard error.
40464 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40466         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40467         rather than to 1.
40468         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40469         (MAXPATHLEN): Removed.
40470         (NOGROUP, NODEV): New macros.
40471         (setbit, clrbit, isset, isclr): New macros.
40472         (howmany, roundup, powerof2): New macros.
40473         (DEV_BSIZE): New macro.
40475         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40476         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40478         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40479         definition on [!__NO_LONG_DOUBLE_MATH].
40481         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40482         PTR_MANGLE and PTR_DEMANGLE.
40484         * socket/accept4.c (accept4): Rename to __libc_accept4.
40485         Define accept4 as a weak alias.
40487         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40488         on [_DIRENT_HAVE_D_TYPE].
40489         * io/ftw.c (ftw_dir): Likewise.
40491         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40493         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40495         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40496         Use the BSD numbers rather than the arbitrary ones we had.
40497         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40498         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40499         (SIGXCPU, SIGXFSZ): New macros.
40500         (_NSIG): Now 32.
40502         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40503         initializer on [_LIBC_REENTRANT].
40505         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40506         definitions inside [_POSIX_MAPPED_FILES].
40508         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40510         * dirent/opendir.c: Include <fcntl.h>.
40512         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40513         (__libc_getspecific): Likewise.
40514         (__libc_key_create): Likewise.
40516         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40517         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40518         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40519         (tmpfile64): Define as alias.
40520         * sysdeps/wordsize-64/tmpfile.c: File removed.
40521         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40522         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40523         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40525         * stdio-common/vfscanf.c: Include <stdbool.h>.
40526         * nss/makedb.c: Likewise.
40527         * stdio-common/_i18n_number.h: Likewise.
40528         * argp/argp-help.c: Likewise.
40529         * posix/wordexp.c: Likewise.
40530         * sysdeps/posix/spawni.c: Likewise.
40531         * nss/nss_files/files-initgroups.c: Likewise.
40532         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40533         * nss/nss_files/files-initgroups.c: Likewise.
40534         * nss/nss_db/db-netgrp.c: Likewise.
40535         * nss/nss_db/db-initgroups.c: Likewise.
40536         * io/fchmodat.c: Include <sys/stat.h>.
40538         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40539         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40541         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40542         [HAVE_MMAP].
40544         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40545         Add multiple inclusion protection.
40547 2012-07-27  David S. Miller  <davem@davemloft.net>
40549         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40551 2012-07-27  Gary Benson  <gbenson@redhat.com>
40553         [BZ #14298]
40554         * elf/rtld.c: Include <stap-probe.h>.
40555         (dl_main): Added static probes "init_start" and "init_complete".
40556         * elf/dl-load.c: Include <stap-probe.h>.
40557         (lose): Take new parameter "nsid".
40558         Added static probe "map_failed".
40559         (_dl_map_object_from_fd): Pass namespace id to lose.
40560         Added static probe "map_start".
40561         (open_verify): Pass namespace id to lose.
40562         * elf/dl-open.c: Include <stap-probe.h>.
40563         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40564         and "reloc_complete".
40565         * elf/dl-close.c: Include <stap-probe.h>.
40566         (_dl_close_worker): Added static probes "unmap_start" and
40567         "unmap_complete".
40568         * elf/rtld-debugger-interface.txt: New file documenting the above.
40570 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40572         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40573         rather than a string variable.
40574         * sunrpc/rpc_main.c (h_output): Likewise.
40575         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40577 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40579         * inet/check_native.c: New file.
40581 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40583         [BZ #13629]
40584         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40585         if larger part has absolute value 1.0.
40586         * math/s_clog10.c (__clog10): Likewise.
40587         * math/s_clog10f.c (__clog10f): Likewise.
40588         * math/s_clog10l.c (__clog10l): Likewise.
40589         * math/s_clogf.c (__clogf): Likewise.
40590         * math/s_clogl.c (__clogl): Likewise.
40591         * math/libm-test.inc (clog_test): Add more tests.
40592         (clog10_test): Likewise.
40593         * sysdeps/i386/fpu/libm-test-ulps: Update.
40594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40596         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40597         (pltexit): Likewise.
40598         (La_regs): Likewise.
40599         (La_retval): Likewise.
40600         (int_retval): Likewise.
40601         Update #error for removed macros to refer only to definitions in
40602         tst-audit.h.
40603         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40604         macro.
40605         (pltexit): Likewise.
40606         (La_regs): Likewise.
40607         (La_retval): Likewise.
40608         (int_retval): Likewise.
40609         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40610         macro.
40611         (pltexit): Likewise.
40612         (La_regs): Likewise.
40613         (La_retval): Likewise.
40614         (int_retval): Likewise.
40615         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40616         macro.
40617         (pltexit): Likewise.
40618         (La_regs): Likewise.
40619         (La_retval): Likewise.
40620         (int_retval): Likewise.
40621         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40622         macro.
40623         (pltexit): Likewise.
40624         (La_regs): Likewise.
40625         (La_retval): Likewise.
40626         (int_retval): Likewise.
40627         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40628         macro.
40629         (pltexit): Likewise.
40630         (La_regs): Likewise.
40631         (La_retval): Likewise.
40632         (int_retval): Likewise.
40633         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40634         macro.
40635         (pltexit): Likewise.
40636         (La_regs): Likewise.
40637         (La_retval): Likewise.
40638         (int_retval): Likewise.
40639         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40640         macro definitions in tst-audit.h.
40641         * sysdeps/i386/tst-audit.h: New file.
40642         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40643         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40644         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40645         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40646         * sysdeps/sh/tst-audit.h: Likewise.
40647         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40648         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40649         * sysdeps/x86_64/tst-audit.h: Likewise.
40651 2012-07-26  Andreas Jaeger  <aj@suse.de>
40653         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40654         ptrace.
40656         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40657         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40658         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40659         PTRACE_O_MASK.
40660         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40661         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40662         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40664         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40665         value.
40667         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40668         _sigsys.
40669         (si_call_addr, si_syscall, si_arch): Define new macro.
40670         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40671         _sigsys.
40672         (si_call_addr, si_syscall, si_arch): Define new marcro.
40673         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40674         _sigsys.
40675         (si_call_addr, si_syscall, si_arch): Define new macro.
40676         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40677         _sigsys.
40678         (si_call_addr, si_syscall, si_arch): Define new macro.
40680 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40682         [BZ #13717]
40683         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40684         Change to 2.4.21 where previously 2.4.1.
40685         * sysdeps/unix/sysv/linux/configure: Regenerated.
40686         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40687         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40688         Linux kernel version.
40689         (__ASSUME_STD_AUXV): Remove.
40690         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40691         kernel version.
40692         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40693         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40694         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40695         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40696         (__ASSUME_NETLINK_SUPPORT): Likewise.
40697         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40698         (__no_netlink_support): Remove conditional definition.
40699         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40700         Remove.
40701         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40702         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40703         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40704         (if_nameindex_ioctl): Remove.
40705         (if_nameindex_netlink): Do not handle __no_netlink_support.
40706         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40707         code.
40708         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40709         Remove conditional code.
40710         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40711         code.
40712         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40713         unconditional.
40714         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40715         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40716         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40717         Remove.
40718         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40719         [!__ASSUME_STD_AUXV]: Remove conditional code.
40720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40721         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40722         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40724         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40725         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40726         code.
40727         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40729         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40730         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40731         conditional code.
40732         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40734         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40735         code.
40736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40737         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40738         conditional code.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40740         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40741         code unconditional.
40742         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40743         conditional code.
40744         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40745         unconditional.
40746         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40747         conditional code.
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40749         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40750         unconditional.
40751         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40752         conditional code.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40754         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40755         code unconditional.
40756         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40757         conditional code.
40758         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40759         unconditional.
40760         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40761         conditional code.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40763         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40764         code unconditional.
40765         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40766         conditional code.
40767         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40768         unconditional.
40769         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40770         conditional code.
40772 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40774         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40775         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40776         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40777         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40778         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40779         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40780         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40781         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40782         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40783         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40784         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40785         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40786         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40787         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40788         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40789         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40790         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40791         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40792         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40793         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40795         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40796         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40798 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40800         * Versions.def: Add GLIBC_2.17.
40801         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40802         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40803         Introduce __libc_secure_getenv.
40804         * stdlib/Versions (2.17): Add secure_getenv
40805         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40806         * stdlib/secure-getenv.c: Rename __secure_getenv to
40807         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40808         symbol __secure_getenv for GLIBC_2.0.
40809         * stdlib/tst-secure-getenv.c: New.
40810         * stdlib/Makefile (tests): Add testcase.
40811         * manual/startup.texi (Environment Access): Document
40812         secure_getenv.
40813         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40814         __libc_secure_getenv.
40815         * inet/ruserpass.c (ruserpass): Likewise.
40816         * malloc/mtrace.c (mtrace): Likewise.
40817         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40818         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40819         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40820         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40821         HAVE_SECURE_GETENV.
40822         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40823         __secure_getenv to __libc_secure_getenv.
40824         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40826         Likewise.
40827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40828         Likewise.
40829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40831         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40837 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40839         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40840         (struct La_i86_retval): Likewise.
40841         (struct La_x86_64_regs): Likewise.
40842         (struct La_x86_64_retval): Likewise.
40843         (struct La_x32_regs): Likewise.
40844         (struct La_x32_retval): Likewise.
40845         (struct La_ppc32_regs): Likewise.
40846         (struct La_ppc32_retval): Likewise.
40847         (struct La_ppc64_regs): Likewise.
40848         (struct La_ppc64_retval): Likewise.
40849         (struct La_sh_regs): Likewise.
40850         (struct La_sh_retval): Likewise.
40851         (struct La_s390_32_regs): Likewise.
40852         (struct La_s390_32_retval): Likewise.
40853         (struct La_s390_64_regs): Likewise.
40854         (struct La_s390_64_retval): Likewise.
40855         (struct La_sparc32_regs): Likewise.
40856         (struct La_sparc32_retval): Likewise.
40857         (struct La_sparc64_regs): Likewise.
40858         (struct La_sparc64_retval): Likewise.
40859         (struct audit_ifaces): Remove architecture-specific pltenter and
40860         pltexit members.
40861         * sysdeps/i386/ldsodefs.h: New file.
40862         * sysdeps/powerpc/ldsodefs.h: Likewise.
40863         * sysdeps/s390/ldsodefs.h: Likewise.
40864         * sysdeps/sh/ldsodefs.h: Likewise.
40865         * sysdeps/sparc/ldsodefs.h: Likewise.
40866         * sysdeps/x86_64/ldsodefs.h: Likewise.
40868 2012-07-25  Marek Polacek  <polacek@redhat.com>
40870         [BZ #6808]
40871         * math/libm-test.inc (yn_test): Add another test.
40872         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40873         to ERANGE when the result is +-Inf.
40874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40875         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40876         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40877         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40879 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40881         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40882         equal to 0.
40883         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40884         clock_t.
40885         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40887 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40889         * configure.in <sysdeps resolving>: Correct printing
40890         Implies_before.
40891         * configure: Regenerate.
40893 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40895         * math/w_ilogb.c: Include <limits.h>.
40896         * math/w_ilogbl.c: Likewise.
40898 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40900         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40901         va_copy.  Document allowing for unavailable va_copy only as
40902         pre-C99 compatibility.
40903         * manual/string.texi (Copying and Concatenation): Use va_copy
40904         instead of __va_copy in concat example.
40906 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40908         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40909         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40910         it if not null.
40912         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40913         with O_NOLINK passed to __file_name_lookup.
40915         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40916         with O_NOLINK passed to __file_name_lookup.
40918         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40919         negative N or less than NGIDS.
40921         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40922         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40923         enough.  Use memcpy instead of strncpy.
40925 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40927         * elf/Makefile (check-data): Remove.
40928         (localplt.data): New vpath directive.
40929         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40930         instead of $(check-data).
40931         * scripts/data/localplt-generic.data: Move to ...
40932         * sysdeps/generic/localplt.data: ... here.
40933         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40934         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40935         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40937         ... here.
40938         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40940         ... here.
40941         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40943         ... here.
40944         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40946         ... here.
40947         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40949         ... here.
40950         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40952         ... here.
40954 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40956         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40957         PPC32 and PPC64 files.
40958         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40959         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40961 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40963         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40964         __makecontext_ret to ...
40965         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40966         ... here and call exit if uc_link is NULL.  New file.
40967         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40968         __makecontext_ret.S.
40969         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40970         __makecontext_ret to ...
40971         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40972         ... here and call exit if uc_link is NULL.  New file.
40973         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40974         __makecontext_ret.S.
40976 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40978         * elf/elf.h (R_390_IRELATIVE): New definition.
40979         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40980         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40981         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40982         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40983         (elf_machine_lazy_rel): Likewise.
40984         * sysdeps/s390/dl-irel.h: New file.
40985         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40986         * sysdeps/s390/s390-64/memset.S: New asm code.
40987         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40988         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40989         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40990         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40991         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40992         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40993         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40994         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40995         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40996         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40997         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40998         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40999         * sysdeps/s390/s390-32/memset.S: New asm code.
41000         * sysdeps/s390/s390-32/memcmp.S: New asm code.
41002 2012-07-17  Marek Polacek  <polacek@redhat.com>
41004         [BZ #14349]
41005         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41006         * sysdeps/s390/s390-64/configure.in: Likewise.
41007         * sysdeps/sparc/configure.in: Likewise.
41008         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41009         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41010         * sysdeps/i386/configure.in: Likewise.
41011         * sysdeps/x86_64/configure.in: Likewise.
41012         * sysdeps/sh/configure.in: Likewise.
41013         * sysdeps/s390/s390-32/configure: Regenerated.
41014         * sysdeps/s390/s390-64/configure: Likewise.
41015         * sysdeps/x86_64/configure: Likewise.
41016         * sysdeps/sh/configure: Likewise.
41017         * sysdeps/powerpc/powerpc64/configure: Likewise.
41018         * sysdeps/powerpc/powerpc32/configure: Likewise.
41019         * sysdeps/sparc/configure: Likwise.
41020         * sysdeps/i386/configure: Likewise.
41022         * elf/dl-open.c: Comment fixes.
41024 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41026         * Makefile [CXX] (check-data): Remove.
41027         [CXX] (c++-types.data): New vpath directive.
41028         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41029         vpath.  Do not allow for C++ type data being missing.
41030         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41031         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41032         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41033         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41034         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41035         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41036         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41038         ... here.
41039         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41041         ... here.
41042         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41044         ... here.
41045         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41046         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41047         ... here.
41048         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41050         ... here.
41051         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41053         ... here.
41054         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41056         ... here.
41057         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41060         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41061         definitions to architecture-specific files.
41062         (TLS_IE): Likewise.
41063         (TLS_LD): Likewise.
41064         (TLS_GD): Likewise.
41065         * sysdeps/i386/tls-macros.h: New file.
41066         * sysdeps/powerpc/tls-macros.h: Likewise.
41067         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41068         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41069         * sysdeps/sh/tls-macros.h: Likewise.
41070         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41071         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41072         * sysdeps/x86_64/tls-macros.h: Likewise.
41074 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41076         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41077         zero value for regular exit case.
41079         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41080         (__start_context): Preserve zero value for regular exit case.
41082 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41083             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41085         * manual/setjmp.texi (setcontext): Clarify normal process
41086         termination when uc_link is the null pointer.
41087         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41088         exit call.
41090 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41092         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41093         preprocessor.  Test for each exception mask separately.
41095 2012-07-16  Andreas Jaeger  <aj@suse.de>
41097         * po/ru.po: Update from translation team.
41099 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41101         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41102         equal to 0.
41103         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41104         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41105         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41106         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41109 2012-07-13  Andreas Jaeger  <aj@suse.de>
41111         * po/fr.po: Update from translation team.
41113 2012-07-12  Marek Polacek  <polacek@redhat.com>
41115         [BZ #14173]
41116         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41117         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41118         loop condition.
41120 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41122         [BZ #13717]
41123         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41124         Change to 2.4.1 where previously 2.4.0.
41125         * sysdeps/unix/sysv/linux/configure: Regenerated.
41126         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41127         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41128         version.
41129         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41130         (__ASSUME_AT_CLKTCK): Remove.
41131         (__ASSUME_AT_PAGESIZE): Likewise.
41132         (__ASSUME_AT_XID): Likewise.
41133         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41134         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41135         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41136         unconditionally.
41137         (HAVE_AUX_PAGESIZE): Likewise.
41138         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41139         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41140         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41142 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41144         [BZ #14307]
41145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41146         the temporary buffer used to invoke __gethostbyname2_r,
41147         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41148         host_data / struct gaih_addrtuple.
41149         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41150         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41151         header file nss/nsswitch.h.
41152         * nss/nsswitch.h (global scope): Add definition of implementation
41153         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41154         resolv/nss_dns/dns-host.c).
41156 2012-07-11  Andreas Jaeger  <aj@suse.de>
41158         * po/fr.po: Update from translation team.
41160         * po/sv.po: Update from translation team
41161         * po/fr.po: Another update from translation team.
41163 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41165         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41166         for subnormals or multiply small sinh result by itself.
41167         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41170 2012-07-11  David S. Miller  <davem@davemloft.net>
41172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41174 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41176         [BZ #14347]
41177         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41178         (INTERNAL_MARK): Shift it here.
41180 2012-07-10  Marek Polacek  <polacek@redhat.com>
41182         [BZ #14151]
41183         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41184         libc_cv_asm_global_directive with .globl.
41185         * configure: Regenerated.
41186         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41187         with .globl.
41188         * sysdeps/i386/configure: Regenerated.
41189         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41190         with .globl.
41191         * sysdeps/x86_64/configure: Regenerated.
41192         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41193         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41194         * elf/tst-unique2mod2.c: Likewise.
41195         * elf/tst-unique2mod1.c: Likewise.
41196         * elf/tst-unique1mod2.c: Likewise.
41197         * elf/tst-unique1mod1.c: Likewise.
41198         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41199         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41200         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41201         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41202         * sysdeps/mach/sysdep.h: Likewise.
41203         * sysdeps/i386/sysdep.h: Likewise.
41204         * sysdeps/i386/i386-mcount.S: Likewise.
41205         * sysdeps/x86_64/_mcount.S: Likewise.
41206         * sysdeps/x86_64/sysdep.h: Likewise.
41207         * sysdeps/sh/_mcount.S: Likewise.
41208         * sysdeps/sh/sysdep.h: Likewise.
41209         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41210         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41211         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41212         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41213         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41214         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41215         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41216         * locale/localeinfo.h: Likewise.
41217         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41218         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41220 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41222         [BZ #14336]
41223         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41224         system".
41225         * manual/message.texi (The Uniforum approach): Likewise.
41226         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41227         (glibc iconv Implementation): Likewise.
41229 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41231         [BZ #14337]
41232         * math/s_clog.c (__clog): Avoid scaling a value down where that
41233         could result in underflow.
41234         * math/s_clog10.c (__clog10): Likewise.
41235         * math/s_clog10f.c (__clog10f): Likewise.
41236         * math/s_clog10l.c (__clog10l): Likewise.
41237         * math/s_clogf.c (__clogf): Likewise.
41238         * math/s_clogl.c (__clogl): Likewise.
41239         * math/libm-test.inc (clog_test): Add more tests.
41240         (clog10_test): Likewise.
41241         * sysdeps/i386/fpu/libm-test-ulps: Update.
41242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41246         [BZ #14283]
41247         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41248         by 7 not 8 to examine high bit of fractional part.
41250         [BZ #14042]
41251         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41252         for call to __mcount_internal.
41253         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41254         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41255         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41257 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41259         [BZ #14154]
41260         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41261         approximation for values within 0x1p-13f of an odd multiple of
41262         pi/4.
41263         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41264         exception.  Add more tests.
41265         * sysdeps/i386/fpu/libm-test-ulps: Update.
41267         [BZ #6778]
41268         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41269         inputs and return -1 for them.  Do not check for +Inf in case not
41270         reachable for +Inf.
41271         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41272         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41273         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41274         and return -1 for them.  Do not check for +Inf in case not
41275         reachable for +Inf.
41276         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41277         define.
41278         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41279         and return -1 for them.  Do not check for +Inf in case not
41280         reachable for +Inf.
41281         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41282         spurious underflow.
41283         * sysdeps/i386/fpu/libm-test-ulps: Update.
41284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41286 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41288         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41290 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41292         [BZ #14157]
41293         [BZ #14331]
41294         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41295         could result in spurious underflow.  Scale down values above
41296         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41297         * math/s_csqrtf.c (__csqrtf): Likewise.
41298         * math/s_csqrtl.c (__csqrtl): Likewise.
41299         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41300         spurious underflow.
41301         * sysdeps/i386/fpu/libm-test-ulps: Update.
41302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41304 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41306         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41307         xopen-msg.sed.
41308         * catgets/xopen-msg.awk: New file.
41309         * catgets/xopen-msg.sed: Removed.
41311         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41312         po2text.sed.
41313         * intl/po2test.awk: New file.
41314         * intl/po2test.sed: Removed.
41316 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41318         [BZ #14328]
41319         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41320         or multiply small sinh result by itself.
41321         * math/s_ctanf.c (__ctanf): Likewise.
41322         * math/s_ctanh.c (__ctanh): Likewise.
41323         * math/s_ctanhf.c (__ctanhf): Likewise.
41324         * math/s_ctanhl.c (__ctanhl): Likewise.
41325         * math/s_ctanl.c (__ctanl): Likewise.
41326         * math/libm-test.inc (ctan_test_tonearest): New function.
41327         (ctan_test_towardzero): Likewise.
41328         (ctan_test_downward): Likewise.
41329         (ctan_test_upward): Likewise.
41330         (ctanh_test_tonearest): Likewise.
41331         (ctanh_test_towardzero): Likewise.
41332         (ctanh_test_downward): Likewise.
41333         (ctanh_test_upward): Likewise.
41334         (main): Call these new functions.
41335         * sysdeps/i386/fpu/libm-test-ulps: Update.
41336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41338 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41340         * .gitignore: Delete /ports entry.
41342 2012-07-03  Andreas Jaeger  <aj@suse.de>
41344         * po/bg.po: Update from translation team.
41345         * po/cs.po: Likewise.
41346         * po/de.po: Likewise.
41347         * po/hr.po: Likewise.
41348         * po/nl.pl: Likewise.
41349         * po/pl.po: Likewise.
41350         * po/vi.po: Likewise.
41352 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41354         * Makeconfig [!+link] (+link-before-libc): New variable.
41355         [!+link] (+link-after-libc): Likewise.
41356         [!+link] (+link-tests): Likewise.
41357         [!+link] (+link): Define in terms of $(+link-before-libc) and
41358         $(+link-after-libc).
41359         [!+link-static] (+link-static-before-libc): New variable.
41360         [!+link-static] (+link-static-after-libc): Likewise.
41361         [!+link-static] (+link-static-tests): Likewise.
41362         [!+link-static] (+link-static): Define in terms of
41363         $(+link-static-before-libc) and $(+link-static-after-libc).
41364         [build-shared] (link-libc-before-gnulib): New variable.
41365         [build-shared] (link-libc-tests): Likewise.
41366         [build-shared] (link-libc): Define in terms of
41367         $(link-libc-before-gnulib).
41368         [!build-shared] (link-libc-tests): New variable.
41369         (link-libc-static-tests): New variable.
41370         [!gnulib] (gnulib-arch): New variable.
41371         [!gnulib] (gnulib-tests): Likewise.
41372         [!gnulib] (static-gnulib-arch): Likewise.
41373         [!gnulib] (static-gnulib-tests): Likewise.
41374         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41375         Define with "=" instead of ":=".
41376         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41377         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41378         * Rules (binaries-all-notests): New variable.
41379         (binaries-all-tests): Likewise.
41380         (binaries-static-notests): Likewise.
41381         (binaries-static-tests): Likewise.
41382         (binaries-all): Define using $(binaries-all-notests) and
41383         $(binaries-all-tests).
41384         (binaries-static): Define using $(binaries-static-notests) and
41385         $(binaries-static-tests).
41386         (binaries-shared-tests): New variable.
41387         (binaries-shared-notests): Likewise.
41388         (binaries-shared): Remove variable.
41389         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41390         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41391         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41392         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41393         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41394         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41395         * elf/Makefile (sln-modules): New variable.
41396         (extra-objs): Add $(sln-modules:=.o).
41397         (ldconfig-modules): Add static-stubs.
41398         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41399         * elf/static-stubs.c: New file.
41401         [BZ #14283]
41402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41403         by 7 not 8 to examine high bit of fractional part.  Use volatile
41404         variables when splitting into final array of floats if
41405         __FLT_EVAL_METHOD__ != 0.
41406         * math/libm-test.inc (cos_test): Add another test.
41407         (sin_test): Likewise.
41408         * sysdeps/i386/fpu/libm-test-ulps: Update.
41410         [BZ #14273]
41411         * math/libm-test.inc (cosh_test): Add more tests.
41413         * version.h (RELEASE): Set to "development".
41414         (VERSION): Set to "2.16.90".
41416 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41418         * NEWS: Update copyright. Remove last-updated date.
41419         Mention math library bug fixes and timezone data changes.
41420         * README: Mention GNU/Hurd, x32, and HPPA support status.
41422 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41424         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41426 2012-06-27  Andreas Jaeger  <aj@suse.de>
41428         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41430 2012-06-25  Andreas Jaeger  <aj@suse.de>
41432         * sysdeps/s390/fpu/libm-test-ulps: Update.
41434 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41435             Thomas Schwinge  <thomas@codesourcery.com>
41437         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41438         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41440         fanotify_mark.
41442 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41444         * sysdeps/mach/start.c: Remove file.
41445         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41446         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41447         * sysdeps/sh/init-first.c: Likewise.
41449         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41450         registers for frame unwinding purposes, add CFI directives.
41451         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41452         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41453         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41454         Likewise.
41456         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41457         __fortify_fail returning.
41458         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41460         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41461         sysdeps/sh/____longjmp_chk.S.
41462         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41463         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41464         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41465         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41467         * sysdeps/sh/abort-instr.h: New file.
41468         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41469         process in case exit returns.
41471         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41472         initialize the GOT register before use.
41474         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41475         calculation of ARGC > 4.
41477         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41478         meaningful names to some local labels.
41480 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41481             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41483         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41484         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41485         (__arch_compare_and_exchange_val_16_acq): Likewise.
41486         (__arch_compare_and_exchange_val_32_acq): Likewise.
41487         (atomic_exchange_and_add): Fix gUSA sequence.
41488         (atomic_add): Likewise.
41489         (atomic_add_negative): Likewise.
41490         (atomic_add_zero): Likewise.
41491         (atomic_bit_test_set): Likewise.
41493 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41495         [BZ #13579]
41496         * include/link.h (struct link_map): Add l_free_initfini.
41497         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41498         l_initfini.
41499         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41500         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41501         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41502         set.
41504 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41506         * configure.in: Use AC_LANG_SOURCE.
41507         * configure: Regenerate.
41509 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41511         * configure.in (libc_cv_localstatedir): New substituted variable.
41512         * configure: Regenerated.
41513         * config.make.in (localstatedir): New variable, substituted from
41514         libc_cv_localstatedir.
41515         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41516         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41517         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41518         * sysdeps/gnu/configure: Regenerated.
41520 2012-06-21  Jeff Law  <law@redhat.com>
41522         [BZ #14277]
41523         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41524         free.  Simplify list management for _LIBC case.
41526 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41528         [BZ #14273]
41529         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41530         Clear sign bit of 64-bit integer value before comparing against
41531         overflow value.
41533         * sysdeps/mach/configure: Regenerated.
41535 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41537         [BZ #14278]
41538         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41540 2012-06-21  Jeff Law  <law@redhat.com>
41542         [BZ #13882]
41543         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41544         uint16_t for elements in the "seen" array to avoid char overflows.
41545         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41546         * elf/dl-open.c (dl_open_worker): Likewise.
41548 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41550         * scripts/list-sources.sh: Scan PORTS for translations.
41551         * po/libc.pot: Regenerated.
41553 2012-06-21  Andreas Jaeger  <aj@suse.de>
41555         [BZ #12194]
41556         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41557         warning.
41558         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41559         * bits/byteswap-16.h (__bswap_16): Likewise.
41560         * bits/byteswap.h (__bswap_constant_16): Likewise.
41562 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41564         [BZ #14117]
41565         * sysdeps/i386/fpu_control.h: Removed.
41566         * sysdeps/x86_64/fpu_control.h: Moved to ...
41567         * sysdeps/x86/fpu_control.h: Here.
41569         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41570         (_FPU_SETCW): Likewise.
41572 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41574         [BZ #14117]
41575         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41576         * sysdeps/x86/fpu/bits/mathinline.h: This.
41577         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41579         [BZ #14050]
41580         [BZ #14117]
41581         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41582         functions if __x86_64__ is defined.
41584 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41586         * string/endian.h: Add !__ASSEMBLER__ condition for including
41587         conversion interfaces.
41589 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41591         [BZ #14241]
41592         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41593         of ABS(x) in calculating zero to negative powers other than odd
41594         integers.
41595         * math/libm-test.inc (pow_test): Add more tests.
41597 2012-06-15  Andreas Jaeger  <aj@suse.de>
41599         * manual/contrib.texi (Contributors): Update entry of Liubov
41600         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41601         Machado Filho.
41603 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41605         * string/string.h: Add __wur to GNU version of strerror_r.
41607 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41609         [BZ #14229]
41610         * string/Makefile (tests): Add tst-strtok_r.
41611         * string/tst-strtok_r.c: New file.
41612         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41613         RAX_LP/RDX_LP on SAVE_PTR.
41615 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41617         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41619 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41621         * libm_test.inc (csqrt_test): Allow more spurious underflow
41622         exceptions.
41623         (j0_test): Likewise.
41624         (j1_test): Likewise.
41625         (y0_test): Likewise.
41626         (y1_test): Likewise.
41628 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41630         * po/Makefile (libc.pot): Use UTF-8 charset.
41632 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41634         [BZ #14210]
41635         Suppress sign-conversion warning from FD_SET.
41636         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41637         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41638         not unsigned long int.
41639         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41641 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41643         [BZ #14050]
41644         [BZ #14117]
41645         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41646         __extern_always_inline instead of __extern_inline.
41647         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41648         (__signbit): Likewise.
41649         (__signbitl): Support C++ namespace.
41650         (lrintf): New inline function.
41651         (lrint): Likewise.
41652         (llrintf): Likewise.
41653         (llrint): Likewise.
41654         (fmaxf): Likewise.
41655         (fmax): Likewise.
41656         (fminf): Likewise.
41657         (fmin): Likewise.
41658         (rint): Likewise.
41659         (rintf): Likewise.
41660         (ceil): Likewise.
41661         (ceilf): Likewise.
41662         (floor): Likewise.
41663         (floorf): Likewise.
41664         (nearbyint): Likewise.
41665         (nearbyintf): Likewise.
41667 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41669         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41670         non-default versions.
41672 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41674         [BZ #14218]
41675         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41677 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41679         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41680         (FE_UPWARD, FE_DOWNWARD): Don't define.
41681         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41682         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41684         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41685         reading it.
41686         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41687         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41689 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41691         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41692         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41693         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41694         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41696 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41698         [BZ #14117]
41699         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41700         * sysdeps/i386/fpu/Implies: New file.
41701         * sysdeps/x86_64/fpu/Implies: Likewise.
41702         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41703         * sysdeps/x86/fpu/bits/fenv.h: This.
41705         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41706         __SSE_MATH__.
41708 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41710         [BZ #14134]
41711         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41712         character 0xffff that matches the last element of the
41713         conversion table.
41715 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41717         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41718         fmodl commit.
41720 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41722         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41723         values higher than 25.6283.
41725 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41727         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41728         subnormal exponent extraction and add some __builtin_expect.
41729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41730         Fix for subnormal mantissa calculation.
41732 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41734         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41735         cpu2 is -1 and errno is not ENOSYS.
41737 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41739         [BZ #14117]
41740         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41741         * sysdeps/x86/bits/string.h: This.
41742         * sysdeps/x86_64/bits/string.h: Removed.
41744         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41745         if not compiling for x86-64, but compiling for >= i486.
41747         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41748         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41750         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41751         New macro from Linux kernel 3.4.0.
41752         (FP_XSTATE_MAGIC2): Likewise.
41753         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41754         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41755         (struct _fpx_sw_bytes): New struct.
41756         (struct _xsave_hdr): Likewise.
41757         (struct _ymmh_state): Likewise.
41758         (struct _xstate): Likewise.
41760         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41761         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41762         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41763         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41764         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41765         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41767         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41768         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41769         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41770         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41771         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41772         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41774 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41776         [BZ #13743]
41777         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41778         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41779         (sysdep_headers): Include sys/platform/ppc.h.
41780         * sysdeps/powerpc/test-gettimebase.c: Test for
41781         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41782         * manual/Makefile (appendices): Include platform.texi.
41783         * manual/contrib.texi (Contributors): Update @node pointers.
41784         * manual/maint.texi (Maintenance): Likewise.
41785         (Platform): New node.
41786         * manual/platform.texi: New file.  Document the new features.
41788 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41789             Jakub Jelinek  <jakub@redhat.com>
41791         [BZ #14188]
41792         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41793         where __builtin_expect is unavailable.
41795 2012-06-03  David S. Miller  <davem@davemloft.net>
41797         * stdlib/longlong.h: Updated from GCC.
41799 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41801         [BZ #14042]
41802         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41803         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41804         __mcount_internal.
41805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41806         (GLIBC_2.16): Likewise.
41808 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41810         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41812 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41815         (default-abi): New variable.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41817         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41818         variable.
41819         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41820         Likewise.
41821         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41822         Likewise.
41823         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41824         Likewise.
41826         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41827         definition.  Document in comment.
41829 2012-06-01  David S. Miller  <davem@davemloft.net>
41831         * stdlib/longlong.h: Updated from GCC.
41833 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41835         [BZ #14117]
41836         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41837         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41838         sys/debugreg.h sys/io.h here.
41839         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41840         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41841         sys/io.h.
41842         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41843         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41844         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41845         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41846         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41847         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41849         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41850         Define only if __x86_64__ is defined.
41852 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41854         [BZ #14048]
41855         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41856         Use int64_t for variable i.
41857         * math/libm-test.inc (fmod_test): Add more tests.
41859         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41860         z computation is not scheduled after fetestexcept.
41861         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41862         Use math_force_eval instead of asm to ensure calculation scheduled
41863         before exception test.
41864         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41865         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41867 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41869         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41870         computation is not scheduled after fetestexcept.
41872 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41874         [BZ #14117]
41875         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41876         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41878 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41880         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41881         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41883 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41885         [BZ #14117]
41886         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41887         <bits/wordsize.h>.
41888         (__WCHAR_MIN): Support __WORDSIZE == 64.
41889         (__WCHAR_MAX): Likewise.
41891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41892         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41894         [BZ #14183]
41895         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41896         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41898         [BZ #14117]
41899         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41900         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41902         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41903         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41905         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41906         Defined to 1 if __x86_64__ isn't defined.
41907         (_STAT_VER_LINUX_OLD): New.
41908         (st_atime): Remove duplicate.
41909         (st_mtime): Likewise.
41910         (st_ctime): Likewise.
41912 2012-05-31  David S. Miller  <davem@davemloft.net>
41914         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41915         entries.
41917 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41919         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41920         gen-libm-test.pl.
41922         [BZ #14132]
41923         * elf/dl-reloc.c: Include <_itoa.h>.
41924         (_dl_reloc_bad_type): Remove use of INTUSE.
41925         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41926         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41927         * stdio-common/psiginfo.c (psiginfo): Likewise.
41928         * stdio-common/psignal.c (psignal): Likewise.
41929         * string/strsignal.c (strsignal): Likewise.
41930         * include/signal.h (_sys_siglist): Declare hidden proto.
41931         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41932         INTVARDEF with libc_hidden_data_def.
41933         * stdio-common/itoa-udigits.c: Likewise.
41934         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41935         (_itoa_lower_digits_internal): Remove declaration.
41936         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41937         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41938         (_sys_sigabbrev_internal): Remove aliases.
41939         (_sys_siglist): Define hidden alias.
41941 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41943         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41944         bits/sysctl.h.
41946 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41948         [BZ #14117]
41949         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41950         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41952         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41953         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41954         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41955         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41956         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41957         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41959         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41960         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41961         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41963         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41964         with __addr.
41965         (insw): Likewise.
41966         (insl): Likewise.
41967         (outsb): Likewise.
41968         (outsw): Likewise.
41969         (outsl): Likewise.
41971         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41972         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41973         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41975         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41976         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41977         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41978         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41979         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41980         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41982         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41983         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41985         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41986         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41988         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41989         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41990         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41992         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41993         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41994         to ...
41995         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41997         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41998         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41999         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42001         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42002         for x86-64.
42003         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42005 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
42007         * math/math.h (M_El): Use two more decimal places.
42008         (M_LOG2El): Likewise.
42009         (M_LOG10El): Likewise.
42010         (M_LN2l): Likewise.
42011         (M_LN10l): Likewise.
42012         (M_PIl): Likewise.
42013         (M_PI_2l): Likewise.
42014         (M_PI_4l): Likewise.
42015         (M_1_PIl): Likewise.
42016         (M_2_PIl): Likewise.
42017         (M_2_SQRTPIl): Likewise.
42018         (M_SQRT2l): Likewise.
42019         (M_SQRT1_2l): Likewise.
42021 2012-05-31  David S. Miller  <davem@davemloft.net>
42023         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42024         values between float registers.
42025         * sysdeps/sparc/sparc64/memset.S: Likewise.
42026         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42028 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42030         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42031         -D_FORTIFY_SOURCE=1.
42032         (CPPFLAGS-tst-longjmp_chk.c): Define.
42033         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42034         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42035         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42036         CFLAGS-tst-wchar-h.c.
42038 2012-05-31  Marek Polacek  <polacek@redhat.com>
42040         [BZ #14132]
42041         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42042         __endmntent_internal): Remove declaration.
42043         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42044         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42045         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42047 2012-05-30  David S. Miller  <davem@davemloft.net>
42049         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42050         (___Q_simulate_exceptions): Use real FP ops rather than writing
42051         into the %fsr.
42052         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42053         Likewise.
42055 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42057         [BZ #14117]
42058         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42059         * sysdeps/x86/bits/xtitypes.h: This.
42061         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42062         * sysdeps/x86/bits/wordsize.h: This.
42064         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42065         * sysdeps/x86/bits/huge_vall.h: This.
42067         * sysdeps/i386/bits/select.h: Removed.
42068         * sysdeps/x86_64/bits/select.h: Renamed to ...
42069         * sysdeps/x86/bits/select.h: This.
42071         * sysdeps/i386/bits/setjmp.h: Removed.
42072         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42073         * sysdeps/x86/bits/setjmp.h: This.
42075         * sysdeps/i386/bits/mathdef.h: Removed.
42076         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42077         * sysdeps/x86/bits/mathdef.h: This.
42079 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42081         [BZ #14132]
42082         * include/sys/socket.h (__connect_internal)
42083         (__libc_sa_len_internal): Remove declaration.
42084         (__connect, __libc_sa_len): Declare hidden_proto.
42085         (SA_LEN): Remove use of INTUSE.
42086         * socket/connect.c: Add libc_hidden_def.
42087         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42088         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42089         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42090         alias.
42091         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42092         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42093         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42094         of adding _internal alias.
42096 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42098         [BZ #14117]
42099         * sysdeps/i386/bits/link.h: Removed.
42100         * sysdeps/i386/bits/linkmap.h: Likewise.
42101         * sysdeps/x86_64/bits/link.h: Renamed to ...
42102         * sysdeps/x86/bits/link.h: This.
42103         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42104         * sysdeps/x86/bits/linkmap.h: This.
42106         * sysdeps/i386/bits/endian.h: Removed.
42107         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42108         * sysdeps/x86/bits/endian.h: This.
42110         * sysdeps/i386/bits/byteswap.h: Removed.
42111         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42112         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42113         * sysdeps/x86/bits/byteswap.h: This.
42114         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42115         * sysdeps/x86/bits/byteswap-16.h: This.
42116         * sysdeps/i386/Implies: Add x86.
42117         * sysdeps/x86_64/Implies: Likewise.
42119 2012-05-30  David S. Miller  <davem@davemloft.net>
42121         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42122         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42123         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42124         (FP_TRAPPING_EXCEPTIONS): Define.
42125         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42126         (FP_TRAPPING_EXCEPTIONS): Define.
42127         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42128         subnormals only when inexact has been signalled or underflow
42129         exceptions are enabled.
42130         (_FP_PACK_CANONICAL): Likewise.
42132 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42134         [BZ #14183]
42135         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42136         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42138 2012-05-30  Richard Henderson  <rth@twiddle.net>
42140         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42141         with #ifndef NOT_IN_libc.
42143         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42144         marked to avoid plt entry.
42146 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42148         [BZ #14112]
42149         * Makeconfig (default-abi): New macro.
42150         (abi-includes): Likewise.
42151         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42152         $(abi-$(default-abi)-lib-soname) for soname if defined.
42153         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42154         abi-variants.
42155         * Makefile (installed-stubs): Likewise.
42156         * include/stubs-biarch.h: Removed.
42157         * scripts/lib-names.awk: Only handle one library at a time.
42158         * scripts/soversions.awk: Remove WORDSIZE support.
42159         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42160         entries.
42161         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42162         Removed.
42163         (syscall-list-default-condition): Likewise.
42164         (syscall-list-default-condition): Likewise.
42165         (syscall-list-includes): Likewise.
42166         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42167         syscall-list-* with abi-*.  Handle undefined abi-variants.
42168         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42169         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42170         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42171         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42172         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42173         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42174         Removed.
42175         (syscall-list-32-options): Likewise.
42176         (syscall-list-32-condition): Likewise.
42177         (syscall-list-64-options): Likewise.
42178         (syscall-list-64-condition): Likewise.
42179         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42180         macro.
42181         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42182         Renamed to ...
42183         (abi-*): This.
42184         (abi-64-ld-soname): New macro.
42185         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42186         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42187         Renamed to ...
42188         (abi-*): This.
42189         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42190         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42192 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42194         * sysdeps/unix/sysv/linux/kernel-features.h
42195         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42196         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42197         include <kernel-features.h>.
42198         [!__NR_ftruncate64]: Remove conditional code.
42199         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42200         [__NR_ftruncate64]: Make code unconditional.
42201         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42202         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42203         include <kernel-features.h>.
42204         [!__NR_ftruncate64]: Remove conditional code.
42205         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42206         [__NR_ftruncate64]: Make code unconditional.
42207         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42209         include <kernel-features.h>.
42210         [!__NR_ftruncate64]: Remove conditional code.
42211         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42212         [__NR_ftruncate64]: Make code unconditional.
42213         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42215         include <kernel-features.h>.
42216         [!__NR_ftruncate64]: Remove conditional code.
42217         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42218         [__NR_ftruncate64]: Make code unconditional.
42219         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42221         * configure.in (libc_cv_fpie): Weaken to a compile test using
42222         LIBC_TRY_CC_OPTION.
42223         * configure: Regenerated.
42225 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42229         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42231         Refreshed.
42232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42233         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42234         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42238         Refreshed.
42240 2012-05-27  David S. Miller  <davem@davemloft.net>
42242         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42243         (___Q_zero): New.
42244         (__Q_simulate_exceptions): Return void.  Change to simulate
42245         exceptions by writing into the %fsr.
42246         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42247         (__Qp_handle_exceptions): Likewise.
42248         (numbers): Delete.
42249         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42250         __Qp_handle_exceptions.
42251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42252         __Qp_handle_exceptions.
42253         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42254         as unused and give dummy FP_RND_NEAREST initializer.
42255         (FP_INHIBIT_RESULTS): Define.
42256         (___Q_simulate_exceptions): Update declaration.
42257         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42258         formatting.
42259         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42260         as unused and give dummy FP_RND_NEAREST initializer.
42261         (__Qp_handle_exceptions): Update declaration.
42262         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42263         formatting.
42265 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42267         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42268         the temporary FPU control word.
42269         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42270         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42271         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42272         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42273         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42274         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42275         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42276         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42277         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42278         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42279         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42281 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42283         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42284         fields.
42286 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42288         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42289         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42290         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42291         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42292         Likewise.
42293         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42294         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42295         Likewise.
42297 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42299         * po/h.po: Update from translation team.
42301 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42303         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42305         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42306         handling of denormals.
42307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42308         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42309         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42310         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42312         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42314         Likewise.
42316 2012-05-26  Marek Polacek  <polacek@redhat.com>
42318         [BZ #14152]
42319         * math/libm-test.inc (fma_test): Don't always expect underflow
42320         exception.
42322 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42324         [BZ #12416]
42325         * elf/tst-execstack.c: Include stackinfo.h.
42326         (do_test): Adjust test case to ensure that pthread_getattr_np
42327         behaviour remains the same after marking stack executable.
42329 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42331         * sysdeps/unix/sysv/linux/kernel-features.h
42332         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42333         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42334         kernel-features.h.
42335         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42336         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42337         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42338         kernel-features.h.
42339         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42340         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42342 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42344         * configure.in: Define the default includes to being none.
42345         * configure: Regenerated.
42347 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42349         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42350         * sysdeps/x86_64/setjmp.S: Likewise.
42351         * sysdeps/i386/bsd-setjmp.S: Likewise.
42352         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42353         * sysdeps/i386/setjmp.S: Likewise.
42354         * sysdeps/i386/__longjmp.S: Likewise.
42355         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42356         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42358         * include/stap-probe.h: New file.
42359         * configure.in: Handle --enable-systemtap.
42360         * configure: Regenerated.
42361         * config.h.in (USE_STAP_PROBE): New #undef.
42362         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42363         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42364         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42366 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42368         [BZ #13717]
42369         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42370         to 2.4.0 where earlier.
42371         * sysdeps/unix/sysv/linux/configure: Regenerated.
42372         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42373         <kernel-features.h>.
42374         [__ASSUME_32BITUIDS]: Make code unconditional.
42375         [!__ASSUME_32BITUIDS]: Remove conditional code.
42376         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42377         <kernel-features.h>.
42378         [__ASSUME_32BITUIDS]: Make code unconditional.
42379         [!__ASSUME_32BITUIDS]: Remove conditional code.
42380         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42381         [__ASSUME_32BITUIDS]: Make code unconditional.
42382         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42383         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42384         <kernel-features.h>.
42385         [__ASSUME_32BITUIDS]: Make code unconditional.
42386         [!__ASSUME_32BITUIDS]: Remove conditional code.
42387         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42388         <kernel-features.h>.
42389         [__ASSUME_32BITUIDS]: Make code unconditional.
42390         [!__ASSUME_32BITUIDS]: Remove conditional code.
42391         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42392         <kernel-features.h>.
42393         [__ASSUME_32BITUIDS]: Make code unconditional.
42394         [!__ASSUME_32BITUIDS]: Remove conditional code.
42395         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42396         <kernel-features.h>.
42397         [__ASSUME_32BITUIDS]: Make code unconditional.
42398         [!__ASSUME_32BITUIDS]: Remove conditional code.
42399         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42400         <kernel-features.h>.
42401         [__ASSUME_32BITUIDS]: Make code unconditional.
42402         [!__ASSUME_32BITUIDS]: Remove conditional code.
42403         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42404         <kernel-features.h>.
42405         [__ASSUME_32BITUIDS]: Make code unconditional.
42406         [!__ASSUME_32BITUIDS]: Remove conditional code.
42407         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42408         <kernel-features.h>.
42409         [__ASSUME_32BITUIDS]: Make code unconditional.
42410         [!__ASSUME_32BITUIDS]: Remove conditional code.
42411         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42412         <kernel-features.h>.
42413         [__ASSUME_32BITUIDS]: Make code unconditional.
42414         [!__ASSUME_32BITUIDS]: Remove conditional code.
42415         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42416         <kernel-features.h>.
42417         [__ASSUME_32BITUIDS]: Make code unconditional.
42418         [!__ASSUME_32BITUIDS]: Remove conditional code.
42419         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42420         <kernel-features.h>.
42421         [__ASSUME_32BITUIDS]: Make code unconditional.
42422         [!__ASSUME_32BITUIDS]: Remove conditional code.
42423         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42424         <kernel-features.h>.
42425         [__NR_setresgid] (__setresgid): Do not declare.
42426         [__ASSUME_32BITUIDS]: Make code unconditional.
42427         [!__ASSUME_32BITUIDS]: Remove conditional code.
42428         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42429         <kernel-features.h>.
42430         [__NR_setresuid] (__setresuid): Do not declare.
42431         [__ASSUME_32BITUIDS]: Make code unconditional.
42432         [!__ASSUME_32BITUIDS]: Remove conditional code.
42433         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42434         <kernel-features.h>.
42435         [__ASSUME_32BITUIDS]: Make code unconditional.
42436         [!__ASSUME_32BITUIDS]: Remove conditional code.
42437         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42438         <kernel-features.h>.
42439         [__ASSUME_32BITUIDS]: Make code unconditional.
42440         [!__ASSUME_32BITUIDS]: Remove conditional code.
42441         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42442         <kernel-features.h>.
42443         [__ASSUME_32BITUIDS]: Make code unconditional.
42444         [!__ASSUME_32BITUIDS]: Remove conditional code.
42445         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42446         <kernel-features.h>.
42447         [__ASSUME_32BITUIDS]: Make code unconditional.
42448         [!__ASSUME_32BITUIDS]: Remove conditional code.
42449         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42450         <kernel-features.h>.
42451         [__ASSUME_32BITUIDS]: Make code unconditional.
42452         [!__ASSUME_32BITUIDS]: Remove conditional code.
42453         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42454         <kernel-features.h>.
42455         [__ASSUME_32BITUIDS]: Make code unconditional.
42456         [!__ASSUME_32BITUIDS]: Remove conditional code.
42457         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42458         <kernel-features.h>.
42459         [__ASSUME_32BITUIDS]: Make code unconditional.
42460         [!__ASSUME_32BITUIDS]: Remove conditional code.
42461         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42462         <kernel-features.h>.
42463         [__ASSUME_32BITUIDS]: Make code unconditional.
42464         [!__ASSUME_32BITUIDS]: Remove conditional code.
42465         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42466         <kernel-features.h>.
42467         [__ASSUME_32BITUIDS]: Make code unconditional.
42468         [!__ASSUME_32BITUIDS]: Remove conditional code.
42469         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42470         <kernel-features.h>.
42471         [__ASSUME_32BITUIDS]: Make code unconditional.
42472         [!__ASSUME_32BITUIDS]: Remove conditional code.
42473         * sysdeps/unix/sysv/linux/kernel-features.h
42474         (__ASSUME_SETRESUID_SYSCALL): Remove.
42475         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42476         (__ASSUME_32BITUIDS): Likewise.
42477         (__ASSUME_LDT_WORKS): Likewise.
42478         (__ASSUME_O_DIRECTORY): Likewise.
42479         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42480         architecture but not kernel version.
42481         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42482         (__ASSUME_MMAP2_SYSCALL): Likewise.
42483         (__ASSUME_STAT64_SYSCALL): Likewise.
42484         (__ASSUME_IPC64): Likewise.
42485         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42486         <kernel-features.h>.
42487         [__ASSUME_32BITUIDS]: Make code unconditional.
42488         [!__ASSUME_32BITUIDS]: Remove conditional code.
42489         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42490         <kernel-features.h>.
42491         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42492         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42493         132096]: Remove conditional code.
42494         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42495         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42496         <kernel-features.h>.
42497         [__ASSUME_32BITUIDS]: Make code unconditional.
42498         [!__ASSUME_32BITUIDS]: Remove conditional code.
42499         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42500         <kernel-features.h>.
42501         [__ASSUME_32BITUIDS]: Make code unconditional.
42502         [!__ASSUME_32BITUIDS]: Remove conditional code.
42503         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42504         <kernel-features.h>.
42505         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42506         unconditional.
42507         (__setresgid): Do not declare.
42508         [__ASSUME_32BITUIDS]: Make code unconditional.
42509         [!__ASSUME_32BITUIDS]: Remove conditional code.
42510         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42511         <kernel-features.h>.
42512         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42513         unconditional.
42514         (__setresuid): Do not declare.
42515         [__ASSUME_32BITUIDS]: Make code unconditional.
42516         [!__ASSUME_32BITUIDS]: Remove conditional code.
42517         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42518         <kernel-features.h>.
42519         [__ASSUME_32BITUIDS]: Make code unconditional.
42520         [!__ASSUME_32BITUIDS]: Remove conditional code.
42521         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42522         <kernel-features.h>.
42523         [__ASSUME_32BITUIDS]: Make code unconditional.
42524         [!__ASSUME_32BITUIDS]: Remove conditional code.
42526 2012-05-25  Richard Henderson  <rth@twiddle.net>
42528         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42529         dl_hwcap to ifunc resolver.
42530         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42531         elf_ifunc_invoke.
42532         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42533         dl_hwcap to ifunc resolver.
42534         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42536 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42538         [BZ #14153]
42539         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42540         for |x| <= 2**-26, not 2**-57.
42541         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42542         exception.
42544 2012-05-24  Jeff Law  <law@redhat.com>
42546         * stdio-common/Makefile (tests): Add bug25.
42547         * stdio-common/bug25.c: New test.
42549 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42551         [BZ #13576]
42552         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42553         multiple of MALLOC_ALIGNMENT in size.
42554         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42556 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42558         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42559         Require >= 256.
42560         (FILENAME_MAX): Use macro-int-constant.
42561         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42562         (_IOFBF): Use macro-int-constant.
42563         (_IOLBF): Likewise.
42564         (_IONBF): Likewise.
42565         (SEEK_CUR): Likewise.
42566         (SEEK_END): Likewise.
42567         (SEEK_SET): Likewise.
42568         (TMP_MAX): Likewise.
42569         (EOF): Use macro-int-constant.  Require < 0.
42570         (NULL): Use macro-constant.  Require == 0.
42571         (stdin): Require type to be FILE *.
42572         (stdout): Likewise.
42573         (stderr): Likewise.
42574         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42575         macro-int-constant.
42576         (EXIT_SUCCESS): Likewise.
42577         (NULL): Use macro-constant.  Require == 0.
42578         (RAND_MAX): Use macro-int-constant.
42579         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42580         [C99-based standards] (strtof): Require function.
42581         [C99-based standards] (strtold): Likewise.
42582         [C99-based standards] (strtoll): Likewise.
42583         [C99-based standards] (strtoull): Likewise.
42584         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42585         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42586         [ISO || ISO99 || ISO11] (math.h): Likewise.
42587         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42588         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42589         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42591 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42593         [BZ #14132]
42594         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42595         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42596         * intl/dgettext.c (DCGETTEXT): Likewise.
42597         * intl/gettext.c (DCGETTEXT): Likewise.
42598         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42599         * posix/regex_internal.h (gettext): Likewise.
42600         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42601         Remove declaration.
42602         * include/argz.h (__argz_count_internal)
42603         (__argz_stringify_internal): Remove declaration.
42604         (__argz_count, __argz_stringify): Declare hidden proto.
42605         * intl/dcgettext.c: Remove use of INTDEF.
42606         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42607         * string/argz-stringify.c: Likewise.
42608         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42609         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42610         Declare hidden proto.
42611         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42612         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42613         Declare hidden proto.
42614         * include/stdio.h (__asprintf_internal): Don't declare.
42615         (__asprintf): Don't define as macro.  Declare hidden proto.
42616         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42617         (__fsetlocking): Declare hidden proto.
42618         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42619         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42620         hidden proto.
42621         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42622         (_IO_setlinebuf): Remove use of INTUSE.
42623         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42624         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42625         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42626         Remove declaration.
42627         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42628         (_IO_do_flush): Remove use of INTUSE.
42629         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42630         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42631         (_IO_adjust_column, _IO_least_wmarker)
42632         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42633         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42634         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42635         (_IO_default_doallocate, _IO_wdefault_doallocate)
42636         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42637         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42638         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42639         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42640         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42641         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42642         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42643         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42644         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42645         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42646         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42647         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42648         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42649         proto.
42650         (_IO_flush_all_internal, _IO_adjust_column_internal)
42651         (_IO_default_uflow_internal, _IO_default_finish_internal)
42652         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42653         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42654         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42655         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42656         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42657         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42658         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42659         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42660         (_IO_file_close_internal, _IO_file_close_it_internal)
42661         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42662         (_IO_file_init_internal, _IO_file_attach_internal)
42663         (_IO_file_fopen_internal, _IO_file_read_internal)
42664         (_IO_file_sync_internal, _IO_file_seek_internal)
42665         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42666         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42667         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42668         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42669         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42670         (_IO_list_all_internal, _IO_link_in_internal)
42671         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42672         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42673         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42674         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42675         (_IO_do_write_internal, _IO_padn_internal)
42676         (_IO_getline_info_internal, _IO_getline_internal)
42677         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42678         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42679         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42680         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42681         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42682         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42683         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42684         with libc_hidden_ver, remove use of INTUSE.
42685         * libio/genops.c: Likewise.
42686         * libio/freopen.c: Likewise.
42687         * libio/freopen64.c: Likewise.
42688         * libio/iofclose.c: Likewise.
42689         * libio/iofdopen.c: Likewise.
42690         * libio/iofflush.c: Likewise.
42691         * libio/iofflush_u.c: Likewise.
42692         * libio/iofgets.c: Likewise.
42693         * libio/iofgets_u.c: Likewise.
42694         * libio/iofopen.c: Likewise.
42695         * libio/iofopncook.c: Likewise.
42696         * libio/iofread.c: Likewise.
42697         * libio/iofread_u.c: Likewise.
42698         * libio/ioftell.c: Likewise.
42699         * libio/iofwrite.c: Likewise.
42700         * libio/iogetline.c: Likewise.
42701         * libio/iogets.c: Likewise.
42702         * libio/iogetwline.c: Likewise.
42703         * libio/iopadn.c: Likewise.
42704         * libio/iopopen.c: Likewise.
42705         * libio/ioseekoff.c: Likewise.
42706         * libio/ioseekpos.c: Likewise.
42707         * libio/iosetbuffer.c: Likewise.
42708         * libio/iosetvbuf.c: Likewise.
42709         * libio/ioungetc.c: Likewise.
42710         * libio/ioungetwc.c: Likewise.
42711         * libio/iovdprintf.c: Likewise.
42712         * libio/iovsprintf.c: Likewise.
42713         * libio/iovsscanf.c: Likewise.
42714         * libio/memstream.c: Likewise.
42715         * libio/obprintf.c: Likewise.
42716         * libio/oldfileops.c: Likewise.
42717         * libio/oldiofclose.c: Likewise.
42718         * libio/oldiofdopen.c: Likewise.
42719         * libio/oldiofopen.c: Likewise.
42720         * libio/oldiopopen.c: Likewise.
42721         * libio/oldstdfiles.c: Likewise.
42722         * libio/putc.c: Likewise.
42723         * libio/setbuf.c: Likewise.
42724         * libio/setlinebuf.c: Likewise.
42725         * libio/stdfiles.c: Likewise.
42726         * libio/strops.c: Likewise.
42727         * libio/vasprintf.c: Likewise.
42728         * libio/vscanf.c: Likewise.
42729         * libio/vsnprintf.c: Likewise.
42730         * libio/vswprintf.c: Likewise.
42731         * libio/wfiledoalloc.c: Likewise.
42732         * libio/wfileops.c: Likewise.
42733         * libio/wgenops.c: Likewise.
42734         * libio/wmemstream.c: Likewise.
42735         * libio/wstrops.c: Likewise.
42736         * libio/__fpurge.c: Likewise.
42737         * libio/__fsetlocking.c: Likewise.
42738         * assert/assert.c: Likewise.
42739         * debug/fgets_chk.c: Likewise.
42740         * debug/fgets_u_chk.c: Likewise.
42741         * debug/fread_chk.c: Likewise.
42742         * debug/fread_u_chk.c: Likewise.
42743         * debug/gets_chk.c: Likewise.
42744         * debug/obprintf_chk.c: Likewise.
42745         * debug/vasprintf_chk.c: Likewise.
42746         * debug/vdprintf_chk.c: Likewise.
42747         * debug/vsnprintf_chk.c: Likewise.
42748         * debug/vsprintf_chk.c: Likewise.
42749         * malloc/mtrace.c: Likewise.
42750         * misc/error.c: Likewise.
42751         * misc/syslog.c: Likewise.
42752         * stdio-common/asprintf.c: Likewise.
42753         * stdio-common/fxprintf.c: Likewise.
42754         * stdio-common/getw.c: Likewise.
42755         * stdio-common/isoc99_fscanf.c: Likewise.
42756         * stdio-common/isoc99_scanf.c: Likewise.
42757         * stdio-common/isoc99_vfscanf.c: Likewise.
42758         * stdio-common/isoc99_vscanf.c: Likewise.
42759         * stdio-common/isoc99_vsscanf.c: Likewise.
42760         * stdio-common/printf-prs.c: Likewise.
42761         * stdio-common/printf_fp.c: Likewise.
42762         * stdio-common/printf_fphex.c: Likewise.
42763         * stdio-common/printf_size.c: Likewise.
42764         * stdio-common/putw.c: Likewise.
42765         * stdio-common/scanf.c: Likewise.
42766         * stdio-common/sprintf.c: Likewise.
42767         * stdio-common/tmpfile.c: Likewise.
42768         * stdio-common/vfprintf.c: Likewise.
42769         * stdio-common/vfscanf.c: Likewise.
42770         * stdlib/strfmon_l.c: Likewise.
42771         * sunrpc/openchild.c: Likewise.
42772         * sunrpc/xdr_stdio.c: Likewise.
42773         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42774         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42776 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42778         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42780         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42781         in the third column, to generate for the shared library an IFUNC
42782         that uses _dl_vdso_vsym.
42783         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42784         * Makeconfig (object-suffixes-noshared): New variable.
42786         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42787         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42788         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42789         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42791         [BZ #14132]
42792         * include/sys/time.h (__gettimeofday): Remove macro.
42793         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42794         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42795         Remove INTDEF.
42796         (__gettimeofday): Add libc_hidden_def.
42797         (gettimeofday): Add libc_hidden_weak.
42798         * sysdeps/mach/gettimeofday.c: Likewise.
42799         * sysdeps/posix/gettimeofday.c: Likewise.
42800         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42801         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42803         (__gettimeofday_internal): Remove strong_alias.
42804         (__gettimeofday): Add libc_hidden_def.
42805         (gettimeofday): Add libc_hidden_weak.
42806         * sysdeps/unix/syscalls.list (gettimeofday):
42807         Remove __gettimeofday_internal alias.
42809 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42810             H.J. Lu  <hongjiu.lu@intel.com>
42812         [BZ #12495]
42813         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42814         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42815         (largebin_index_32_big): New.
42816         (largebin_index): Use it for 16-byte alignment.
42817         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42818         correction with front_misalign.
42820 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42824         Likewise.
42825         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42826         Likewise.
42827         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42828         Likewise.
42829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42830         Likewise.
42831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42832         Likewise.
42833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42834         Likewise.
42835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42836         Likewise.
42837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42838         Likewise.
42839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42840         Likewise.
42841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42842         Likewise.
42843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42844         Likewise.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42846         Likewise.
42848         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42849         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42851 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42853         [BZ #10846]
42854         [BZ #14036]
42855         * math/libm-test.inc (exp_test): Add test from bug 14036.
42856         (pow_test): Add test from bug 10846.
42858         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42859         and other flags.
42860         (special_function): Do not include flags in test name.
42861         (parse_args): Likewise.
42862         * sysdeps/i386/fpu/libm-test-ulps: Update.
42863         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42864         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42865         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42868         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42869         exceptions.
42870         * math/libm-test.inc ("Philosophy"): Update comment about
42871         exception testing.
42872         (UNDERFLOW_EXCEPTION): New macro.
42873         (UNDERFLOW_EXCEPTION_OK): Likewise.
42874         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42875         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42876         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42877         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42878         (INVALID_EXCEPTION_OK): Update value.
42879         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42880         (OVERFLOW_EXCEPTION_OK): Likewise.
42881         (IGNORE_ZERO_INF_SIGN): Likewise.
42882         (test_exceptions): Handle underflow exceptions.
42883         (acos_test): Update for underflow exception expectations.
42884         (cexp_test): Likewise.
42885         (clog_test): Likewise.
42886         (clog10_test): Likewise.
42887         (csqrt_test): Likewise.
42888         (ctan_test): Likewise.
42889         (ctanh_test): Likewise.
42890         (exp_test): Likewise.
42891         (exp10_test): Likewise.
42892         (exp2_test): Likewise.
42893         (expm1_test): Likewise.
42894         (fma_test): Likewise.
42895         (j0_test): Likewise.
42896         (jn_test): Likewise.
42897         (nexttoward_test): Likewise.
42898         (pow_test): Likewise.
42899         (scalbn_test): Likewise.
42900         (scalbln_test): Likewise.
42901         (tan_test): Likewise.
42902         (y1_test): Likewise.
42903         * sysdeps/i386/fpu/libm-test-ulps: Update.
42904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42906 2012-05-23  David S. Miller  <davem@davemloft.net>
42908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42909         (__libc_sigaction): Remove unused local variables.
42911 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42913         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42915 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42917         mktime: avoid signed integer overflow
42918         * time/mktime.c (__mktime_internal): Do not mishandle the case
42919         where diff == INT_MIN.
42921         mktime: simplify computation of average
42922         * time/mktime.c (ranged_convert): Use new time_t_avg function
42923         instead of rolling our own (probably-slower) code.
42925         mktime: do not assume signed right shift propagates sign bit
42926         * time/mktime.c (isdst_differ): New static function.
42927         (__mktime_internal): No need to normalize tm_isdst now.
42928         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42929         tm_isdst values.
42931         mktime: merge another wrapv change from gnulib
42932         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42933         from some compilers.
42935         mktime: remove incorrect attempt at unusual arithmetics
42936         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42937         The code didn't really work on such machines anyway.
42938         (TYPE_MINIMUM): Assume two's complement.
42939         (twos_complement_arithmetic): Verify that long_int and time_t
42940         are two's complement (or unsigned, in the latter case).
42942         mktime: check signed shifts on long_int and time_t, too
42943         * time/mktime.c (SHR): Check that shifts work as desired
42944         on the types long_int and time_t too, as SHR is used on
42945         such types.
42947         mktime: do not assume 'long' is wide enough
42948         * time/mktime.c (verify): Move decl up.
42949         (long_int): New type.
42950         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42951         to remove assumption in the code that 'long' is wide enough to
42952         store year values.  This assumption is not true on x32 and on
42953         some non-glibc platforms.
42955         mktime: merge wrapv change from gnulib
42956         * time/mktime.c (WRAPV): New macro.
42957         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42958         (guess_time_tm, __mktime_internal): Do not assume that signed
42959         integer overflow wraps around; modern compilers generate code
42960         where this assumption is no longer valid.
42962 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42964         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42965         Replace "jmp L(pseudo_end)" with "ret".
42966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42967         Likewise.
42969 2012-05-23  Andreas Jaeger  <aj@suse.de>
42971         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42972         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42974 2012-05-23  Andreas Jaeger  <aj@suse.de>
42975             Maximilian Attems  <max@stro.at>
42977         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42978         New macros.
42980 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42982         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42983         code so that pseudo_end is just ret and the stack pointer is
42984         correct also for static library in error case.
42986 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42988         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42989         move to syscalls.list.
42990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42995         * manual/install.texi (Running make install): Do not mention Linux
42996         kernel version for which pt_chown is not needed.
42997         (Linux): Do not mention problems with nscd with 2.0 kernels.
42998         * INSTALL: Regenerated.
43000 2012-05-23  Andreas Jaeger  <aj@suse.de>
43002         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43003         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43004         macro.
43005         * sysdeps/unix/sysv/linux/s390/bits/mman.h
43006         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43007         * sysdeps/unix/sysv/linux/sh/bits/mman.h
43008         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43009         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43010         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43011         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43012         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43013         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43014         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43015         * sysdeps/unix/sysv/linux/bits/in.h
43016         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43018 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43020         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43021         (PREPARE_VERSION): Just use assert instead, it will be elided
43022         under [NDEBUG] anyway.
43024 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43026         * sysdeps/unix/sysv/linux/Makefile: Include
43027         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43028         (sysdep_routines): Remove sysctl.
43029         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43030         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43031         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43032         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43033         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43035 2012-05-22  Andreas Jaeger  <aj@suse.de>
43037         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43038         that pseudo_end is just ret and the stack pointer is correct also
43039         for static library in error case.
43041 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43043         [BZ #14122]
43044         * nss/nsswitch.c (defconfig_entries): New variable.
43045         (__nss_database_lookup): Don't leak defconfig entries.
43046         (nss_parse_service_list): Don't leak on error paths.
43047         (free_database_entries): New function.
43048         (free_defconfig): New function.
43049         (free_mem): Move common code to free_database_entries.
43051 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43053         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43054         Add arch_prctl.
43055         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43057         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43058         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43059         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43060         New macro.
43061         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43062         (INTERNAL_SYSCALL_TYPES): Likewise.
43063         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43064         (LOAD_REGS_TYPES_[1-6]): Likewise.
43065         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43066         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43068 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43070         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43071         copysignl for GLIBC_2_0.
43072         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43073         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43075         logbl for GLIBC_2_0.
43076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43077         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43079 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43081         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43082         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43084         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43085         Use "neg %eax".
43087         * time/mktime.c: Update copyright years.
43089 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43091         mktime: merge comment-quoting-style change from gnulib
43092         * time/mktime.c: Quote 'like this' in comments.
43093         The GNU coding standards suggest that we no longer quote `like this',
43094         as "`" and "'" are typically rendered asymmetrically nowadays.
43095         The typical gnulib style is to quote 'like this' when quoting
43096         code, and "like this" when quoting English.
43098         * time/mktime.c (compile-command): Add "-I.".
43100         mktime: merge mktime-internal.h change from gnulib
43101         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43103         mktime: merge time_r change from gnulib
43104         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43106         mktime: merge DEBUG change from gnulib
43107         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43108         case system <time.h> has a #define.
43110         mktime: merge <sys/types.h> change from gnulib
43111         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43112         since <time.t> is now guaranteed to define time_t.
43114         mktime: merge HAVE_CONFIG_H change from gnulib
43115         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43117 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43119         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43120         Use "neg %eax".
43122         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43123         __rlim_t cast.
43124         (struct rusage): Use anonymous union to pad each field to
43125         __syscall_slong_t.
43127 2012-05-21  David S. Miller  <davem@davemloft.net>
43129         * Makefules (o-iterator): Remove .s cases.
43130         (compile-command.s): Delete.
43131         (COMPILE.s): Delete.
43132         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43134 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43136         * configure.in (libc_cv_predef_stack_protector): Only consider
43137         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43138         * configure: Regenerated.
43140 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43142         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43143         New macro.  Use R*LP on int and pointer.
43144         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43145         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43146         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43147         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43149         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43150         [__WORDSIZE_TIME64_COMPAT32] instead of
43151         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43152         (struct utmp): Likewise.
43153         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43154         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43155         Renamed to ...
43156         (__WORDSIZE_TIME64_COMPAT32): This.
43157         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43158         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43159         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43160         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43161         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43162         (__WORDSIZE_TIME64_COMPAT32): New macro.
43164 2012-05-21  Andreas Jaeger  <aj@suse.de>
43166         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43167         only if [SHARED]. Add prototype for __wcschr_ia32.
43169 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43171         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43172         of %rbp unmolested in the jmp_buf while mangling the low bits.
43173         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43174         unmolested high bits of %rbp while demangling the low bits.
43175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43177 2012-05-21  Andreas Jaeger  <aj@suse.de>
43179         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43180         * sunrpc/svc_simple.c: Use it for registerrpc.
43181         * sunrpc/xcrypt.c: Use it for passwd2des.
43183         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43185 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43187         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43188         Don't define if [__SYSCALL_WORDSIZE != 32].
43189         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43190         New macro.
43192 2012-05-21  Bruno Haible  <bruno@clisp.org>
43193             Andreas Jaeger  <aj@suse.de>
43195         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43196         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43197         inptr and inend for must_buffer_ch.
43198         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43199         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43200         * stdio-common/Makefile (tests): Remove bug15.
43201         (bug15-ENV): Remove macro.
43202         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43203         anymore.
43205 2012-05-19  Andreas Jaeger  <aj@suse.de>
43206             Roland McGrath  <roland@hack.frob.com>
43208         * manual/contrib.texi: Completely rewritten. It contains now an
43209         alphabetical list of contributors and their contributions.
43211 2012-05-21  Richard Henderson  <rth@twiddle.net>
43213         * misc/getauxval.c (__getauxval): Use unsigned long int.
43214         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43215         (getauxval): Use unsigned long int.
43217 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43219         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43221 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43223         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43224         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43225         __alignof__ (long double).
43227 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43231 2012-05-20  Richard Henderson  <rth@twiddle.net>
43233         * misc/getauxval.c: New file.
43234         * misc/sys/auxv.h: New file.
43235         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43236         (routines): Add getauxval.
43237         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43238         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43239         * elf/dl-sysdep.c (_dl_auxv): Remove.
43240         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43241         * elf/dl-support.c (_dl_auxv): New variable.
43242         (_dl_aux_init): Initialize it.
43243         * manual/startup.texi (Auxiliary Vector): New node.
43244         * sysdeps/generic/bits/hwcap.h: New file.
43245         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43246         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43247         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43248         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43249         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43250         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43252         Update.
43253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43262 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43266 2012-05-19  David S. Miller  <davem@davemloft.net>
43268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43270 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43272         [BZ #14123]
43273         * math/s_ccosh.c: Include <float.h>
43274         (__ccosh): Avoid internal overflow calculating sinh and cosh
43275         values before multiplying by sin and cos values.
43276         * math/s_ccoshf.c: Likewise.
43277         * math/s_ccoshl.c: Likewise.
43278         * math/s_csin.c: Likewise.
43279         * math/s_csinf.c: Likewise.
43280         * math/s_csinl.c: Likewise.
43281         * math/s_csinh.c: Likewise.
43282         * math/s_csinhf.c: Likewise.
43283         * math/s_csinhl.c: Likewise.
43284         * math/libm-test.inc (ccos_test): Add more tests.
43285         (ccosh_test): Likewise.
43286         (csin_test): Likewise.
43287         (csinh_test): Likewise.
43288         * sysdeps/i386/fpu/libm-test-ulps: Update.
43289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43291 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43293         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43294         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43296         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43298 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43300         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43301         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43302         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43303         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43304         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43305         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43306         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43307         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43308         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43309         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43310         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43311         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43312         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43313         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43314         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43315         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43316         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43317         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43318         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43319         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43320         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43321         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43322         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43323         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43324         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43325         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43326         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43327         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43328         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43329         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43330         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43332 2012-05-18  Andreas Jaeger  <aj@suse.de>
43334         * csu/.gitignore: Delete.
43336 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43338         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43339         (timex): Use __syscall_slong_t.
43341 2012-05-18  Andreas Jaeger  <aj@suse.de>
43342             Carlos O'Donell  <carlos_odonell@mentor.com>
43344         * manual/install.texi (Configuring and compiling): Update
43345         description about files modified in the source directory.
43346         * INSTALL: Regenerated.
43348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43350         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43351         value.  Use "or" to set return value to -1.
43352         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43353         negate return value.
43355 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43357         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43358         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43359         failure if the compiler has Graphite support disabled.
43360         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43361         Likewise.
43362         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43363         (CFLAGS-memmove.c): Likewise.
43364         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43365         Likewise.
43367 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43369         * sysdeps/x86_64/x32/_itoa.h: New file.
43371         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43372         getdents system call only if kernel and user dirents have the
43373         same d_ino and d_off.
43375         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43376         LLONG_MAX != LONG_MAX.
43377         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43378         (_fitoa_word): Likewise.
43380         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43381         years.
43382         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43383         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43384         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43386         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43387         include <bits/wordsize.h>.  Check __x86_64__ instead of
43388         __WORDSIZE.
43389         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43390         if __x86_64__ is defined.  Use anonymous union on fpstate.
43392         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43393         anonymous union.
43395 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43397         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43398         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43399         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43400         Refer to _rtld_local_ro instead of _rtld_global_ro.
43401         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43402         Likewise.
43403         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43404         Likewise.
43405         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43406         Likewise.
43407         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43408         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43409         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43411         * sysdeps/powerpc/powerpc32/dl-machine.c
43412         (__elf_machine_runtime_setup) [PROF]: Don't reference
43413         _dl_prof_resolve.
43415 2012-05-18  Andreas Jaeger  <aj@suse.de>
43417         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43418         function only available for GCCs before 3.4 since GCC 3.4
43419         introduced a builtin.
43420         (lrint): Likewise.
43421         (llrintf): Likewise.
43422         (llrint): Likewise.
43423         (fmaxf): Likewise.
43424         (fmax): Likewise.
43425         (fminf): Likewise.
43426         (fmin): Likewise.
43427         (rint): Likewise.
43428         (rintf): Likewise.
43429         (nearbyint): Likewise.
43430         (nearbyintf): Likewise.
43431         (ceil): Likewise.
43432         (ceilf): Likewise.
43433         (floor): Likewise.
43434         (floorf): Likewise.
43436 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43438         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43439         on both fields and cast pointer to __syscall_ulong_t.
43441         * bits/types.h (__fsword_t): New type.
43442         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43443         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43444         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43445         (__FSWORD_T_TYPE): Likewise.
43446         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43447         (__FSWORD_T_TYPE): Likewise.
43448         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43449         (__FSWORD_T_TYPE): Likewise.
43450         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43451         (__FSWORD_T_TYPE): Likewise.
43452         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43453         __SWORD_TYPE with __fsword_t.
43454         (statfs64): Likewise.
43456 2012-05-17  David S. Miller  <davem@davemloft.net>
43458         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43460 2012-05-17  Andreas Jaeger  <aj@suse.de>
43462         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43463         warning.
43465 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43467         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43469 2012-05-17  Andreas Jaeger  <aj@suse.de>
43471         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43472         when it is used.
43474 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43476         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43478 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43480         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43481         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43483 2012-05-17  Andreas Jaeger  <aj@suse.de>
43484             Carlos O'Donell  <carlos_odonell@mentor.com>
43486         [BZ #14059]
43487         * sysdeps/x86_64/multiarch/init-arch.h
43488         (bit_YMM_Usable): Rename to...
43489         (bit_AVX_Usable): ... this.
43490         (bit_FMA4_Usable): New macro.
43491         (bit_XMM_state): New macro.
43492         (bit_YMM_state): New macro.
43493         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43494         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43495         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43496         (CPUID_OSXSAVE): New macro.
43497         (CPUID_AVX): New macro.
43498         (CPUID_FMA4): New macro.
43499         (index_YMM_Usable): Rename to...
43500         (index_AVX_Usable): ... this.
43501         (HAS_AVX): Use HAS_ARCH_FEATURE.
43502         (HAS_FMA4): Likewise.
43503         (HAS_YMM_USABLE): Remove.
43504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43505         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43506         are present.
43507         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43508         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43509         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43510         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43511         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43513 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43515         * math/libm-test.c: Support platforms without multiple rounding modes.
43516         * math/bug-nextafter.c: Support platforms without FP exceptions.
43517         * math/bug-nexttoward.c: Likewise.
43518         * math/test-fenv.c: Likewise.
43519         * math/test-misc.c: Likewise.
43520         * stdlib/bug-getcontext.c: Likewise.
43522 2012-05-17  Andreas Jaeger  <aj@suse.de>
43524         * manual/examples/search.c (critter_cmp): Change signature to
43525         avoid warnings.
43526         * manual/string.texi (Collation Functions): Likewise.
43528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43530         * bits/types.h: Fold copyright years.
43531         * bits/typesizes.h: Likewise.
43532         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43533         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43534         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43535         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43536         * time/time.h: Likewise.
43538 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43540         [BZ #208]
43541         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43542         in instead of returning them.  Return void.
43543         (__libc_mallinfo): Accumulate over all arenas.
43544         (__malloc_stats): Adjust for change in int_mallinfo interface.
43546 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43548         [BZ #10375]
43549         * configure.in (NM): Add AC_CHECK_TOOL for it.
43550         (libc_extra_cflags): New substituted variable.
43551         Check for -fstack-protector being used implicitly.
43552         * configure: Regenerated.
43553         * config.make.in (config-extra-cflags): New variable,
43554         gets @libc_extra_cflags@.
43555         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43557         [BZ #10375]
43558         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43559         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43560         * configure: Regenerated.
43561         * config.make.in (CPPUNDEFS): New substituted variable.
43562         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43563         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43564         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43566 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43568         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43569         (mq_attr): Use __syscall_slong_t.
43571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43573         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43574         Check __x86_64__ instead of __WORDSIZE.
43575         (_STAT_VER_LINUX): Likewise.
43576         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43577         __syscall_ulong_t and __syscall_slong_t.
43578         (stat64): Likewise.
43580 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43586         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43588 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43590         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43591         __syscall_ulong_t.
43593         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43594         include <bits/wordsize.h>.  Check __x86_64__ instead of
43595         __WORDSIZE.
43596         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43597         defined.
43598         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43601         include <bits/wordsize.h>.  Check __x86_64__ instead of
43602         __WORDSIZE.
43603         (user_regs_struct): Use "__extension__ unsigned long long"
43604         instead of "unsigned long" if __x86_64__ is defined.
43605         (user): Likewise.  Pad after pointer field if __ILP32__ is
43606         defined.
43608 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43610         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43611         versions 5 to 9.
43612         * configure: Regenerated.
43613         * manual/install.texi (texinfo): Increase version requirement to
43614         4.5 or later.
43615         * INSTALL: Regenerated.
43617         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43619 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43621         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43623         * sysdeps/x86_64/x32/ffs.c: New file.
43625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43626         __syscall_ulong_t.
43627         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43628         defined.  Use __syscall_ulong_t.
43629         (shminfo): Use __syscall_ulong_t.
43630         (shm_info): Likewise.
43632         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43633         __syscall_ulong_t.
43635         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43636         <bits/wordsize.h>.
43637         (msgqnum_t): Use __syscall_ulong_t.
43638         (msglen_t): Likewise.
43639         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43640         __syscall_ulong_t.
43642         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43643         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43645         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43647         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43648         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43650         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43651         __syscall_slong_t.
43653         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43654         include <bits/wordsize.h>.  Check __x86_64__ instead of
43655         __WORDSIZE.
43657         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43658         "unsigned long long int" if __x86_64__ is defined.
43659         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43661         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43662         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43663         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43666         <stdint.h>.
43667         (GET_PC): Cast to uintptr_t first.
43668         (GET_FRAME): Likewise.
43669         (GET_STACK): Likewise.
43671         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43672         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43673         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43674         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43675         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43676         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43677         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43678         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43679         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43680         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43681         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43682         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43683         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43684         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43685         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43686         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43687         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43688         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43689         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43690         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43691         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43692         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43693         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43694         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43695         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43696         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43697         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43698         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43699         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43701 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43703         * Makerules (+depfiles): Also collect depfiles from .oS in
43704         $(extra-objs).
43705         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43706         .oS, $(libnldbl-routines)).
43708         * Makerules (native-compile-mkdep-flags): Define.
43709         * sunrpc/Makefile (extra-objs): Add $(addprefix
43710         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43711         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43712         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43713         calling $(make-target-directory).
43715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43717         * bits/types.h (__snseconds_t): Removed.
43718         * time/time.h (struct timespec): Replace __snseconds_t with
43719         __syscall_slong_t.
43720         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43721         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43722         Likewise.
43723         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43724         (__SNSECONDS_T_TYPE): Likewise.
43725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43726         (__SNSECONDS_T_TYPE): Likewise.
43727         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43728         (__SNSECONDS_T_TYPE): Likewise.
43730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43732         * sysdeps/mach/hurd/bits/typesizes.h
43733         (__SYSCALL_SLONG_TYPE): New macro.
43734         (__SYSCALL_ULONG_TYPE): Likewise.
43736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43738         * bits/types.h (__syscall_slong_t): New type.
43739         (__syscall_ulong_t): Likewise.
43741         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43742         (__SYSCALL_ULONG_TYPE): Likewise.
43743         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43744         (__SYSCALL_SLONG_TYPE): Likewise.
43745         (__SYSCALL_ULONG_TYPE): Likewise.
43746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43747         (__SYSCALL_SLONG_TYPE): Likewise.
43748         (__SYSCALL_ULONG_TYPE): Likewise.
43749         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43750         (__SYSCALL_SLONG_TYPE): Likewise.
43751         (__SYSCALL_ULONG_TYPE): Likewise.
43753 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43755         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43756         Add sigaltstack-offsets.sym.
43757         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43758         <sigaltstack-offsets.h>.
43759         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43760         longjmp_msg pointer.
43761         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43762         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43763         signal stack.
43764         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43766 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43768         * elf/stackguard-macros.h: Remove file.
43769         * sysdeps/generic/stackguard-macros.h: New file.
43770         * sysdeps/i386/stackguard-macros.h: Likewise.
43771         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43772         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43773         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43774         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43775         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43776         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43777         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43778         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43779         <elf/stackguard-macros.h>.
43781         [BZ #14109]
43782         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43783         __aligned__ in attribute.
43784         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43785         (gregset_t): Likewise.
43787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43789         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43790         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43791         * sysdeps/x86_64/x32/Implies-after: New file.
43793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43795         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43796         and access return value for _dl_profile_fixup.  Use R10_LP to
43797         load frame size.
43799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43801         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43805         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43806         * sysdeps/x86_64/x32/sysdep.h: New file.
43808 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43810         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43811         * sysdeps/x86_64/setjmp.S: Likewise.
43813 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43815         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43816         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43817         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43818         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43819         remove unused global constant.
43821 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43823         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43824         include of <not-cancel.h>.
43826 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43828         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43830 2012-05-15  Jeff Law  <law@redhat.com>
43831             Andreas Jaeger  <aj@suse.de>
43833         [BZ #13594]
43834         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43835         out from...
43836         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43837         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43838         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43839         code changing __hst_map_handle.map.
43841 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43843         * configure.in (sysnames): Look for Implies-before and Implies-after
43844         files.
43845         * configure: Regenerated.
43847 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43849         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43850         8-byte data alignment with LP_SIZE alignment.
43852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43854         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43855         into R10_LP.
43857 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43859         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43861 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43863         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43864         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43865         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43866         Likewise.
43867         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43871         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43872         (stackinfo_sub_sp): Likewise.
43874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43876         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43877         RAX_LP.
43879 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43881         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43882         into R*_LP.
43884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43886         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43887         sizes into R*_LP.
43889 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43891         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43893 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43895         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43896         into R11_LP and load __x86_64_shared_cache_size_half into
43897         R8_LP.
43899 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43901         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43902         R8_LP.
43904 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43906         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43907         logb for POWER7.
43908         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43909         logbf for POWER7.
43910         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43911         logbl for POWER7.
43912         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43913         powerpc32/power7/fpu/s_logb.c via #include.
43914         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43915         powerpc32/power7/fpu/s_logbf.c via #include.
43916         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43917         powerpc32/power7/fpu/s_logbl.c via #include.
43919 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43921         * README.libm: Remove file.
43923 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43925         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43926         count for x32.  Use R*_LP and omit operand-size suffix.
43928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43930         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43931         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43932         * sysdeps/x86_64/x32/shlib-versions: New file.
43934 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43936         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43937         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43938         Use _dl_fatal_printf instead.
43940 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43942         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43943         set if not set by the user.  Do not allow for being unset.
43944         * sysdeps/unix/sysv/linux/configure: Regenerated.
43946 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43948         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43949         the `q' suffix from lea and replace .quad with ASM_ADDR.
43951 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43953         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43954         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43955         instead of $17.
43956         (PTR_DEMANGLE): Likewise.
43958 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43960         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43961         (LP_OP): Likewise.
43962         (ASM_ADDR): Likewise.
43963         (RAX_LP): Likewise.
43964         (RBP_LP): Likewise.
43965         (RBX_LP): Likewise.
43966         (RCX_LP): Likewise.
43967         (RDI_LP): Likewise.
43968         (RSI_LP): Likewise.
43969         (RSP_LP): Likewise.
43970         (R8_LP): Likewise.
43971         (R9_LP): Likewise.
43972         (R10_LP): Likewise.
43973         (R10_LP): Likewise.
43974         (R11_LP): Likewise.
43975         (R12_LP): Likewise.
43976         (R13_LP): Likewise.
43977         (R14_LP): Likewise.
43978         (R15_LP): Likewise.
43980 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43982         * sysdeps/x86_64/x32/dl-machine.h: New file.
43984 2012-05-14  Andreas Jaeger  <aj@suse.de>
43986         * manual/Makefile (subdir): Remove export of subdir.
43987         (all): Remove target.
43988         (.PHONY): Remove all from list.
43989         (mkinstalldirs): Remove.
43990         (.PHONY): Remove installdirs from list.
43991         ($(inst_infodir)/libc.info): Use make-target-directory.
43992         (installdirs): Remove.
43993         (subdir_%): Remove.
43994         (glibc-targets): Remove.
43995         (lib): Remove.
43996         (stubs): Remove.
43997         ($(objpfx)stubs ../po/manual.pot): Remove.
43998         ($(objpfx)stamp%): Remove.
43999         (make-target-directory): Remove.
44000         (subdir_install): Remove.
44001         (routines): Remove.
44002         (aux): Remove.
44003         (sources): Remove.
44004         (objects): Remove.
44005         (headers): Remove.
44007         [BZ #13750]
44008         * manual/.gitignore: Remove, it's not needed anymore.
44009         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44010         all files in it.
44011         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44012         directory.
44013         (texis): Renamed to $(objpfx)texis.
44014         (texis-path): New, contains path to generated files.
44015         (chapters.%): Use texis-path for complete path, add extra argument
44016         libc-texinfo.sh.
44017         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44018         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44019         (summary,texi, stamp-summary): Use complete path of
44020         files. Generate files in build dir.
44021         (dir-add.texi): Build in build dir.
44022         (libm-err.texi,stamp-libm-err): Likewise.
44023         (version.texi, stamp-version): Likewise.
44024         (.%c.texi): Likewise.
44025         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44026         (mostlyclean): Remove target.
44027         (realclean): Remove target.
44028         (generated): Add new variable with contents from mostlyclean and
44029         realclean, remove entries duplicated in common-mostlyclean, add
44030         stamp-libm-err and stamp-version.
44031         (generated-dirs): Add libc directory.
44032         ($(inst_infodir)/libc.info): Install files from build dir.
44034         * manual/install.texi (Configuring and compiling): Adjust since
44035         the info files are not part of the tar ball anymore.
44037 2012-05-14  Andreas Jaeger  <aj@suse.de>
44039         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44040         variable.
44042 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44044         [BZ #13717]
44045         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44046         to 2.2.0 where earlier.
44047         * sysdeps/unix/sysv/linux/configure: Regenerated.
44048         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44049         Remove conditional code.
44050         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44051         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44052         Remove conditional code.
44053         [!__NR_lchown]: Likewise.
44054         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44055         [__NR_lchown]: Likewise.
44056         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44057         comment referencing __ASSUME_LCHOWN_SYSCALL.
44058         * sysdeps/unix/sysv/linux/i386/sigaction.c
44059         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44060         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44061         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44062         Remove conditional code.
44063         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44064         (__protocol_available): Remove #if 0 code.
44065         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44066         conditional code.
44067         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44068         * sysdeps/unix/sysv/linux/kernel-features.h
44069         (__ASSUME_GETCWD_SYSCALL): Don't define.
44070         (__ASSUME_REALTIME_SIGNALS): Likewise.
44071         (__ASSUME_PREAD_SYSCALL): Likewise.
44072         (__ASSUME_PWRITE_SYSCALL): Likewise.
44073         (__ASSUME_POLL_SYSCALL): Likewise.
44074         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44075         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44076         non-SPARC.
44077         (__ASSUME_SIOCGIFNAME): Don't define.
44078         (__ASSUME_MSG_NOSIGNAL): Likewise.
44079         (__ASSUME_SENDFILE): Define unconditionally.
44080         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44081         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44082         conditional code.
44083         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44084         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44085         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44086         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44087         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44088         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44089         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44091         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44097         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44098         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44103         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44104         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44106         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44109         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44110         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44112         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44113         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44114         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44115         Remove conditional code.
44116         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44117         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44118         Remove conditional code.
44119         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44120         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44121         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44122         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44123         Remove conditional code.
44124         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44125         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44126         Remove conditional code.
44127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44128         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44129         Remove conditional code.
44130         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44131         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44132         Remove conditional code.
44133         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44134         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44135         Remove conditional code.
44136         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44137         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44138         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44139         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44140         * sysdeps/unix/sysv/linux/sigaction.c
44141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44143         * sysdeps/unix/sysv/linux/sigpending.c
44144         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44145         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44146         * sysdeps/unix/sysv/linux/sigprocmask.c
44147         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44148         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44149         * sysdeps/unix/sysv/linux/sigsuspend.c
44150         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44151         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44152         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44153         (__libc_missing_rt_sigs): Remove.
44154         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44155         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44156         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44157         Remove conditional code.
44158         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44159         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44160         return 1.
44161         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44162         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44163         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44164         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44166 2012-05-14  Andreas Jaeger  <aj@suse.de>
44168         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44169         it's not used in glibc.
44170         (__coshm1): Likewise.
44171         (__acosh1p): Likewise.
44172         (__sgn): Likewise.
44174         * manual/string.texi (Copying and Concatenation): Add missing
44175         variable in concat example.
44176         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44178 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44180         [BZ #14103]
44181         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44182         __builtin_clzl with __builtin_clzll.
44184 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44186         [BZ #14104]
44187         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44188         libc_freeres_ptr.
44190 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44192         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44193         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44194         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44195         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44197 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44199         * NEWS: Update ia64 info.
44201 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44203         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44204         used as bcopy.
44206 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44208         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44209         * sysdeps/unix/syscalls.list (dup3): Likewise.
44210         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44211         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44213 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44215         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44216         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44218 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44220         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44221         thread pointer.
44222         (TLS_IE): Use mov/add instead of movq/addq to load thread
44223         pointer.
44224         (TLS_GD_PREFIX): New.
44225         (TLS_GD): Use it.
44227 2012-05-11  David S. Miller  <davem@davemloft.net>
44229         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44230         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44231         (_FPU_SETCW): Likewise.
44233 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44235         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44236         is 32-byte aligned.
44238 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44240         [BZ #11837]
44241         * iconvdata/gb18030.c: Update tables.
44242         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44243         characters specially.
44244         (BODY for TO_LOOP): Add encoding of missing ranges.
44246 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44248         [BZ #13673]
44249         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44250         * sysdeps/mach/hurd/dup3.c: Likewise.
44251         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44252         * sysdeps/powerpc/memmove.c:: Likewise.
44254 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44256         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44257         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44259 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44261         * elf/elf.h (R_X86_64_RELATIVE64): New.
44262         (R_X86_64_NUM): Updated.
44263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44264         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44265         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44266         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44267         tst-quad1pie tst-quad2pie
44268         (modules-names): Add tst-quadmod1 tst-quadmod2.
44269         ($(objpfx)tst-quad1): New dependency.
44270         ($(objpfx)tst-quad2): Likewise.
44271         ($(objpfx)tst-quad1pie): Likewise.
44272         ($(objpfx)tst-quad2pie): Likewise.
44273         * sysdeps/x86_64/tst-quad1.c: New file.
44274         * sysdeps/x86_64/tst-quad1pie.c: New file.
44275         * sysdeps/x86_64/tst-quad2.c: Likewise.
44276         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44277         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44278         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44279         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44280         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44282 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44284         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44285         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44286         * streams/stropts.h (t_scalar_t): Define type.
44288         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44289         (_PATH_PRESERVE): Set to "/var/lib".
44290         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44292         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44293         instead of int.
44295         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44296         if __dir_mkfile succeeded.
44298         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44299         checking for _hurd_dtablesize.  Unlock it right after having
44300         finished _hurd_dtable allocation.
44302 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44304         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44305         * sysdeps/mach/hurd/configure: Regenerated.
44306         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44307         special-casing to...
44308         * sysdeps/gnu/configure.in: ... this new file.
44309         * sysdeps/unix/sysv/linux/configure: Regenerated.
44310         * sysdeps/gnu/configure: New generated file.
44312         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44313         for Linux: use nsec instead of usec, as well as:
44314         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44315         members of type struct timespec.
44316         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44317         New macros.
44318         (struct stat64): Likewise.
44319         (_STATBUF_ST_NSEC): New macro.
44320         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44322         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44323         __strtoul_internal rather than strtoul.
44325 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44327         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44328         and reject them.
44330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44332         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44333         which preserves existing values.
44334         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44336 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44338         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44339         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44340         greater than FD_SETSIZE.
44342 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44344         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44345         allocated, call __vm_protect to finish enabling the existing space, and
44346         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44347         allocate the remainder.
44349 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44351         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44352         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44354 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44356         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44357         sysdeps/mach/hurd/readlink.c.
44359         * posix/tst-sysconf.c (posix_options): Only use
44360         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44361         _POSIX_SYNCHRONIZED_IO when they are defined
44362         * sysdeps/mach/hurd/bits/posix_opt.h:
44363         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44364         (_XOPEN_REALTIME): Undefine macro.
44365         (_XOPEN_REALTIME_THREADS): Undefine macro.
44366         (_XOPEN_SHM): Undefine macro.
44367         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44368         macro to -1.
44369         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44370         macro to -1.
44371         (_POSIX_ASYNC_IO): Undefine macro.
44372         (_POSIX_PRIORITIZED_IO): Undefine macro.
44373         (_POSIX_SPIN_LOCKS): Define macro to -1.
44375         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44376         SA_NODEFER, SA_RESETHAND.
44377         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44378         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44379         F_DUPFD_CLOEXEC.
44381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44383         * elf/Makefile (pldd-modules): Define unconditionally.
44385 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44387         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44391         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44392         Return ENOENT when name is empty.
44393         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44397         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44399         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44403         Fix mlock in all cases except non-readable pages.
44404         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44405         instead of VM_PROT_ALL as parameter to __vm_wire function.
44407         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44408         (__mkdir): When path is `/', just fail with EEXIST.
44409         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44411 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44413         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44414         <sys/uio.h> (for writev).
44415         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44416         and <sys/param.h> (for MIN).
44418 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44420         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44421         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44422         if interrupted.
44424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44426         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44427         Depend on against $(link-rpcuserlibs).
44429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44431         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44432         (__libc_stack_end): Do not use attribute_relro.
44433         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44434         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44435         to libthread-provided value.
44436         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44437         attribute_relro.
44439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44441         [BZ #3748]
44442         * bits/libc-lock.h (__libc_once_get): New macro.
44443         * sysdeps/mach/bits/libc-lock.h: Likewise.
44444         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44445         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44446         instead of using implementation details.
44448         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44449         * libio/freopen.c: Likewise.
44450         * libio/freopen64.c: Likewise.
44451         * misc/syslog.c: Likewise.
44452         * nscd/connections.c: Likewise.
44453         * nscd/netgroupcache.c: Likewise.
44454         * sysdeps/posix/getcwd.c: Likewise.
44456 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44458         * math/w_ilogbf.c: Add #include <limits.h>.
44460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44462         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44463         path instead of returning without unlocking.
44465         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44466         immediate-write ioctls.
44467         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44469 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44471         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44472         __builtin_frame_address instead of making assumptions about the
44473         location of the return address relative to DATA.  Force early load of
44474         the return address.
44475         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44476         __builtin_frame_address.
44478         dup3 for GNU Hurd.
44479         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44480         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44481         implement dup3 and do some further code clean-ups.
44482         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44483         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44485 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44487         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44489         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44490         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44491         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44492         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44493         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44494         d->port.lock.
44496         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44497         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44498         when handler == SIG_ERR, not when handler != SIG_ERR.
44500 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44502         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44503         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44504         definitions.
44506         accept4 for GNU Hurd.
44507         * include/sys/socket.h (__libc_accept4): New prototype.
44508         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44509         to implement __libc_accept4.
44510         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44511         __libc_accept4.
44512         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44514         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44515         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44516         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44517         signal-defines.sym.
44519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44521         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44525         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44526         assertion on O_CLOEXEC flag.
44527         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44528         * hurd/intern-fd.c: Likewise.
44529         * hurd/port2fd.c: Likewise.
44531 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44533         [BZ #3906]
44534         * bits/in.h (IPV6_PKTINFO): Define new macro.
44535         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44537 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44539         [BZ #13954]
44540         [BZ #13955]
44541         [BZ #13956]
44542         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44543         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44544         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44545         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44546         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44547         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44548         * math/libm-test.inc (logb_test) : Additional logb tests.
44550 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44551             Andreas Jaeger  <aj@suse.de>
44553         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44554         * configure: Regenerated.
44555         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44556         * config.make.in (link-obsolete-rpc): New substituted variable.
44557         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44558         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44559         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44560         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44561         so that libc.a contains the symbols.
44562         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44563         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44564         * sunrpc/auth_none.c: Likewise.
44565         * sunrpc/auth_unix.c: Likewise.
44566         * sunrpc/authdes_prot.c: Likewise.
44567         * sunrpc/authuxprot.c: Likewise.
44568         * sunrpc/clnt_gen.c: Likewise.
44569         * sunrpc/clnt_perr.c: Likewise.
44570         * sunrpc/clnt_raw.c: Likewise.
44571         * sunrpc/clnt_simp.c: Likewise.
44572         * sunrpc/clnt_tcp.c: Likewise.
44573         * sunrpc/clnt_udp.c: Likewise.
44574         * sunrpc/clnt_unix.c: Likewise.
44575         * sunrpc/des_crypt.c: Likewise.
44576         * sunrpc/des_soft.c: Likewise.
44577         * sunrpc/get_myaddr.c: Likewise.
44578         * sunrpc/key_call.c: Likewise.
44579         * sunrpc/key_prot.c: Likewise.
44580         * sunrpc/netname.c: Likewise.
44581         * sunrpc/pm_getmaps.c: Likewise.
44582         * sunrpc/pm_getport.c: Likewise.
44583         * sunrpc/pmap_clnt.c: Likewise.
44584         * sunrpc/pmap_prot.c: Likewise.
44585         * sunrpc/pmap_prot2.c: Likewise.
44586         * sunrpc/pmap_rmt.c: Likewise.
44587         * sunrpc/publickey.c: Likewise.
44588         * sunrpc/rpc_cmsg.c: Likewise.
44589         * sunrpc/rpc_common.c: Likewise.
44590         * sunrpc/rpc_dtable.c: Likewise.
44591         * sunrpc/rpc_prot.c: Likewise.
44592         * sunrpc/rpc_thread.c: Likewise.
44593         * sunrpc/rtime.c: Likewise.
44594         * sunrpc/svc.c: Likewise.
44595         * sunrpc/svc_auth.c: Likewise.
44596         * sunrpc/svc_raw.c: Likewise.
44597         * sunrpc/svc_run.c: Likewise.
44598         * sunrpc/svc_tcp.c: Likewise.
44599         * sunrpc/svc_udp.c: Likewise.
44600         * sunrpc/svc_unix.c: Likewise.
44601         * sunrpc/svcauth_des.c: Likewise.
44602         * sunrpc/xcrypt.c: Likewise.
44603         * sunrpc/xdr.c: Likewise.
44604         * sunrpc/xdr_array.c: Likewise.
44605         * sunrpc/xdr_float.c: Likewise.
44606         * sunrpc/xdr_intXX_t.c: Likewise.
44607         * sunrpc/xdr_mem.c: Likewise.
44608         * sunrpc/xdr_rec.c: Likewise.
44609         * sunrpc/xdr_ref.c: Likewise.
44610         * sunrpc/xdr_sizeof.c: Likewise.
44611         * sunrpc/xdr_stdio.c: Likewise.
44613 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44615         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44616         change.  Update copyright years.
44618 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44620         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44622 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44623             Joseph Myers  <joseph@codesourcery.com>
44624             Paul Pluzhnikov  <ppluzhnikov@google.com>
44626         [BZ #14012]
44627         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44628         requiring rpcgen.
44629         [cross-compiling] (extra-libs): Likewise.
44630         [cross-compiling] (extra-libs-others): Likewise.
44631         [cross-compiling] (librpcsvc-routines): Likewise.
44632         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44633         [cross-compiling] (omit-deps): Likewise.
44634         (sunrpc-CPPFLAGS): New variable.
44635         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44636         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44637         (cross-rpcgen-objs): New variable.
44638         (extra-objs): Append $(cross-rpcgen-objs).
44639         ($(cross-rpcgen-objs)): New rule.
44640         ($(objpfx)cross-rpcgen): Likewise.
44641         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44642         comment.
44643         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44644         ($(objpfx)x%.stmp): Likewise.
44645         * sunrpc/proto.h [IS_IN_build] (_): Define.
44646         [IS_IN_build] (_libc_intl_domainname): Likewise.
44648 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44651         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44652         and R_X86_64_TPOFF64.
44654 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44656         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44657         sysdeps/unix/sysv/syscalls.list.
44658         (stime): Likewise.
44659         (utime): Likewise.
44660         * sysdeps/unix/sysv/syscalls.list: Remove file.
44662 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44664         [BZ #3440]
44665         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44666         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44667         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44668         (__LC_IDENTIFICATION): Make these macros useful in #if
44669         expressions, as required by C99.
44671 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44673         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44674         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44675         after this.
44677 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44679         * stdlib/longlong.h: Updated from GCC.
44681 2012-05-09  Andreas Jaeger  <aj@suse.de>
44683         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44684         default is first entry.
44685         (run_mode): Set type.
44686         (main): Remove informal message about syslog.
44687         (options): Fix typo.
44689         [BZ #14053]
44690         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44691         to asm.
44692         (lrint): Likewise.
44693         (llrintf): Likewise.
44694         (llrint): Likewise.
44695         (rint): Likewise.
44696         (rintf): Likewise.
44697         (nearbyint): Likewise.
44698         (nearbyintf): Likewise.
44700 2012-05-09  Andreas Jaeger  <aj@suse.de>
44701             Pedro Alves  <palves@redhat.com>
44703         * nscd/nscd.c (run_mode): Use enum.
44704         (main): Cleanup coding style issue.
44706 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44707             Andreas Jaeger  <aj@suse.de>
44709         * nscd/nscd.c (go_background): Replaced with...
44710         (run_mode): ... this.
44711         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44712         (options): Add -F --foreground.
44713         (main): Implement it.
44714         (parse_opt): Parse it.
44716 2012-05-09  Andreas Jaeger  <aj@suse.de>
44718         [BZ #14083]
44719         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44720         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44721         -Wconversion warning.
44722         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44723         Likewise.
44725 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44727         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44728         == 0.
44729         (LC_ALL): Use macro-int-constant.
44730         (LC_COLLATE): Likewise.
44731         (LC_CTYPE): Likewise.
44732         (LC_MESSAGES): Likewise.
44733         (LC_MONETARY): Likewise.
44734         (LC_NUMERIC): Likewise.
44735         (LC_TIME): Likewise.
44736         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44737         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44739         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44740         Specify type.
44741         [C99-based standards] (float_t): Expect type.
44742         [C99-based standards] (double_t): Expect type.
44743         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44744         type.
44745         [C99-based standards] (HUGE_VALL): Likewise.
44746         [C99-based standards] (INFINITY): Likewise.
44747         [C99-based standards] (NAN): Likewise.
44748         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44749         [C99-based standards] (FP_NAN): Likewise.
44750         [C99-based standards] (FP_NORMAL): Likewise.
44751         [C99-based standards] (FP_SUBNORMAL): Likewise.
44752         [C99-based standards] (FP_ZERO): Likewise.
44753         [C99-based standards] (FP_FAST_FMA): Use
44754         optional-macro-int-constant.  Specify type.  Require == 1.
44755         [C99-based standards] (FP_FAST_FMAF): Likewise.
44756         [C99-based standards] (FP_FAST_FMAL): Likewise.
44757         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44758         [C99-based standards] (FP_ILOGBNAN): Likewise.
44759         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44760         Specify type.
44761         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44762         [C99-based standards] (math_errhandling): Specify type.
44763         [ISO99 || ISO11] (signgam): Do not allow.
44764         [non-C99-based standards] (copysignf): Do not allow.
44765         [non-C99-based standards] (exp2f): Likewise.
44766         [non-C99-based standards] (log2f): Likewise.
44767         [non-C99-based standards] (modff): Allow.
44768         [non-C99-based standards] (erff): Do not allow.
44769         [non-C99-based standards] (erfcf): Likewise.
44770         [non-C99-based standards] (gammaf): Likewise.
44771         [non-C99-based standards] (hypotf): Likewise.
44772         [non-C99-based standards] (j0f): Likewise.
44773         [non-C99-based standards] (j1f): Likewise.
44774         [non-C99-based standards] (jnf): Likewise.
44775         [non-C99-based standards] (lgammaf): Likewise.
44776         [non-C99-based standards] (tgammaf): Likewise.
44777         [non-C99-based standards] (y0f): Likewise.
44778         [non-C99-based standards] (y1f): Likewise.
44779         [non-C99-based standards] (ynf): Likewise.
44780         [non-C99-based standards] (isnanf): Likewise.
44781         [non-C99-based standards] (acoshf): Likewise.
44782         [non-C99-based standards] (asinhf): Likewise.
44783         [non-C99-based standards] (atanhf): Likewise.
44784         [non-C99-based standards] (cbrtf): Likewise.
44785         [non-C99-based standards] (expm1f): Likewise.
44786         [non-C99-based standards] (ilogbf): Likewise.
44787         [non-C99-based standards] (log1pf): Likewise.
44788         [non-C99-based standards] (logbf): Likewise.
44789         [non-C99-based standards] (nextafterf): Likewise.
44790         [non-C99-based standards] (remainderf): Likewise.
44791         [non-C99-based standards] (rintf): Likewise.
44792         [non-C99-based standards] (scalbf): Likewise.
44793         [non-C99-based standards] (copysignl): Likewise.
44794         [non-C99-based standards] (exp2l): Likewise.
44795         [non-C99-based standards] (log2l): Likewise.
44796         [non-C99-based standards] (modfl): Allow.
44797         [non-C99-based standards] (erfl): Do not allow.
44798         [non-C99-based standards] (erfcl): Likewise.
44799         [non-C99-based standards] (gammal): Likewise.
44800         [non-C99-based standards] (hypotl): Likewise.
44801         [non-C99-based standards] (j0l): Likewise.
44802         [non-C99-based standards] (j1l): Likewise.
44803         [non-C99-based standards] (jnl): Likewise.
44804         [non-C99-based standards] (lgammal): Likewise.
44805         [non-C99-based standards] (tgammal): Likewise.
44806         [non-C99-based standards] (y0l): Likewise.
44807         [non-C99-based standards] (y1l): Likewise.
44808         [non-C99-based standards] (ynl): Likewise.
44809         [non-C99-based standards] (isnanl): Likewise.
44810         [non-C99-based standards] (acoshl): Likewise.
44811         [non-C99-based standards] (asinhl): Likewise.
44812         [non-C99-based standards] (atanhl): Likewise.
44813         [non-C99-based standards] (cbrtl): Likewise.
44814         [non-C99-based standards] (expm1l): Likewise.
44815         [non-C99-based standards] (ilogbl): Likewise.
44816         [non-C99-based standards] (log1pl): Likewise.
44817         [non-C99-based standards] (logbl): Likewise.
44818         [non-C99-based standards] (nextafterl): Likewise.
44819         [non-C99-based standards] (remainderl): Likewise.
44820         [non-C99-based standards] (rintl): Likewise.
44821         [non-C99-based standards] (scalbl): Likewise.
44822         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44823         [non-C99-based standards] (FP_*): Do not allow.
44824         [C99-based standards] (FP_*): Change to
44825         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44826         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44827         allow.
44828         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44829         (SIG_ERR): Likewise.
44830         [X/Open-based standards] (SIG_HOLD): Likewise.
44831         (SIG_IGN): Likewise.
44832         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44833         positive value.
44834         (SIGFPE): Likewise.
44835         (SIGILL): Likewise.
44836         (SIGINT): Likewise.
44837         (SIGSEGV): Likewise.
44838         (SIGTER): Likewise.
44839         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44840         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44841         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44842         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44843         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44844         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44845         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44846         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44847         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44848         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44849         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44850         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44851         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44852         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44853         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44854         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44855         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44856         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44857         [X/Open-based standards] (SIGTRAP): Likewise.
44858         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44859         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44860         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44861         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44862         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44863         allow.
44865 2012-05-08  Ian Wienand  <ianw@vmware.com>
44867         [BZ #14080]
44868         * time/tzset.c (__tzset_parse_tz): Update default rules for
44869         daylight time changes in the Energy Policy Act of 2005.
44871 2012-05-09  Andreas Jaeger  <aj@suse.de>
44873         [BZ #13983]
44874         * elf/ldconfig.c (parse_conf): Change string to make clear that
44875         ldconfig only issued a warning if ld.so.conf does not exist.
44877 2012-05-08  David S. Miller  <davem@davemloft.net>
44879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44880         movxtod instead of popping the value on the stack.
44882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44884 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44886         * config.h.in: Add HAVE_ARM_PCS_VFP.
44888 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44890         [BZ #13979]
44891         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44892         checking but the checks are disabled for any reason.
44894 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44896         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44897         and ELF64_R_TYPE with ELFW(R_TYPE).
44899 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44901         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44902         (ulimit): Likewise.
44904         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44905         (settimeofday): Likewise.
44907 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44909         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44910         a struct th_u2 inside the union, and move tu_block/tu_code into
44911         a new th_u3 union of tu_block/tu_code inside of that.  Move
44912         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44913         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44914         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44915         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44916         (th_stuff): Change to th_u1.tu_stuff.
44917         (th_data): Define.
44918         (th_msg): Change to th_u1.th_u2.tu_data.
44920 2012-05-07  David S. Miller  <davem@davemloft.net>
44922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44924         [BZ #14074]
44925         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44926         (SETUP_PIC_REG): Use it.
44927         (SETUP_PIC_REG_LEAF): Use it.
44929 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44931         [BZ #13885]
44932         [BZ #13923]
44933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44934         USE_AS_EXPM1L.
44935         (EXPL_FINITE): Likewise.
44936         (FLDLOG): Likewise.
44937         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44938         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44939         e_expl.S.
44940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44941         USE_AS_EXPM1L.
44942         (EXPL_FINITE): Likewise.
44943         (FLDLOG): Likewise.
44944         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44945         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44946         e_expl.S.
44947         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44948         test of -max_value argument for long double.
44949         * sysdeps/i386/fpu/libm-test-ulps: Update.
44950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44952 2012-05-06  David S. Miller  <davem@davemloft.net>
44954         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44955         quad soft-float symbols whose references which are compiler
44956         generated.
44957         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44959 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44961         [BZ #13884]
44962         [BZ #13914]
44963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44964         USE_AS_EXP10L.
44965         (EXPL_FINITE): Likewise.
44966         (FLDLOG): Likewise.
44967         (c0): Likewise.
44968         (c1): Likewise.
44969         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44970         Adjust comments for base varying.
44971         (__expl_finite): Change alias to EXPL_FINITE.
44972         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44973         e_expl.S.
44974         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44975         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44976         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44977         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44978         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44979         USE_AS_EXP10L.
44980         (EXPL_FINITE): Likewise.
44981         (FLDLOG): Likewise.
44982         (c0): Likewise.
44983         (c1): Likewise.
44984         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44985         Adjust comments for base varying.
44986         (__expl_finite): Change alias to EXPL_FINITE.
44987         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44988         tests for bugs.
44989         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44991         [BZ #14064]
44992         * math/libm-test.inc (check_float_internal): Correct ulp
44993         calculation for subnormal expected results.
44995 2012-05-06  Andreas Jaeger  <aj@suse.de>
44997         * Makeconfig (+math-flags): New, set to -frounding-math.
44998         (+cflags): Add +math-flags so that all of glibc gets compiled with
44999         it.
45001         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45003 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
45005         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45006         Disable one test.
45008         [BZ #13787]
45009         [BZ #13922]
45010         [BZ #14036]
45011         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45012         (__ieee754_expl): Allow for and saturate large arguments.
45013         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45014         (u_threshold): Likewise.
45015         (__exp): Call __ieee754_exp before checking for overflow and
45016         underflow.
45017         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45018         (u_threshold): Likewise.
45019         (__expf): Call __ieee754_expf before checking for overflow and
45020         underflow.
45021         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45022         (u_threshold): Likewise.
45023         (__expl): Call __ieee754_expl before checking for overflow and
45024         underflow.
45025         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45026         (__ieee754_expl): Allow for and saturate large arguments.
45027         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45028         missing overflow exception on overflow.
45029         (expm1_test): Do not allow missing overflow exception on overflow.
45031         * sysdeps/i386/fpu/e_expl.c: Move to ...
45032         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45033         rather than using inline asm.
45034         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45035         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45036         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45038         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45039         (nice): Likewise.
45040         (poll): Likewise.
45041         (signal): Likewise.
45042         (time): Likewise.
45043         (times): Likewise.
45045 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45047         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45048         sysdeps/unix/common/syscalls.list.
45049         (fchmod): Likewise.
45050         (fchown): Likewise.
45051         (ftruncate): Likewise.
45052         (getrusage): Likewise.
45053         (gettimeofday): Likewise.
45054         (setpgid): Likewise.
45055         (setregid): Likewise.
45056         (setreuid): Likewise.
45057         (sigaction): Likewise.
45058         (truncate): Likewise.
45059         (vhangup): Likewise.
45060         * sysdeps/unix/common/syscalls.list: Remove file.
45061         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45062         * sysdeps/unix/sysv/linux/Implies: Likewise.
45064 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45066         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45067         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45068         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45069         Moved to ...
45070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45071         Here.
45072         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45073         to ...
45074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45075         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45076         to ...
45077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45078         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45079         to ...
45080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45081         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45082         to ...
45083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45084         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45085         to ...
45086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45087         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45088         to ...
45089         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45090         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45091         to ...
45092         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45093         Here.
45094         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45095         to ...
45096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45097         Here.
45098         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45099         to ...
45100         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45101         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45102         Moved to ...
45103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45104         Here.
45105         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45106         to ...
45107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45109 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45111         * sysdeps/unix/common/bits/dirent.h: Remove file.
45112         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45114         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45115         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45116         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45117         * sysdeps/unix/bsd/isatty.c: Likewise.
45118         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45119         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45120         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45122 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45124         [BZ #13563]
45125         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45126         long double comparison inaccuracies.
45127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45130 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45132         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45133         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45135 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45137         [BZ #14049]
45138         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45139         nonzero digits before rounding a hex value.
45140         * stdlib/tst-strtod.c (tests): Add another test.
45142 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45144         * sysdeps/s390/fpu/libm-test-ulps: Update.
45146 2012-05-03  Andreas Jaeger  <aj@suse.de>
45148         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45149         does not get optimized out.
45150         (malloc_opt_barrier): New.
45152 2012-05-03  Andreas Jaeger  <aj@suse.de>
45153             Roland McGrath  <roland@hack.frob.com>
45155         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45156         intermediate file deletion.
45157         (generated): Add .symlist files.
45159 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45161         [BZ #13775]
45162         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45163         Redirect under this condition.
45164         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45165         [__USE_GNU] (__dprintf_chk): Not under this condition.
45166         [__USE_GNU] (__vdprintf_chk): Likewise.
45167         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45168         under this condition.
45169         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45170         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45171         [__USE_XOPEN2K8] (vdprintf): Likewise.
45172         [__USE_GNU] (__dprintf_chk): Not under this condition.
45173         [__USE_GNU] (__vdprintf_chk): Likewise.
45174         [__USE_GNU] (dprintf): Likewise.
45175         [__USE_GNU] (vdprintf): Likewise.
45177 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45179         * elf/Makefile (common-generated): Set this instead of generated for
45180         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45181         $(all-built-dso)-derived lists.
45183 2012-05-03  Andreas Jaeger  <aj@suse.de>
45185         * sysdeps/i386/fpu/libm-test-ulps: Update.
45187         * FAQ: Removed.
45188         * FAQ.in: Likewise.
45189         * scripts/gen-FAQ.pl: Likewise.
45190         * manual/install.texi (Installation): Point to online location of
45191         FAQ.
45192         * Makefile (files-for-dist): Remove FAQ.
45193         (FAQ): Remove.
45195 2012-05-02  Allan McRae  <allan@archlinux.org>
45197         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45198         (LDFLAGS-reldepmod5.so): Likewise.
45199         (LDFLAGS-reldep6mod1.so): Likewise.
45200         (LDFLAGS-reldep6mod4.so): Likewise.
45201         (LDFLAGS-reldep8mod3.so): Likewise.
45202         (LDFLAGS-unload4mod1.so): Likewise.
45203         (LDFLAGS-unload4mod2.so): Likewise.
45204         (LDFLAGS-tst-initorder): Likewise.
45205         (LDFLAGS-tst-initordera2.so): Likewise.
45206         (LDFLAGS-tst-initordera3.so): Likewise.
45207         (LDFLAGS-tst-initordera4.so): Likewise.
45208         (LDFLAGS-tst-initorderb2.so): Likewise.
45209         (LDFLAGS-noload): Likewise.
45210         (LDFLAGS-next): Likewise.
45211         (LDFLAGS-order2mod1.so): Likewise.
45212         (LDFLAGS-order2mod2.so): Likewise.
45213         (LDFLAGS-tst-initorder2): Likewise.
45214         (LDFLAGS-tst-initorder2a.so): Likewise.
45215         (LDFLAGS-tst-initorder2b.so): Likewise.
45216         (LDFLAGS-tst-initorder2c.so): Likewise.
45217         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45219 2012-05-02  David S. Miller  <davem@davemloft.net>
45221         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45223 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45225         [BZ #14055]
45226         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45228 2012-05-02  Andreas Jaeger  <aj@suse.de>
45230         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45231         since we manipulate rounding mode.
45232         (CPPFLAGS-test-idouble.c): Likewise.
45233         (CPPFLAGS-test-ifloat.c): Likewise.
45234         (CFLAGS-test-ldouble.c): Likewise.
45235         (CFLAGS-test-double.c): Likewise.
45236         (CFLAGS-test-float.c): Likewise.
45237         (CFLAGS-test-misc.c): Likewise.
45238         (CFLAGS-test-test-fenv.c): Likewise.
45240 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45242         [BZ #2550]
45243         [BZ #2570]
45244         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45245         comparisons to determine direction to adjust input.
45247 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45249         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45250         output to the target.
45252         * scripts/localplt.awk: New file.
45253         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45254         (check-localplt-CFLAGS): Variable removed.
45255         ($(all-built-dso:=.jmprel)): New static pattern rule.
45256         (generated): Add those targets.
45257         (localplt-built-dso): New variable.
45258         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45260         * elf/check-localplt.c: File removed.
45262         * scripts/check-execstack.awk: New file.
45263         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45264         (check-execstack-CFLAGS): Variable removed.
45265         ($(objpfx)check-execstack.h): Target removed.
45266         ($(objpfx)execstack-default): New target.
45267         (generated): Add that instead of check-execstack.h.
45268         ($(all-built-dso:=.phdr)): New static pattern rule.
45269         (generated): Add those targets.
45270         * elf/check-execstack.c: File removed.
45272         * scripts/check-textrel.awk: New file.
45273         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45274         (check-textrel-CFLAGS): Variable removed.
45275         (all-built-dso): Use := to define.o
45276         ($(all-built-dso:=.dyn)): New static pattern rule.
45277         (generated): Add those targets.
45278         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45279         * config.make.in (READELF): New substituted variable.
45280         * elf/check-textrel.c: File removed.
45282 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45284         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45285         allow.
45286         * conform/data/ctype.h-data [C99-based standards] (isblank):
45287         Expect function.
45288         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45289         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45290         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45291         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45292         Specify type.  Require positive value.
45293         (EILSEQ): Likewise.
45294         (ERANGE): Likewise.
45295         [ISO || POSIX] (EILSEQ): Do not expect.
45296         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45297         Specify type.  Require positive value.
45298         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45299         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45300         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45301         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45302         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45303         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45304         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45305         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45306         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45307         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45308         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45309         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45310         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45311         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45312         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45313         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45314         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45315         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45316         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45317         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45318         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45319         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45320         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45321         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45322         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45323         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45324         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45325         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45326         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45327         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45328         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45329         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45330         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45331         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45332         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45333         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45334         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45335         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45336         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45337         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45338         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45339         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45340         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45341         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45342         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45343         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45344         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45345         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45346         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45347         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45348         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45349         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45350         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45351         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45352         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45353         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45354         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45355         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45356         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45357         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45358         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45359         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45360         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45361         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45362         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45363         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45364         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45365         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45366         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45367         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45368         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45369         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45370         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45371         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45372         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45373         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45374         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45375         Require >= 2.
45376         (FLT_ROUNDS): Expect as macro, not constant.
45377         (FLT_MANT_DIG): Use macro-int-constant.
45378         (DBL_MANT_DIG): Likewise.
45379         (LDBL_MANT_DIG): Likewise.
45380         (FLT_DIG): Likewise.
45381         (DBL_DIG): Likewise.
45382         (LDBL_DIG): Likewise.
45383         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45384         (DBL_MIN_EXP): Likewise.
45385         (LDBL_MIN_EXP): Likewise.
45386         (FLT_MAX_EXP): Use macro-int-constant.
45387         (DBL_MAX_EXP): Likewise.
45388         (LDBL_MAX_EXP): Likewise.
45389         (FLT_MAX_10_EXP): Likewise.
45390         (DBL_MAX_10_EXP): Likewise.
45391         (LDBL_MAX_10_EXP): Likewise.
45392         (FLT_MAX): Use macro-constant.
45393         (DBL_MAX): Likewise.
45394         (LDBL_MAX): Likewise.
45395         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45396         (DBL_EPSILON): Likewise.
45397         (LDBL_EPSILON): Likewise.
45398         (FLT_MIN): Likewise.
45399         (DBL_MIN): Likewise.
45400         (LDBL_MIN): Likewise.
45401         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45402         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45403         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45404         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45405         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45406         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45407         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45408         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45409         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45410         [ISO11] (FLT_TRUE_MIN): Likewise.
45411         [ISO11] (LDBL_TRUE_MIN): Likewise.
45412         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45413         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45414         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45415         (SCHAR_MAX): Likewise.
45416         (UCHAR_MAX): Likewise.
45417         (CHAR_MIN): Likewise.
45418         (CHAR_MAX): Likewise.
45419         (MB_LEN_MAX): Use macro-int-constant.
45420         (SHRT_MIN): Use macro-int-constant.  Specify type.
45421         (SHRT_MAX): Likewise.
45422         (USHRT_MAX): Likewise.
45423         (INT_MAX): Likewise.
45424         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45425         bound negative.
45426         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45427         bound with "U".
45428         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45429         bound with "L".
45430         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45431         bound negative.  Suffix upper bound with "L".
45432         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45433         bound with "UL".
45434         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45435         Specify type.
45436         [C99-based standards] (LLONG_MAX): Likewise.
45437         [C99-based standards] (ULLONG_MAX): Likewise.
45438         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45439         == 0.
45440         [ISO11] (max_align_t): Require type.
45441         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45443         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45444         from $CFLAGS, without defining away __attribute__ calls.
45445         (checknamespace): Use $CFLAGS_namespace.
45447         * conform/conformtest.pl (@keywords): Only include C99 keywords
45448         for standards based on C99 or C11.
45450         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45451         Disable tests.
45452         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45453         UNIX98]: Likewise.
45455         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45456         usability of symbols in #if.
45458         * conform/conformtest.pl: If macro or constant types start
45459         "promoted:", expect the symbol to be of the following type
45460         promoted by the integer promotions.
45462         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45463         in one place.  Also handle "macro-constant".
45465         * conform/conformtest.pl: Only accept expected macro values with
45466         "==".  Parse all "macro" lines in one place.
45467         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45469         * conform/conformtest.pl: Handle braced types on "constant" lines
45470         instead of handling "typed-constant".
45471         * conform/data/signal.h-data: Use "constant" instead of
45472         "typed-constant".
45474         * conform/conformtest.pl: Handle "optional-" at start of lines in
45475         one place rather than duplicating several cases.  Handle each
45476         format of "macro" line with initial "optional-".
45478         * conform/conformtest.pl: Only accept expected constant or
45479         optional-constant values with "==".  Parse all "constant" lines in
45480         one place.  Parse all "optional-constant" lines in one place.
45481         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45482         * conform/data/fmtmsg.h-data: Likewise.
45483         * conform/data/netinet/in.h-data: Likewise.
45484         * conform/data/tar.h-data: Likewise.
45485         * conform/data/limits.h-data: Use "==" form on "constant" and
45486         "optional-constant" lines.
45488         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45489         Use -std=c99 for XOPEN2K.
45490         (@knownproblems): Remove.
45491         (newtoken): Don't check %isknown.
45493         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45494         Do not expect macro.
45495         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45507         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45508         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45516         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45517         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45518         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45519         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45520         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45521         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45522         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45523         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45524         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45525         [XPG3] (acosh): Likewise.
45526         [XPG3] (asinh): Likewise.
45527         [XPG3] (atanh): Likewise.
45528         [XPG3] (cbrt): Likewise.
45529         [XPG3] (expm1): Likewise.
45530         [XPG3] (ilogb): Likewise.
45531         [XPG3] (log1p): Likewise.
45532         [XPG3] (logb): Likewise.
45533         [XPG3] (nextafter): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45536         [XPG3] (remainder): Likewise.
45537         [XPG3] (rint): Likewise.
45538         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45545         [UNIX98 || XOPEN2K] (scalb): Expect.
45546         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45547         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45575         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45576         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45577         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45578         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45579         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45580         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45581         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45582         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45583         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45584         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45585         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45586         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45587         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45588         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45589         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45590         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45591         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45592         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45593         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45594         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45595         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45596         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45597         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45598         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45599         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45600         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45601         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45602         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45603         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45604         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45605         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45606         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45607         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45608         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45609         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45610         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45611         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45612         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45613         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45614         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45615         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45616         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45617         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45618         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45619         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45620         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45621         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45622         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45623         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45624         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45625         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45626         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45627         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45628         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45629         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45630         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45631         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45632         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45633         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45634         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45635         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45636         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45637         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45638         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45639         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45640         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45641         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45642         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45643         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45644         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45645         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45646         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45647         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45648         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45649         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45650         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45651         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45652         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45653         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45654         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45655         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45656         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45657         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45658         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45659         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45660         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45661         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45662         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45663         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45664         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45665         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45666         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45667         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45668         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45669         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45670         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45671         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45672         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45673         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45674         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45675         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45676         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45677         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45678         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45679         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45680         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45681         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45682         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45684         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45685         _XOPEN_SOURCE_EXTENDED for XPG4.
45687         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45689         * Makeconfig (localtime): Remove variable.
45690         (inst_localtime-file): Likewise.
45692 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45695         Update.
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45697         Update.
45698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45699         Update.
45700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45701         Update.
45702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45703         Update.
45704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45705         Update.
45706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45707         Update.
45708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45709         Update.
45710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45711         Update.
45713 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45715         [BZ #2550]
45716         [BZ #2570]
45717         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45718         comparisons to determine direction to adjust input.
45719         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45720         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45721         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45722         Likewise.
45723         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45724         Likewise.
45725         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45726         Likewise.
45727         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45729         Likewise.
45730         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45731         Likewise.
45732         * math/libm-test.inc (nexttoward_test): Add more tests.
45734 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45736         [BZ #14040]
45737         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45738         in version GLIBC_2.1, not GLIBC_2.0.
45739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45740         Likewise.
45742 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #13942]
45745         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45746         (1 - x) * (1 + x).
45747         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45748         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45749         * math/libm-test.inc (acos_test): Add more tests.
45750         (asin_test): Likewise.
45751         * sysdeps/i386/fpu/libm-test-ulps: Update.
45752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45754         [BZ #14034]
45755         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45756         of square root.
45757         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45758         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45759         * math/libm-test.inc (acos_test_tonearest): New function.
45760         (acos_test_towardzero): Likewise.
45761         (acos_test_downward): Likewise.
45762         (acos_test_upward): Likewise.
45763         (asin_test_tonearest): Likewise.
45764         (asin_test_towardzero): Likewise.
45765         (asin_test_downward): Likewise.
45766         (asin_test_upward): Likewise.
45767         (main): Call the new functions.
45768         * sysdeps/i386/fpu/libm-test-ulps: Update.
45769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45771         [BZ #13884]
45772         [BZ #13924]
45773         * math/e_exp10.c: Include <float.h>.
45774         (__ieee754_exp10): Handle underflow here rather than multiplying
45775         large negative argument by M_LN10.
45776         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45777         of __ieee754_expf.
45778         * math/e_exp10l.c: Include <float.h>.
45779         (__ieee754_exp10l): Handle underflow here rather than multiplying
45780         large negative argument by M_LN10l.
45781         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45782         spurious overflow exception on underflow.
45784 2012-04-29  Marek Polacek  <polacek@redhat.com>
45786         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45787         (__fortify_function): New macro.
45788         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45789         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45790         __extern_always_inline.
45791         * libio/bits/stdio2.h: Likewise.
45792         * libio/bits/stdio.h: Likewise.
45793         * string/string.h: Likewise.
45794         * string/bits/string3.h: Likewise.
45795         * include/stdio.h: Likewise.
45796         * stdlib/bits/stdlib.h: Likewise.
45797         * stdlib/stdlib.h: Likewise.
45798         * rt/bits/mqueue2.h: Likewise.
45799         * rt/mqueue.h: Likewise.
45800         * posix/bits/unistd.h: Likewise.
45801         * posix/unistd.h: Likewise.
45802         * io/bits/poll2.h: Likewise.
45803         * io/bits/fcntl2.h: Likewise.
45804         * io/fcntl.h: Likewise.
45805         * io/sys/poll.h: Likewise.
45806         * misc/bits/syslog.h: Likewise.
45807         * misc/bits/syslog-ldbl.h: Likewise.
45808         * misc/sys/syslog.h: Likewise.
45809         * socket/bits/socket2.h: Likewise.
45810         * socket/sys/socket.h: Likewise.
45811         * debug/tst-chk1.c: Likewise.
45812         * wcsmbs/bits/wchar2.h: Likewise.
45813         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45814         * wcsmbs/wchar.h: Likewise.
45816 2012-04-29  Andreas Jaeger  <aj@suse.de>
45818         * Makerules (tests): Remove enable-check-abi protection.
45819         (check-abi-warn): Remove.
45820         (check-abi-%): Remove check-abi-warn usage.
45822         * configure.in: Remove check-abi configure option.
45823         * configure: Regenerated.
45824         * config.make.in (enable-check-abi): Remove.
45826 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45828         [BZ #14033]
45829         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45830         double functions to double *_finite functions.
45832         [BZ #13941]
45833         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45834         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45835         LDBL_MIN_EXP.
45836         * stdio-common/Makefile (tests): Add tst-sprintf3.
45837         * stdio-common/tst-sprintf3.c: New file.
45839         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45840         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45842 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45844         * conform/conformtest.pl: Remove duplicate typed-constant
45845         handling.
45847 2012-04-28  David S. Miller  <davem@davemloft.net>
45849         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45850         (check-abi-%): Remove AWK script prerequisite and explicit
45851         abilist directory.
45852         (check-abi): Rewrite to just diff the symlist with the abilist.
45853         (config-tls, config-abi-config): Delete, no longer used.
45854         (update-abi-%): Remove AWK script and explicit abilist directory.
45855         (update-abi): Rewrite to simply compare and conditionally copy the
45856         symlist and the sysdep abilist file.  Remove update-abi-config
45857         checks.
45858         * abilist/ld.abilist: Remove.
45859         * abilist/libBrokenLocale.abilist: Remove.
45860         * abilist/libanl.abilist: Remove.
45861         * abilist/libcrypt.abilist: Remove.
45862         * abilist/libdl.abilist: Remove.
45863         * abilist/librt.abilist: Remove.
45864         * abilist/libthread_db.abilist: Remove.
45865         * abilist/libutil.abilist: Remove.
45866         * scripts/extract-abilist.awk: Remove.
45867         * scripts/merge-abilist.awk: Remove.
45868         * sysdeps/generic/libcidn.abilist: New file.
45869         * sysdeps/generic/libnss_compat.abilist: New file.
45870         * sysdeps/generic/libnss_db.abilist: New file.
45871         * sysdeps/generic/libnss_dns.abilist: New file.
45872         * sysdeps/generic/libnss_files.abilist: New file.
45873         * sysdeps/generic/libnss_hesiod.abilist: New file.
45874         * sysdeps/generic/libnss_nis.abilist: New file.
45875         * sysdeps/generic/libnss_nisplus.abilist: New file.
45876         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45877         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45878         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45879         file.
45880         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45881         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45882         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45883         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45884         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45885         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45886         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45887         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45888         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45889         file.
45890         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45891         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45892         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45893         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45894         file.
45895         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45896         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45897         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45898         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45899         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45900         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45901         file.
45902         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45903         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45904         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45905         file.
45906         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45908         New file.
45909         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45910         New file.
45911         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45912         New file.
45913         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45914         New file.
45915         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45916         New file.
45917         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45918         New file.
45919         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45920         New file.
45921         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45922         New file.
45923         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45924         New file.
45925         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45926         New file.
45927         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45928         New file.
45929         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45930         New file.
45931         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45932         New file.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45934         file.
45935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45936         New file.
45937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45938         New file.
45939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45940         file.
45941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45942         New file.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45944         New file.
45945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45946         file.
45947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45948         New file.
45949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45950         New file.
45951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45952         New file.
45953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45954         New file.
45955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45956         New file.
45957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45958         New file.
45959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45961         file.
45962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45963         New file.
45964         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45965         file.
45966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45967         file.
45968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45969         file.
45970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45971         file.
45972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45973         file.
45974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45975         New file.
45976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45977         file.
45978         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45979         file.
45980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45981         New file.
45982         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45983         file.
45984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45986         file.
45987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45988         New file.
45989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45990         file.
45991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45992         file.
45993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45994         file.
45995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45996         file.
45997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45998         file.
45999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46000         New file.
46001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46002         file.
46003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46004         file.
46005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46006         New file.
46007         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46008         file.
46009         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46010         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46011         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46012         file.
46013         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46014         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46015         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46016         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46017         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46018         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46019         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46020         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46021         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46022         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46025         file.
46026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46027         New file.
46028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46029         file.
46030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46031         file.
46032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46033         file.
46034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46035         file.
46036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46037         file.
46038         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46039         New file.
46040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46041         New file.
46042         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46043         file.
46044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46045         New file.
46046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46047         file.
46048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46050         file.
46051         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46052         New file.
46053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46054         file.
46055         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46056         file.
46057         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46058         file.
46059         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46060         file.
46061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46062         file.
46063         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46064         New file.
46065         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46066         New file.
46067         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46068         file.
46069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46070         New file.
46071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46072         file.
46074 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46076         * conform/conformtest.pl: Fix typo in handling typed-constant from
46077         allow-header.
46079 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46081         * README: Cut down references to pre-2.6 Linux kernels and
46082         Linuxthreads.  Update lists of configurations in libc and ports
46083         and sort alphabetically.  Say "or newer" with Linux kernel version
46084         requirements.
46086         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46088 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46090         [BZ #887]
46091         * math/libm-test.inc (logb_test_downward): New test to expose
46092         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46093         rounding mode.
46095 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46097         [BZ #14027]
46098         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46099         to be done.
46100         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46101         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46103 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46105         * sysdeps/unix/i386/brk.S: Remove file.
46106         * sysdeps/unix/i386/dl-brk.S: Likewise.
46107         * sysdeps/unix/i386/pipe.S: Likewise.
46108         * sysdeps/unix/i386/sigreturn.S: Likewise.
46109         * sysdeps/unix/i386/syscall.S: Likewise.
46110         * sysdeps/unix/i386/vfork.S: Likewise.
46111         * sysdeps/unix/i386/wait.S: Likewise.
46113         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46114         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46116         * configure.in (arm*-none*): Do not allow without
46117         --enable-hacker-mode.
46118         (netbsd*): Remove case setting base_os.
46119         (386bsd*): Likewise.
46120         (freebsd*): Likewise.
46121         (bsdi*): Likewise.
46122         (osf*): Likewise.
46123         (sunos*): Likewise.
46124         (ultrix*): Likewise.
46125         (newsos*): Likewise.
46126         (dynix*): Likewise.
46127         (*bsd*): Likewise.
46128         (sysv*): Likewise.
46129         (isc*): Likewise.
46130         (esix*): Likewise.
46131         (sco*): Likewise.
46132         (minix*): Likewise.
46133         (irix4*): Likewise.
46134         (irix6*): Likewise.
46135         (solaris[2-9]*): Likewise.
46136         (none): Likewise.
46137         * configure: Regenerated.
46139 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46141         [BZ #11521]
46142         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46143         overflow or cancellation in calculating denominator.
46144         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46145         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46146         down expression to avoid unexpected rounding in newer GCCs.
46147         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46149 2012-04-26  David S. Miller  <davem@davemloft.net>
46151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46152         long-double compat symbols.
46153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46158         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46160         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46162         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46163         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46164         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46165         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46167 2012-04-25  David S. Miller  <davem@davemloft.net>
46169         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46170         HWCAP_* values only after the memory barriers have been defined.
46171         (atomic_full_barrier): Define.
46172         (atomic_read_barrier): Define.
46173         (atomic_write_barrier): Define.
46175 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46177         * shlib-versions: Add libgcc_s version information.
46178         * sysdeps/generic/libgcc_s.h: Remove.
46179         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46180         libgcc_s.h.
46181         * sysdeps/gnu/unwind-resume.c: Likewise.
46182         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46184 2012-04-25  David S. Miller  <davem@davemloft.net>
46186         * sysdeps/unix/sparc/brk.S: Delete.
46187         * sysdeps/unix/sparc/dl-brk.S: Delete.
46188         * sysdeps/unix/sparc/pipe.S: Delete.
46189         * sysdeps/unix/sparc/sysdep.S: Delete.
46190         * sysdeps/unix/sparc/sysdep.h: Delete.
46191         * sysdeps/unix/sparc/vfork.S: Delete.
46192         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46193         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46194         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46195         (ret_ERRVAL, r0, r1, MOVE): Define.
46196         (JUMPTARGET): Remove.
46197         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46198         sysdeps/unix/sparc/sysdep.h
46199         (ENTRY, END): Remove.
46200         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46202 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46204         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46205         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46206         -DIS_IN_build.
46208         * timezone/README: Update upstream location and email address for
46209         tzcode and tzdata.
46210         * timezone/zdump.c: Update from tzcode 2012b.
46211         * timezone/zic.c: Likewise.
46213         * configure.in (libc_cv_as_needed): Remove test.
46214         * configure: Regenerated.
46215         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46216         conditional definition.
46217         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46218         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46219         * config.make.in (have-as-needed): Remove variable.
46221 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46222             Paul Pluzhnikov  <ppluzhnikov@google.com>
46224         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46225         strings correctly.
46227 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46229         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46230         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46231         * sysdeps/sh/strlen.S: Likewise.
46233 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46235         * sysdeps/unix/fork.S: Remove file.
46236         * sysdeps/unix/i386/fork.S: Likewise.
46237         * sysdeps/unix/sparc/fork.S: Likewise.
46239         * sysdeps/unix/system.c: Remove file.
46240         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46242         * sysdeps/unix/getegid.S: Remove file.
46243         * sysdeps/unix/geteuid.S: Likewise.
46245 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46247         * scripts/check-localplt.awk: New file.
46248         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46249         of diff.
46250         * scripts/data/localplt-generic.data: Add a comment.
46252         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46253         NODE when __dir_mkfile failed.
46254         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46255         Reported by Ludovic Courtès <ludo@gnu.org>.
46257 2012-04-24  Andreas Jaeger  <aj@suse.de>
46259         * Makerules (common-clean): Also remove gen-as-const-headers
46260         files.
46262 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46264         * Makerules (native-compile): Do not change working directory for
46265         build.  Use $(OUTPUT_OPTION) in command.
46266         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46268 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46270         [BZ #13886]
46271         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46272         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46273         * math/libm-test.inc (floor_test): Add more tests.
46274         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46276 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46278         * sysdeps/unix/getdents.c: Remove file.
46279         * sysdeps/unix/sysv/getdents.c: Likewise.
46280         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46282         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46283         sysdeps/unix/mman/syscalls.list.
46284         (mmap): Likewise.
46285         (mprotect): Likewise.
46286         (msync): Likewise.
46287         (munmap): Likewise.
46288         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46289         * sysdeps/unix/mman/syscalls.list: Remove.
46290         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46292         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46293         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46294         * configure: Regenerated.
46295         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46296         $(libgcc_s_suffix).
46297         * config.make.in (libgcc_s_suffix): Remove variable.
46299 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46301         * sysdeps/unix/sysv/gethostname.c: Move to ...
46302         * sysdeps/posix/gethostname.c: ... here.
46304         * sysdeps/unix/execve.S: Remove file.
46306         * sysdeps/unix/_exit.S: Remove file.
46308 2012-04-23  Andreas Jaeger  <aj@suse.de>
46310         [BZ #13739]
46311         * manual/Makefile: Remove make dist support, there's no
46312         need for a stand-alone documentation tar ball.
46313         (TEXI2DVI): Define always, it's not in Makeconfig.
46314         (dist): Removed.
46315         (tar-it): Removed.
46316         (edition): Removed.
46317         (glibc-doc-$(edition).tar): Removed
46318         (%.Z): Removed.
46319         (%.gz): Removed.
46320         (%.uu): Removed.
46321         (ETAGS): Remove, it's in Makeconfig.
46322         (move-if-change): Remove, it's in Makeconfig.
46324 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46326         [BZ #13970]
46327         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46328         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46329         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46330         (strtod_l, strtof_l, strtold_l): Remove __wur.
46331         It is not necessarily an error to ignore strtol's return value.
46332         One can reliably look at the stored endptr to decide whether
46333         the number had valid syntax.
46335 2012-04-21  Andreas Jaeger  <aj@suse.de>
46337         [BZ #13739]
46338         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46340 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46342         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46343         * sysdeps/unix/sysv/Versions: Remove file.
46345 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46347         [BZ #13927]
46348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46350 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46352         [BZ #7064]
46353         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46354         version from __vm86.
46356 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46358         * sysdeps/unix/common/lxstat.c: Remove file.
46359         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46361         * sysdeps/unix/sysv/Makefile: Remove file.
46363         * sysdeps/unix/sysv/direct.h: Remove file.
46365         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46366         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46367         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46368         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46369         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46370         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46371         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46373         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46375         * sysdeps/unix/xmknod.c: Remove file.
46376         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46378         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46380         * sysdeps/unix/sysv/i386/time.S: Remove file.
46382         * sysdeps/unix/fxstat.c: Remove file.
46383         * sysdeps/unix/xstat.c: Likewise.
46384         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46386         * sysdeps/unix/sysv/sigaction.c: Remove file.
46388         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46389         (sysdep_headers): Remove variable.
46390         [termio.h not in sysdep_headers] (generated): Likewise.
46391         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46392         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46393         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46394         * sysdeps/unix/sysv/tcflow.c: Likewise.
46395         * sysdeps/unix/sysv/tcflush.c: Likewise.
46396         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46397         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46398         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46399         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46400         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46402         * sysdeps/unix/siglist.c: Remove file.
46404         * sysdeps/unix/getppid.S: Remove file.
46406         * sysdeps/unix/mkdir.c: Remove file.
46407         * sysdeps/unix/rmdir.c: Likewise.
46409 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46411         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46412         ERR_MAX value.
46413         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46414         errlist-compat value.
46416 2012-04-18  David S. Miller  <davem@davemloft.net>
46418         * sysdeps/generic/memcopy.h (reg_char): Delete.
46419         * debug/strcat_chk.c: Use char, not reg_char.
46420         * debug/strcpy_chk.c: Likewise.
46421         * debug/strncat_chk.c: Likewise.
46422         * debug/strncpy_chk.c: Likewise.
46423         * string/memchr.c: Likewise.
46424         * string/memrchr.c: Likewise.
46425         * string/rawmemchr.c: Likewise.
46426         * string/strcat.c: Likewise.
46427         * string/strchr.c: Likewise.
46428         * string/strchrnul.c: Likewise.
46429         * string/strcmp.c: Likewise.
46430         * string/strcpy.c: Likewise.
46431         * string/strncat.c: Likewise.
46432         * string/strncmp.c: Likewise.
46433         * string/strncpy.c: Likewise.
46435 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46437         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46438         __builtin_memcopy is called when src and dest ranges are known to not
46439         overlap.
46441 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46444         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46445         fwd_align_merge macro call.
46446         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46447         bwd_align_merge macro call.
46448         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46450 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46452         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46453         bwd_align_merge macros.
46454         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46455         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46456         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46458 2012-04-18  David S. Miller  <davem@davemloft.net>
46460         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46462 2012-04-18  Andreas Jaeger  <aj@suse.de>
46464         [BZ# 6794]
46465         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46466         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46467         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46469         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46470         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46471         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46473         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46474         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46475         Adjust for changed ldbl-128 files.
46477         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46478         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46479         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46481 2012-04-17  David S. Miller  <davem@davemloft.net>
46483         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46485 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46487         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46488         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46489         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46490         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46491         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46492         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46494 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46496         [BZ #6794]
46497         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46498         * math/libm-test.inc: Add ilogb errno and exception tests.
46499         * math/w_ilogb.c: New file: ilogb wrapper.
46500         * math/w_ilogbf.c: New file: ilogbf wrapper.
46501         * math/w_ilogbl.c: New file: ilogbl wrapper.
46502         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46503         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46504         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46505         exception being thrown with 0.0 as argument.
46506         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46507         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46508         exception being thrown with 0.0 as argument.
46509         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46510         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46511         exception being thrown with 0.0 as argument.
46512         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46513         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46514         exception being thrown with 0.0 as argument.
46515         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46516         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46517         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46518         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46519         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46520         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46521         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46522         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46523         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46525 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46527         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46528         with altivec.
46530 2012-04-16  Marek Polacek  <polacek@redhat.com>
46532         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46534 2012-04-16  Marek Polacek  <polacek@redhat.com>
46536         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46537         operands of fdivp instruction.
46539 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46541         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46542         * elf/tst-auditmod3b.c: Likewise.
46543         * elf/tst-auditmod4b.c: Likewise.
46544         * elf/tst-auditmod5b.c: Likewise.
46545         * elf/tst-auditmod6b.c: Likewise.
46546         * elf/tst-auditmod6c.c: Likewise.
46547         * elf/tst-auditmod7b.c: Likewise.
46548         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46549         * sysdeps/x86_64/preconfigure.in: Likewise.
46550         * sysdeps/x86_64/preconfigure: Regenerated.
46552 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46554         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46555         __ILP32__.
46557 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46560         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46562 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46564         [BZ #13973]
46565         * locale/iso-639.def: Fix gl language name. Spotted by
46566         Yaron Shahrabani.
46568 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46570         [BZ #2074]
46571         * libio/libio.h (__io_write_fn): Update comment.
46573 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46575         [BZ #2074]
46576         * stdio.texi (Hook Functions): The user provided writer function
46577         is not allowed to return -1.
46579 2012-04-11  David S. Miller  <davem@davemloft.net>
46581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46583 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46585         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46586         Add a leading slash to rtkaio.
46588 2012-04-11  Jim Meyering  <meyering@redhat.com>
46590         [BZ #11959]
46591         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46592         It is not necessarily an error to ignore fwrite's return
46593         value.  One can reliably use ferror to test for errors after
46594         the fact.
46596 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46598         * bits/types.h (__snseconds_t): New type.
46599         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46601         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46603         (__SNSECONDS_T_TYPE): Likewise.
46604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46605         (__SNSECONDS_T_TYPE): Likewise.
46606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46607         (__SNSECONDS_T_TYPE): Likewise.
46609 2012-04-10  Andreas Jaeger  <aj@suse.de>
46611         [BZ #2636]
46612         * manual/time.texi (Processor Time): Return type of times is
46613         elapsed real time since an arbitrary point in the past.
46614         (CPU Time): Move CLK_TCK from here...
46615         (Processor Time): ...to here.  Correct description.
46616         * manual/conf.texi (Constants for Sysconf): Correct description of
46617         _SC_CLK_TCK.
46619 2012-04-10  David S. Miller  <davem@davemloft.net>
46621         [BZ #13967]
46622         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46623         where the is a gap between DT_REL(A) and DT_JMPREL.
46625 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46627         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46628         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46629         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46631 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46633         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46634         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46635         (dl_main): Handle --inhibit-cache.
46636         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46637         _dl_inhibit_cache.
46638         * elf/dl-load.c (_dl_map_object): Use it.
46639         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46641 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46643         [BZ #13872]
46644         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46645         (__ieee754_powl): Saturate large exponents rather than testing for
46646         overflow of y*log2(x).
46647         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46648         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46649         exceptions.
46651         [BZ #11521]
46652         * math/s_ctan.c: Include <float.h>.
46653         (__ctan): Avoid internal overflow or cancellation in calculating
46654         denominator.
46655         * math/s_ctanf.c: Likewise.
46656         * math/s_ctanl.c: Likewise.
46657         * math/s_ctanh.c: Likewise.
46658         * math/s_ctanhf.c: Likewise.
46659         * math/s_ctanhl.c: Likewise.
46660         * math/libm-test.inc (ctan_test): Add more tests.
46661         (ctanh_test): Likewise.
46662         * sysdeps/i386/fpu/libm-test-ulps: Update.
46663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46665 2012-04-09  Andreas Jaeger  <aj@suse.de>
46667         [BZ #6894]
46668         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46669         is an optional BSD extension.
46671         [BZ #10254]
46672         * manual/stdio.texi (Opening Streams): Document additional fopen
46673         parameters.
46675 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46677         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46678         %eax without telling the compiler.
46680 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46682         [BZ # 13963]
46683         * manual/install.texi: Use sourceware.org.
46685 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46687         [BZ #13873]
46688         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46689         (__ieee754_pow): Generate overflow and underflow using huge*huge
46690         and tiny*tiny rather than just returning constant infinity or zero
46691         for large exponents.
46692         * math/libm-test.inc (pow_test): Require overflow exceptions for
46693         applicable cases of large exponents.
46695         [BZ #706]
46696         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46697         (__ieee754_pow): Use iterative multiplication algorithm only for
46698         integer exponents with absolute value below 1024.  Check for odd
46699         integer exponents when using algorithm for real exponents.
46700         * math/libm-test.inc (pow_test): Add more tests.
46701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46703 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46705         [BZ #13705]
46706         * math/libm-test.inc (exp_test): Do not allow overflow exception
46707         on underflow test.
46709 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46711         [BZ #13705]
46712         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46713         instead of __kernel_standard_f.
46715 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46717         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46718         * sysdeps/x86_64/memset_chk.S: Likewise.
46720 2012-04-08  Andreas Jaeger  <aj@suse.de>
46722         [BZ #10153]
46723         * manual/startup.texi (Environment Access): Describe return value
46724         for putenv and setenv.
46726         [BZ #6895]
46727         * manual/filesys.texi (Directory Entries): Add description for
46728         DT_LNK.
46730         [BZ #6890]
46731         * manual/filesys.texi (Directory Entries): Clarify that it's file
46732         system not operating system in the description of DT_UNKNOWN.
46734         [BZ #6578]
46735         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46737 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46739         [BZ #6649]
46740         * manual/llio.texi (Opening and Closing Files): Add cross
46741         reference to explain mode argument.
46743 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46745         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46746         * sysdeps/x86_64/memset_chk.S: Likewise.
46748 2012-04-07  David S. Miller  <davem@davemloft.net>
46750         * elf/elf.h (R_SPARC_WDISP10): Define.
46751         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46752         R_SPARC_SIZE32.
46753         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46754         R_SPARC_SIZE64 and R_SPARC_H34.
46756 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46758         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46759         conditions and remove no longer applicable assertion.
46761 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46763         * bits/byteswap.h: Include <features.h>.
46764         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46765         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46767 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46769         * bits/byteswap.h (__bswap_16): Removed.
46770         Include <bits/byteswap-16.h> to get __bswap_16.
46771         * sysdeps/i386/bits/byteswap.h: Likewise.
46772         * sysdeps/s390/bits/byteswap.h: Likewise.
46773         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46774         * bits/byteswap-16.h: New file.
46775         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46776         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46777         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46778         * string/Makefile (headers): Add bits/byteswap-16.h.
46780 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46782         [BZ #13895]
46783         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46784         extra indirection.
46785         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46786         * nss/tst-nss-static.c: New.
46788 2012-04-06  Robert Millan  <rmh@gnu.org>
46790         [BZ #6486]
46791         * manual/llio.texi (File Position Primitive): lseek
46792         refers to WHENCE when it really means OFFSET.
46794 2012-04-06  Andreas Jaeger  <aj@suse.de>
46796         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46797         strncmp declarations.
46799         * abilist/libc.abilist: Add __poll and __ppoll.
46801 2012-04-05  David S. Miller  <davem@davemloft.net>
46803         * scripts/check-local-headers.sh: Accept a host triplet in the
46804         path matched by the exclude regexp.
46806         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46807         definition.
46808         * sysdeps/powerpc/powerpc32/dl-machine.h
46809         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46810         * sysdeps/s390/s390-32/dl-machine.h
46811         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46812         * sysdeps/sparc/sparc32/dl-machine.h
46813         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46814         * sysdeps/sparc/sparc64/dl-machine.h
46815         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46817         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46818         lazy binding.
46819         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46820         undefined symbol errors.
46822         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46823         DT_NEEDED entries.
46825 2012-04-05  Michael Matz  <matz@suse.de>
46827         [BZ #13592]
46828         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46830 2012-04-05  Andreas Jaeger  <aj@suse.de>
46832         [BZ #13908]
46833         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46834         comment.
46836 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46838         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46839         which ROUND is no valid rounding mode.
46841 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46843         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46844         read again.
46845         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46847 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46849         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46850         an exception using FPU order intentionally.
46852 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46854         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46855         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46856         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46857         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46859 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46861         [BZ #12340]
46862         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46863         EINVAL when BUFLEN is too smal.
46865 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46867         [BZ #13553]
46868         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46869         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46871 2012-04-03  Andreas Jaeger  <aj@suse.de>
46873         [BZ #13938]
46874         * manual/setjmp.texi (System V contexts): Fix sentence.
46876         [BZ #13926]
46877         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46878         New macro for this case.
46879         [!__GNUC__] (__bswap_64): New inline function for this case.
46880         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46881         * bits/byteswap.h: Likewise.
46882         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46883         ull, guard with __GLIBC_HAVE_LONG_LONG.
46885         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46886         __GLIBC_HAVE_LONG_LONG.
46888         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46889         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46891 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46893         [BZ #13691]
46894         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46895         inptr and inend, rather than using last_ch.
46897 2012-04-02  David S. Miller  <davem@davemloft.net>
46899         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46900         * stdio-common/printf-parse.h (read_int): Change return type to
46901         'int', return -1 on INT_MAX overflow.
46902         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46903         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46904         overflows INT_MAX.  Check for overflow of in-format-string precision
46905         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46906         SIZE_MAX not INT_MAX for integer overflow test.
46907         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46908         skip the construct in the format string but do not record anything.
46909         * stdio-common/bug22.c: Adjust to test both width/prevision
46910         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46911         explicitly for proper errno values.
46913 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46915         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46916         CHAR_MAX.
46917         * string/test-strcmp.c [! WIDE]: Likewise.
46918         * time/tst-mktime2.c: Likewise for INT_MAX.
46919         * string/test-string.h: #include <sys/param.h> for MIN.
46921         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46922         * sysdeps/i386/init-first.c (init): Likewise.
46923         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46924         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46925         * sysdeps/sh/init-first.c (init): Likewise.
46927 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46929         * po/ru.po: Update from translation team.
46930         * po/vi.po: Likewise.
46932 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46934         * resolv/nss_dns/dns-host.c: Merge copyright years.
46936 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46938         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46939         Optimize memcpy with prefetch if
46940         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46941         src, dst pointers have unequal 16 byte alignments.
46943 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46945         [BZ #13928]
46946         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46947         from a CNAME entry and return the minimum ttl for the query.
46948         (gaih_getanswer_slice): Likewise.
46950 2012-03-30  Jeff Law  <law@redhat.com>
46952         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46953         due to long keys.
46954         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46955         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46957         * resolv/nss_dns/dns-host.c: Update copyright year.
46959 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46961         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46962         requests to save a system call.  Fix check that all bytes are sent.
46964         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46965         comments for sendmmsg.
46967 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46969         [BZ #13691]
46970         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46971         with only 1 character between 0x0041 and 0x01b0.
46972         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46973         * wcsmbs/tst-mbsnrtowcs.c: New file.
46975 2012-03-29  David S. Miller  <davem@davemloft.net>
46977         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46978         small copies by hand.
46980 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46982         [BZ #13761]
46983         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46984         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46985         group memberships.
46987 2012-03-28  David S. Miller  <davem@davemloft.net>
46989         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46990         that branches into memcpy.
46991         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46992         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46993         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46994         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46995         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46996         bits.
46997         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46998         implementation too.
46999         * sysdeps/sparc/mempcpy.S: New file.
47001         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47002         the IFUNC routine in the libc case.
47003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47005         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47006         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47007         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47008         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47009         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47010         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47011         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47012         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47014         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47015         loop to 256 bytes instead of 64 bytes and fix test signedness.
47017         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47018         * sysdeps/sparc/sparc32/Makefile: rather than here...
47019         * sysdeps/sparc/sparc64/Makefile: and here.
47021 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47023         * malloc/mallocbug.c: Avoid warnings about unused variables.
47025 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47027         [BZ #13760]
47028         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47029         in the right place. Discard and retry query if response is
47030         larger than input buffer size.
47032 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47034         [BZ #369]
47035         [BZ #2678]
47036         [BZ #3866]
47037         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47038         x for large integer exponent.
47039         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47040         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47041         sign of result as needed afterwards.
47042         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47043         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47044         result for underflowing pow the same as for overflow.
47045         (__kernel_standard_l): Handle powl overflow and underflow here
47046         rather than calling __kernel_standard.
47047         * math/libm-test.inc (pow_test): Add more tests.
47049         [BZ #3868]
47050         [BZ #13879]
47051         [BZ #13910]
47052         [BZ #13911]
47053         [BZ #13912]
47054         [BZ #13913]
47055         [BZ #13915]
47056         [BZ #13916]
47057         [BZ #13917]
47058         [BZ #13918]
47059         [BZ #13919]
47060         [BZ #13920]
47061         [BZ #13921]
47062         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47063         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47064         (__kernel_standard_l): New function.
47065         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47066         __kernel_standard.
47067         * math/w_acosl.c (__acosl): Likewise.
47068         * math/w_asinl.c (__asinl): Likewise.
47069         * math/w_atan2l.c (__atan2l): Likewise.
47070         * math/w_atanhl.c (__atanhl): Likewise.
47071         * math/w_coshl.c (__coshl): Likewise.
47072         * math/w_exp10l.c (__exp10l): Likewise.
47073         * math/w_exp2l.c (__exp2l): Likewise.
47074         * math/w_fmodl.c (__fmodl): Likewise.
47075         * math/w_hypotl.c (__hypotl): Likewise.
47076         * math/w_j0l.c (__j0l, __y0l): Likewise.
47077         * math/w_j1l.c (__j1l, __y1l): Likewise.
47078         * math/w_jnl.c (__jnl, __ynl): Likewise.
47079         * math/w_lgammal.c (__lgammal): Likewise.
47080         * math/w_log10l.c (__log10l): Likewise.
47081         * math/w_log2l.c (__log2l): Likewise.
47082         * math/w_logl.c (__logl): Likewise.
47083         * math/w_powl.c (__powl): Likewise.
47084         * math/w_remainderl.c (__remainderl): Likewise.
47085         * math/w_scalbl.c (sysv_scalbl): Likewise.
47086         * math/w_sinhl.c (__sinhl): Likewise.
47087         * math/w_sqrtl.c (__sqrtl): Likewise.
47088         * math/w_tgammal.c (__tgammal): Likewise.
47089         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47090         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47091         * math/libm-test.inc (acos_test): Add more tests.
47092         (acosh_test): Likewise.
47093         (asin_test): Likewise.
47094         (atanh_test): Likewise.
47095         (exp_test): Likewise.
47096         (exp10_test): Likewise.
47097         (exp2_test): Likewise.
47098         (expm1_test): Likewise.
47099         (lgamma_test): Likewise.
47100         (log_test): Likewise.
47101         (log10_test): Likewise.
47102         (log1p_test): Likewise.
47103         (log2_test): Likewise.
47104         (pow_test): Do not allow some spurious overflow exceptions.
47105         (sqrt_test): Add more tests.
47106         (tgamma_test): Likewise.
47107         (y0_test): Likewise.
47108         (y1_test): Likewise.
47109         (yn_test): Likewise.
47111 2012-03-27  Anton Blanchard  <anton@samba.org>
47113         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47114         MAP_HUGETLB.
47115         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47116         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47117         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47119 2012-03-27  David S. Miller  <davem@davemloft.net>
47121         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47123         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47124         have-as-vis3 check.
47126 2012-03-27  Andreas Jaeger  <aj@suse.de>
47128         * sysdeps/x86_64/elf/configure.in: Moved to ...
47129         * sysdeps/x86_64/configure.in: ... here.
47130         * sysdeps/x86_64/elf/start.S: Moved to ...
47131         * sysdeps/x86_64/start.S: ... here.
47132         * sysdeps/x86_64/elf/configure: Delete.
47134         * sysdeps/x86_64/configure.in: Merge contents from
47135         sysdeps/i386/configure.in (without i686 check).
47137         * sysdeps/i386/elf/Versions: Merge into ...
47138         * sysdeps/i386/Versions: ... this.
47139         * sysdeps/i386/elf/Versions: Delete file.
47140         * sysdeps/i386/elf/start.S: Moved to ...
47141         * sysdeps/i386/start.S: ...here.
47142         * sysdeps/i386/elf/configure.in: Merge into...
47143         * sysdeps/i386/configure.in: ...here.
47144         * sysdeps/i386/elf/configure.in: Delete file.
47145         * sysdeps/i386/elf/configure: Delete file.
47147         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47148         * debug/backtracesyms.c: ... here.
47149         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47150         * debug/backtracesymsfd.c: ... here.
47151         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47152         * sysdeps/generic/ifunc-sel.h: ... here.
47154         * sysdeps/unix/i386/start.c: Delete file.
47155         * sysdeps/unix/sparc/start.c: Delete file.
47156         * sysdeps/unix/start.c: Delete file.
47158         * sysdeps/sh/elf/configure.in: Moved to ...
47159         * sysdeps/sh/configure.in: ... here.
47160         * sysdeps/sh/elf/start.S: Moved to ...
47161         * sysdeps/sh/start.S: ... here.
47162         * sysdeps/sh/elf/configure: Delete file.
47164         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47165         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47166         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47167         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47168         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47169         * sysdeps/powerpc/powerpc64/start.S: here.
47170         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47171         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47172         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47173         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47174         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47176         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47177         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47178         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47179         * sysdeps/powerpc/powerpc32/start.S: ... here.
47180         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47181         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47182         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47184         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47185         * sysdeps/powerpc/ifunc-sel.h: ... here.
47186         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47187         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47189         * sysdeps/sparc/elf/configure.in: Moved to ...
47190         * sysdeps/sparc/configure.in: ... here.
47191         * sysdeps/sparc/elf/configure: Delete file.
47192         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47193         * sysdeps/sparc/sparc32/start.S: ... here.
47194         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47195         * sysdeps/sparc/sparc64/start.S: ... here.
47196         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47197         * sysdeps/sparc/sparc32/Makefile: ... this.
47198         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47199         * sysdeps/sparc/sparc64/Makefile: ... this.
47201         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47202         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47203         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47204         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47205         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47206         * sysdeps/s390/s390-32/setjmp.S: ... here.
47207         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47208         * sysdeps/s390/s390-32/configure.in: ... here.
47209         * sysdeps/s390/s390-32/elf/configure: Delete file.
47210         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47211         * sysdeps/s390/s390-32/start.S: ... here.
47213         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47214         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47215         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47216         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47217         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47218         * sysdeps/s390/s390-64/setjmp.S: ... here.
47219         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47220         * sysdeps/s390/s390-64/configure.in: ... here
47221         * sysdeps/s390/s390-64/elf/configure: Delete file.
47222         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47223         * sysdeps/s390/s390-64/start.S: ... here.
47224         * sysdeps/s390/s390-64/elf/configure: Delete.
47226         * configure.in: Remove support for elf directories in sysdeps.
47228         * configure: Regenerated.
47229         * sysdeps/i386/configure: Regenerated.
47230         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47231         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47232         * sysdeps/s390/s390-32/configure: Regenerated.
47233         * sysdeps/s390/s390-64/configure: Regenerated.
47234         * sysdeps/sh/configure: Regenerated.
47235         * sysdeps/sparc/configure: Regenerated.
47236         * sysdeps/x86_64/configure: Regenerated.
47238 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47242         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47243         denormal result into account.
47245 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47247         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47248         Reported by Allan McRae <allan@archlinux.org>.
47250 2012-03-23  Jeff Law  <law@redhat.com>
47252         * nss/getnssent.c (__nss_getent): Fix typo.
47254 2012-03-23  David S. Miller  <davem@davemloft.net>
47256         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47258 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47260         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47261         to pad to uint64_t for each field.
47262         (dl_tls_index): Replace unsigned long with uint64_t.
47264 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47265         Paul Pluzhnikov  <ppluzhnikov@google.com>
47267         [BZ #6528]
47268         * grp/Makefile (otherlibs): Don't set it.
47269         * inet/Makefile (otherlibs): Likewise.
47270         * login/Makefile (otherlibs): Likewise.
47271         * nscd/Makefile (otherlibs): Likewise.
47272         * posix/Makefile (otherlibs): Likewise.
47273         * pwd/Makefile (otherlibs): Likewise.
47274         * rt/Makefile (otherlibs): Likewise.
47275         * sunrpc/Makefile (otherlibs): Likewise.
47276         * nss/Makefile (otherlibs): Likewise.
47277         Add libnss_files to routines and static-only-routines.
47278         ($(objpfx)getent): Remove rule.
47279         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47280         static-only-routines.
47282 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47284         [BZ #13892]
47285         * math/s_cexp.c: Include <float.h>.
47286         (__cexp): Handle exp result overflowing not necessarily
47287         overflowing both real and imaginary parts of result.
47288         * math/s_cexpf.c: Likewise.
47289         * math/s_cexpl.c: Likewise.
47290         * math/libm-test.inc (cexp_test): Add more tests.
47291         * sysdeps/i386/fpu/libm-test-ulps: Update.
47292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47294 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47296         * include/link.h (ELFW): New macro.
47297         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47298         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47300 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47302         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47303         with uint64_t.
47305 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47307         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47308         declaration.
47309         (struct La_x32_retval): Likewise.
47311 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47313         * sysdeps/x86_64/preconfigure.in: New file.
47314         * sysdeps/x86_64/preconfigure: New generated file.
47316 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47318         [BZ #13824]
47319         * math/e_exp2l.c: Include <float.h>.
47320         (__ieee754_exp2l): Handle overflow and underflow cases
47321         separately.  Only pass fractional part of argument to
47322         __ieee754_expl.
47323         * math/libm-test.inc (exp2_test): Add more tests.
47325         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47326         negating x to take absolute value.
47327         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47328         Likewise.
47329         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47330         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47331         Likewise.
47332         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47333         computing low part if x was negated.
47334         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47336 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47338         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47339         la_x32_gnu_pltexit.
47340         (pltexit): Cast int_retval to ptrdiff_t.
47341         * elf/tst-auditmod3b.c: Likewise.
47342         * elf/tst-auditmod4b.c: Likewise.
47343         * elf/tst-auditmod5b.c: Likewise.
47344         * elf/tst-auditmod6b.c: Likewise.
47345         * elf/tst-auditmod6c.c: Likewise.
47346         * elf/tst-auditmod7b.c: Likewise.
47348         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47349         and x32_gnu_pltexit.
47351         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47352         __ELF_NATIVE_CLASS.
47353         (La_x32_regs): New macro.
47354         (La_x32_retval): Likewise.
47355         (la_x32_gnu_pltenter): New function prototype.
47356         (la_x32_gnu_pltexit): Likewise.
47358 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47360         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47361         exponent.
47363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47365         * configure.in (libc_cv_cc_nofma): Check for option to disable
47366         generation of FMA instructions.
47367         * configure: Regenerate.
47368         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47369         * sysdeps/ieee754/dbl-64/Makefile: New file.
47370         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47371         Remove brandred-fma4.
47372         (CFLAGS-brandred-fma4.c): Remove.
47373         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47374         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47375         define.
47376         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47377         define.
47379 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47381         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47382         LLONG_MAX != LONG_MAX.
47383         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47384         (_fitoa_word): Likewise.
47385         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47386         LLONG_MAX != LONG_MAX.
47387         * stdio-common/_itowa.h: Include <_itoa.h>.
47388         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47389         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47390         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47391         only if not defined.
47392         (_ITOA_WORD_TYPE): Likewise.
47393         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47394         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47396 2012-03-21  David S. Miller  <davem@davemloft.net>
47398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47400 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47402         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47403         of x86_64 when setting libc_cv_slibdir, libdir and
47404         libc_cv_localedir.
47405         * sysdeps/unix/sysv/linux/configure: Regenerated.
47407 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47409         * manual/lang.texi (Old Varargs): Remove section.
47410         (How Variadic): Update menu.
47411         (va_start): Do not mention varargs.h.
47413 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47414             Joseph Myers  <joseph@codesourcery.com>
47416         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47417         link test.
47418         * configure: Regenerated.
47420 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47422         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47423         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47424         conformtest.pl
47426 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47428         * NOTES: Remove.
47429         * Makefile (files-for-dist): Remove NOTES.
47430         (NOTES): Remove rule.
47431         * README: Don't refer to NOTES.
47432         * manual/creature.texi: Don't include macros.texi.
47433         * manual/intro.texi (creature.texi): Remove comment referring to
47434         NOTES.
47436         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47437         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47438         * configure: Regenerated.
47439         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47440         LIBC_TRY_CC_OPTION.
47441         (libc_cv_as_i686): Likewise.
47442         (libc_cv_cc_avx): Likewise.
47443         (libc_cv_cc_sse2avx): Likewise.
47444         (libc_cv_cc_fma4): Likewise.
47445         (libc_cv_cc_novzeroupper): Likewise.
47446         * sysdeps/i386/configure: Regenerated.
47448         [BZ #13883]
47449         * sysdeps/i386/fpu/s_cexp.S: Remove.
47450         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47451         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47452         * math/libm-test.inc (cexp_test): Add more tests.
47453         * sysdeps/i386/fpu/libm-test-ulps: Update.
47454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47456 2012-03-21  Allan McRae  <allan@archlinux.org>
47458         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47460 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47462         [BZ #13871]
47463         * math/w_exp2.c: Do not include <float.h>.
47464         (o_threshold, u_threshold): Remove.
47465         (__exp2): Calculate result before checking finiteness and calling
47466         __kernel_standard.
47467         * math/w_exp2f.c: Likewise.
47468         * math/w_exp2l.c: Likewise.
47469         * math/libm-test.inc (exp2_test): Require overflow exception for
47470         1e6 input.
47472         [BZ #3866]
47473         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47474         range of signed 64-bit integers before using fistpll.  Remove
47475         checks for whether integers fit in mantissa bits.
47476         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47477         the range of signed 32-bit integers before using fistpl.  Remove
47478         checks for whether integers fit in mantissa bits.
47479         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47480         (__ieee754_powl): Test for y outside the range of signed 64-bit
47481         integers before using fistpll.  Reduce 64-bit values to 63-bit
47482         ones as needed.
47483         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47484         divide-by-zero is raised for zero to large negative powers.
47485         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47486         (__ieee754_powl): Test for y outside the range of signed 64-bit
47487         integers before using fistpll.  Reduce 64-bit values to 63-bit
47488         ones as needed.
47489         * math/libm-test.inc (pow_test): Add more tests.
47491 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47493         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47494         <stdio-common/_itoa.h>.
47495         * debug/segfault.c: Likewise.
47496         * elf/dl-cache.c: Likewise.
47497         * elf/dl-minimal.c: Likewise.
47498         * elf/dl-misc.c: Likewise.
47499         * elf/dl-sysdep.c: Likewise.
47500         * elf/dl-version.c: Likewise.
47501         * elf/rtld.c: Likewise.
47502         * hurd/hurdsock.c: Likewise.
47503         * hurd/lookup-retry.c: Likewise.
47504         * malloc/malloc.c: Likewise.
47505         * malloc/mtrace.c: Likewise.
47506         * nscd/nscd_getgr_r.c: Likewise.
47507         * nscd/nscd_getpw_r.c: Likewise.
47508         * nscd/nscd_getserv_r.c: Likewise.
47509         * posix/getopt_init.c: Likewise.
47510         * posix/wordexp.c: Likewise.
47511         * stdio-common/_itoa.c: Likewise.
47512         * stdio-common/printf_fphex.c: Likewise.
47513         * stdio-common/vfprintf.c: Likewise.
47514         * string/_strerror.c: Likewise.
47515         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47516         * sysdeps/i386/i686/hp-timing.h: Likewise.
47517         * sysdeps/mach/_strerror.c: Likewise.
47518         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47519         * sysdeps/mach/hurd/sethostid.c: Likewise.
47520         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47521         * sysdeps/mach/xpg-strerror.c: Likewise.
47522         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47523         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47524         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47525         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47526         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47527         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47528         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47529         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47530         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47531         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47532         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47533         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47534         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47535         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47536         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47537         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47538         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47539         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47540         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47541         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47542         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47544         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47546         * stdio-common/_itoa.h: Moved to ...
47547         * sysdeps/generic/_itoa.h: Here.
47549         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47551         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47552         instead of "_itoa.h" and "_itowa.h".
47553         * stdio-common/vfprintf.: Likewise.
47555 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47557         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47558         <bits/wordsize.h>.
47559         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47560         (__signbit): Likwise.
47561         (llrintf): Likwise.
47562         (llrint): Likwise.
47564 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47566         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47567         __WORDSIZE != 64.
47569 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47571         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47572         OVERFLOW_EXCEPTION_OK.
47573         * math/libm-test.inc ("Philosophy"): Update comment about
47574         exception testing.
47575         (OVERFLOW_EXCEPTION): Define.
47576         (OVERFLOW_EXCEPTION_OK): Likewise.
47577         (INVALID_EXCEPTION_OK): Renumber.
47578         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47579         (IGNORE_ZERO_INF_SIGN): Likewise.
47580         (test_exceptions): Handle FE_OVERFLOW.
47581         (exp10_test): Expect overflow exceptions.
47582         (exp2_test): Likewise.
47583         (expm1_test): Likewise.
47584         (nextafter_test): Likewise.
47585         (pow_test): Likewise.
47586         (scalbn_test): Likewise.
47587         (scalbln_test): Likewise.
47589 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47591         * sysdeps/x86_64/bits/atomic.h
47592         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47593         64bit integer.
47594         (atomic_exchange_acq): Likewise.
47595         (__arch_exchange_and_add_body): Likewise.
47596         (__arch_add_body): Likewise.
47597         (atomic_add_negative): Likewise.
47598         (atomic_add_zero): Likewise.
47600 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47602         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47603         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47605 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47607         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47608         Check __x86_64__ instead of __WORDSIZE.
47610 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47612         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47614 2012-03-19  David S. Miller  <davem@davemloft.net>
47616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47618         * sysdeps/sparc/fpu/fenv_private.h: New file.
47619         * sysdeps/sparc/fpu/math_private.h: Use it.
47620         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47621         Remove.
47622         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47623         (libc_feholdexcept_setroundl): Remove.
47624         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47625         Remove.
47626         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47627         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47629 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47631         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47632         int64_t instead of long int.
47633         (INSERT_WORDS64): Likwise.
47635 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47637         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47638         _Unwind_GetCFA return to _Unwind_Ptr first.
47640 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47642         [BZ #13629]
47643         * math/s_clog.c: Include <float.h>.
47644         (__clog): Scale large or subnormal inputs.
47645         * math/s_clogf.c: Likewise.
47646         * math/s_clogl.c: Likewise.
47647         * math/s_clog10.c: Include <float.h>.
47648         (M_LOG10_2): Define.
47649         (__clog10): Scale large or subnormal inputs.
47650         * math/s_clog10f.c: Likewise.
47651         * math/s_clog10l.c: Likewise.
47652         * math/libm-test.inc (clog_test): Add more tests.
47653         (clog10_test): Likewise.
47654         * sysdeps/i386/fpu/libm-test-ulps: Update.
47655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47657         [BZ #11451]
47658         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47659         x and y.
47660         * math/libm-test.inc (atan2_test): Add another test.
47662         * Makerules (common-objdir-compile): Remove.
47663         * sysdeps/unix/Makefile (config-generated): Do not add
47664         $(unix-generated) to variable.
47665         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47666         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47667         Remove rule.
47668         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47669         Likewise.
47670         [generic bits/local_lim.h] (before-compile): Do not append to
47671         variable.
47672         [generic bits/local_lim.h] (common-generated): Likewise.
47673         [generic sys/param.h] (before-compile): Do not append to variable.
47674         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47675         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47676         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47677         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47678         include.
47679         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47680         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47681         [generic sys/param.h] ($(addprefix
47682         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47683         [generic sys/param.h] (common-generated): Do not append to
47684         variable.
47685         [generic sys/param.h] (sysdep_headers): Likewise.
47686         [generic bits/errno.h] (before-compile): Do not append to
47687         variable.
47688         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47689         rule.
47690         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47691         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47692         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47693         [generic bits/errno.h] (common-generated): Do not append to
47694         variable.
47695         [generic bits/ioctls.h] (before-compile): Do not append to
47696         variable.
47697         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47698         rule.
47699         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47700         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47701         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47702         rule.
47703         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47704         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47705         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47706         [generic bits/ioctls.h] (common-generated): Do not append to
47707         variable.
47708         [generic sys/syscall.h] (syscall.h): Remove variable.
47709         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47710         rule.
47711         [generic sys/syscall.h] (before-compile): Do not append to
47712         variable.
47713         [generic sys/syscall.h] (common-generated): Likewise.
47714         * sysdeps/unix/errnos-tmpl.c: Remove file.
47715         * sysdeps/unix/errnos.awk: Likewise.
47716         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47717         * sysdeps/unix/ioctls.awk: Likewise.
47718         * sysdeps/unix/mk-local_lim.c: Likewise.
47719         * sysdeps/unix/snarf-ioctls: Likewise.
47721 2012-03-19  Richard Henderson  <rth@twiddle.net>
47723         * sysdeps/i386/fpu/fenv_private.h: New file.
47724         * sysdeps/i386/fpu/math_private.h: Use it.
47725         (math_opt_barrier, math_force_eval): Remove.
47726         (libc_feholdexcept_setround_53bit): Remove.
47727         (libc_feupdateenv_53bit): Remove.
47728         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47729         (math_opt_barrier, math_force_eval): Remove.
47730         (libc_feholdexcept): Remove.
47731         (libc_feholdexcept_setround): Remove.
47732         (libc_fetestexcept, libc_fesetenv): Remove.
47733         (libc_feupdateenv_test): Remove.
47734         (libc_feupdateenv, libc_feholdsetround): Remove.
47735         (libc_feresetround): Remove.
47737         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47738         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47740         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47741         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47742         (libc_feupdateenv_testl): New.
47743         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47744         (libc_feupdateenv_testf): New.
47745         (libc_feupdateenv): Use libc_feupdateenv_test.
47746         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47747         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47749         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47750         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47751         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47752         (libc_feresetround_noex): New.
47753         (libc_feresetround_noexf): New.
47754         (libc_feresetround_noexl): New.
47755         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47756         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47757         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47758         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47759         SET_RESTORE_ROUND.
47760         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47762         (__cos): Likewise.
47763         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47764         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47765         SET_RESTORE_ROUND_NOEX.
47766         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47767         SET_RESTORE_ROUND_NOEXF.
47768         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47769         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47770         (libc_feholdsetroundf): New.
47771         (libc_feresetround, libc_feresetroundf): New.
47773         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47774         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47775         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47777         * sysdeps/generic/math_private.h: Include <fenv.h>.
47778         (default_libc_feholdexcept): New.
47779         (default_libc_feholdexcept_setround): New.
47780         (default_libc_fesetenv, default_libc_feupdateenv): New.
47781         (libc_feholdexcept): Only define if undefined.
47782         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47783         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47784         (libc_feholdexcept_setroundl): Likewise.
47785         (libc_feholdexcept_setround_53bit): Likewise.
47786         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47787         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47788         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47789         (libc_feupdateenv_53bit): Likewise.
47790         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47791         (libc_feholdexcept): Convert from macro to inline function.
47792         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47793         (libc_fesetenv, libc_feupdateenv): Likewise.
47795         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47796         not previously defined.
47797         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47798         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47799         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47800         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47801         * sysdeps/ieee754/flt-32/math_private.h: New file.
47802         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47803         math_private.h below SET_FLOAT_WORD.
47804         (__isnan, __isinf_ns, __finite): Remove.
47805         (__isnanf, __isinf_nsf, __finitef): Remove.
47807 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47811 2012-03-17  David S. Miller  <davem@davemloft.net>
47813         [BZ #6471]
47814         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47815         for 2.16.
47817 2012-03-16  David S. Miller  <davem@davemloft.net>
47819         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47820         warnings.
47822         [BZ #6471]
47823         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47824         properly.
47825         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47826         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47827         sysdep_routines when subdir is sysvipc.
47828         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47829         __getshmlba helper.
47831         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47835         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47836         [__LP64__].
47838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47840         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47841         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47842         (__lround): Renamed to ...
47843         (__llround): This.  Replace long int with long long int.
47844         Define lround functions as aliases of llround functions.
47845         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47847 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47849         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47850         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47851         adresses to uintptr_t.  Replace "long int" and "unsigned long
47852         int" with "greg_t" on va_arg.
47854 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47856         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47857         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47859         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47860         Move e_machine check before EI_CLASS check.  Handle x32
47861         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47862         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47863         SKIP_EM_IA_64 and include
47864         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47866         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47867         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47868         (add_system_dir): New macro.
47870         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47871         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47873 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47875         [BZ #2551]
47876         [BZ #2552]
47877         [BZ #2553]
47878         [BZ #2554]
47879         [BZ #2562]
47880         [BZ #2563]
47881         [BZ #2565]
47882         [BZ #2566]
47883         [BZ #2576]
47884         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47885         (y0): Likewise.
47886         * math/w_j0f.c (j0f): Likewise.
47887         (y0f): Likewise.
47888         * math/w_j0l.c (__j0l): Likewise.
47889         (__y0l): Likewise.
47890         * math/w_j1.c (j1): Likewise.
47891         (y1): Likewise.
47892         * math/w_j1f.c (j1f): Likewise.
47893         (y1f): Likewise.
47894         * math/w_j1l.c (__j1l): Likewise.
47895         (__y1l): Likewise.
47896         * math/w_jn.c (jn): Likewise.
47897         (yn): Likewise.
47898         * math/w_jnf.c (jnf): Likewise.
47899         (ynf): Likewise.
47900         * math/w_jnl.c (__jnl): Likewise.
47901         (__ynl): Likewise.
47902         * math/libm-test.inc (j0_test): Add more tests.
47903         (j1_test): Likewise.
47904         (jn_test): Likewise.  Add trailing semicolon to existing test.
47905         (y0_test): Likewise.
47906         (y1_test): Likewise.
47907         * sysdeps/i386/fpu/libm-test-ulps: Update.
47908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47910         [BZ #13851]
47911         [BZ #13854]
47912         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47913         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47914         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47915         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47916         (__tanl): Set errno for infinite argument.
47917         * sysdeps/i386/fpu/mptan.c: Remove.
47918         * sysdeps/i386/fpu/s_tan.S: Likewise.
47919         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47920         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47921         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47922         * math/libm-test.inc (tan_test): Add more tests and enable more
47923         tests for double and long double.
47924         * sysdeps/i386/fpu/libm-test-ulps: Update.
47925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47927 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47929         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47930         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47932 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47934         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47935         * configure.in: Use it for both main tree and add-ons.
47936         * configure: Regenerated.
47938 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47940         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47942 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47944         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47945         in comment.
47947         [BZ #13851]
47948         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47949         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47950         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47951         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47952         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47953         infinite argument.
47954         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47955         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47956         != 0 for prec == 2.
47957         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47958         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47959         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47960         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47961         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47962         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47963         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47964         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47965         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47966         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47967         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47968         * math/libm-test.inc (cos_test): Add more tests and enable more
47969         tests for long double.
47970         (sin_test): Likewise.
47971         (sincos_test): Likewise.
47972         * sysdeps/i386/fpu/libm-test-ulps: Update.
47973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47975 2012-03-16  David S. Miller  <davem@davemloft.net>
47977         * sysdeps/sparc/fpu/math_private.h: New file.
47979 2012-03-15  David S. Miller  <davem@davemloft.net>
47981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47982         file.
47983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47985         file.
47986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47987         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47988         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47989         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47990         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47991         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47992         sysdep routines.
47993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47995         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47996         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47998         * sysdeps/sparc/sparc-ifunc.h: New file.
47999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48000         sparc-ifunc.h
48001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
48002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48003         Likewise.
48004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48005         Likewise.
48006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48010         Likewise.
48011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48016         Likewise.
48017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48018         Likewise.
48019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48025         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48026         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48027         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48028         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48033         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48034         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48035         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48036         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48037         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48038         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48039         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48040         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48041         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48042         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48044 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48046         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48047         scaling.
48048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48050 2012-03-15  Andreas Jaeger  <aj@suse.de>
48052         [BZ #13852]
48053         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48054         ieee754/flt-32 implementation for sin, cos and sincos.
48055         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48056         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48057         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48058         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48059         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48060         ieee754/flt-32 implementation for tan.
48062         * math/libm-test.inc (cos_test): Enable some large input tests for
48063         float as well
48064         (sin_test): Likewise.
48065         (sincos_test): Likewise.
48066         (tan_test): Add tests for large input.
48068         * sysdeps/i386/fpu/libm-test-ulps: Update.
48070 2012-03-15  Andreas Jaeger  <aj@suse.de>
48072         [BZ #13658]
48073         * math/libm-test.inc (cos_test): Add more test cases.
48074         (sin_test): Likewise.
48075         (sincos_test): Likewise.
48077 2012-03-15  Andreas Jaeger  <aj@suse.de>
48079         [BZ #13837]
48080         * math/libm-test.inc (cos_test): Add a test case for large input
48081         value.
48082         (sin_test): Likewise.
48083         (sincos_test): Likewise.
48085 2012-03-15  Andreas Jaeger  <aj@suse.de>
48086             Joseph Myers  <joseph@codesourcery.com>
48088         [BZ #13658]
48089         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48090         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48091         * sysdeps/i386/fpu/branred.c: Likewise.
48092         * sysdeps/i386/fpu/dosincos.c: Likewise.
48093         * sysdeps/i386/fpu/mpa.c: Likewise.
48094         * sysdeps/i386/fpu/s_cos.S: Likewise.
48095         * sysdeps/i386/fpu/s_sin.S: Likewise.
48096         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48097         * sysdeps/i386/fpu/sincos32.c: Likewise.
48099         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48100         Define.
48101         (libc_feupdateenv_53bit): Define.
48102         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48103         Define.
48104         (libc_feupdateenv_53bit): Define.
48106         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48107         53 bit (without extend i386 double precision).
48109         * math/libm-test.inc (sincos_test): Add tests for large input.
48110         (sin): Likewise.
48111         (cos): Likewise.
48113         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48115 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48119 2012-03-15  David S. Miller  <davem@davemloft.net>
48121         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48122         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48123         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48124         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48127         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48132         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48133         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48134         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48135         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48137         file.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48140         file.
48141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48143         file.
48144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48146         file.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48149         fmin/fmax sysdep routines.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48152 2012-03-14  David S. Miller  <davem@davemloft.net>
48154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48158         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48159         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48160         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48161         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48166         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48167         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48168         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48169         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48170         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48171         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48172         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48173         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48174         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48175         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48176         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48177         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48178         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48179         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48180         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48181         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48182         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48183         routines.
48184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48185         file.
48186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48188         file.
48189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48191         file.
48192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48194         file.
48195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48197         file.
48198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48200         file.
48201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48202         file.
48203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48204         file.
48205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48206         file.
48207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48208         New file.
48209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48210         file.
48211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48212         file.
48213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48215         file.
48216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48218         file.
48219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48221         file.
48222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48224         VIS3 routines.
48226         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48227         New file.
48229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48231         * sysdeps/sparc/configure.in: New file.
48232         * sysdeps/sparc/configure: Generate.
48233         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48234         * configure: Regenerate.
48235         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48236         * config.make.in (have-as-vis3): New.
48237         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48238         available use -Av9d instead of -Av9a.
48239         * sysdeps/sparc/sparc64/Makefile: Likewise.
48240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48242         New file.
48243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48244         file.
48245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48246         New file.
48247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48248         file.
48249         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48250         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48251         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48252         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48255         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48256         fzeros/fnegs to load 0x80000000 into a float register instead of
48257         using the stack.
48258         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48260 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48263         bits/syscall.h.
48264         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48265         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48266         ($(inst_includedir)/bits/syscall.h): Remove rule.
48267         ($(objpfx)bits/syscall.d): Include instead of
48268         $(objpfx)syscall-list.d.
48269         (generated): Change syscall-list.h and syscall-list.d to
48270         bits/syscall.h and bits/syscall.d.
48272 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48274         [BZ #13846]
48275         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48277 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48279         [BZ #13841]
48280         * math/s_csqrt.c: Include <float.h>.
48281         (__csqrt): Scale large or subnormal inputs.
48282         * math/s_csqrtf.c: Likewise.
48283         * math/s_csqrtl.c: Likewise.
48284         * math/libm-test.inc (csqrt_test): Add more tests.
48285         * sysdeps/i386/fpu/libm-test-ulps: Update.
48286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48288         [BZ #13840]
48289         * math/libm-test.inc (hypot_test): Add more tests.
48291 2012-03-13  David S. Miller  <davem@davemloft.net>
48293         [BZ #13840]
48294         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48295         double-precision for the calculation instead of scaling.
48297 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48299         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48300         manipulate bits before adding and subtracting TWO52[sx].
48301         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48302         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48303         Likewise.
48304         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48306 2012-03-13  David S. Miller  <davem@davemloft.net>
48308         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48309         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48310         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48311         rtld-global-offsets.h
48312         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48314         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48315         large parameters.
48317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48319         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48320         'err' in the ifdef scope in which it is actually used.
48322         * nss/nss_db/db-init.c: Include string.h
48324 2012-03-12  David S. Miller  <davem@davemloft.net>
48326         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48327         masking out of the most significant byte of random value used.
48328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48329         Fix coding style in previous change.
48331         * sysdeps/unix/sysv/linux/kernel-features.h
48332         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48333         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48334         expression.
48335         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48336         later.
48338 2012-03-11  David S. Miller  <davem@davemloft.net>
48340         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48341         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48342         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48343         for 'resultvar' otherwise things get truncated on 64-bit.
48345         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48346         Fix masking out of the most significant byte of random value used.
48348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48350 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48354 2012-03-09  David S. Miller  <davem@davemloft.net>
48356         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48357         variables with appropriate CPP guards.
48358         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48359         from the frame pointer, not the stack pointer.  Correct layout
48360         comments.  Fix test on resulting framesize and the management of
48361         the outregs buffer for pltexit.  Preserve floating point return
48362         values across _dl_call_pltexit call.
48363         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48364         framesize and the management of the outregs buffer for pltexit.
48365         Preserve floating point return values across _dl_call_pltexit
48366         call.
48367         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48368         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48369         (la_sparc64_gnu_pltexit): New functions.
48370         (print_exit): Fix format string for return register value.
48372 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48374         * sunrpc/Makefile (others): Add rpcgen.
48375         ($(objpfx)rpcgen): Remove special build rule and dependency on
48376         libc.
48377         * sunrpc/rpcgen.c: New file.
48379 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48381         [BZ #13673]
48382         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48383         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48384         * sysdeps/i386/crti.S: Likewise.
48385         * sysdeps/i386/crtn.S: Likewise.
48386         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48387         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48388         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48389         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48390         * sysdeps/sh/crti.S: Likewise.
48391         * sysdeps/sh/crtn.S: Likewise.
48392         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48394         [BZ #13673]
48395         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48396         with URL.
48397         * locale/programs/locfile-kw.gperf: Likewise.
48398         * locale/programs/charmap-kw.h: Regenerated.
48399         * locale/programs/locfile-kw.h: Likewise.
48401         [BZ #13673]
48402         * intl/plural.y: Replace FSF snail mail address with URL.
48403         * intl/plural.c: Regenerated.
48405 2012-03-09  Richard Henderson  <rth@twiddle.net>
48407         * include/math_private.h: Remove file.
48408         * math/math_private.h: Move file ...
48409         * sysdeps/generic/math_private.h: ... here.
48411         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48412         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48413         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48415         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48416         and <math_private.h>.
48417         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48418         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48419         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48420         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48421         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48422         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48423         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48425         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48426         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48428         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48429         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48430         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48431         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48433         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48435         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48436         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48438         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48439         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48441         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48442         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48443         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48444         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48445         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48446         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48447         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48448         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48449         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48450         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48451         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48452         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48453         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48454         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48455         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48456         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48457         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48458         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48460         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48461         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48462         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48463         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48464         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48465         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48466         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48467         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48468         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48469         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48470         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48471         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48472         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48473         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48474         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48475         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48476         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48477         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48478         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48479         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48480         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48481         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48482         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48483         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48484         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48485         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48486         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48487         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48488         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48489         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48490         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48491         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48492         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48493         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48494         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48495         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48496         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48497         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48498         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48499         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48500         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48501         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48503         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48504         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48505         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48506         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48507         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48508         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48509         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48510         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48511         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48512         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48513         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48514         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48515         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48516         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48517         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48518         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48519         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48520         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48521         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48522         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48523         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48524         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48525         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48526         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48527         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48528         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48529         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48530         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48531         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48532         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48533         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48534         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48535         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48536         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48537         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48538         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48539         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48540         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48541         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48542         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48543         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48544         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48545         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48546         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48547         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48548         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48549         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48550         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48551         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48552         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48553         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48554         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48555         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48556         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48557         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48558         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48559         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48560         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48561         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48562         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48563         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48564         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48565         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48566         * sysdeps/ieee754/k_standard.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48589         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48591         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48593         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48594         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48595         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48598         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48600         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48607         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48608         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48609         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48631         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48634         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48635         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48637         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48641         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48642         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48643         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48644         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48645         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48646         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48648         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48649         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48650         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48659         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48660         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48661         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48662         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48663         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48664         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48665         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48670         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48671         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48672         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48673         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48674         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48675         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48676         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48677         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48678         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48680         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48681         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48682         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48683         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48684         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48685         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48686         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48687         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48688         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48689         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48690         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48691         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48692         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48693         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48694         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48695         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48696         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48697         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48698         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48699         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48700         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48701         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48702         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48703         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48704         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48705         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48706         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48707         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48708         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48709         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48710         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48711         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48712         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48713         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48714         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48715         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48716         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48717         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48718         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48719         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48720         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48721         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48722         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48723         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48724         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48725         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48726         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48727         * sysdeps/ieee754/s_lib_version.c: Likewise.
48728         * sysdeps/ieee754/s_matherr.c: Likewise.
48729         * sysdeps/ieee754/s_signgam.c: Likewise.
48730         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48731         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48732         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48733         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48734         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48735         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48736         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48737         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48738         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48739         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48740         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48741         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48742         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48743         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48744         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48745         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48746         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48747         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48748         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48749         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48750         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48752 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48754         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48755         * sunrpc/rpc_main.c: Likewise.
48756         * sunrpc/rpc_svcout.c: Likewise.
48758 2012-03-09  David S. Miller  <davem@davemloft.net>
48760         * include/math_private.h: New file.
48762 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48764         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48765         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48766         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48767         from <bits/socket_type.h>.
48768         (enum __socket_type): Don't define here.
48769         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48771         bits/socket_type.h.
48773         [BZ #13566]
48774         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48775         checking __USE_GNU.
48777         * Makerules ($(inst_includedir)/%.h): New rule.
48778         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48779         (install-others): Remove variable setting.
48780         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48782 2012-03-08  Richard Henderson  <rth@twiddle.net>
48784         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48785         from macro to inline function; merge with the
48786         !__LIBC_INTERNAL_MATH_INLINES version.
48787         (__ieee754_sqrtf): Likewise.
48789         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48790         to inline function.
48791         (__rintf, __floor, __floorf): Likewise.
48793         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48794         macro to inline function.
48795         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48797         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48798         not <math/math_private.h>.
48800 2012-03-08  David S. Miller  <davem@davemloft.net>
48802         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48803         copyright year.
48804         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48806 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48808         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48809         normalization.
48810         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48811         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48813 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48815         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48816         be defined individually, they must be defined as a block.  Define
48817         S for printing a string instead of hidint the different by using a
48818         macro for adding the 'l'.
48819         * stdio-common/tst-fphex-wide.c: Adjust.
48821 2012-03-07  Marek Polacek  <polacek@redhat.com>
48823         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48825 2012-03-08  Marek Polacek  <polacek@redhat.com>
48827         [BZ #13806]
48828         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48829         * stdio-common/tst-fphex.c: Define a few macros to make the
48830         test reusable.  Use them.
48831         * stdio-common/tst-fphex-wide.c: New file.
48833 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48835         [BZ #6911]
48836         * manual/macros.texi (gnusystems): New macro.
48837         (nongnusystems): Likewise.
48838         (gnulinuxhurdsystems): Likewise.
48839         (gnuhurdsystems): Likewise..
48840         (gnulinuxsystems): Likewise.
48841         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48842         variants of the GNU system, not "GNU system".
48843         * manual/conf.texi: Likewise.
48844         * manual/errno.texi: Likewise.  Update example of errno macro
48845         expansion.
48846         * manual/filesys.texi: Likewise.
48847         (getumask): Document as specific to GNU/Hurd.
48848         * manual/install.texi: Likewise.  Reword some references to
48849         GNU/Linux.
48850         * manual/intro.texi: Likewise.
48851         * manual/io.texi: Likewise.
48852         (File Name Portability): Detail which constraints are inapplicable
48853         to all GNU systems and which are only inapplicable to GNU/Hurd.
48854         * manual/job.texi: Likewise.
48855         * manual/llio.texi: Likewise.
48856         (O_NOCTTY): Document as present on GNU/Linux.
48857         * manual/maint.texi: Likewise.
48858         * manual/memory.texi: Likewise.
48859         * manual/pattern.texi: Likewise.
48860         * manual/pipe.texi: Likewise.
48861         * manual/process.texi: Likewise.
48862         * manual/resource.texi: Likewise.
48863         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48864         child on GNU/Hurd.
48865         * manual/setjmp.texi: Likewise.
48866         * manual/signal.texi: Likewise.
48867         * manual/startup.texi: Likewise.
48868         * manual/stdio.texi: Likewise.
48869         * manual/terminal.texi: Likewise.
48870         (ONLCR): Document as POSIX.
48871         (OXTABS): Document availability on GNU/Linux as XTABS.
48872         (ONOEOT): Document availability separately from other bits.
48873         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48874         * manual/time.texi: Likewise.
48875         * manual/users.texi: Likewise.
48876         * INSTALL: Regenerated.
48877         * sysdeps/gnu/errlist.c: Regenerated.
48879         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48880         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48881         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48882         puts.
48883         * configure: Regenerated.
48885 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48887         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48888         default includes instead of AC_HEADER_CHECK.
48889         * sysdeps/i386/configure: Regenerated.
48891         [BZ #10716]
48892         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48893         * math/s_cacoshf.c (__cacoshf): Likewise.
48894         * math/s_cacoshl.c (__cacoshl): Likewise.
48895         * math/s_casinh.c (__casinh): Set signs of result from argument.
48896         * math/s_casinhf.c (__casinhf): Likewise.
48897         * math/s_casinhl.c (__casinhl): Likewise.
48898         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48899         (casinh_test): Add more tests.
48900         * sysdeps/i386/fpu/libm-test-ulps: Update.
48901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48903 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48905         * po/zh_TW.po: Update from translation team.
48907         * login/Makefile (distribute): Remove variable.
48908         * catgets/Makefile: Likewise.
48909         * mach/Makefile: Likewise.
48910         * malloc/Makefile: Likewise.
48911         * misc/Makefile: Likewise.
48912         * iconv/Makefile: Likewise.
48913         * nscd/Makefile: Likewise.
48914         * hurd/Makefile: Likewise.
48915         * manual/Makefile: Likewise.
48916         * locale/Makefile: Likewise.
48917         * intl/Makefile: Likewise.
48918         * conform/Makefile: Likewise.
48919         * nss/Makefile: Likewise.
48920         * time/Makefile: Likewise.
48921         * soft-fp/Makefile: Likewise.
48922         * dirent/Makefile: Likewise.
48923         * gmon/Makefile: Likewise.
48924         * po/Makefile: Likewise.
48925         * rt/Makefile: Likewise.
48926         * socket/Makefile: Likewise.
48927         * math/Makefile: Likewise.
48928         * signal/Makefile: Likewise.
48929         * debug/Makefile: Likewise.
48930         * elf/Makefile: Likewise.
48931         * timezone/Makefile: Likewise.
48932         * stdlib/Makefile: Likewise.
48933         * iconvdata/Makefile: Likewise.
48934         * sunrpc/Makefile: Likewise.
48935         * io/Makefile: Likewise.
48936         * argp/Makefile: Likewise.
48937         * inet/Makefile: Likewise.
48938         * hesiod/Makefile: Likewise.
48939         * grp/Makefile: Likewise.
48940         * csu/Makefile: Likewise.
48941         * wctype/Makefile: Likewise.
48942         * crypt/Makefile: Likewise.
48943         * libio/Makefile: Likewise.
48944         * string/Makefile: Likewise.
48945         * nis/Makefile: Likewise.
48946         * resolv/Makefile: Likewise.
48947         * stdio-common/Makefile: Likewise.
48948         * wcsmbs/Makefile: Likewise.
48949         * dlfcn/Makefile: Likewise.
48950         * posix/Makefile: Likewise.
48952         [BZ #6959]
48953         * timezone/Makefile: Don't install timezone files, just the programs
48954         and scripts.
48956 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48958         * nss/databases.def: Add missing gshadow entry.
48960         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48962 2012-03-06  Marek Polacek  <polacek@redhat.com>
48964         [BZ #13726]
48965         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48966         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48967         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48968         * stdio-common/tst-long-dbl-fphex.c: New file.
48970 2012-03-06  David S. Miller  <davem@davemloft.net>
48972         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48973         (set_obp_int): New function.
48974         (get_obp_int): New function.
48975         (__get_clockfreq_via_dev_openprom): Likewise.
48976         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48977         Avoid unused variable warnings on 'val' and use builtin_expect.
48978         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48979         __builtin_expect.
48980         (INLINE_CLONE_SYSCALL): Likewise.
48982 2012-03-05  David S. Miller  <davem@davemloft.net>
48984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48986 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48990         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48991         only for |x| >= 40.
48992         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48994 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48997         Replace gettimeofday with __vdso_gettimeofday.
48999         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49000         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49001         __vdso_clock_gettime and __vdso_getcpu.
49003         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49004         time with __vdso_time.
49006 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49008         * manual/lang.texi (size_t): Note types to which size_t may be
49009         equivalent with the GNU C Library, but do not describe when
49010         differences between them are significant.
49012 2012-03-05  Andreas Jaeger  <aj@suse.de>
49014         * sysdeps/i386/fpu/libm-test-ulps: Update.
49016 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49018         [BZ #3976]
49019         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49020         (__ieee754_pow): Save and restore rounding mode and use
49021         round-to-nearest for main computations.
49022         * math/libm-test.inc (pow_test_tonearest): New function.
49023         (pow_test_towardzero): Likewise.
49024         (pow_test_downward): Likewise.
49025         (pow_test_upward): Likewise.
49026         (main): Call the new functions.
49027         * sysdeps/i386/fpu/libm-test-ulps: Update.
49028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49030         [BZ #3976]
49031         * math/libm-test.inc (cosh_test_tonearest): New function.
49032         (cosh_test_towardzero): Likewise.
49033         (cosh_test_downward): Likewise.
49034         (cosh_test_upward): Likewise.
49035         (sinh_test_tonearest): Likewise.
49036         (sinh_test_towardzero): Likewise.
49037         (sinh_test_downward): Likewise.
49038         (sinh_test_upward): Likewise.
49039         (main): Call the new functions.
49040         * sysdeps/i386/fpu/libm-test-ulps: Update.
49041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49043 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49045         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49046         default stack guard is set in last bytes.
49047         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49049 2012-03-05  Kees Cook  <keescook@chromium.org>
49051         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49053         [BZ #13656]
49054         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49055         possibly allocate from heap instead of stack.
49056         * stdio-common/bug-vfprintf-nargs.c: New file.
49057         * stdio-common/Makefile (tests): Add nargs overflow test.
49059 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49063 2012-03-03  Marek Polacek  <polacek@redhat.com>
49065         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49066         * math/math_private.h: Likewise.
49067         * stdlib/tst-strtod.c: Likewise.
49068         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49069         * sysdeps/x86_64/bits/atomic.h: Likewise.
49071 2012-03-02  David S. Miller  <davem@davemloft.net>
49073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49077         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49078         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49079         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49080         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49082 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49084         [BZ #13792]
49085         * manual/examples/README: New file, says the example source files
49086         can be used under GPL>=2.
49087         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49088         line containing just "*/".
49089         * manual/examples/add.c: Add copyright header (GPL>=2).
49090         * manual/examples/argp-ex1.c: Likewise.
49091         * manual/examples/argp-ex2.c: Likewise.
49092         * manual/examples/argp-ex3.c: Likewise.
49093         * manual/examples/argp-ex4.c: Likewise.
49094         * manual/examples/atexit.c: Likewise.
49095         * manual/examples/db.c: Likewise.
49096         * manual/examples/dir.c: Likewise.
49097         * manual/examples/dir2.c: Likewise.
49098         * manual/examples/execinfo.c: Likewise.
49099         * manual/examples/filecli.c: Likewise.
49100         * manual/examples/filesrv.c: Likewise.
49101         * manual/examples/fmtmsgexpl.c: Likewise.
49102         * manual/examples/genpass.c: Likewise.
49103         * manual/examples/inetcli.c: Likewise.
49104         * manual/examples/inetsrv.c: Likewise.
49105         * manual/examples/isockad.c: Likewise.
49106         * manual/examples/longopt.c: Likewise.
49107         * manual/examples/memopen.c: Likewise.
49108         * manual/examples/memstrm.c: Likewise.
49109         * manual/examples/mkfsock.c: Likewise.
49110         * manual/examples/mkisock.c: Likewise.
49111         * manual/examples/mygetpass.c: Likewise.
49112         * manual/examples/pipe.c: Likewise.
49113         * manual/examples/popen.c: Likewise.
49114         * manual/examples/rprintf.c: Likewise.
49115         * manual/examples/search.c: Likewise.
49116         * manual/examples/select.c: Likewise.
49117         * manual/examples/setjmp.c: Likewise.
49118         * manual/examples/sigh1.c: Likewise.
49119         * manual/examples/sigusr.c: Likewise.
49120         * manual/examples/stpcpy.c: Likewise.
49121         * manual/examples/strdupa.c: Likewise.
49122         * manual/examples/strftim.c: Likewise.
49123         * manual/examples/strncat.c: Likewise.
49124         * manual/examples/subopt.c: Likewise.
49125         * manual/examples/swapcontext.c: Likewise.
49126         * manual/examples/termios.c: Likewise.
49127         * manual/examples/testopt.c: Likewise.
49128         * manual/examples/testpass.c: Likewise.
49129         * manual/examples/timeval_subtract.c: Likewise.
49131         [BZ #13792]
49132         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49133         function to ...
49134         * manual/timeval_subtract.c.texi: ... here, new file.
49136 2012-03-02  David S. Miller  <davem@davemloft.net>
49138         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49140 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49142         [BZ #3976]
49143         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49144         (__sin): Save and restore rounding mode and use round-to-nearest
49145         for all computations.
49146         (__cos): Save and restore rounding mode and use round-to-nearest
49147         for all computations.
49148         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49149         <fenv.h>.
49150         (tan): Save and restore rounding mode and use round-to-nearest for
49151         all computations.
49152         * math/libm-test.inc (cos_test_tonearest): New function.
49153         (cos_test_towardzero): Likewise.
49154         (cos_test_downward): Likewise.
49155         (cos_test_upward): Likewise.
49156         (sin_test_tonearest): Likewise.
49157         (sin_test_towardzero): Likewise.
49158         (sin_test_downward): Likewise.
49159         (sin_test_upward): Likewise.
49160         (tan_test_tonearest): Likewise.
49161         (tan_test_towardzero): Likewise.
49162         (tan_test_downward): Likewise.
49163         (tan_test_upward): Likewise.
49164         (main): Call the new functions.
49165         * sysdeps/i386/fpu/libm-test-ulps: Update.
49166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49168         [BZ #10135]
49169         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49170         small n, then large n, before computing and testing k+n.
49171         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49173         Likewise.
49174         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49175         Likewise.
49176         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49177         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49178         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49179         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49180         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49181         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49182         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49183         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49184         * math/libm-test.inc (scalbn_test): Add more tests.
49185         (scalbln_test): Likewise.
49187         * manual/filesys.texi (mode_t): Describe constraints on size and
49188         signedness, not exact equivalence to a particular type.
49189         (ino_t): Likewise.
49190         (ino64_t): Likewise.
49191         (dev_t): Likewise.
49192         (nlink_t): Likewise.
49193         (blkcnt_t): Likewise.
49194         (blkcnt64_t): Likewise.
49195         * manual/llio.texi (off_t): Likewise.
49197         [BZ #3976]
49198         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49199         (__ieee754_exp): Save and restore rounding mode and use
49200         round-to-nearest for all computations.
49201         * math/libm-test.inc (exp_test_tonearest): New function.
49202         (exp_test_towardzero): Likewise.
49203         (exp_test_downward): Likewise.
49204         (exp_test_upward): Likewise.
49205         (main): Call the new functions.
49206         * sysdeps/i386/fpu/libm-test-ulps: Update.
49207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49209 2012-03-01  Chris Demetriou  <cgd@google.com>
49211         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49212         have predictable order.
49214 2012-03-01  David S. Miller  <davem@davemloft.net>
49216         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49218         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49219         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49220         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49221         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49223         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49224         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49225         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49227         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49228         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49229         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49230         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49231         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49236         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49237         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49239         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49240         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49241         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49242         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49243         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49244         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49245         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49246         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49247         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49248         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49249         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49250         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49251         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49252         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49253         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49255         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49256         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49257         * sysdeps/sparc/elf/configure: Regenerated.
49259 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49261         * configure.in (AS, LD): Require binutils 2.20 or later.
49262         * configure: Regenerated.
49263         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49264         as required minimum version.
49265         * INSTALL: Regenerated.
49267         [BZ #2541]
49268         [BZ #4108]
49269         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49270         before squaring exponent.
49271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49272         bottom long double and 27 bits of top long double before squaring
49273         exponent.
49274         * math/libm-test.inc (erfc_test): Add more tests.
49275         * sysdeps/i386/fpu/libm-test-ulps: Update.
49276         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49279 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49281         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49282         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49283         containing bit-fields.
49284         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49285         * soft-fp/single.h (_FP_UNION_S): Likewise.
49286         * soft-fp/double.h (_FP_UNION_D): Likewise.
49288 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49290         [BZ #13786]
49291         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49292         not include ../strcmp.S.
49293         [USE_AS_STRNCASECMP_L]: Likewise.
49294         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49295         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49296         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49297         (__strncasecmp_l_ia32): Define as alias to
49298         __strncasecmp_l_nonascii.
49300         [BZ #5794]
49301         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49302         * sysdeps/i386/fpu/libm-test-ulps: Update.
49303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49305         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49308 2012-02-29  Jeff Law  <law@redhat.com>
49310         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49311         out of bounds read.
49313 2012-02-29  Marek Polacek  <polacek@redhat.com>
49315         [BZ #13706]
49316         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49317         * elf/Makefile: Add rules to run tst-unused-dep.out.
49319 2012-02-28  David S. Miller  <davem@davemloft.net>
49321         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49322         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49323         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49324         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49325         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49326         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49328 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49330         * math/libm-test.inc (llround_test): Move one test from
49331         lround_test.  Use TEST_f_L in moved test.
49332         (lround_test): Move misplaced test to llround_test.  Add testcase
49333         from bug 2561.
49335 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49337         * sysdeps/x86_64/fpu/e_expf.S: New file.
49338         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49340 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49342         [BZ #13637]
49343         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49344         of remain_len that may cause incomplete multi-byte character and
49345         false match.
49346         * posix/bug-regex33.c: New file.
49347         * posix/Makefile (tests): Add bug-regex33.
49349 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49351         * manual/macros.texi: New file.
49352         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49353         * manual/libc.texinfo: Include macros.texi.
49354         * manual/creatute.texi: Likewise.
49355         * manual/install.texi: Likewise.
49356         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49357         @glibcadj{} in references to the GNU C Library.
49358         * manual/charset.texi: Likewise.
49359         * manual/conf.texi: Likewise.
49360         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49361         when not using those macros.
49362         * manual/creature.texi: Likewise.
49363         * manual/crypt.texi: Likewise.
49364         * manual/errno.texi: Likewise.
49365         * manual/filesys.texi: Likewise.
49366         * manual/header.texi: Likewise.
49367         * manual/install.texi: Likewise.
49368         * manual/intro.texi: Likewise.
49369         * manual/io.texi: Likewise.
49370         * manual/job.texi: Likewise.
49371         * manual/lang.texi: Likewise.
49372         * manual/libc.texiinfo: Likewise.
49373         * manual/llio.texi: Likewise.
49374         * manual/locale.texi: Likewise.
49375         * manual/maint.texi: Likewise.
49376         * manual/math.texi: Likewise.
49377         * manual/memory.texi: Likewise.
49378         * manual/message.texi: Likewise.
49379         * manual/nss.texi: Likewise.
49380         * manual/pattern.texi: Likewise.
49381         * manual/process.texi: Likewise.
49382         * manual/resource.texi: Likewise.
49383         * manual/search.texi: Likewise.
49384         * manual/setjmp.texi: Likewise.
49385         * manual/signal.texi: Likewise.
49386         * manual/socket.texi: Likewise.
49387         * manual/startup.texi: Likewise.
49388         * manual/stdio.texi: Likewise.
49389         * manual/string.texi: Likewise.
49390         * manual/sysinfo.texi: Likewise.
49391         * manual/syslog.texi: Likewise.
49392         * manual/terminal.texi: Likewise.
49393         * manual/time.texi: Likewise.
49394         * manual/users.texi: Likewise.
49395         * INSTALL: Regenerated.
49396         * NOTES: Regenerated.
49397         * sysdeps/gnu/errlist.c: Regenerated.
49399 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49401         * include/dirent.h: Include <dirstream.h> before
49402         <dirent/dirent.h>.
49404 2012-02-28  David S. Miller  <davem@davemloft.net>
49406         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49407         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49408         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49409         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49411 2012-02-27  David S. Miller  <davem@davemloft.net>
49413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49415         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49416         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49419         frame pointer instead of stack pointer relative arg slot.
49420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49421         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49422         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49424 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49426         [BZ #3992]
49427         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49429 2012-02-27  David S. Miller  <davem@davemloft.net>
49431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49432         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49435         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49436         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49437         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49438         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49440 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49442         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49443         later.  Allow versions 5-9.
49444         * configure: Regenerated.
49445         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49446         required minimum version and 4.6 as recommended version.  Do not
49447         mention bugs in GCC 2.7 and 2.8.
49448         * INSTALL: Regenerated.
49450 2012-02-27  David S. Miller  <davem@davemloft.net>
49452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49454         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49455         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49456         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49457         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49458         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49459         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49461         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49462         manipulate bits before adding and subtracting TWO112[sx].
49463         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49465 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49467         [BZ #13775]
49468         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49469         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49470         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49471         being in POSIX, because they are in 1003.1-2008.
49473         * rt/tst-aio.c: Include <fcntl.h>.
49474         * rt/tst-aio7.c: Likewise.
49475         * rt/tst-aio64.c: Likewise.
49477         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49479 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49481         * manual/install.texi (--with-headers): Describe headers as
49482         interface headers, not private headers.
49483         (Specific advice for GNU/Linux systems): Describe use of headers
49484         from "make headers_install", not private headers from older
49485         kernels.
49486         * INSTALL: Regenerated.
49487         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49488         Change to 2.6.19.
49489         * sysdeps/unix/sysv/linux/configure: Regenerated.
49491         * manual/llio.texi (fclean): Remove documentation.
49493         * manual/Makefile (libc-texi-generated): New variable.  Include
49494         version.texi.
49495         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49496         $(libc-texi-generated), not duplicated list of files.
49497         (version.texi, stamp-version): New rules.
49498         (realclean): Remove $(libc-texi-generated), not individual files
49499         from that list.  Do not remove dir-add.texinfo.
49500         * manual/libc.texinfo: Comment out uses of edition numbers and
49501         references to printed manual.  Remove last-updated dates.
49502         (EDITION): Comment out.
49503         (ISBN): Likewise.
49504         (VERSION, UPDATED): Remove.
49505         (version.texi): Include.
49507 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49509         * sysdeps/posix/spawni.c: Include <signal.h>.
49510         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49511         * sysdeps/pthread/aio_fsync.c: Likewise.
49513 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49515         * conform/Makefile (tests): Run only when not cross-compiling and
49516         when fast-check is not defined.
49518         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49519         * conform/data/limits.h-data: Fixes for POSIX2008.
49520         * conform/run-conformtest.sh: Run all tests.
49521         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49522         headers.
49523         * include/bits/dlfcn.h: Likewise.
49524         * include/langinfo.h: Likewise.
49525         * include/monetary.h: Likewise.
49526         * include/sys/poll.h: Likewise.
49528         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49529         for __USE_GNU.
49530         * posix/spawn.h: Define __need_sigset_t.
49531         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49532         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49533         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49534         to get sigevent_t only.
49535         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49536         only for __USE_GNU.
49537         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49538         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49539         process_vm_writev only for __USE_GNU.
49540         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49542         * conform/Makefile: For now ignore errors from run-conformtest.
49543         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49544         POSIX to avoid namespace pollution.  Don't prepend headers.
49545         * conform/data/aio.h-data: Fixes for POSIX testing.
49546         * conform/data/fcntl.h-data: Likewise.
49547         * conform/data/glob.h-data: Likewise.
49548         * conform/data/grp.h-data: Likewise.
49549         * conform/data/pthread.h-data: Likewise.
49550         * conform/data/pwd.h-data: Likewise.
49551         * conform/data/signal.h-data: Likewise.
49552         * conform/data/spawn.h-data: Likewise.
49553         * conform/data/stdio.h-data: Likewise.
49554         * conform/data/stdlib.h-data: Likewise.
49555         * conform/data/stropts.h-data: Likewise.
49556         * conform/data/sys/mman.h-data: Likewise.
49557         * conform/data/sys/stat.h-data: Likewise.
49558         * conform/data/sys/types.h-data: Likewise.
49559         * conform/data/sys/wait.h-data: Likewise.
49560         * conform/data/time.h-data: Likewise.
49561         * conform/data/unistd.h-data: Likewise.
49562         * conform/data/utime.h-data: Likewise.
49564         * io/sys/stat.h: fchmod was always in POSIX.
49565         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49566         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49567         * rt/aio.h: Define __need_timespec before including <time.h>.
49568         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49569         struct.  Add forward declaration of pthread_attr_t and use it in
49570         sigevent.
49571         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49572         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49573         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49574         always remove CLK_TCK definition.
49576 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49578         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49580 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49582         * conform/run-conformtest.sh: New file.
49583         * conform/Makefile: Run run-conformtest for tests.
49584         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49585         support.
49587         * conform/data/uchar.h-data: New file.
49588         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49589         * conform/data/arpa/inet.h-data: Likewise.
49590         * conform/data/assert.h-data: Likewise.
49591         * conform/data/complex.h-data: Likewise.
49592         * conform/data/cpio.h-data: Likewise.
49593         * conform/data/ctype.h-data: Likewise.
49594         * conform/data/dirent.h-data: Likewise.
49595         * conform/data/dlfcn.h-data: Likewise.
49596         * conform/data/errno.h-data: Likewise.
49597         * conform/data/fcntl.h-data: Likewise.
49598         * conform/data/float.h-data: Likewise.
49599         * conform/data/fmtmsg.h-data: Likewise.
49600         * conform/data/fnmatch.h-data: Likewise.
49601         * conform/data/ftw.h-data: Likewise.
49602         * conform/data/glob.h-data: Likewise.
49603         * conform/data/grp.h-data: Likewise.
49604         * conform/data/iconv.h-data: Likewise.
49605         * conform/data/inttypes.h-data: Likewise.
49606         * conform/data/langinfo.h-data: Likewise.
49607         * conform/data/libgen.h-data: Likewise.
49608         * conform/data/limits.h-data: Likewise.
49609         * conform/data/locale.h-data: Likewise.
49610         * conform/data/math.h-data: Likewise.
49611         * conform/data/monetary.h-data: Likewise.
49612         * conform/data/mqueue.h-data: Likewise.
49613         * conform/data/ndbm.h-data: Likewise.
49614         * conform/data/net/if.h-data: Likewise.
49615         * conform/data/netdb.h-data: Likewise.
49616         * conform/data/netinet/in.h-data: Likewise.
49617         * conform/data/nl_types.h-data: Likewise.
49618         * conform/data/poll.h-data: Likewise.
49619         * conform/data/pthread.h-data: Likewise.
49620         * conform/data/pwd.h-data: Likewise.
49621         * conform/data/regex.h-data: Likewise.
49622         * conform/data/sched.h-data: Likewise.
49623         * conform/data/search.h-data: Likewise.
49624         * conform/data/semaphore.h-data: Likewise.
49625         * conform/data/setjmp.h-data: Likewise.
49626         * conform/data/signal.h-data: Likewise.
49627         * conform/data/spawn.h-data: Likewise.
49628         * conform/data/stdarg.h-data: Likewise.
49629         * conform/data/stdio.h-data: Likewise.
49630         * conform/data/stdlib.h-data: Likewise.
49631         * conform/data/string.h-data: Likewise.
49632         * conform/data/strings.h-data: Likewise.
49633         * conform/data/stropts.h-data: Likewise.
49634         * conform/data/sys/ipc.h-data: Likewise.
49635         * conform/data/sys/mman.h-data: Likewise.
49636         * conform/data/sys/msg.h-data: Likewise.
49637         * conform/data/sys/resource.h-data: Likewise.
49638         * conform/data/sys/select.h-data: Likewise.
49639         * conform/data/sys/sem.h-data: Likewise.
49640         * conform/data/sys/shm.h-data: Likewise.
49641         * conform/data/sys/socket.h-data: Likewise.
49642         * conform/data/sys/stat.h-data: Likewise.
49643         * conform/data/sys/statvfs.h-data: Likewise.
49644         * conform/data/sys/time.h-data: Likewise.
49645         * conform/data/sys/timeb.h-data: Likewise.
49646         * conform/data/sys/times.h-data: Likewise.
49647         * conform/data/sys/types.h-data: Likewise.
49648         * conform/data/sys/uio.h-data: Likewise.
49649         * conform/data/sys/un.h-data: Likewise.
49650         * conform/data/sys/utsname.h-data: Likewise.
49651         * conform/data/sys/wait.h-data: Likewise.
49652         * conform/data/syslog.h-data: Likewise.
49653         * conform/data/tar.h-data: Likewise.
49654         * conform/data/termios.h-data: Likewise.
49655         * conform/data/utime.h-data: Likewise.
49656         * conform/data/utmpx.h-data: Likewise.
49657         * conform/data/varargs.h-data: Likewise.
49658         * conform/data/wchar.h-data: Likewise.
49659         * conform/data/wctype.h-data: Likewise.
49660         * conform/data/wordexp.h-data: Likewise.
49662         * include/stropts.h: New file.
49663         * include/uchar.h: New file.
49664         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49665         * include/assert.h: Likewise.
49666         * include/ctype.h: Likewise.
49667         * include/dirent.h: Likewise.
49668         * include/dlfcn.h: Likewise.
49669         * include/fcntl.h: Likewise.
49670         * include/fnmatch.h: Likewise.
49671         * include/glob.h: Likewise.
49672         * include/grp.h: Likewise.
49673         * include/libio.h: Likewise.
49674         * include/locale.h: Likewise.
49675         * include/math.h: Likewise.
49676         * include/net/if.h: Likewise.
49677         * include/netdb.h: Likewise.
49678         * include/netinet/in.h: Likewise.
49679         * include/pthread.h: Likewise.
49680         * include/pwd.h: Likewise.
49681         * include/regex.h: Likewise.
49682         * include/sched.h: Likewise.
49683         * include/search.h: Likewise.
49684         * include/setjmp.h: Likewise.
49685         * include/signal.h: Likewise.
49686         * include/stdio.h: Likewise.
49687         * include/stdlib.h: Likewise.
49688         * include/string.h: Likewise.
49689         * include/sys/cdefs.h: Likewise.
49690         * include/sys/mman.h: Likewise.
49691         * include/sys/msg.h: Likewise.
49692         * include/sys/resource.h: Likewise.
49693         * include/sys/select.h: Likewise.
49694         * include/sys/socket.h: Likewise.
49695         * include/sys/stat.h: Likewise.
49696         * include/sys/statvfs.h: Likewise.
49697         * include/sys/time.h: Likewise.
49698         * include/sys/times.h: Likewise.
49699         * include/sys/uio.h: Likewise.
49700         * include/sys/utsname.h: Likewise.
49701         * include/sys/wait.h: Likewise.
49702         * include/termios.h: Likewise.
49703         * include/time.h: Likewise.
49704         * include/ulimit.h: Likewise.
49705         * include/unistd.h: Likewise.
49706         * include/utime.h: Likewise.
49707         * include/wchar.h: Likewise.
49708         * include/wctype.h: Likewise.
49709         * include/wordexp.h: Likewise.
49711         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49713         * time/time.h: TIME_UTC must be a macro.
49714         Make timespec_get available for ISO C11 only as well.
49716 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49718         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49719         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49721 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49723         * configure.in: Use -o not -a in test for unsupported multi-arch.
49725 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49727         * manual/texinfo.tex: Update to version 2012-01-19.16.
49729 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49731         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49733 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49735         [BZ #13738]
49736         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49737         * manual/fdl-1.3.texi: New file.
49738         * manual/fdl-1.1.texi: File removed.
49740         [BZ #13738]
49741         * manual/libc.texinfo (FDL_VERSION): New @set.
49742         Use it for mention of FDL in cover text.
49743         (Documentation License): Use it in @include file name.
49745 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49746             Roland McGrath  <roland@hack.frob.com>
49748         [BZ #5461]
49749         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49750         (not LONG_LONG_MAX and LONG_LONG_MIN.
49751         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49752         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49753         name.
49754         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49756 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49758         [BZ #2547]
49759         [BZ #11365]
49760         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49761         manipulate bits before adding and subtracting TWO23[sx].
49762         * math/libm-test.inc (nearbyint_test): Add more tests.
49764 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49766         [BZ #2548]
49767         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49768         bits before adding and subtracting TWO23[sx].
49769         * math/libm-test.inc (rint_test): Add more tests.
49770         (rint_test_tonearest): Likewise.
49771         (rint_test_towardzero): Likewise.
49772         (rint_test_downward): Likewise.
49773         (rint_test_upward: Likewise.
49775 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49777         [BZ #10110]
49778         * include/stdc-predef.h: New file.  Extracted from features.h.
49779         * include/features.h: Include stdc-predef.h.
49780         * Makefile (headers): Add stdc-predef.h.
49781         * CONFORMANCE (Compiler limitations): Update.
49783 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49785         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49787 2012-02-21  David S. Miller  <davem@davemloft.net>
49789         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49790         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49792 2012-02-20  David S. Miller  <davem@davemloft.net>
49794         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49795         using a normal save/restore sequence, rather than allocating a
49796         dummy stack frame just to store a frame pointer and restore.
49797         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49799 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49801         * manual/install.texi: Fix stray word in line-wrapped comment.
49803 2012-02-20  David S. Miller  <davem@davemloft.net>
49805         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49806         both binutils and gcc support GOTDATA.
49808         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49809         "rd %pc" in the PIC register setup sequences.
49811         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49812         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49813         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49814         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49815         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49816         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49817         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49818         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49819         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49820         (SYSCALL_ERROR_HANDLER): Likewise.
49821         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49822         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49823         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49824         (SYSCALL_ERROR_HANDLER): Likewise.
49826         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49827         (HAVE_GCC_GOTDATA): New.
49828         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49829         relocation support in both binutils and gcc.
49830         * sysdeps/sparc/elf/configure: Regenerate.
49832         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49833         * sysdeps/sparc/sparc32/elf/configure: Delete.
49834         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49835         * sysdeps/sparc/sparc64/elf/configure: Delete.
49836         * sysdeps/sparc/elf/configure.in: New file.
49837         * sysdeps/sparc/elf/configure: Generate.
49839         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49840         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49841         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49842         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49843         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49845 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49847         * manual/install.texi: Do not mention specific glibc version
49848         numbers.
49849         * manual/libc.texinfo (VERSION, UPDATED): Update.
49850         (@copying): Use @copyright{} and range of years.
49852 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49854         [BZ #13695]
49855         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49856         [crti.S not in sysdirs] (generated): Do not append.
49857         [crti.S not in sysdirs] (omit-deps): Likewise.
49858         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49859         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49860         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49861         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49862         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49863         Likewise.
49864         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49865         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49866         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49867         * csu/defs.awk: Remove file.
49868         * sysdeps/generic/initfini.c: Likewise.
49869         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49870         variable.
49871         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49872         Likewise.
49874 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49876         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49877         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49878         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49879         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49880         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49881         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49882         <bits/epoll.h>.
49883         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49884         (__EPOLL_PACKED): Define to empty if not defined by
49885         <bits/epoll.h>.
49886         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49887         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49888         bits/epoll.h.
49890 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49892         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49893         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49894         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49895         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49896         <bits/timerfd.h>.
49897         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49898         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49899         bits/timerfd.h.
49901 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49903         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49904         in C locale.
49905         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49906         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49907         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49910 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49912         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49913         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49915 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49917         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49918         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49919         defined.
49920         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49921         Likewise.
49922         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49923         entry for 2.16.
49925 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49927         * math/w_acos.c: Use non-signaling floating-point comparisons.
49928         * math/w_acosf.c: Likewise.
49929         * math/w_acosh.c: Likewise.
49930         * math/w_acoshf.c: Likewise.
49931         * math/w_acoshl.c: Likewise.
49932         * math/w_acosl.c: Likewise.
49933         * math/w_asin.c: Likewise.
49934         * math/w_asinf.c: Likewise.
49935         * math/w_asinl.c: Likewise.
49936         * math/w_atanh.c: Likewise.
49937         * math/w_atanhf.c: Likewise.
49938         * math/w_atanhl.c: Likewise.
49939         * math/w_exp2.c: Likewise.
49940         * math/w_exp2f.c: Likewise.
49941         * math/w_exp2l.c: Likewise.
49942         * math/w_j0.c: Likewise.
49943         * math/w_j0f.c: Likewise.
49944         * math/w_j0l.c: Likewise.
49945         * math/w_j1.c: Likewise.
49946         * math/w_j1f.c: Likewise.
49947         * math/w_j1l.c: Likewise.
49948         * math/w_jn.c: Likewise.
49949         * math/w_jnf.c: Likewise.
49950         * math/w_log.c: Likewise.
49951         * math/w_log10.c: Likewise.
49952         * math/w_log10f.c: Likewise.
49953         * math/w_log10l.c: Likewise.
49954         * math/w_log2.c: Likewise.
49955         * math/w_log2f.c: Likewise.
49956         * math/w_log2l.c: Likewise.
49957         * math/w_logf.c: Likewise.
49958         * math/w_logl.c: Likewise.
49959         * math/w_sqrt.c: Likewise.
49960         * math/w_sqrtf.c: Likewise.
49961         * math/w_sqrtl.c: Likewise.
49962         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49963         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49964         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49965         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49966         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49968 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49970         [BZ #9739]
49971         * manual/string.texi (strnlen): Use correct parameter name in
49972         equivalent expression.
49974 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49976         [BZ #11174]
49977         * manual/users.texi (seteuid): Consistently use neweuid for
49978         argument name.
49980 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49982         [BZ #13704]
49983         * manual/nss.texi (Services in the NSS configuration): Correct
49984         list of services in example configuration file.
49986 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49988         [BZ #11322]
49989         * manual/arith.texi: Remove statements about negative zero
49990         behaving identically to zero.
49992 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49994         [BZ #5993]
49995         * manual/install.texi: Do not document upgrading from libc5.
49997 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49999         [BZ #4596]
50000         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50002 2012-02-18  David S. Miller  <davem@davemloft.net>
50004         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50005         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50006         %o7 across the call.
50007         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50008         instead.
50009         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50010         SETUP_PIC_REG_LEAF.
50011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50012         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50013         * sysdeps/sparc/crtn.S: Likewise.
50015 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50017         * aout/Makefile: Remove.
50019 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50021         [BZ #13058]
50022         * manual/examples/argp-ex1.c (main): Format definition in GNU
50023         style.
50024         * manual/examples/argp-ex2.c (main): Likewise.
50025         * manual/examples/argp-ex3.c (main): Likewise.
50026         * manual/examples/argp-ex4.c (main): Likewise.
50027         * manual/examples/longopt.c (main): Use new-style prototype
50028         definition.
50029         * manual/examples/strncat.c (main): Specify return type and use
50030         (void) for arguments.
50031         * manual/examples/subopt.c (main): Use char **argv argument.
50033 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50035         [BZ #5077]
50036         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50037         rounding modes.
50039 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50041         [BZ #6907]
50042         * manual/string.texi (strchr): Change when strchrnul is
50043         recommended.
50045 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50047         [BZ #174]
50048         * manual/locale.texi (setlocale): Document LOCPATH.
50050 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50052         [BZ #10210]
50053         * manual/process.texi (execle): Move @dots{} before last argument.
50055 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50057         [BZ #12047]
50058         * manual/charset.texi (Generic Charset Conversion): Fix typo
50059         (LC_TYPE -> LC_CTYPE).
50061 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50063         [BZ #5805]
50064         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50065         (scalbnf): Likewise.
50066         (scalbnl): Likewise.
50067         (scalbln): Likewise.
50068         (scalblnf): Likewise.
50069         (scalblnl): Likewise.
50070         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50071         (vwarnx): Likewise.
50072         (verr): Likewise.
50073         (verrx): Likewise.
50074         * manual/filesys.texi (telldir): Use braces around return type.
50075         * manual/llio.texi (mmap): Add space after comma.
50076         (mmap64): Likewise.
50077         * manual/math.texi (jn): Use @var{} on parameter names.
50078         (jnf): Likewise.
50079         (jnl): Likewise.
50080         (yn): Likewise.
50081         (ynf): Likewise.
50082         (ynl): Likewise.
50083         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50084         line.
50085         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50086         "...".
50087         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50088         (sched_get_priority_max): Likewise.
50089         * manual/signal.texi (sigvec): Add space after comma.
50090         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50091         names.
50092         (if_indextoname): Likewise.
50093         (if_freenameindex): Likewise.
50094         (sendto): Use ',' instead of '.' in prototype.
50095         * manual/startup.texi (syscall): Use @dots{} instead of literal
50096         "...".
50097         * manual/stdio.texi (__fpending): Separate initial words of
50098         paragraph from @deftypefun line.
50099         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50100         "...".
50101         (vsyslog): Use @var{} on parameter names.
50102         * manual/terminal.texi (stty): Use @var{} on parameter names.
50103         * manual/users.texi (getutmp): Use @var{} on parameter names.
50104         (getutmpx): Likewise.
50106 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50108         [BZ #6884]
50109         * manual/stdio.texi (fopen): Fix typos in description of
50110         ",ccs=STRING".
50112 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50114         [BZ #4026]
50115         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50116         get clock_id definition.
50118 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50120         [BZ #4822]
50121         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50122         (madvise): Cast every argument to void on its own.
50124 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50126         [BZ #9902]
50127         * manual/startup.texi (Exit Status): Fix typo.
50129 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50131         [BZ #10140]
50132         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50133         * manual/examples/argp-ex2.c: Likewise.
50134         * manual/examples/argp-ex3.c: Likewise.
50136 2012-02-16  Richard Henderson  <rth@redhat.com>
50138         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50139         * sysdeps/s390/s390-32/initfini.c: Remove.
50140         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50141         * sysdeps/s390/s390-64/initfini.c: Remove.
50143 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50145         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50146         compiler output for sysdeps/generic/initfini.c.
50147         * sysdeps/sh/elf/initfini.c: Remove file.
50149 2012-02-16  David S. Miller  <davem@davemloft.net>
50151         [BZ #11494]
50152         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50154         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50155         * sysdeps/sparc/crti.S: New file.
50156         * sysdeps/sparc/crtn.S: New file.
50157         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50158         * sysdeps/sparc/sparc64/Makefile: Likewise.
50160 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50162         [BZ #3335]
50163         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50165 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50167         [BZ #4822]
50168         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50170         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50171         (write, read, close): Likewise.
50172         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50174 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50176         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50177         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50178         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50179         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50180         <bits/signalfd.h>.
50181         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50182         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50183         bits/signalfd.h.
50185 2012-02-14  Marek Polacek  <polacek@redhat.com>
50187         * sysdeps/x86_64/crti.S: New file.
50188         * sysdeps/x86_64/crtn.S: New file.
50189         * sysdeps/x86_64/elf/initfini.c: Remove file.
50191 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50193         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50194         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50195         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50196         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50197         <bits/inotify.h>.
50198         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50200         bits/inotify.h.
50202 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50204         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50205         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50206         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50207         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50208         <bits/eventfd.h>.
50209         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50211         bits/eventfd.h.
50213 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50215         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50216         __feraiseexcept instead of feraiseexcept.
50218         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50219         nanosleep invocations.
50220         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50221         strings, and add error checking for a nanosleep invocations.
50223 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50225         Replace FSF snail mail address with URLs, as per GNU coding standards.
50226         Most of the snail mail addresses were wrong anyway, and omitting
50227         them makes the source code easier to maintain.  Almost all of the
50228         changes are to license notices and to locale LC_IDENTIFICATION
50229         addresses, except for this one:
50230         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50231         not its snail mail address.
50233 2012-02-09  Richard Henderson  <rth@twiddle.net>
50235         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50236         of kernel-features.h.
50238         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50240 2012-02-08  Marek Polacek  <polacek@redhat.com>
50242         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50243         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50244         * sysdeps/gnu/_G_config.h: Likewise.
50245         * sysdeps/generic/_G_config.h: Likewise.
50247 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50249         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50250         tests.
50251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50253         * sysdeps/powerpc/powerpc32/crti.S: New file.
50254         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50255         * sysdeps/powerpc/powerpc64/crti.S: New file.
50256         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50258         * Makeconfig (have-initfini): Don't set.
50259         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50260         * configure.in (nopic_initfini): Don't substitute.
50261         * config.h.in (HAVE_INITFINI): Don't #undef.
50262         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50263         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50265 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50267         Support crti.S and crtn.S provided directly by architectures.
50268         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50269         [crti.S in sysdirs] (omit-deps): Likewise.
50270         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50271         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50272         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50273         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50274         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50275         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50276         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50277         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50278         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50279         compiler output for sysdeps/generic/initfini.c.
50280         * sysdeps/i386/elf/Makefile: Remove file.
50281         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50283 2012-02-07  Marek Polacek  <polacek@redhat.com>
50285         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50286         * sysdeps/gnu/_G_config.h: Likewise.
50287         * sysdeps/mach/hurd/_G_config.h: Likewise.
50289 2012-02-07  Marek Polacek  <polacek@redhat.com>
50291         * math/Makefile (tests): Add tst-CMPLX2.
50292         * math/tst-CMPLX2.c: New file.
50294 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50296         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50298         * math/libm-test.inc (jn_test): Add missing L suffix.
50300 2012-02-06  Marek Polacek  <polacek@redhat.com>
50302         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50303         * sysdeps/i386/fpu/e_powf.S: Likewise.
50304         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50305         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50306         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50307         * sysdeps/i386/fpu/e_pow.S: Likewise.
50308         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50309         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50310         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50311         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50312         * sysdeps/i386/fpu/e_log2.S: Likewise.
50313         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50314         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50315         * sysdeps/i386/fpu/e_powl.S: Likewise.
50316         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50317         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50318         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50319         * sysdeps/i386/fpu/e_logl.S: Likewise.
50320         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50321         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50322         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50323         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50324         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50325         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50326         * sysdeps/i386/fpu/e_log.S: Likewise.
50327         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50328         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50329         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50330         * sysdeps/i386/fpu/e_logf.S: Likewise.
50331         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50332         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50333         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50334         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50335         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50336         * sysdeps/i386/fpu/e_log10.S: Likewise.
50337         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50338         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50339         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50340         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50341         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50342         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50343         * sysdeps/i386/asm-syntax.h: Likewise.
50344         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50345         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50346         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50347         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50348         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50349         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50350         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50351         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50352         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50353         * sysdeps/powerpc/sysdep.h: Likewise.
50354         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50355         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50357 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50359         [BZ #411]
50360         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50362 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50364         * sysdeps/i386/sysdep.h: Include <features.h>.
50365         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50366         version.
50368 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50370         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50371         Define.
50372         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50373         LOAD_PIC_REG_STR.
50375 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50377         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50378         (SETUP_PIC_REG): Use GET_PC_THUNK.
50379         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50380         macro.
50382 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50384         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50385         for non-PIC compilation.
50386         (SETUP_PIC_REG): Add .p2align directive.
50387         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50388         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50389         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50390         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50393         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50394         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50395         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50396         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50397         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50398         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50399         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50400         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50401         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50402         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50403         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50404         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50405         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50406         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50407         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50408         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50409         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50410         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50413         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50414         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50415         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50416         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50417         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50418         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50419         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50420         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50421         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50422         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50423         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50424         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50425         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50426         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50427         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50429 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50431         * math/tst-CMPLX.c: Include <stdio.h>.
50433 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50435         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50436         float.
50437         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50438         * sysdeps/sparc/bits/mathdef.h: Likewise.
50440 2012-01-31  Marek Polacek  <polacek@redhat.com>
50442         * libio/libio.h: Don't define _PARAMS.
50443         * locale/programs/config.h: Don't define PARAMS.
50444         * stdlib/strtol_l.c: Likewise.
50445         (__strtol_l): Remove PARAMS from the prototype.
50447 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50449         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50450         names.  Just use the correct names.  Remove unnecessary wrapper
50451         functions.
50452         * malloc/arena.c: Likewise.
50453         * malloc/hooks.c: Likewise.
50455         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50456         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50457         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50459 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50461         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50462         into tail calls.
50463         (update_get_addr): New function.
50464         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50465         GET_ADDR_MODULE parameter.
50467 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50469         * crypt/cert.c: Remove __STDC__ conditionals.
50470         * crypt/crypt-entry.c: Likewise.
50471         * crypt/crypt_util.c: Likewise.
50472         * libio/filedoalloc.c: Likewise.
50473         * libio/fileops.c: Likewise.
50474         * libio/genops.c: Likewise.
50475         * libio/iofclose.c: Likewise.
50476         * libio/iofdopen.c: Likewise.
50477         * libio/iofopen.c: Likewise.
50478         * libio/iofopen64.c: Likewise.
50479         * libio/iogetdelim.c: Likewise.
50480         * libio/iopopen.c: Likewise.
50481         * libio/obprintf.c: Likewise.
50482         * libio/oldfileops.c: Likewise.
50483         * libio/oldiofclose.c: Likewise.
50484         * libio/oldiofdopen.c: Likewise.
50485         * libio/oldiofopen.c: Likewise.
50486         * libio/oldiopopen.c: Likewise.
50487         * libio/wfiledoalloc.c: Likewise.
50488         * libio/wgenops.c: Likewise.
50489         * locale/programs/xmalloc.c: Likewise.
50490         * misc/syslog.c: Likewise.
50491         * stdio-common/xbug.c: Likewise.
50492         * string/memchr.c: Likewise.
50493         * string/memcmp.c: Likewise.
50494         * string/memrchr.c: Likewise.
50495         * string/rawmemchr.c: Likewise.
50496         * sysdeps/posix/getcwd.c: Likewise.
50497         * time/strftime_l.c: Likewise.
50499 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50501         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50502         * config.make.in (config-cflags-sse2avx): Define.
50503         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50504         Fix typo.
50506 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50508         * scripts/config.guess: Update from upstream config git repository.
50509         * scripts/config.sub: Likewise.
50511 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50513         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50514         (EM_NUM): Update.
50515         (R_TILEPRO_*, R_TILEGX_*): New macros.
50517         * scripts/firstversions.awk: Fix bug in version range handling.
50519         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50521         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50523         * include/sys/epoll.h: New file.
50524         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50525         libc_hidden_def.
50527 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50529         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50530         Avoid unnecessary __WORDSIZE == 64 test.
50531         (fmaxf): Use VEX format if possible.
50532         (fmax): Likewise.
50533         (fminf): Likewise.
50534         (fmin): Likewise.
50536         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50537         * math/math_private.h: Remove libc_fegetround* and
50538         libc_fesetround*.
50539         * sysdeps/i386/configure.in: Check for -msse2avx.
50540         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50541         also if SSE2AVX is defined.
50542         Remove libc_fegetround* and libc_fesetround*.
50543         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50544         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50545         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50546         of HAS_YMM_USABLE.
50547         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50548         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50549         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50550         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50551         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50553         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50555 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50557         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50558         size is not set.
50559         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50561 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50563         [BZ #13618]
50564         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50565         relocation.
50566         * Makeconfig (libm): Define.
50567         * elf/Makefile: Add rules to build and run tst-relsort1.
50568         * elf/tst-relsort1.c: New file.
50569         * elf/tst-relsort1mod1.c: New file.
50570         * elf/tst-relsort1mod2.c: New file.
50572 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50574         * math/s_ldexp.c: Remove __STDC__ conditionals.
50575         * math/s_ldexpf.c: Likewise.
50576         * math/s_ldexpl.c: Likewise.
50577         * math/s_nextafter.c: Likewise.
50578         * math/s_nexttowardf.c: Likewise.
50579         * math/s_significand.c: Likewise.
50580         * math/s_significandf.c: Likewise.
50581         * math/s_significandl.c: Likewise.
50582         * math/w_jnl.c: Likewise.
50583         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50584         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50585         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50586         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50587         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50593         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50594         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50595         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50596         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50597         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50598         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50599         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50600         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50601         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50602         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50603         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50604         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50605         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50606         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50607         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50608         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50609         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50610         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50611         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50612         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50613         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50614         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50615         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50616         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50617         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50618         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50619         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50620         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50621         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50622         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50623         * sysdeps/ieee754/k_standard.c: Likewise.
50624         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50625         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50626         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50627         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50628         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50629         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50630         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50631         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50632         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50633         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50634         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50635         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50636         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50637         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50638         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50639         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50640         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50641         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50642         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50643         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50644         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50645         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50646         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50647         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50648         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50649         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50650         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50651         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50652         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50653         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50654         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50655         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50656         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50657         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50658         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50659         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50660         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50661         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50662         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50663         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50664         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50666         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50667         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50668         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50669         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50670         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50671         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50672         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50673         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50675         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50676         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50677         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50678         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50679         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50681         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50682         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50685         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50687         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50688         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50689         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50690         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50691         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50692         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50694         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50695         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50696         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50697         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50698         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50700         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50701         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50702         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50703         * sysdeps/ieee754/s_matherr.c: Likewise.
50704         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50705         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50706         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50707         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50709 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50711         * crypt/md5.h: Remove __STDC__ conditionals.
50712         * libio/libioP.h: Likewise.
50713         * locale/programs/config.h: Likewise.
50714         * sysdeps/generic/sysdep.h: Likewise.
50715         * sysdeps/i386/asm-syntax.h: Likewise.
50716         * sysdeps/s390/asm-syntax.h: Likewise.
50717         * sysdeps/unix/sysdep.h: Likewise.
50718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50721 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50723         * libio/libio.h: Remove __STDC__ conditionals.
50724         * malloc/obstack.h: Likewise.
50725         * math/complex.h: Likewise.
50726         * math/math.h: Likewise.
50727         * sysdeps/generic/_G_config.h: Likewise.
50728         * sysdeps/gnu/_G_config.h: Likewise.
50729         * sysdeps/mach/hurd/_G_config.h: Likewise.
50730         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50731         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50732         * sysdeps/sparc/bits/mathdef.h: Likewise.
50734 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50736         [BZ #13583]
50737         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50738         Clean up HAS_* macros.
50739         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50740         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50741         possible.
50742         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50743         HAS_AVX.
50744         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50745         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50746         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50747         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50748         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50750 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50752         * elf/tst-unique3.cc (gets): Remove declaration.
50753         * elf/tst-unique3lib.cc (gets): Likewise.
50754         * elf/tst-unique3lib2.cc (gets): Likewise.
50755         * elf/tst-unique4.cc (gets): Likewise.
50757 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50759         * include/stdio.h: Add C++ protection.  Add gets declarations and
50760         definitions.
50761         * debug/tst-chk1.c: Don't declare gets here.
50762         * stdio-common/tst-gets.c: Likewise.
50764 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50766         * posix/glob: Remove directory.
50768 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50770         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50772 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50774         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50775         of the non-standard EPFNOSUPPORT.
50777 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50779         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50780         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50781         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50783 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50785         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50787 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50789         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50790         transient errors.
50791         * nscd/grpcache.c (cache_addgr): Likewise.
50792         * nscd/hstcache.c (cache_addhst): Likewise.
50793         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50794         * nscd/pwdcache.c (cache_addpw): Likewise.
50795         * nscd/servicescache.c (cache_addserv): Likewise.
50797 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50799         * malloc/malloc.c: Various cleanups.
50800         * malloc/hooks.c: Likewise.
50802         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50803         * stdlib/bug-fmtmsg1.c: New file.
50805         * stdlib/fmtmsg.c (init): Add missing unlock.
50806         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50808 2012-01-12  Marek Polacek  <polacek@redhat.com>
50810         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50811         and _GNU_SOURCE.
50813 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50815         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50816         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50817         macro to ensure uniqueness of label name.
50818         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50819         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50821 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50823         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50825         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50826         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50827         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50830 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50832         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50834         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50835         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50836         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50838         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50840         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50841         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50842         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50843         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50845         * math/bits/math-finite.h: Add ldexp support.
50847 2012-01-10  Marek Polacek  <polacek@redhat.com>
50849         * locale/programs/localedef.h (show_archive_content): Add noreturn
50850         attribute.
50852 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50854         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50856 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50858         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50860         * io/Makefile (headers): Add bits/poll2.h.
50862 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50865         typo #include statement.
50867 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50869         * include/sys/cdefs.h: Define __attribute_alloc_size.
50870         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50871         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50872         * elf/pldd.c: Likewise.
50873         * iconv/iconv_charmap.c: Likewise.
50874         * iconv/iconvconfig.c: Likewise.
50875         * iconv/strtab.c: Likewise.
50876         * locale/programs/locale.c: Likewise.
50877         * locale/programs/localedef.h: Likewise.
50878         * locale/programs/simple-hash.c: Likewise.
50879         * nscd/nscd.h: Likewise.
50880         * nss/makedb.c: Likewise.
50881         * sysdeps/generic/ldconfig.h: Likewise.
50882         * locale/programs/localedef.c: Remove xmalloc prototype.
50883         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50885 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50887         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50888         appropriate.
50890 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50892         * math/Makefile (tests): Add tst-CMPLX.
50893         * math/tst-CMPLX.c: New file.
50895         * math/complex.h (CMPLXL): Fix typo.
50897         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50898         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50899         GLIBC_2.16.
50900         * debug/tst-chk1.c: Add poll and ppoll tests.
50901         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50902         * include/sys/poll.h: Add hidden proto for ppoll.
50903         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50904         * sysdeps/mach/hurd/ppoll.c: Likewise.
50905         * io/ppoll.c: Likewise.
50906         * debug/poll_chk.c: New file.
50907         * debug/ppoll_chk.c: New file.
50908         * include/bits/poll2.h: New file.
50909         * io/bits/poll2.h: New file.
50911         [BZ #1350]
50912         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50914         * configure.in: static is always set to yes.  Remove.
50915         * config.make.in: Don't set build-static.
50916         * Makeconfig: Remove use of build-static.
50917         * dlfcn/Makefile: Likewise.
50918         * elf/Makefile: Likewise.
50919         * math/Makefile: Likewise.
50920         * misc/Makefile: Likewise.
50921         * nptl/Makefile: Likewise.
50922         * sysdeps/mach/hurd/Makefile: Likewise.
50924         * configure.in: PWD_P is not used anymore.
50925         * config.make.in: Remove PWD_P entry.
50927         * configure.in: Remove last remnants of RANLIB.
50928         No need to check for signed size_t anymore.
50929         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50930         and IA-64.
50931         Remove __builtin_expect test because we require at least gcc 3.4.
50932         * aclocal.m4: Likewise.
50934         * wcsmbs/mbrtoc16.c: Implement using towc function.
50935         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50936         * wcsmbs/wcsmbsload.c: Likewise.
50937         * iconv/gconv_simple.c: Likewise.
50938         * iconv/gconv_int.h: Likewise.
50939         * iconv/gconv_builtin.h: Likewise.
50940         * iconv/iconv_prog.c: Remove CHAR16 handling.
50942         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50944         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50946         * configure.in: Remove --with-elf and --enable-bounded options.
50947         Dont set base_machine for ia64.  More non-ELF conditions removed.
50948         Remove testing and setting of leading underscore information.
50949         * config.make.in (build-bounded): Set to no.
50950         * config.h.in: Remove NO_UNDERSCORES entry.
50951         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50952         them.
50953         * csu/start.c: Remove !NO_UNDERSCORE code.
50954         * locale/localeinfo.h: Likewise.
50955         * sysdeps/generic/machine-gmon.h: Likewise.
50956         * sysdeps/generic/sysdep.h: Likewise.
50957         * sysdeps/i386/sysdep.h: Likewise.
50958         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50959         * sysdeps/mach/sysdep.h: Likewise.
50960         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50961         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50962         * sysdeps/sh/sysdep.h: Likewise.
50963         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50964         * sysdeps/unix/i386/sysdep.S: Likewise.
50965         * sysdeps/unix/sparc/start.c: Likewise.
50966         * sysdeps/unix/sparc/sysdep.S: Likewise.
50967         * sysdeps/unix/sparc/sysdep.h: Likewise.
50968         * sysdeps/unix/start.c: Likewise.
50969         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50970         * sysdeps/x86_64/sysdep.h: Likewise.
50972 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50974         [BZ #13553]
50975         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50976         for non-gcc.
50977         * argp/argp-fmtstream.h: Use const instead __const.
50978         * argp/argp.h: Likewise.
50979         * assert/assert.h: Likewise.
50980         * bits/fenv.h: Likewise.
50981         * bits/sched.h: Likewise.
50982         * bits/sigset.h: Likewise.
50983         * bits/sigthread.h: Likewise.
50984         * catgets/nl_types.h: Likewise.
50985         * conform/data/pthread.h-data: Likewise.
50986         * crypt/crypt-private.h: Likewise.
50987         * crypt/crypt.h: Likewise.
50988         * crypt/crypt_util.c: Likewise.
50989         * ctype/ctype.h: Likewise.
50990         * debug/execinfo.h: Likewise.
50991         * debug/mbsnrtowcs_chk.c: Likewise.
50992         * debug/mbsrtowcs_chk.c: Likewise.
50993         * debug/wcsnrtombs_chk.c: Likewise.
50994         * debug/wcsrtombs_chk.c: Likewise.
50995         * debug/wcstombs_chk.c: Likewise.
50996         * dirent/dirent.h: Likewise.
50997         * dlfcn/dlfcn.h: Likewise.
50998         * elf/neededtest4.c: Likewise.
50999         * grp/grp.h: Likewise.
51000         * gshadow/gshadow.h: Likewise.
51001         * iconv/gconv.h: Likewise.
51002         * iconv/gconv_int.h: Likewise.
51003         * iconv/gconv_simple.c: Likewise.
51004         * iconv/iconv.h: Likewise.
51005         * iconv/loop.c: Likewise.
51006         * iconv/skeleton.c: Likewise.
51007         * include/aio.h: Likewise.
51008         * include/aliases.h: Likewise.
51009         * include/argz.h: Likewise.
51010         * include/arpa/inet.h: Likewise.
51011         * include/assert.h: Likewise.
51012         * include/dirent.h: Likewise.
51013         * include/dlfcn.h: Likewise.
51014         * include/execinfo.h: Likewise.
51015         * include/fcntl.h: Likewise.
51016         * include/fenv.h: Likewise.
51017         * include/glob.h: Likewise.
51018         * include/grp.h: Likewise.
51019         * include/libintl.h: Likewise.
51020         * include/mntent.h: Likewise.
51021         * include/netdb.h: Likewise.
51022         * include/pwd.h: Likewise.
51023         * include/rpc/netdb.h: Likewise.
51024         * include/sched.h: Likewise.
51025         * include/search.h: Likewise.
51026         * include/shadow.h: Likewise.
51027         * include/signal.h: Likewise.
51028         * include/stdio.h: Likewise.
51029         * include/stdlib.h: Likewise.
51030         * include/string.h: Likewise.
51031         * include/sys/socket.h: Likewise.
51032         * include/sys/stat.h: Likewise.
51033         * include/sys/statfs.h: Likewise.
51034         * include/sys/statvfs.h: Likewise.
51035         * include/sys/syslog.h: Likewise.
51036         * include/sys/time.h: Likewise.
51037         * include/sys/uio.h: Likewise.
51038         * include/time.h: Likewise.
51039         * include/unistd.h: Likewise.
51040         * include/utmp.h: Likewise.
51041         * include/wchar.h: Likewise.
51042         * include/wctype.h: Likewise.
51043         * inet/aliases.h: Likewise.
51044         * inet/arpa/inet.h: Likewise.
51045         * inet/netinet/ether.h: Likewise.
51046         * inet/netinet/in.h: Likewise.
51047         * intl/libintl.h: Likewise.
51048         * io/bits/fcntl2.h: Likewise.
51049         * io/fcntl.h: Likewise.
51050         * io/ftw.h: Likewise.
51051         * io/sys/poll.h: Likewise.
51052         * io/sys/stat.h: Likewise.
51053         * io/sys/statfs.h: Likewise.
51054         * io/sys/statvfs.h: Likewise.
51055         * io/utime.h: Likewise.
51056         * libio/bits/stdio.h: Likewise.
51057         * libio/bits/stdio2.h: Likewise.
51058         * libio/libio.h: Likewise.
51059         * libio/libioP.h: Likewise.
51060         * libio/stdio.h: Likewise.
51061         * locale/lc-ctype.c: Likewise.
51062         * locale/locale.h: Likewise.
51063         * login/utmp.h: Likewise.
51064         * malloc/arena.c: Likewise.
51065         * malloc/malloc.c: Likewise.
51066         * malloc/malloc.h: Likewise.
51067         * malloc/mcheck.c: Likewise.
51068         * malloc/mtrace.c: Likewise.
51069         * math/bits/mathcalls.h: Likewise.
51070         * math/fenv.h: Likewise.
51071         * math/math_private.h: Likewise.
51072         * misc/bits/error.h: Likewise.
51073         * misc/bits/syslog.h: Likewise.
51074         * misc/err.h: Likewise.
51075         * misc/error.h: Likewise.
51076         * misc/fstab.h: Likewise.
51077         * misc/mntent.h: Likewise.
51078         * misc/regexp.h: Likewise.
51079         * misc/search.h: Likewise.
51080         * misc/sgtty.h: Likewise.
51081         * misc/sys/mman.h: Likewise.
51082         * misc/sys/syslog.h: Likewise.
51083         * misc/sys/uio.h: Likewise.
51084         * misc/sys/xattr.h: Likewise.
51085         * misc/ttyent.h: Likewise.
51086         * nis/rpcsvc/ypclnt.h: Likewise.
51087         * nss/nss.h: Likewise.
51088         * posix/bits/unistd.h: Likewise.
51089         * posix/fnmatch.h: Likewise.
51090         * posix/glob.h: Likewise.
51091         * posix/sched.h: Likewise.
51092         * posix/spawn.h: Likewise.
51093         * posix/sys/wait.h: Likewise.
51094         * posix/unistd.h: Likewise.
51095         * posix/wordexp.h: Likewise.
51096         * pwd/pwd.h: Likewise.
51097         * resolv/netdb.h: Likewise.
51098         * resource/sys/resource.h: Likewise.
51099         * rt/aio.h: Likewise.
51100         * rt/bits/mqueue2.h: Likewise.
51101         * rt/mqueue.h: Likewise.
51102         * shadow/shadow.h: Likewise.
51103         * signal/signal.h: Likewise.
51104         * socket/send.c: Likewise.
51105         * socket/sendto.c: Likewise.
51106         * socket/sys/socket.h: Likewise.
51107         * stdio-common/printf.h: Likewise.
51108         * stdlib/bits/stdlib.h: Likewise.
51109         * stdlib/fmtmsg.h: Likewise.
51110         * stdlib/monetary.h: Likewise.
51111         * stdlib/stdlib.h: Likewise.
51112         * stdlib/ucontext.h: Likewise.
51113         * streams/stropts.h: Likewise.
51114         * string/argz.h: Likewise.
51115         * string/bits/string2.h: Likewise.
51116         * string/string.h: Likewise.
51117         * string/strings.h: Likewise.
51118         * sunrpc/rpc/auth.h: Likewise.
51119         * sunrpc/rpc/auth_des.h: Likewise.
51120         * sunrpc/rpc/clnt.h: Likewise.
51121         * sunrpc/rpc/netdb.h: Likewise.
51122         * sunrpc/rpc/pmap_clnt.h: Likewise.
51123         * sunrpc/rpc/xdr.h: Likewise.
51124         * sysdeps/generic/inttypes.h: Likewise.
51125         * sysdeps/generic/net/if.h: Likewise.
51126         * sysdeps/generic/sys/swap.h: Likewise.
51127         * sysdeps/gnu/net/if.h: Likewise.
51128         * sysdeps/gnu/utmpx.h: Likewise.
51129         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51130         * sysdeps/i386/i486/bits/string.h: Likewise.
51131         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51132         * sysdeps/s390/bits/string.h: Likewise.
51133         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51134         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51135         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51136         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51137         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51138         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51139         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51140         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51141         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51142         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51143         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51144         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51145         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51146         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51147         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51148         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51149         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51150         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51151         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51152         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51153         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51154         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51155         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51156         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51157         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51158         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51159         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51160         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51161         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51162         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51163         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51164         * sysvipc/sys/ipc.h: Likewise.
51165         * sysvipc/sys/msg.h: Likewise.
51166         * sysvipc/sys/sem.h: Likewise.
51167         * sysvipc/sys/shm.h: Likewise.
51168         * termios/termios.h: Likewise.
51169         * time/sys/time.h: Likewise.
51170         * time/time.h: Likewise.
51171         * wcsmbs/bits/wchar2.h: Likewise.
51172         * wcsmbs/uchar.h: Likewise.
51173         * wcsmbs/wchar.h: Likewise.
51174         * wctype/wctype.h: Likewise.
51176         [BZ #13551]
51177         * Makeconfig: Remove all but ELF support including AIX support.
51178         * Makerules: Likewise.
51179         * config.h.in: Likewise.
51180         * config.make.in: Likewise.
51181         * configure: Likewise.
51182         * configure.in: Likewise.
51183         * csu/Makefile: Likewise.
51184         * csu/version.c: Likewise.
51185         * debug/Makefile: Likewise.
51186         * dlfcn/Makefile: Likewise.
51187         * elf/Makefile: Likewise.
51188         * extra-lib.mk: Likewise.
51189         * iconv/Makefile: Likewise.
51190         * include/libc-symbols.h: Likewise.
51191         * include/shlib-compat.h: Likewise.
51192         * resolv/Makefile: Likewise.
51193         * resolv/res_libc.c: Likewise.
51194         * rt/Makefile: Likewise.
51195         * sysdeps/i386/asm-syntax.h: Likewise.
51196         * sysdeps/i386/sysdep.h: Likewise.
51197         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51198         * sysdeps/mach/sysdep.h: Likewise.
51199         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51200         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51201         * sysdeps/s390/asm-syntax.h: Likewise.
51202         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51203         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51204         * sysdeps/sh/sysdep.h: Likewise.
51205         * sysdeps/unix/sparc/sysdep.h: Likewise.
51206         * sysdeps/wordsize-32/divdi3.c: Likewise.
51207         * sysdeps/x86_64/sysdep.h: Likewise.
51209         * argp/Versions: Remove _argp_unlock_xxx.
51211         [BZ #13559]
51212         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51213         * abilist/libBrokenLocale.abilist: Likewise.
51214         * abilist/libanl.abilist: Likewise.
51215         * abilist/libc.abilist: Likewise.
51216         * abilist/libcrypt.abilist: Likewise.
51217         * abilist/libdl.abilist: Likewise.
51218         * abilist/libm.abilist: Likewise.
51219         * abilist/libnsl.abilist: Likewise.
51220         * abilist/libpthread.abilist: Likewise.
51221         * abilist/libresolv.abilist: Likewise.
51222         * abilist/librt.abilist: Likewise.
51223         * abilist/libthread_db.abilist: Likewise.
51224         * abilist/libutil.abilist: Likewise.
51225         * abilist/libnss_db.abilist: New file.
51227         * scripts/abilist.awk: Add support for indirect functions.
51229         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51231         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51233         * shlib-versions: Remove entries for ports architectures.
51235         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51236         files in ports.
51237         * elf/stackguard-macros.h: Remove support for IA-64.
51238         * elf/tst-auditmod1.c: Likewise.
51239         * sysdeps/generic/ldsodefs.h: Likewise.
51241         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51242         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51243         configure files.
51245         [BZ #13552]
51246         * configure.in: Remove --enable-omitfp support.
51247         * FAQ.in: Adjust.
51248         * config.make.in: Likewise.
51249         * Makeconfig: Likewise.
51250         * manual/install.texi: Likewise.
51252         In case anyone cares, the IA-64 architecture could move to ports.
51253         * sysdeps/ia64/*: Removed.
51254         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51255         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51257         [BZ #13555]
51258         * configure.in: Remove entries for unsupported architectures.
51260         [BZ #13533]
51261         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51262         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51263         routines.
51264         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51265         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51266         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51267         fall back to using wcrtomb.
51268         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51269         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51270         renaming.
51271         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51272         * wcsmbs/tst-c16c32-1.c: New file.
51274         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51275         local variable.
51277         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51279         * elf/tst-unique3.cc: Add explicit declaration of gets.
51280         * elf/tst-unique3lib.cc: Likewise.
51281         * elf/tst-unique3lib2.cc: Likewise.
51282         * elf/tst-unique4.cc: Likewise.
51284         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51286 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51288         [BZ #13566]
51289         * assert/assert.h (static_assert): Don't define for C++.
51290         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51291         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51293 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51295         * iconv/loop.c (single loop): Fix assertion in storing of
51296         remaining bytes.
51298         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51300 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51302         * posix/getconf.c: Update copyright year.
51303         * nss/getent.c: Likewise.
51304         * nss/makedb.c: Likewise.
51305         * iconv/iconvconfig.c: Likewise.
51306         * iconv/iconv_prog.c: Likewise.
51307         * elf/ldconfig.c: Likewise.
51308         * elf/pldd.c: Likewise.
51309         * elf/sotruss.ksh: Likewise.
51310         * catgets/gencat.c: Likewise.
51311         * csu/version.c: Likewise.
51312         * elf/ldd.bash.in: Likewise.
51313         * elf/sprof.c (print_version): Likewise.
51314         * locale/programs/locale.c: Likewise.
51315         * locale/programs/localedef.c: Likewise.
51316         * login/programs/pt_chown.c: Likewise.
51317         * nscd/nscd.c (print_version): Likewise.
51318         * debug/xtrace.sh: Likewise.
51319         * malloc/memusage.sh: Likewise.
51320         * malloc/mtrace.pl: Likewise.
51321         * debug/catchsegv.sh: Likewise.
51323 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51325         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51326         pure attribute.
51328 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51330         [BZ #13533]
51331         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51332         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51333         transformations.
51334         * iconv/gconv_int.h: Likewise.
51335         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51336         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51337         from libc for GLIBC_2.16.
51338         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51339         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51340         * wcsmbs/uchar.h: Really define mbstate_t.
51341         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51342         * wcsmbs/c16rtomb.c: New file.
51343         * wcsmbs/mbrtoc16.c: New file.
51344         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51345         for C/POSIX locale.
51346         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51347         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51349         * wcsmbs/wchar.h: Add missing __restrict.
51351 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51353         [BZ #13532]
51354         * time/Makefile (routines): Add timespec_get.
51355         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51356         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51357         timespec for ISO C11.
51358         * time/timespec_get.c: New file.
51359         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51360         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51362         [BZ #13531]
51363         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51364         * stdlib/stdlib.h: Declare aligned_alloc.
51365         * Versions.def: Add GLIBC_2.16 for libc.
51366         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51368         [BZ 13527]
51369         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51370         ISO C11.
51372         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51373         code.
51375         [BZ #13528]
51376         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51378         [BZ #13529]
51379         * assert/assert.h (static_assert): Define.
51381         * version.h: Update for 2.16 development version.
51383         [BZ #13526]
51384         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51385         _ISOC11_SOURCE.
51387         * version.h (RELEASE): Bump for 2.15 release.
51388         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51390         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51391         Patch by Marek Polacek <mpolacek@redhat.com>.
51393         * bits/byteswap.h: Protect long long constants with __extension__.
51394         * sysdeps/i386/bits/byteswap.h: Likewise.
51395         * sysdeps/ia64/bits/byteswap.h: Likewise.
51396         * sysdeps/s390/bits/byteswap.h: Likewise.
51397         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51399 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51401         [BZ #13540]
51402         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51403         destination buffer.
51404         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51406 2011-12-23  Marek Polacek  <polacek@redhat.com>
51408         * elf/dl-addr.c (determine_info): Add inline keyword.
51409         * elf/tst-auditmod4b.c (check_avx): Likewise.
51410         * elf/tst-auditmod6b.c (check_avx): Likewise.
51411         * elf/tst-auditmod6c.c (check_avx): Likewise.
51412         * elf/tst-auditmod7b.c (check_avx): Likewise.
51414 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51416         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51417         !__SSE_MATH__.
51419 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51421         [BZ #13540]
51422         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51423         processing for last bytes.
51425 2011-08-06  Bruno Haible  <bruno@clisp.org>
51427         [BZ #13061]
51428         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51429         U+0385, not to U+1FEE.
51431         [BZ #13062]
51432         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51433         entry for U+00A5 U+0301.
51435 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51437         [BZ #13166]
51438         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51439         buffer for the output is too small.
51441         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51442         optimization.
51444         [BZ #13185]
51445         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51446         SSE flags if possible.
51448 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51450         [BZ #13540]
51451         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51452         processing for last bytes.
51454 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51456         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51457         (syscall-list-default-options, syscall-list-default-condition)
51458         (syscall-list-includes): Define.
51459         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51460         list of ABIs and options and #if conditions for each ABI.  Do not
51461         handle common syscalls between ABIs specially.
51462         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51463         Remove.
51464         (syscall-list-variants, syscall-list-32bit-options)
51465         (syscall-list-32bit-condition, syscall-list-64bit-options)
51466         (syscall-list-64bit-condition): Define.
51467         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51468         (syscall-list-variants, syscall-list-32bit-options)
51469         (syscall-list-32bit-condition, syscall-list-64bit-options)
51470         (syscall-list-64bit-condition): Define.
51471         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51472         Remove.
51473         (syscall-list-variants, syscall-list-32bit-options)
51474         (syscall-list-32bit-condition, syscall-list-64bit-options)
51475         (syscall-list-64bit-condition): Define.
51476         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51477         Remove.
51478         (syscall-list-variants, syscall-list-32bit-options)
51479         (syscall-list-32bit-condition, syscall-list-64bit-options)
51480         (syscall-list-64bit-condition): Define.
51482 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51484         * locale/iso-639.def: Add brx entry.
51486         [BZ #13328]
51487         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51488         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51490         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51491         __feraiseexcept_renamed.
51493 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51495         [BZ #13538]
51496         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51497         EPOLLET with unsigned values.
51498         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51499         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51501         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51502         to large cancellation.
51503         * math/s_cacoshf.c: Likewise.
51504         * math/s_cacoshl.c: Likewise.
51506 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51508         [BZ #13305]
51509         [BZ #12786]
51510         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51511         * math/s_cacoshf.c: Likewise.
51512         * math/s_cacoshl.c: Likewise.
51514 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51516         [BZ #13439]
51517         * iconv/gconv.h: Define __GCONV_SWAP.
51518         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51519         * iconvdata/utf-16.c: Likewise.
51520         * iconvdata/utf-32.c: Likewise.
51522 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51524         [BZ #13524]
51525         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51526         numerator after shifting it by one limb.
51528 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51530         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51531         under [__USE_EXTERN_INLINES].
51533 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51535         [BZ #13446]
51536         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51538 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51540         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51541         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51542         optimized code.
51543         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51544         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51545         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51546         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51547         for strncasecmp/strncasecmp_l compilation.
51548         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51549         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51551 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51553         [BZ #13484]
51554         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51555         of __asm__.
51557 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51559         [BZ #13506]
51560         * time/tzfile.c (__tzfile_read): Check values from file header.
51562 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51564         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51565         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51566         * powerpc/powerpc32/dl-start.S: Likewise.
51567         * powerpc/powerpc32/elf/start.S: Likewise.
51568         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51569         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51570         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51571         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51572         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51573         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51574         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51575         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51576         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51577         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51578         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51579         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51580         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51581         * powerpc/powerpc32/memset.S: Likewise.
51582         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51583         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51584         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51585         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51586         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51587         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51588         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51589         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51590         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51591         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51592         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51593         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51594         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51596 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51598         * math/libm-test.inc: Added more nearbyint tests.
51599         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51600         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51601         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51602         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51604 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51606         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51607         FD_CLOEXEC.
51609 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51611         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51612         Add wcscpy-ssse3 wcscpy-c.
51613         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51614         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51615         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51616         * sysdeps/x86_64/wcschr.S: New file.
51617         * sysdeps/x86_64/wcsrchr.S: New file.
51618         * string/test-strcmp.c: Remove checking of wcscmp function for
51619         wrong alignments.
51620         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51621         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51622         wcsrchr-sse2 wcsrchr-c.
51623         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51624         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51625         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51626         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51627         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51628         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51629         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51630         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51631         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51632         * wcsmbc/wcschr.c (WCSCHR): New macro.
51634 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51636         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51637         * wcsmbs/test-wcsrchr.c: New file.
51638         * string/test-strrchr.c: Add wcsrchr support.
51639         (WIDE): New macro.
51640         * wcsmbs/test-wcscpy.c: New file.
51641         * string/test-strcpy.c: Add wcscpy support.
51642         (WIDE): New macro.
51644 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51646         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51647         the inner loop.
51649 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51651         [BZ #13472]
51652         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51654 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51656         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51657         Minor optimizations.
51659         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51660         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51661         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51663 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51665         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51666         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51667         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51668         for gcc to avoid warnings.
51669         * inet/Makefile (tests): Add tst-checks.
51670         * inet/tst-checks.c: New file.
51672         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51673         warning.
51675         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51676         __wmemcmp_sse2.
51678         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51679         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51681         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51683 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51685         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51686         problem.
51688         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51690 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51692         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51693         conditional on GCC version.
51694         (__arch_compare_and_exchange_val_8_acq)
51695         (__arch_compare_and_exchange_val_16_acq)
51696         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51697         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51698         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51700 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51702         * sysdeps/sh/backtrace.c: New file.
51704 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51706         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51707         parenthesis.
51709 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51711         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51712         falling back to utime.
51714 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51716         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51717         expectations for float.
51719 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51721         * locale/weight.h (findidx): Add parameter len.
51722         * locale/weightwc.h (findidx): Likewise.
51723         * posix/fnmatch_loop.c (FCT): Adjust caller.
51724         * posix/regcomp.c (build_equiv_class): Likewise.
51725         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51726         * posix/regexec.c (check_node_accept_bytes): Likewise.
51727         * string/strcoll_l.c (STRCOLL): Likewise.
51728         * string/strxfrm_l.c (STRXFRM): Likewise.
51730 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51732         * Makefile.in: Remove CVSOPT handling.
51733         * configure.in: Remove use of AC_REVISION.
51734         * iconvdata/Makefile (distribute): No need to filter out CVS.
51735         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51736         handling.
51738 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51740         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51741         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51742         [USE_AS_STRNCASECMP_L]: Likewise.
51743         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51744         NO_TLS_DIRECT_SEG_REFS.
51745         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51746         Fix argument offsets for non-PIC.
51747         [USE_AS_STRNCASECMP_L]: Likewise.
51748         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51749         NO_TLS_DIRECT_SEG_REFS.
51751 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51753         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51754         O_CLOEXEC.
51755         * locale/loadlocale.c (_nl_load_locale): Likewise.
51757 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51759         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51760         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51761         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51762         (SYSCALL_GETTIME): Set errno on error.
51764         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51765         count references to noai6ai_cached.
51767 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51769         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51771         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51772         FD_CLOEXEC for /proc/self/maps.
51774         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51775         FD_CLOEXEC for /proc/meminfo.
51777         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51778         gai.conf.
51780         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51781         FD_CLOEXEC for given file.
51783         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51785         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51786         FD_CLOEXEC for /etc/hosts.
51787         (_gethtent): Likewise.
51789         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51791         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51792         cancellation and set FD_CLOEXEC for /etc/netgroup.
51794         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51795         reading /etc/publickey.
51797         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51798         allow cancellation when reading /etc/group.
51800         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51801         cancellation.
51802         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51804         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51805         when using data file.
51807         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51809         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51810         (write_nis_obj): Use "c" and "e" in fopen.
51812         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51814         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51816         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51818         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51820         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51821         locale.alias.
51823         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51825         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51827         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51829         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51830         file parsing and set FD_CLOEXEC.
51832 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51834         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51836 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51838         * malloc/arena.c (arena_get2): Don't call reused_arena when
51839         _int_new_arena failed.
51841 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51843         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51844         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51845         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51846         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51847         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51848         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51849         to compile strcasecmp and strncasecmp.
51850         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51851         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51853         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51855 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51857         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51858         locale-defines.sym to gen-as-const-headers.
51859         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51860         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51862         to compile strcasecmp and strncasecmp.
51863         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51864         strcasecmp_l and strncasecmp_l.
51865         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51866         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51867         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51868         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51869         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51870         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51871         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51872         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51873         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51874         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51875         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51877 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51879         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51880         result of SYSDEP_GETTIME_CPU to retval.
51881         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51882         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51884         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51885         variable.
51887         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51888         mantissa words.
51889         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51891         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51892         from unused variable.
51894         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51895         DWARF definitions.
51896         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51897         for assembling.
51899         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51900         over namespaces.
51902         * sunrpc/rpc_prot.c (rejected): Fix case value.
51904         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51905         unsigned long long int to avoid warnings in shift.
51907         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51908         of use of trans.
51909         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51910         variable tmp.
51912         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51913         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51914         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51916         * nis/nis_table.c (nis_list): Use variable of correct type for
51917         result of __follow_path call.
51919 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51921         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51922         of math functions ceil, trunc, floor, round, and sqrt, when
51923         avaliable on the platform.
51924         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51925         name clash.
51926         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51927         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51928         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51930 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51932         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51933         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51935 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51937         * include/unistd.h: Fix __readlink return type.
51938         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51940 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51942         * stdlib/ucontext.h: Undo last change for makecontext.
51944 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51946         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51948         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51949         * setjmp/setjmp.h: Mark functions as non-leaf.
51950         * setjmp/bits/setjmp2.h: Likewise.
51951         * stdlib/ucontext.h: Likewise.
51953 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51955         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51956         (reused_arena): Don't check arena limit.
51957         (arena_get2): Atomically check arena limit.
51959 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51961         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51962         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51964         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51965         instructions.
51967 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51969         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51970         handler when locking.
51972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51973         Fix size of allocated buffer.
51975 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51977         [BZ #10103]
51978         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51979         declarations for long double functions.
51980         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51982         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51984 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51986         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51987         installed.
51989         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51990         is disabled.
51992 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51994         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51996 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51998         * include/alloca.h (stackinfo_alloca_round): Define.
51999         (extend_alloca): Use it.
52000         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52001         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52002         here.
52004         * scripts/check-local-headers.sh: Ignore libaudit.h.
52006         * nscd/Makefile (extra-objs): Make recursively expanded.
52008 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52010         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52011         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52013         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52014         * posix/tst-rfc3484-2.c: Likewise.
52015         * posix/tst-rfc3484-3.c: Likewise.
52017         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52018         process_vm_writev.
52019         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52020         process_vm_writev.
52021         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52022         process_vm_writev from libc using GLIBC_2.15 version.
52024         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52026 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52028         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52029         stack usage.
52031 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52033         [BZ #13367]
52034         * nss/getent.c (initgroups_keys): Show error message in case no group
52035         names are given.
52037         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52038         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52039         __bump_nl_timestamp.
52040         * nscd/connections (nscd_init): When host database is served open
52041         netlink socket and request notification about configuration changes.
52042         (main_loop_poll): Track netlink file descriptor and bump timestamp
52043         in case data becomes available.
52044         (main_loop_epoll): Likewise.
52045         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52046         (database_pers_head): Add extra_data fileds.
52047         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52048         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52049         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52050         Adjust caller.
52051         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52052         in6ai data, call __free_in6ai.
52053         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52054         Add -DHAVE_NETLINK.
52055         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52056         interface information.  Reuse previous data if netlink timestamp
52057         is not changed.
52058         (__bump_nl_timestamp): New function.
52059         (__free_in6ai): New function.
52061 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52064         close_not_cancel_no_status here.
52065         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52067 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52069         [BZ #13276]
52070         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52071         return value.
52073         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52074         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52075         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52077 2011-07-03  Andreas Jaeger  <aj@suse.de>
52079         [BZ #10709]
52080         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52081         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52082         * math/libm-test.inc (sin_test): Add test case.
52084 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52086         [BZ #13337]
52087         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52088         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52090         * elf/chroot_canon.c (chroot_canon): Cleanups.
52092         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52094         [BZ #13335]
52095         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52096         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52098         * string/test-strchr.c: Make usable for strchrnul testing.
52099         * string/test-strchrnul.c: New file.
52100         * string/Makefile (strop-tests): Add strchrnul.
52102         * po/it.po: Update from translation team.
52103         * po/es.po: Likewise.
52105 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52107         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52108         the three constants needed as parameters.  Drop the others.
52109         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52110         __m128i_strloadu_tolower.
52111         Create and initialize variable zero and use it in all the places
52112         where _mm_setzero_si128 was used.
52114         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52115         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52116         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52117         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52118         anymore.
52119         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52120         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52121         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52122         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52123         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52124         __mpranred, __mptan.
52125         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52126         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52127         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52128         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52129         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52130         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52131         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52132         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52133         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52135 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52137         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52138         redefine if SHARED.
52139         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52142         wide char related routines to wcsmbs subdir.
52144 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52146         [BZ #13344]
52147         * misc/sys/cdefs.h (__THROWNL): Define.
52148         * posix/unistd.h: Use __THREADNL instead of __THREAD
52149         for memory synchronization functions.
52151 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52153         [BZ #13349]
52154         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52155         doesn't exist.
52156         * manual/stdio.texi (Obstack Streams): Node removed.
52158 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52160         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52161         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52162         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52164         * math/math_private.h (math_force_eval): Allow non-addressable
52165         arguments.
52166         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52168 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52170         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52171         file is not needed.
52173         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52174         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52175         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52176         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52177         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52178         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52179         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52180         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52181         Add AVX variants.
52182         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52183         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52184         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52185         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52186         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52187         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52188         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52189         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52190         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52191         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52192         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52193         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52194         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52195         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52196         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52197         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52198         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52199         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52200         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52202         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52203         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52205         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52206         place.  Use VEX encoding when compiling for AVX.
52208 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52210         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52211         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52213         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52215 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52217         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52218         useless if() expression.
52219         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52220         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52221         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52222         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52223         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52224         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52225         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52226         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52227         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52228         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52229         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52230         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52231         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52232         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52233         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52234         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52235         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52236         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52237         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52239         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52241 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52243         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52244         condition.
52245         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52247 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52249         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52250         .text section.  Avoid duplicate constants.
52251         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52252         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52253         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52254         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52258         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52259         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52260         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52261         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52262         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52263         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52264         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52265         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52266         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52267         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52268         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52269         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52270         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52271         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52272         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52273         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52274         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52275         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52276         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52277         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52278         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52279         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52280         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52281         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52282         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52283         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52284         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52285         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52286         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52287         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52288         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52289         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52290         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52291         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52292         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52293         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52294         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52295         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52297 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52299         * sysdeps/x86_64/dla.h: Move to ...
52300         * sysdeps/x86_64/fpu/dla.h: ...here.
52301         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52302         situations.  Use __builtin_fma only for gcc 4.6 and up.
52304         * config.make.in: Add have-mfma4 entry.
52305         * configure.in: Substitute libc_cv_cc_fma4.
52306         * math/Makefile (dbl-only-routines): Add sincostab.
52307         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52308         Use __sincostab not sincos.
52309         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52310         name is a macro.
52311         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52312         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52313         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52315         using __copysign.
52316         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52317         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52318         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52319         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52320         and __inv.
52321         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52322         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52323         __copysign.
52324         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52325         define aliases when function name is a macro.
52326         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52327         sysdeps/ieee754/dbl-64/sincos.tbl.
52328         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52329         fma4-enabled routines.
52330         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52331         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52332         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52333         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52334         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52335         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52336         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52337         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52338         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52339         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52340         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52341         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52342         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52343         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52344         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52345         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52346         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52347         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52348         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52349         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52350         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52351         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52352         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52353         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52354         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52355         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52356         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52357         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52358         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52359         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52361         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52362         rename.
52363         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52365         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52366         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52367         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52368         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52369         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52370         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52372 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52374         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52376 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52378         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52380         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52381         prediction.
52382         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52384         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52385         Remove unused variable magic_bits.
52386         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52388         * string/strnlen.c: Define and use STRNLEN macro.
52389         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52390         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52391         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52392         * wcsmbs/wcslen.c: Define and use WCSLEN.
52393         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52394         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52395         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52396         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52397         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52398         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52399         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52401 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52404         strnlen-sse2-no-bsf.
52405         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52406         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52407         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52408         Add strnlen support.
52409         (USE_AS_STRNLEN): New macro.
52410         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52411         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52412         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52413         * sysdeps/x86_64/wcslen.S: New file.
52415 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52417         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52418         XMM-moves are used for copying on small sizes.
52420 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52422         * wcsmbs/Makefile (strop-tests): Add wcschr.
52423         * wcsmbs/test-wcschr.c: New file.
52424         * string/test-strchr.c: Update.
52425         Add wcschr support.
52426         (WIDE): New macro.
52428 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52430         * wcsmbs/Makefile (strop-tests): Add wcslen.
52431         * wcsmbs/test-wcslen.c: New file.
52432         * string/test-strlen.c: Update.
52433         Add wcslen support.
52434         (WIDE): New macro.
52436 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52438         * po/it.po: Update from translation team.
52440 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52442         * sysdeps/x86_64/wcscmp.S: Update.
52443         Fix wrong comparison semantics.
52444         wcscmp shall use signed comparison not unsigned.
52445         Don't use substraction to avoid overflow bug.
52446         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52447         * wcsmbc/wcscmp.c: Likewise.
52448         * string/test-strcmp.c: Likewise.
52449         Add new tests to check cases with negative values.
52451 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52453         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52454         * sysdeps/x86_64/dla.h: ...here.  New file.
52455         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52456         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52460         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52461         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52462         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52463         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52465 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52468         __ynl_finite aliases.
52470 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52474         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52475         define DLA_FMA.
52476         [DLA_FMA] (EMULV): Use DLA_FMA.
52477         [DLA_FMA] (MUL12): Use EMULV.
52478         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52479         that are not needed.
52480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52481         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52482         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52483         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52484         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52485         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52486         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52488 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52490         * math/s_nan.c: Undef __nan.
52491         * math/s_nanf.c: Undef __nanf.
52492         * math/s_nanl.c: Undef __nanl.
52493         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52494         "math_private.h".
52496 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52498         * math/s_catan.c: Add branch predictions.
52499         * math/s_catanf.c: Likewise.
52500         * math/s_catanh.c: Likewise.
52501         * math/s_catanhf.c: Likewise.
52502         * math/s_catanhl.c: Likewise.
52503         * math/s_catanl.c: Likewise.
52504         * math/s_cexp.c: Likewise.
52505         * math/s_cexpf.c: Likewise.
52506         * math/s_cexpl.c: Likewise.
52507         * math/s_clog.c: Likewise.
52508         * math/s_clog10.c: Likewise.
52509         * math/s_clog10f.c: Likewise.
52510         * math/s_clog10l.c: Likewise.
52511         * math/s_clogf.c: Likewise.
52512         * math/s_clogl.c: Likewise.
52513         * math/s_csqrt.c: Likewise.
52514         * math/s_csqrtf.c: Likewise.
52515         * math/s_csqrtl.c: Likewise.
52516         * math/s_ctanf.c: Likewise.
52517         * math/s_ctanh.c: Likewise.
52518         * math/s_ctanhf.c: Likewise.
52519         * math/s_ctanhl.c: Likewise.
52520         * math/s_ctanl.c: Likewise.
52522         * math/math_private.h: Define __nan, __nanf, __nanl.
52523         * math/s_cacosh.c: Include <math_private.h>.
52524         * math/s_cacoshl.c: Likewise.
52525         * math/s_casinh.c: Likewise.
52526         * math/s_casinhf.c: Likewise.
52527         * math/s_casinhl.c: Likewise.
52528         * math/s_ccos.c: Rely entire on ccosh.
52529         * math/s_ccosf.c: Rely entire on ccoshf.
52530         * math/s_ccosl.c: Rely entirely on ccoshl.
52531         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52532         Remove tests for FE_INVALID.
52533         * math/s_ccoshf.c: Likewise.
52534         * math/s_ccoshl.c: Likewise.
52535         * math/s_csin.c: Likewise.
52536         * math/s_csinf.c: Likewise.
52537         * math/s_csinh.c Likewise.
52538         * math/s_csinhf.c: Likewise.
52539         * math/s_csinhl.c: Likewise.
52540         * math/s_csinl.c: Likewise.
52541         * math/s_ctan.c: Likewise.
52542         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52543         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52544         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52546 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52548         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52549         compilation problems.
52551         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52552         __builtin_expect.
52554 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52556         * sysdeps/i386/configure.in: Test for -mfma4 option.
52557         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52558         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52559         COMMON_CPUID_INDEX_80000001.
52560         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52561         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52562         use it if FMA3 is not supported.
52563         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52565         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52566         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52568 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52570         [BZ #12892]
52571         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52572         it would create a cycle with a link time dependency.
52574 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52576         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52577         instruction.
52578         * string/Makefile (strop-tests): Add rawmemchr.
52579         * string/test-rawmemchr.c: New file.
52581         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52582         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52583         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52584         when compiling str{,n}casecmp and when AVX is available.  Hook up
52585         new optimized code in initializers.
52587 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52589         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52590         __feraiseexcept instead of feraiseexcept.
52592 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52594         * math/math_private.h: Define defaults for libc_fetestexcept and
52595         libc_feupdateenv.
52596         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52597         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52598         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52599         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52600         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52601         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52602         libc_fetestexcept and libc_feupdateenv.
52604         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52605         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52606         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52607         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52608         libc_feholdexcept_setround.
52610         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52611         Add s_nearbyint-c and s_nearbyintf-c.
52612         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52613         nearbyintf inlines.
52614         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52615         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52616         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52617         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52619         * math/math_private.h: Define defaults for libc_fegetround,
52620         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52621         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52622         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52623         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52624         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52625         standard functions.
52626         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52627         Remove comments and hacks for old compiler versions.
52628         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52629         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52630         libc_feholdexceptl.
52632 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52634         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52635         (__feraiseexcept_renamed): Add __NTH.
52636         (feraiseexcept): Add __NTH.  Rename local variables to fix
52637         namespace violations.
52639 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52641         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52643         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52645         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52646         recently added interfaces.
52647         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52649         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52650         about macro parameter expansion.
52652         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52653         __NO_MATH_INLINES is defined.  Cleanups.
52655         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52656         and __floorf is target has SSE4.1.
52657         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52658         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52659         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52660         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52662         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52663         name.
52664         (floorf): Likewise.
52666         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52668 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52670         * misc/sys/cdefs.h: Fix last change.
52672         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52673         database lookup.
52675 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52677         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52679         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52680         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52681         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52682         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52683         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52684         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52685         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52686         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52687         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52688         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52689         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52690         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52691         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52692         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52693         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52694         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52695         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52696         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52697         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52698         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52699         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52700         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52702         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52703         ceil, ceilf, floor, floorf.
52705         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52706         Perform IRELATIVE relocations last.
52708         * elf/do-rel.h: Add another parameter nrelative, replacing the
52709         local variable with the same name.  Change name of the function
52710         to end in Rel or Rela (uppercase).
52711         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52712         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52713         elf_dynamic_do_##reloc function.
52715 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52717         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52718         is sufficient, at least on modern CPUs.
52720         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52722         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52723         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52725         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52726         __expl_finite.
52727         * math/bits/math-finite.h: Add entries for exp.
52728         * math/e_expl.c: Add __*_finite alias.
52729         * sysdeps/i386/fpu/e_exp.S: Likewise.
52730         * sysdeps/i386/fpu/e_expf.S: Likewise.
52731         * sysdeps/i386/fpu/e_expl.c: Likewise.
52732         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52733         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52734         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52735         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52736         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52737         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52738         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52740         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52741         is sufficient, at least on modern CPUs.
52743         * ctype/ctype-info.c (__ctype_init): Define.
52744         * include/ctype.h (__ctype_init): Declare.
52745         (__ctype_b_loc): The variable is always initialized.
52746         (__ctype_toupper_loc): Likewise.
52747         (__ctype_tolower_loc): Likewise.
52748         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52749         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52751 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52753         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52755         * configure.in: Also look in $cxxmachine/include for C++ system
52756         headers.
52758 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52760         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52761         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52762         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52763         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52764         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52765         (USE_AS_WMEMCMP): New macro.
52766         Fixing indents.
52767         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52768         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52769         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52770         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52771         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52772         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52773         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52774         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52775         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52776         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52777         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52778         (USE_AS_WMEMCMP): New macro.
52779         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52780         * sysdeps/string/test-memcmp.c: Update.
52781         Fix simple_wmemcmp.
52782         Add new tests.
52783         * wcsmbs/wmemcmp.c: Update.
52784         (WMEMCMP): New macro.
52785         Fix overflow bug.
52787 2011-10-12  Andreas Jaeger  <aj@suse.de>
52789         [BZ #13268]
52790         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52792 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52794         * libio/iofwide.c (do_length): Avoid warning.
52796         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52798 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52800         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52802         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52803         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52804         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52805         * sysdeps/i386/i686/fpu/e_log.S: New file.
52806         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52807         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52809         * ctype/ctype.h: Add support for inlined isXXX functions when
52810         compiling C++ code.
52812 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52814         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52816         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52818 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52820         [BZ #13291]
52821         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52823 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52825         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52826         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52827         feraiseexcept.
52829         * sysdeps/x86_64/memrchr.S: Check for zero size.
52831         * string/stratcliff.c: Add memrchr tests.
52833 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52836         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52837         rawmemchr-sse2 rawmemchr-sse2-bsf.
52838         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52839         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52840         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52841         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52842         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52843         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52844         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52845         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52846         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52847         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52848         * string/memrchr.c (MEMRCHR): New macro.
52850 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52852         Add integration with gcc's -ffinite-math-only and optimize wrapper
52853         functions in libm.
52854         * Versions.def: Define GLIBC_2.15 version for libm.
52855         * math/Makefile (headers): Add bits/math-finite.h.
52856         * math/bits/math-finite.h: New file.
52857         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52858         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52859         * math/e_acoshl.c: Add __*_finite alias.
52860         * math/e_acosl.c: Likewise.
52861         * math/e_asinl.c: Likewise.
52862         * math/e_atan2l.c: Likewise.
52863         * math/e_atanhl.c: Likewise.
52864         * math/e_coshl.c: Likewise.
52865         * math/e_exp10.c: Likewise.
52866         * math/e_exp10f.c: Likewise.
52867         * math/e_exp10l.c: Likewise.
52868         * math/e_exp2l.c: Likewise.
52869         * math/e_fmodl.c: Likewise.
52870         * math/e_gammal_r.c: Likewise.
52871         * math/e_hypotl.c: Likewise.
52872         * math/e_j0l.c: Likewise.
52873         * math/e_j1l.c: Likewise.
52874         * math/e_jnl.c: Likewise.
52875         * math/e_lgammal_r.c: Likewise.
52876         * math/e_log10l.c: Likewise.
52877         * math/e_log2l.c: Likewise.
52878         * math/e_logl.c: Likewise.
52879         * math/e_powl.c: Likewise.
52880         * math/e_sinhl.c: Likewise.
52881         * math/e_sqrtl.c: Likewise.
52882         * math/e_scalb.c: Completely rewritten and optimized.
52883         * math/e_scalbf.c: Likewise.
52884         * math/e_scalbl.c: Likewise.
52885         * math/w_acos.c: Likewise.
52886         * math/w_acosf.c: Likewise.
52887         * math/w_acosl.c: Likewise.
52888         * math/w_acosh.c: Likewise.
52889         * math/w_acoshf.c: Likewise.
52890         * math/w_acoshl.c: Likewise.
52891         * math/w_asin.c: Likewise.
52892         * math/w_asinf.c: Likewise.
52893         * math/w_asinl.c: Likewise.
52894         * math/w_atan2.c: Likewise.
52895         * math/w_atan2f.c: Likewise.
52896         * math/w_atan2l.c: Likewise.
52897         * math/w_atanh.c: Likewise.
52898         * math/w_atanhf.c: Likewise.
52899         * math/w_atanhl.c: Likewise.
52900         * math/w_exp10.c: Likewise.
52901         * math/w_exp10f.c: Likewise.
52902         * math/w_exp10l.c: Likewise.
52903         * math/w_fmod.c: Likewise.
52904         * math/w_fmodf.c: Likewise.
52905         * math/w_fmodl.c: Likewise.
52906         * math/w_j0.c: Likewise.
52907         * math/w_j0f.c: Likewise.
52908         * math/w_j0l.c: Likewise.
52909         * math/w_j1.c: Likewise.
52910         * math/w_j1f.c: Likewise.
52911         * math/w_j1l.c: Likewise.
52912         * math/w_jn.c: Likewise.
52913         * math/w_jnf.c: Likewise.
52914         * math/w_log.c: Likewise.
52915         * math/w_logf.c: Likewise.
52916         * math/w_logl.c: Likewise.
52917         * math/w_log10.c: Likewise.
52918         * math/w_log10f.c: Likewise.
52919         * math/w_log10l.c: Likewise.
52920         * math/w_log2.c: Likewise.
52921         * math/w_log2f.c: Likewise.
52922         * math/w_log2l.c: Likewise.
52923         * math/w_pow.c: Likewise.
52924         * math/w_powf.c: Likewise.
52925         * math/w_powl.c: Likewise.
52926         * math/w_remainder.c: Likewise.
52927         * math/w_remainderf.c: Likewise.
52928         * math/w_remainderl.c: Likewise.
52929         * math/w_scalb.c: Likewise.
52930         * math/w_scalbf.c: Likewise.
52931         * math/w_scalbl.c: Likewise.
52932         * math/w_sqrt.c: Likewise.
52933         * math/w_sqrtf.c: Likewise.
52934         * math/w_sqrtl.c: Likewise.
52935         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52936         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52937         used.
52938         * math/math_private.h: Declare __kernel_standard_f.
52939         * math/w_cosh.c: Remove cruft and optimize a bit.
52940         * math/w_coshf.c: Likewise.
52941         * math/w_coshl.c: Likewise.
52942         * math/w_exp2.c: Likewise.
52943         * math/w_exp2f.c: Likewise.
52944         * math/w_exp2l.c: Likewise.
52945         * math/w_hypot.c: Likewise.
52946         * math/w_hypotf.c: Likewise.
52947         * math/w_hypotl.c: Likewise.
52948         * math/w_lgamma.c: Likewise.
52949         * math/w_lgamma_r.c: Likewise.
52950         * math/w_lgammaf.c: Likewise.
52951         * math/w_lgammaf_r.c: Likewise.
52952         * math/w_lgammal.c: Likewise.
52953         * math/w_lgammal_r.c: Likewise.
52954         * math/w_sinh.c: Likewise.
52955         * math/w_sinhf.c: Likewise.
52956         * math/w_sinhl.c: Likewise.
52957         * math/w_tgamma.c: Likewise.
52958         * math/w_tgammaf.c: Likewise.
52959         * math/w_tgammal.c: Likewise.
52960         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52961         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52962         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52963         Minor optimizations.  Pretty printing.  Remove cruft.
52964         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52965         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52966         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52967         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52968         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52969         * sysdeps/i386/fpu/e_asin.S: Likewise.
52970         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52971         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52972         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52973         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52974         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52975         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52976         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52977         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52978         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52979         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52980         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52981         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52982         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52983         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52984         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52985         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52986         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52987         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52988         * sysdeps/i386/fpu/e_log.S: Likewise.
52989         * sysdeps/i386/fpu/e_log10.S: Likewise.
52990         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52991         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52992         * sysdeps/i386/fpu/e_log2.S: Likewise.
52993         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52994         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52995         * sysdeps/i386/fpu/e_logf.S: Likewise.
52996         * sysdeps/i386/fpu/e_logl.S: Likewise.
52997         * sysdeps/i386/fpu/e_pow.S: Likewise.
52998         * sysdeps/i386/fpu/e_powf.S: Likewise.
52999         * sysdeps/i386/fpu/e_powl.S: Likewise.
53000         * sysdeps/i386/fpu/e_remainder.S: Likewise.
53001         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53002         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53003         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53004         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53005         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53006         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53007         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53008         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53022         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53023         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53024         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53025         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53026         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53027         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53029         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53030         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53031         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53032         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53033         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53034         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53035         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53036         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53037         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53038         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53039         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53040         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53041         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53042         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53043         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53044         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53045         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53046         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53047         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53048         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53049         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53050         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53051         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53052         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53053         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53054         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53055         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53056         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53057         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53058         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53059         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53060         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53061         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53062         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53063         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53064         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53065         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53066         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53067         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53068         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53069         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53070         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53071         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53072         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53074         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53076         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53077         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53078         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53079         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53080         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53081         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53083         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53085         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53086         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53087         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53088         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53089         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53090         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53091         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53092         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53093         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53094         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53095         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53096         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53097         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53098         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53099         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53100         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53101         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53102         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53103         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53104         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53105         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53106         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53107         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53108         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53109         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53110         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53111         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53112         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53113         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53114         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53115         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53116         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53117         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53118         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53119         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53120         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53121         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53122         (__isnanf): Likewise.
53123         (__isinf_ns): Likewise.
53124         (__isinf_nsf): Likewise.
53125         (__finite): Likewise.
53126         (__finitef): Likewise.
53127         (__ieee754_sqrt): Define as macro.
53128         (__ieee754_sqrtf): Define as macro.
53129         (__ieee754_sqrtl): Define as macro.
53130         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53131         inlined copy.
53132         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53133         __FINITE_MATH_ONLY__ consistent.
53134         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53136 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53138         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53139         of rawmemchr.
53141         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53143 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53145         * po/ja.po: Update from translation team.
53147 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53149         * locale/programs/locarchive.c (prepare_address_space): New function.
53150         (create_archive, enlarge_archive, open_archive): Use it.
53152         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53153         inside [SHARED], where it is used.
53155         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53157         * nss/getent.c (netgroup_keys): Remove unused variable.
53158         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53160 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53162         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53163         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53165         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53166         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53167         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53168         * math/Makefile (libm-calls): Add s_isinf_ns.
53169         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53170         * math/multc3.c: Likewise.
53171         * math/s_casin.c: Likewise.
53172         * math/s_casinf.c: Likewise.
53173         * math/s_casinl.c: Likewise.
53174         * math/s_ccos.c: Likewise.
53175         * math/s_ccosf.c: Likewise.
53176         * math/s_ccosl.c: Likewise.
53177         * math/s_ctan.c: Likewise.
53178         * math/s_ctanf.c: Likewise.
53179         * math/s_ctanh.c: Likewise.
53180         * math/s_ctanhf.c: Likewise.
53181         * math/s_ctanhl.c: Likewise.
53182         * math/s_ctanl.c: Likewise.
53183         * math/w_fmod.c: Likewise.
53184         * math/w_fmodf.c: Likewise.
53185         * math/w_fmodl.c: Likewise.
53186         * math/w_remainder.c: Likewise.
53187         * math/w_remainderf.c: Likewise.
53188         * math/w_remainderl.c: Likewise.
53189         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53190         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53191         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53192         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53193         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53194         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53195         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53196         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53198         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53199         of the number.
53200         * stdio-common/printf_fphex.c: Likewise.
53201         * stdio-common/printf_size.c: Likewise.
53203         * math/e_exp10.c: Include math_private.h using <...> not "...".
53204         * math/e_exp10f.c: Likewise.
53205         * math/e_exp10l.c: Likewise.
53206         * math/e_exp2l.c: Likewise.
53207         * math/e_j0l.c: Likewise.
53208         * math/e_j1l.c: Likewise.
53209         * math/e_jnl.c: Likewise.
53210         * math/e_lgammal_r.c: Likewise.
53211         * math/e_rem_pio2l.c: Likewise.
53212         * math/e_scalb.c: Likewise.
53213         * math/e_scalbf.c: Likewise.
53214         * math/e_scalbl.c: Likewise.
53215         * math/k_cosl.c: Likewise.
53216         * math/k_sinl.c: Likewise.
53217         * math/k_tanl.c: Likewise.
53218         * math/s_cacoshf.c: Likewise.
53219         * math/s_catan.c: Likewise.
53220         * math/s_catanf.c: Likewise.
53221         * math/s_catanh.c: Likewise.
53222         * math/s_catanhf.c: Likewise.
53223         * math/s_catanhl.c: Likewise.
53224         * math/s_catanl.c: Likewise.
53225         * math/s_ccosh.c: Likewise.
53226         * math/s_ccoshf.c: Likewise.
53227         * math/s_ccoshl.c: Likewise.
53228         * math/s_cexp.c: Likewise.
53229         * math/s_cexpf.c: Likewise.
53230         * math/s_cexpl.c: Likewise.
53231         * math/s_clog.c: Likewise.
53232         * math/s_clog10.c: Likewise.
53233         * math/s_clog10f.c: Likewise.
53234         * math/s_clog10l.c: Likewise.
53235         * math/s_clogf.c: Likewise.
53236         * math/s_clogl.c: Likewise.
53237         * math/s_csin.c: Likewise.
53238         * math/s_csinf.c: Likewise.
53239         * math/s_csinh.c: Likewise.
53240         * math/s_csinhf.c: Likewise.
53241         * math/s_csinhl.c: Likewise.
53242         * math/s_csinl.c: Likewise.
53243         * math/s_csqrt.c: Likewise.
53244         * math/s_csqrtf.c: Likewise.
53245         * math/s_csqrtl.c: Likewise.
53246         * math/s_ctan.c: Likewise.
53247         * math/s_ctanf.c: Likewise.
53248         * math/s_ctanh.c: Likewise.
53249         * math/s_ctanhf.c: Likewise.
53250         * math/s_ctanhl.c: Likewise.
53251         * math/s_ctanl.c: Likewise.
53252         * math/s_ldexp.c: Likewise.
53253         * math/s_ldexpf.c: Likewise.
53254         * math/s_ldexpl.c: Likewise.
53255         * math/s_significand.c: Likewise.
53256         * math/s_significandf.c: Likewise.
53257         * math/s_significandl.c: Likewise.
53258         * math/w_acos.c: Likewise.
53259         * math/w_acosf.c: Likewise.
53260         * math/w_acosh.c: Likewise.
53261         * math/w_acoshf.c: Likewise.
53262         * math/w_acoshl.c: Likewise.
53263         * math/w_acosl.c: Likewise.
53264         * math/w_asin.c: Likewise.
53265         * math/w_asinf.c: Likewise.
53266         * math/w_asinl.c: Likewise.
53267         * math/w_atan2.c: Likewise.
53268         * math/w_atan2f.c: Likewise.
53269         * math/w_atan2l.c: Likewise.
53270         * math/w_atanh.c: Likewise.
53271         * math/w_atanhf.c: Likewise.
53272         * math/w_atanhl.c: Likewise.
53273         * math/w_cosh.c: Likewise.
53274         * math/w_coshf.c: Likewise.
53275         * math/w_coshl.c: Likewise.
53276         * math/w_dremf.c: Likewise.
53277         * math/w_exp10.c: Likewise.
53278         * math/w_exp10f.c: Likewise.
53279         * math/w_exp10l.c: Likewise.
53280         * math/w_exp2.c: Likewise.
53281         * math/w_exp2f.c: Likewise.
53282         * math/w_fmod.c: Likewise.
53283         * math/w_fmodf.c: Likewise.
53284         * math/w_fmodl.c: Likewise.
53285         * math/w_hypot.c: Likewise.
53286         * math/w_hypotf.c: Likewise.
53287         * math/w_hypotl.c: Likewise.
53288         * math/w_j0.c: Likewise.
53289         * math/w_j0f.c: Likewise.
53290         * math/w_j0l.c: Likewise.
53291         * math/w_j1.c: Likewise.
53292         * math/w_j1f.c: Likewise.
53293         * math/w_j1l.c: Likewise.
53294         * math/w_jn.c: Likewise.
53295         * math/w_jnf.c: Likewise.
53296         * math/w_jnl.c: Likewise.
53297         * math/w_lgamma.c: Likewise.
53298         * math/w_lgamma_r.c: Likewise.
53299         * math/w_lgammaf.c: Likewise.
53300         * math/w_lgammaf_r.c: Likewise.
53301         * math/w_lgammal.c: Likewise.
53302         * math/w_lgammal_r.c: Likewise.
53303         * math/w_log.c: Likewise.
53304         * math/w_log10.c: Likewise.
53305         * math/w_log10f.c: Likewise.
53306         * math/w_log10l.c: Likewise.
53307         * math/w_log2.c: Likewise.
53308         * math/w_log2f.c: Likewise.
53309         * math/w_log2l.c: Likewise.
53310         * math/w_logf.c: Likewise.
53311         * math/w_logl.c: Likewise.
53312         * math/w_pow.c: Likewise.
53313         * math/w_powf.c: Likewise.
53314         * math/w_powl.c: Likewise.
53315         * math/w_remainder.c: Likewise.
53316         * math/w_remainderf.c: Likewise.
53317         * math/w_remainderl.c: Likewise.
53318         * math/w_scalb.c: Likewise.
53319         * math/w_scalbf.c: Likewise.
53320         * math/w_scalbl.c: Likewise.
53321         * math/w_sinh.c: Likewise.
53322         * math/w_sinhf.c: Likewise.
53323         * math/w_sinhl.c: Likewise.
53324         * math/w_sqrt.c: Likewise.
53325         * math/w_sqrtf.c: Likewise.
53326         * math/w_sqrtl.c: Likewise.
53327         * math/w_tgamma.c: Likewise.
53328         * math/w_tgammaf.c: Likewise.
53329         * math/w_tgammal.c: Likewise.
53331         * po/ja.po: Update from translation team.
53333 2011-09-29  Andreas Jaeger  <aj@suse.de>
53335         [BZ #13179]
53336         * sunrpc/netname.c (netname2host): Fix logic.
53338         [BZ #6779]
53339         [BZ #6783]
53340         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53341         correctly.
53342         * math/w_remainder.c (__remainder): Likewise.
53343         * math/w_remainderf.c (__remainderf): Likewise.
53344         * math/libm-test.inc (remainder_test): Add test cases.
53346 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53348         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53349         sdiv_qrnnd.
53351 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53353         * string/test-memcmp.c: Avoid unncessary #defines.
53354         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53356 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53358         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53359         Use new sse2 version for core i3 - i7 as it's faster
53360         than sse42 version.
53361         (bit_Prefer_PMINUB_for_stringop): New.
53362         * sysdeps/x86_64/rawmemchr.S: Update.
53363         Replace with faster SSE2 version.
53364         * sysdeps/x86_64/memrchr.S: New file.
53365         * sysdeps/x86_64/memchr.S: Update.
53366         Replace with faster SSE2 version.
53368 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53370         * elf/dl-load.c (lose): Add cast to avoid warning.
53372 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53374         * po/ca.po: Update from translation team.
53376         * inet/getnetgrent_r.c: Hook up nscd.
53377         * nscd/Makefile (routines): Add nscd_netgroup.
53378         (nscd-modules): Add netgroupcache.
53379         (CFLAGS-netgroupcache.c): Define.
53380         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53381         (cache_search): Add const to second parameter.
53382         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53383         INNETGR.
53384         (dbs): Add netgrdb entry.
53385         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53386         (verify_persistent_db): Handle netgrdb.
53387         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53388         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53389         GETFDNETGR.
53390         (netgroup_response_header): Define.
53391         (innetgroup_response_header): Define.
53392         (datahead): Add netgroup_response_header and innetgroup_response_header
53393         elements.
53394         * nscd/nscd.conf: Add entries for netgroup cache.
53395         * nscd/nscd.h (dbtype): Add netgrdb.
53396         (_PATH_NSCD_NETGROUP_DB): Define.
53397         (netgroup_iov_disabled): Declare.
53398         (xmalloc, xcalloc, xrealloc): Move declarations here.
53399         (cache_search): Adjust prototype.
53400         Add netgroup-related prototypes.
53401         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53402         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53403         (__nscd_innetgr): Declare.
53404         * nscd/selinux.c (perms): Use access_vector_t as element type and
53405         add netgroup-related initializers.
53406         * nscd/netgroupcache.c: New file.
53407         * nscd/nscd_netgroup.c: New file.
53408         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53409         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53410         For four parameters use innetgr.
53411         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53412         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53413         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53414         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53416         * nscd/connections.c (register_traced_file): Don't register file
53417         for disabled databases.
53419 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53421         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53423         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53424         from tree and freeing node.
53426 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53428         * nss/nsswitch.c (__nss_database_lookup): Handle
53429         nss_parse_service_list out of memory case.
53431 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53433         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53434         out of memory case.
53436 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53438         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53439         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53440         pass it down.
53441         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53442         elf_machine_rela, elf_machine_lazy_rel.
53443         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53444         (ELF_DYNAMIC_DO_REL): Likewise.
53445         (ELF_DYNAMIC_DO_RELA): Likewise.
53446         (ELF_DYNAMIC_RELOCATE): Likewise.
53447         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53448         to ELF_DYNAMIC_DO_REL.
53449         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53450         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53451         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53452         elf_machine_rela.
53453         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53454         skip_ifunc, don't call ifunc function if non-zero.
53455         (elf_machine_rela): Likewise.
53456         (elf_machine_lazy_rel): Likewise.
53457         (elf_machine_lazy_rela): Likewise.
53458         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53459         (elf_machine_lazy_rel): Likewise.
53460         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53461         Likewise.
53462         (elf_machine_lazy_rel): Likewise.
53463         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53464         Likewise.
53465         (elf_machine_lazy_rel): Likewise.
53466         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53467         (elf_machine_lazy_rel): Likewise.
53468         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53469         (elf_machine_lazy_rel): Likewise.
53470         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53471         (elf_machine_lazy_rel): Likewise.
53472         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53473         (elf_machine_lazy_rel): Likewise.
53474         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53475         (elf_machine_lazy_rel): Likewise.
53476         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53477         (elf_machine_lazy_rel): Likewise.
53479 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53481         * nss/nss_files/files-init.c (_nss_files_init): Use static
53482         initialization for all the *_traced_file variables.
53484 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53486         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53488 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53490         [BZ #13226]
53491         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53493 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53495         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53496         Reread the line before reparsing it.
53498 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53500         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53502 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53503             Maxim Kuvyrkov  <maxim@codesourcery.com>
53504             Joseph Myers  <joseph@codesourcery.com>
53506         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53507         if needed for __stack_chk_guard.
53509 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53511         * sysdeps/posix/spawni.c (script_execute): Always define it.
53512         It will be optimized away if unused.
53513         (maybe_script_execute): New function.
53514         (__spawni): Call it.
53516         * Makerules: Don't include tls.make.
53517         (config-tls): Always set to thread.
53518         * tls.make.c: File removed.
53520 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53522         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53523         * config.make.in (CPPFLAGS-config): New substituted variable.
53525 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53527         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53529         [BZ #13192]
53530         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53531         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53533 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53535         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53536         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53537         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53538         (CALL_FAIL): Likewise.
53539         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53540         (CALL_FAIL): Macro removed.
53541         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53543 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53545         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53546         for __FINITE_MATH_ONLY__ == 1.
53548 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53550         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53551         __ieee754_sqrt instead of sqrt.
53552         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53553         __ieee754_sqrtf instead of sqrtf.
53554         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53555         __floorf instead of floorf.
53556         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53557         __floorf, __truncf instead of floorf, truncf.
53559 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53561         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53563         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53564         __extern_always_inline.
53565         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53566         32-bit.
53568 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53570         * elf/rtld.c (dl_main): Also relocate in dependency order when
53571         doing symbol dependency testing.
53573 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53575         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53576         Always define `refsym'.
53578 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53580         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53581         (__FD_ELT): Renamed from __FDELT.
53582         * misc/bits/select2.h (__FD_ELT): Likewise.
53583         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53584         __FD_MASK instead of __FDELT, __FDMASK.
53585         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53586         Likewise.
53587         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53588         Likewise.
53590         * elf/Makefile (gen-ldd): Fix pattern.
53592         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53593         (init_tls): Likewise.
53595 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53597         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53599 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53601         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53602         `struct cmsghdr *' instead of `void *'.
53603         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53604         Likewise.
53606 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53608         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53609         if non-absolute.
53610         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53611         ldd_rewrite_script.
53613 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53615         * configure.in: Remove --with-tls option.
53616         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53617         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53618         out in case it is missing.
53619         * sysdeps/ia64/elf/configure.in: Likewise.
53620         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53621         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53622         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53623         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53624         * sysdeps/sh/elf/configure.in: Likewise.
53625         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53626         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53627         * sysdeps/x86_64/elf/configure.in: Likewise.
53628         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53629         * sysdeps/mach/hurd/tls.h: Likewise.
53631         [BZ #13067]
53632         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53634         [BZ #13090]
53635         * configure.in: Fix use of AC_INIT.
53637         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53639 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53641         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53642         __set_errno.
53643         * malloc/hooks.c: Likewise.
53645         [BZ #11929]
53646         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53647         variables statically.
53648         (narenas): Initialize.
53649         (list_lock): Initialize.
53650         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53651         initializtion of main_arena and list_lock.  Small cleanups.
53652         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53653         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53654         Add initializers to main_arena and mp_.
53655         (malloc_state): Remove pagesize member.  Change all users to use
53656         GLRO(dl_pagesize).
53658         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53659         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53660         is always initialized.
53662         * malloc/malloc.c: Removed unused configurations and dead code.
53663         * malloc/arena.c: Likewise.
53664         * malloc/hooks.c: Likewise.
53665         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53667         * include/tls.h: Removed.  USE___THREAD must always be defined.
53668         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53669         * elf/dl-libc.c: Likewise.
53670         * elf/dl-tsd.c: Likewise.
53671         * include/errno.h: Likewise.
53672         * include/netdb.h: Likewise.
53673         * include/resolv.h: Likewise.
53674         * inet/herrno-loc.c: Likewise.
53675         * inet/herrno.c: Likewise.
53676         * malloc/arena.c: Likewise.
53677         * malloc/hooks.c: Likewise.
53678         * malloc/malloc.c: Likewise.
53679         * resolv/res-state.c: Likewise.
53680         * resolv/res_libc.c: Likewise.
53681         * sysdeps/i386/dl-machine.h: Likewise.
53682         * sysdeps/ia64/dl-machine.h: Likewise.
53683         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53684         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53685         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53686         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53687         * sysdeps/sh/dl-machine.h: Likewise.
53688         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53689         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53690         * sysdeps/unix/i386/sysdep.S: Likewise.
53691         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53692         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53693         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53697         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53701         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53702         * sysdeps/x86_64/dl-machine.h: Likewise.
53703         * tls.make.c: Likewise.
53705         * configure.in: Remove --with-__thread option.  Make tests for
53706         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53707         tls_model attribute fail if no support is available.  Remove
53708         USE_IN_LIBIO.
53709         * Makeconfig: Adjust for dropped configure option.  All features are
53710         now mandatory.
53711         * Makerules: Likewise.
53712         * Versions.def: Likewise.
53713         * argp/argp-fmtstream.c: Likewise.
53714         * argp/argp-fmtstream.h: Likewise.
53715         * argp/argp-help.c: Likewise.
53716         * assert/assert.c: Likewise.
53717         * config.h.in: Likewise.
53718         * config.make.in: Likewise.
53719         * configure: Likewise.
53720         * configure.in: Likewise.
53721         * csu/Versions: Likewise.
53722         * csu/init.c: Likewise.
53723         * elf/tst-audit2.c: Likewise.
53724         * elf/tst-tls10.c: Likewise.
53725         * elf/tst-tls10.h: Likewise.
53726         * elf/tst-tls11.c: Likewise.
53727         * elf/tst-tls12.c: Likewise.
53728         * elf/tst-tls14.c: Likewise.
53729         * elf/tst-tlsmod11.c: Likewise.
53730         * elf/tst-tlsmod12.c: Likewise.
53731         * elf/tst-tlsmod13.c: Likewise.
53732         * elf/tst-tlsmod13a.c: Likewise.
53733         * elf/tst-tlsmod14a.c: Likewise.
53734         * elf/tst-tlsmod15b.c: Likewise.
53735         * elf/tst-tlsmod16a.c: Likewise.
53736         * elf/tst-tlsmod16b.c: Likewise.
53737         * elf/tst-tlsmod7.c: Likewise.
53738         * elf/tst-tlsmod8.c: Likewise.
53739         * elf/tst-tlsmod9.c: Likewise.
53740         * gmon/gmon.c: Likewise.
53741         * grp/fgetgrent_r.c: Likewise.
53742         * grp/putgrent.c: Likewise.
53743         * hurd/fopenport.c: Likewise.
53744         * include/libc-symbols.h: Likewise.
53745         * include/tls.h: Likewise.
53746         * intl/gettextP.h: Likewise.
53747         * intl/loadinfo.h: Likewise.
53748         * locale/global-locale.c: Likewise.
53749         * locale/localeinfo.h: Likewise.
53750         * mach/devstream.c: Likewise.
53751         * malloc/arena.c: Likewise.
53752         * malloc/set-freeres.c: Likewise.
53753         * misc/err.c: Likewise.
53754         * misc/getttyent.c: Likewise.
53755         * misc/mntent_r.c: Likewise.
53756         * posix/getopt.c: Likewise.
53757         * posix/wordexp.c: Likewise.
53758         * pwd/fgetpwent_r.c: Likewise.
53759         * resolv/Versions: Likewise.
53760         * resolv/res_hconf.c: Likewise.
53761         * shadow/fgetspent_r.c: Likewise.
53762         * shadow/putspent.c: Likewise.
53763         * stdio-common/printf_fphex.c: Likewise.
53764         * stdio-common/tmpfile.c: Likewise.
53765         * stdlib/abort.c: Likewise.
53766         * stdlib/fmtmsg.c: Likewise.
53767         * sunrpc/auth_unix.c: Likewise.
53768         * sunrpc/clnt_perr.c: Likewise.
53769         * sunrpc/clnt_tcp.c: Likewise.
53770         * sunrpc/clnt_udp.c: Likewise.
53771         * sunrpc/clnt_unix.c: Likewise.
53772         * sunrpc/openchild.c: Likewise.
53773         * sunrpc/svc_simple.c: Likewise.
53774         * sunrpc/svc_tcp.c: Likewise.
53775         * sunrpc/svc_udp.c: Likewise.
53776         * sunrpc/svc_unix.c: Likewise.
53777         * sunrpc/xdr.c: Likewise.
53778         * sunrpc/xdr_array.c: Likewise.
53779         * sunrpc/xdr_rec.c: Likewise.
53780         * sunrpc/xdr_ref.c: Likewise.
53781         * sunrpc/xdr_stdio.c: Likewise.
53783 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53785         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53787 2011-07-03  Andreas Jaeger  <aj@suse.de>
53789         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53790         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53791         regenerate with gen-libm-tests.pl.
53793 2010-05-12  Petr Baudis  <pasky@suse.cz>
53795         [BZ #11589]
53796         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53797         around j0() zero points by switching to j1().
53798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53799         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53800         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53801         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53803 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53805         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53806         instead of 0.
53807         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53808         instead of 0.
53809         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53810         Patch in part by Pavel Roskin <proski@gnu.org>.
53812         [BZ #13138]
53813         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53814         realloc.
53815         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53816         Free memory block if necessary.
53818         [BZ #12847]
53819         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53820         be NULL.  Don't lock in this case.
53822 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53824         * elf/elf.h (ELFOSABI_GNU): New macro.
53825         (ELFOSABI_LINUX): Define to that.
53827 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53829         * string/strncat.c (strncat): Undef the symbol in case it has been
53830         defined in bits/string.h.
53832 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53834         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53836         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53837         link map.
53839 2011-08-17  Andreas Jaeger  <aj@suse.de>
53841         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53843 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53844             Ian Lance Taylor  <iant@google.com>
53846         * math/libm-test.inc (lround_test): New testcase.
53847         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53849 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53851         * Makefile: Remove support for automatic cvs check-ins.
53852         * Makerules: Likewise.
53853         * config.make.in: Likewise.
53854         * configure.in: Likewise.
53855         * intl/Makefile: Likewise.
53856         * locale/Makefile: Likewise.
53857         * po/Makefile: Likewise.
53858         * posix/Makefile: Likewise.
53859         * sysdeps/gnu/Makefile: Likewise.
53860         * sysdeps/mach/hurd/Makefile: Likewise.
53861         * sysdeps/sparc/sparc32/Makefile: Likewise.
53863         [BZ #13118]
53864         * posix/Makefile (bug-regex32-ENV): Define.
53865         Patch by John Stanley <jpsinthemix@verizon.net>.
53867         * misc/Makefile (headers): Add bits/select2.h.
53868         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53869         * misc/bits/select2.h: New file.
53870         * include/bits/select2.h: New file.
53871         * debug/Makefile (routines): Add fdelt_chk.
53872         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53873         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53874         FD_ISSET.
53875         * debug/fdelt_chk.c: New file.
53877         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53878         * wcsmbs/test-wmemcmp.c: Likewise.
53879         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53880         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53882 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53884         * string/Makefile (strop-tests): Add memcmp.
53885         * string/test-wmemcmp.c: New file.
53886         * string/test-memcmp.c: Add wmemcmp support.
53888 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53890         [BZ #13153]
53891         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53892         2011-07-19 change.
53894         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53895         garbage value in a __mach_port_mod_refs call in the cases of the
53896         task-self and thread-self ports.
53898 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53900         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53902 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53904         * elf/dl-load.c (lose): Check for non-null L.
53906 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53908         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53910         * elf/dl-libc.c (dlerror_run): Pass back error code from
53911         dl_catch_error.
53913         [BZ #13123]
53914         * elf/dl-load.c (lose): Free l_origin if it is valid.
53916         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53917         names.
53918         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53919         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53921         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53922         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53923         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53925 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53927         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53928         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53929         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53930         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53931         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53932         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53933         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53934         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53935         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53936         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53938 2011-08-15  Alan Modra  <amodra@gmail.com>
53940         [BZ #13092]
53941         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53942         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53943         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53944         ppc_mcount to static-only-routines.
53945         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53946         __mcount_internal.
53947         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53948         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53950 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53952         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53953         for finite and infinity parameters.
53955 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53957         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53958         and add nop instructions for throughput optimization.
53959         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53961 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53963         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53964         aligned copy for power7 with vector-scalar instructions.
53965         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53967 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53969         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53970         AVX check.
53972 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53974         [BZ #13144]
53975         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53976         last change.
53978 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53980         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53981         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53982         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53983         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53984         clock_gettime.
53986 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53988         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53989         Forgot to demangle the pointer.
53991         * sysdeps/i386/sysdep.h: Define atom_text_section.
53992         * sysdeps/x86_64/sysdep.h: Likewise.
53993         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53994         section with atom_text_section.
53995         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53996         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53997         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53998         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53999         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54001         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54002         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54003         already be defined.  Change to take two parameters and don't assign
54004         result to variable.  Adjust all users.
54005         Define INTERNAL_GETTIME if not already defined.
54006         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54007         call.
54008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54009         HAVE_CLOCK_GETTIME_VSYSCALL.
54010         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54012         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54013         gettimeofday vsyscall, just use time.
54015 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54017         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54018         <errno.h>.
54020 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54022         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54023         syscall on x86-64.
54024         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54025         syscall.
54026         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54027         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54028         syscall if possible.
54030 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54032         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54033         e_ident.  Don't pass to find_mapsXX.
54034         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54036 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54039         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54040         * sysdeps/x86_64/multiarch/strchr.S: Update.
54041         Check bit_slow_BSF bit.
54042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54043         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54044         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54046 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54048         [BZ #13134]
54049         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54050         before glibc 2.15.
54051         (tryshell): Define.
54052         (__spawni): Change last parameter to be flag.  Test
54053         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54054         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54055         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54056         * posix/spawni.c: Likewise.
54057         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54058         * posix/spawnp.c: Likewise.  Change normal version to use
54059         SPAWN_XFLAGS_USE_PATH.
54060         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54061         SPAWN_XFLAGS_TRY_SHELL.
54063         [BZ #13150]
54064         * posix/glob.h: Remove gcc 1.x support.
54066         [BZ #13068]
54067         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54069 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54072         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54073         strrchr-sse2-bsf
54074         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54075         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54076         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54077         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54078         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54079         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54081 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54083         * sysdeps/x86_64/wcscmp.S: New file.
54085         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54086         wcscmp-c wcscmp-sse2
54087         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54088         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54089         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54090         * wcsmbs/wcscmp.c: Allow renaming.
54092 2011-09-05  David S. Miller  <davem@davemloft.net>
54094         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54095         stack slot, rather than the struct return pointer slot.
54096         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54097         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54099         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54101 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54103         * po/ja.po: Update from translation team.
54105         [BZ #13144]
54106         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54107         kernel in 64-bit binaries.
54109 2011-09-01  David S. Miller  <davem@davemloft.net>
54111         * elf/elf.h (HWCAP_SPARC_*): Move to..
54112         * sysdeps/sparc/sysdep.h: this new file and add new values.
54113         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54114         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54115         _DL_HWCAP_COUNT to 24.
54116         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54117         entries.
54118         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54119         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54120         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54122         instead of magic constants.
54123         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54125 2011-08-31  David S. Miller  <davem@davemloft.net>
54127         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54129         Reimplement to do errno handling inline.
54130         (SYSCALL_ERROR_HANDLER): New macro.
54131         (__SYSCALL_STRING): Do not do errno handling in asm.
54132         (__CLONE_SYSCALL_STRING): Delete.
54133         (__INTERNAL_SYSCALL_STRING): Delete.
54134         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54135         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54136         (PSEUDO): Reimplement to do errno handling inline.
54137         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54138         (SYSCALL_ERROR_HANDLER): New macro.
54139         (__SYSCALL_STRING): Do not do errno handling in asm.
54140         (__CLONE_SYSCALL_STRING): Delete.
54141         (__INTERNAL_SYSCALL_STRING): Delete.
54142         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54143         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54144         i386.
54145         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54146         (inline_syscall*): Add 'err' argument.
54147         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54148         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54149         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54150         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54152         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54153         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54155 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54157         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54159 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54161         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54162         directive.
54164 2011-08-24  David S. Miller  <davem@davemloft.net>
54166         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54168 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54170         * elf/Makefile: Add rules to build and run unload8 test.
54171         * elf/unload8.c: New file.
54172         * elf/unload8mod1.c: New file.
54173         * elf/unload8mod1x.c: New file.
54174         * elf/unload8mod2.c: New file.
54175         * elf/unload8mod3.c: New file.
54177         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54178         it wasn't used.
54180 2011-08-23  David S. Miller  <davem@davemloft.net>
54182         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54183         subtract stack bias.
54184         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54185         %sp not %fp in calculations.
54186         (_JMPBUF_UNWINDS_ADJ): Likewise.
54188         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54189         (aio_suspend): Call it to force an exception region around the
54190         AIO_MISC_WAIT() invocation.
54192 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54194         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54195         backslash.
54197 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54199         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54200         protection macro.
54201         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54202         and <dl-machine.h>.
54203         (Elf64_FuncDesc): Remove.
54205 2011-08-22  David S. Miller  <davem@davemloft.net>
54207         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54208         sigaltstack check, add missing cfi directives.
54209         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54210         missing cfi directives, and sigaltstack handling.
54212 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54214         [BZ #11724]
54215         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54216         object is seen twice.
54217         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54219         * elf/Makefile (distribute): Add tst-initorder2.c.
54220         (tests): Add tst-initorder2.
54221         (modules-names): Add tst-initorder2a tst-initorder2b
54222         tst-initorder2c tst-initorder2d.  Add rules to build them.
54223         ($(objpfx)tst-initorder2.out): New rule.
54224         * elf/tst-initorder2.c: New file.
54225         * elf/tst-initorder2.exp: New file.
54227 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54229         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54231         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54232         dependencies back to end of function.
54234         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54235         $(elfobjdir)/ld.so.
54237 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54239         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54240         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54241         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54242         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54243         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54244         of __vdso_gettimeofday.
54245         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54246         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54247         attribute_hidden.
54248         (_libc_vdso_platform_setup): Remove initialization of
54249         __vdso_gettimeofday and __vdso_time.
54251 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54253         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54254         and fgetc_unlocked.
54255         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54256         getc_unlocked.
54258         * elf/dl-open.c (add_to_global): Report additions to the global scope
54259         for LD_DEBUG=scopes.
54260         (dl_open_worker): Also print scope of newly loaded dependencies.
54261         (_dl_show_scope): Indicate if there is no scope.
54263         [BZ #13114]
54264         * stdio-common/Makefile (tests): Add bug24.
54265         * stdio-common/bug24.c: New file.
54267 2011-08-19  Andreas Jaeger  <aj@suse.de>
54269         [BZ #13114]
54270         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54271         non-existant file when using close-on-exec mode.
54273 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54275         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54276         the very first instruction.
54278         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54279         the CFI state in the end.
54280         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54281         inclusion of dl-trampoline.h.
54282         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54284 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54286         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54287         expectations for long double.
54289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54290         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54292 2011-08-14  David S. Miller  <davem@davemloft.net>
54294         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54295         artificual limit depends upon the system page size.
54297 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54299         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54300         * resolv/Makefile: Define CFLAGS-libresolv.
54302 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54304         * nss/makedb.c (compute_tables): Make variables used in nested
54305         function static.
54307 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54309         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54310         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54311         if buffer was too small.
54313         * elf/pldd.c (main): Attach to all threads in the process.
54314         Rewrite /proc handling to use *at functions.
54316 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54318         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54319         specifies first scope to show.
54320         (dl_open_worker): Update callers.  Move printing scope of new
54321         object to before the relocation.
54322         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54323         * sysdeps/generic/ldsodefs.h: Update declaration.
54325         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54326         string for the scope number.
54328 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54330         * nscd/servicescache.c (cache_addserv): Make sure written is always
54331         initialized.
54333 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54335         * sysdeps/i386/i486/bits/atomic.h
54336         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54337         statement expression, so as to suppress "set but not used" warning.
54338         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54340         * string/strncat.c (STRNCAT): Use prototype definition.
54342         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54343         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54344         -Iprograms here.
54345         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54346         (localedef-modules): Add localedef.
54347         (locale-modules): Add locale.
54349         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54350         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54351         to avoid a warning.
54353 2011-08-14  David S. Miller  <davem@davemloft.net>
54355         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54356         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54358 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54360         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54361         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54362         * elf/rtld.c (dl_main): Set l_name of vDSO.
54363         Call _dl_show_scope when DL_DEBUG_SCOPES.
54364         (process_dl_debug): Recognize scopes flag and also set it for all.
54365         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54366         Declare _dl_show_scope.
54368         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54369         (do_dlopen): Pass caller_dlopen to dl_open.
54370         (__libc_dlopen_mode): Initialize caller_dlopen.
54372         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54373         of libc.  Make tolower call locale-independent.  Optimize a bit by
54374         using isdigit instead of isalnum.
54375         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54377 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54379         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54380         was a dependency or dynamically loaded.
54382 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54384         * intl/l10nflist.c: Allow architecture-specific pop function.
54385         * sysdeps/x86_64/l10nflist.c: New file.
54387         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54388         classification.
54390 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54392         * include/dirent.h: Add libc_hidden_proto for scandirat and
54393         scandirat64.  Don't declare __scandirat64.
54394         * dirent/scandirat.c: Add libc_hidden_def.
54395         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54396         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54398 2011-08-10  David S. Miller  <davem@davemloft.net>
54400         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54401         enum.
54402         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54403         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54404         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54406 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54408         * Versions.def [libc]: Add GLIBC_2.15.
54409         * dirent/Makefile (routines): Add scandirat and scandirat64.
54410         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54411         GLIBC_2.15.
54412         * dirent/dirent.h: Declare scandirat and scandirat64.
54413         * dirent/scandirat.c: New file.
54414         * dirent/scandirat64.c: New file.
54415         * sysdeps/wordsize-64/scandirat.c: New file.
54416         * sysdeps/wordsize-64/scandirat64.c: New file.
54417         * dirent/opendir.c: Define opendirat.
54418         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54419         using scandirat.
54420         * dirent/scandir64.c: Adjust for scandir.c change.
54421         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54422         __scandirat64, and __scandir_cancel_handler.
54423         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54424         additional parameter and use openat instead of open (outside of ld.so).
54425         Add new __opendir as wrapper around __opendirat.
54426         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54427         here without requiring old scandirat implementation.
54429 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54431         * dirent/scandir.c (cancel_handler): Renamed to
54432         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54433         defined.  Adjust users.
54434         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54435         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54437 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54439         * string/test-string.h (IMPL): Use __STRING to expand name and then
54440         stringify it.
54442         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54443         of cleanups.
54445 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54447         * string/Makefile: Update.
54448         (strop-tests): Append strncat.
54449         * string/test-wcscmp.c: New file.
54450         New comprehensive test for wcscmp.
54451         * string/test-strcmp.c: Update.
54452         (WIDE): New define.
54454 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54456         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54457         line.
54459 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54461         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54462         encoding to ACE if AI_IDN.
54464 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54466         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54467         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54469 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54471         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54472         Fix overflow bug in strncat.
54473         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54475         * string/test-strncat.c: Update.
54476         Add new tests for checking overflow bugs.
54478 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54480         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54481         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54482         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54483         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54484         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54485         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54486         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54487         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54488         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54490         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54491         (USE_AS_STRCAT): Define.
54492         Add strcat and strncat support.
54493         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54495 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54497         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54498         __n bigger than INT_MAX+1.
54499         (__strncmp_g): Likewise.
54501 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54503         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54504         * libio/stido.h: Likewise.
54506         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54507         (AF_NFC): Define.
54508         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54509         (AF_NFC): Define.
54511         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54512         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54513         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54514         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54515         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54517         [BZ #13021]
54518         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54519         installed.
54521         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54522         typo.
54523         (_dl_x86_64_save_sse): Likewise.
54525 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54527         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54528         OSXSAVE.
54529         (_dl_x86_64_save_sse): Likewise.
54531         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54533         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54535 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54538         change.
54539         (_dl_x86_64_save_sse): Use correct AVX check.
54541 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54543         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54544         bug in strncpy/strncat.
54545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54547 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54549         * string/tester.c (test_strcat): Add tests for different alignments
54550         of source and destination.
54551         (test_strncat): Likewise.
54553 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54555         [BZ #12852]
54556         * posix/glob.c (glob): Check passed in values before using them in
54557         expressions to avoid some overflows.
54558         (glob_in_dir): Likewise.
54560         [BZ #13007]
54561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54562         check for AVX enablement so that we don't crash with old kernels and
54563         new hardware.
54564         * elf/tst-audit4.c: Add same checks here.
54565         * elf/tst-audit6.c: Likewise.
54567         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54569 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54571         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54573 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54575         * po/cs.po: Update from translation team.
54576         * po/bg.po: Likewise.
54578 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54580         * misc/sys/cdefs.h: Add support for const attribute.
54581         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54582         to gnu_dev_{major,minor,makedev} functions.
54584 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54586         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54588 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54590         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54591         strlen results.
54593 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54595         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54596         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54597         register in order to avoid conflicts with the soft frame pointer
54598         being held in r11 when necessary.
54599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54600         (INTERNAL_VSYSCALL_NCS): Likewise.
54602 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54604         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54605         * elf/dl-fini.c (_dl_fini): Adjust caller.
54606         * elf/dl-close.c (_dl_close_worker): Likewise.
54607         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54609 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54611         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54612         "aux_cache->nlibs < 0".
54614         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54615         in the reload-count case.
54617 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54619         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54620         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54621         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54622         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54623         * sysdeps/x86_64/multiarch/strcat.S: New file.
54624         * sysdeps/x86_64/multiarch/strncat.S: New file.
54625         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54626         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54627         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54628         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54629         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54630         (USE_AS_STRCAT): Define.
54631         Add strcat and strncat support.
54632         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54634         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54635         * string/strncat.c: Update.
54636         (USE_AS_STRNCAT): Define.
54637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54638         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54639         and i7.
54640         * sysdeps/x86_64/multiarch/init-arch.h
54641         (bit_Prefer_PMINUB_for_stringop): New.
54642         (index_Prefer_PMINUB_for_stringop): Likewise.
54643         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54644         bit_Prefer_PMINUB_for_stringop.
54646 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54648         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54649         buffer64.
54650         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54651         of casting of buffer.
54652         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54653         buffer32 and buffer64.
54654         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54655         writes instead of casting of buffer.
54656         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54657         buffer32.
54658         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54659         casting of buffer.
54661 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54663         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54665 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54667         * nscd/nscd.c (termination_handler): Don't do anything for a database
54668         if it has not yet been initialized.
54670 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54672         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54674 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54676         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54678 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54680         * po/nl.po: Update from translation team.
54681         * po/sv.po: Likewise.
54683 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54685         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54686         now disallowed by GCC.
54688         * configure.in (use-default-link): Default to yes if a test -shared
54689         link meets our qualifications.
54690         * configure: Regenerated.
54692         * config.make.in (output-format): New variable.
54693         * configure.in: Check for ld --print-output-format support.
54694         * configure: Regenerated.
54695         * Makerules ($(common-objpfx)format.lds)
54696         [$(output-format) != unknown]: Just use $(output-format),
54697         instead of the linker-script munging.
54699 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54701         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54702         of $(common-objpfx)shlib.lds.
54703         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54705         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54706         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54708         * configure.in (-z relro check): Adjust test code to add a large
54709         writable data section after it.
54710         * configure: Regenerated.
54712 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54714         * configure.in (-z relro check): Fix test code to make the variable
54715         truly const.
54716         * configure: Regenerated.
54718 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54720         * nscd/nscd.h (struct traced_file): Define.
54721         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54722         elements.  Add traced_files.
54723         (inotify_fd): Declare.
54724         (register_traced_file): Declare.
54725         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54726         (inotify_fd): Export.
54727         (resolv_conf_descr): Remove.
54728         (nscd_init): Move inotify descriptor creation to main.
54729         Don't register files for notification here.
54730         (register_traced_file): New function.
54731         (invalidate_cache): Don't use reset_res to determine whether to call
54732         res_init, go through the list of registered files.
54733         (main_loop_poll): The inotify descriptors are now stored in the
54734         structures for the traced files.
54735         (main_loop_epoll): Likewise
54736         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54737         to __nss_disable_nscd.
54738         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54739         for a database anymore.  Check the records for all the registered
54740         files instead.
54741         * nss/Makefile (libnss_files-routines): Add files-init.
54742         (libnss_db-routines): Add db-init.
54743         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54744         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54745         * nss/nss_db/db-init.c: New file.
54746         * nss/nss_files/files-init.c: New file.
54747         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54748         __nss_lookup_function.
54749         (__nss_lookup_function): Call nss_load_library.
54750         (nss_load_all_libraries): New function.
54751         (__nss_disable_nscd): Take parameter with callback function for files
54752         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54753         used for the cached services.
54754         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54755         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54756         options for features to all the files in nscd.
54758         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54760 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54762         * csu/elf-init.c (__libc_csu_init): Comment typo.
54764 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54766         * po/pl.po: Update from translation team.
54767         * po/ja.po: Likewise.
54768         * po/ru.po: Likewise.
54769         * po/ko.po: Likewise.
54770         * po/fr.po: Likewise.
54772 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54774         * configure.in (.ctors/.dtors header and trailer check):
54775         Use an empirical test on a built program.
54776         * configure: Regenerated.
54778         * configure.in (-z relro check): Use an empirical test on a built DSO.
54779         Detect, but do not require, on ia64.
54780         * configure: Regenerated.
54782         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54783         Update tests that use readelf to use $READELF instead.
54784         * configure: Regenerated.
54786 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54788         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54789         if the result is not used.
54791 2011-07-05  Andreas Jaeger  <aj@suse.de>
54793         [BZ#9696]
54794         * stdlib/tst-strtod.c: Add testcase.
54796 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54798         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54799         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54800         The latter has a higher limit.  Take additional parameter to pass to
54801         the new function.
54802         (__pathconf): Pass file to __statfs_link_max.
54803         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54804         __statfs_link_max.
54805         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54806         __statfs_link_max.
54808         [BZ #12868]
54809         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54810         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54811         Handle Lustre.
54812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54813         (__statfs_filesize_max): Likewise.
54814         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54816 2011-07-05  Andreas Jaeger  <aj@suse.de>
54818         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54820 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54822         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54823         `status' variable.
54824         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54825         Likewise.
54827 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54829         * Makefile (strop-tests): Add strncat.
54830         * string/test-strncat.c: New file.
54832 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54834         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54836 2011-06-21  Andreas Jaeger  <aj@suse.de>
54838         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54839         Copy rule from iconvdata/Makefile.
54841 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54843         [BZ #12922]
54844         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54845         but no long options are defined, just return 'W'.
54847 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54849         [BZ #9696]
54850         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54852 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54854         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54855         netgroups to read.
54856         (innetgr): Likewise.
54858 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54860         * config.make.in (install_root): Default to $(DESTDIR).
54862 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54864         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54866 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54868         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54870         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54871         containing directory rather than embedding absolute directory names.
54873         * scripts/check-local-headers.sh: Rewritten using awk.
54874         Match by word, not by line.  Print error messages for matches.
54875         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54877         * Makerules [shlib-lds-flags empty]:
54878         ($(common-objpfx)libc_pic.opts): New target.
54879         ($(common-objpfx)libc_pic.os.clean): New target.
54880         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54882         * config.make.in (OBJCOPY): New variable.
54883         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54884         * configure: Regenerated.
54886         * config.make.in (use-default-link): New variable.
54887         * configure.in (use_default_link): Grok --with-default-link to set it.
54888         * configure: Regenerated.
54889         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54890         (shlib-lds, shlib-lds-flags): Define to empty.
54892         * Makerules (shlib-lds): New variable.
54893         (shlib-lds-flags): New variable.
54894         (build-shlib, build-moduile, build-module-asneeded): Use it.
54895         ($(common-objpfx)libc.so): Use $(shlib-lds).
54896         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54897         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54899         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54900         DT_FLAGS/DT_FLAGS_1 with zero flags.
54902         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54903         linker script munging.
54905 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54907         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54908         as 128-bit value.
54909         * crypt/sha512.c (sha512_process_block): Perform total addition using
54910         128-bit if possible.
54911         (__sha512_finish_ctx): Likewise.
54912         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54913         as 64-bit value.
54914         * crypt/sha256.c (SWAP64): Define.
54915         (sha256_process_block): Perform total addition using 64-bit if
54916         possible.
54917         (__sha256_finish_ctx): Likewise.
54919 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54921         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54922         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54923         * nscd/hstcache.c (cache_addhst): Likewise.
54924         * nscd/grpcache.c (cache_addgr): Likewise.
54925         * nscd/aicache.c (addhstaiX): Likewise
54926         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54928 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54930         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54931         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54932         * nscd/hstcache.c (cache_addhst): Likewise.
54933         * nscd/grpcache.c (cache_addgr): Likewise.
54934         * nscd/aicache.c (addhstaiX): Likewise
54936 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54938         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54939         domain only when needed.
54941 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54944         is always restored.
54946 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54948         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54949         are re-adding the entry.
54950         * nscd/servicescache.c (cache_addserv): Likewise.
54952 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54954         * sysdeps/generic/dl-irel.h: fix protection against multiple
54955         inclusions.
54956         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54958 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54960         [BZ #12935]
54961         * malloc/memusage.sh: Fix quoting in message.
54962         * debug/xtrace.sh: Likewise.
54964         * configure.in: Remove support for --experimental-malloc option, make
54965         it the default.
54966         * config.make.in: Likewise.
54967         * malloc/Makefile: Likewise.
54969 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54971         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54972         two-byte characters.
54974 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54976         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54977         AC_CACHE_CHECK invocation.
54978         * configure: Regenerated.
54980         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54982 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54984         [BZ #12350]
54985         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54986         bit from old_res_options.
54988         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54990         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54991         value type for setfct.
54993 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54996         __gettimeofday instead of gettimeofday.
54998 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
55000         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55002 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
55004         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55006         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55007         info.
55009 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55011         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55012         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55013         strcpy-sse2-unaligned strncpy-sse2-unaligned
55014         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55015         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55016         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55017         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55018         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55019         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55020         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55021         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55022         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55023         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55024         (STRCPY): Support SSE2 and SSSE3 versions.
55026 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55028         [BZ #12874]
55029         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55030         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55031         kernels which artificially limit size of requests.
55033 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55035         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55036         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55037         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55038         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55039         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55040         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55041         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55042         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55043         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55044         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55045         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55046         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55047         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55048         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55049         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55050         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55051         Enable unaligned load optimization for Intel Core i3, i5 and i7
55052         processors.
55053         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55054         Define.
55055         (index_Fast_Unaligned_Load): Define.
55056         (HAS_FAST_UNALIGNED_LOAD): Define.
55058 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55060         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55062 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55064         [BZ #12907]
55065         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55066         until it is clear that the information is realy needed.
55067         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55069 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55073 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55075         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55076         /sys/devices/system/cpu/online if it is usable.
55078         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55079         reading the information from the /proc filesystem to once a second.
55081 2011-06-21  Andreas Jaeger  <aj@suse.de>
55083         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55084         NULL after inclusion of kernel headers.
55086 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55088         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55089         calls to internal_setent.
55091         [BZ #12885]
55092         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55093         addresses using gethostbyname4_r ignore IPv4 addresses.
55095         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55096         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55098         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55100 2011-06-20  David S. Miller  <davem@davemloft.net>
55102         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55103         inclusions.
55104         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55106         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55107         (elf_irel): Use it.
55108         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55109         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55110         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55111         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55112         * sysdeps/x86_64/dl-irel.h: Likewise.
55114         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55115         * elf/dl-sym.c: Likewise.
55117 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55119         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55120         need to dereference resplen2.
55122 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55124         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55126 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55128         * Makeconfig: Define vardbdir and inst_vardbdir.
55129         * nss/Makefile: Add rules to install db-Makefile.
55131         * nss/nss_db/db-XXX.c: Cleanup.
55133         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55134         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55135         GLIBC_PRIVATE.
55136         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55137         * nss/makedb.c: Implement -g option to specify that value strings
55138         are generated and should not be added to table iterated over for
55139         get*ent calls.
55140         * nss/nss_db/db-initgroups.c: New file.
55142         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55143         interface.
55145         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55146         (internal_getgrouplist): Adjust to name change.
55147         Update use_initgroups_entry if this is not the first call.
55148         * nss/databases.def: Add initgroups entry.
55150         * nss/makedb.c (compute_tables): Check result of multiple hash table
55151         sizes to minimize maximum chain length.
55153 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55155         * Versions.def: Add entry for libnss_db.
55156         * shlib-versions: Likewise.
55157         * nss/Makefile: Add rules to build libnss_db.
55158         * nss/Versions: Add libnss_db information.  Organize libnss_files
55159         entries better.
55160         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55161         makedb progra.  Some minor improvements to generate smaller files.
55162         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55163         here from...
55164         * nss/makedb.c: ...here.
55165         Improve database format to be smaller and require less memory at
55166         runtime.
55167         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55168         db anymore.
55169         * nss/nss_db/db-netgrp.c: Likewise.
55170         * nss/nss_db/db-open.c: Likewise.
55171         * nss/nss_files/flies-XXX.x: Adjust comments.
55172         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55173         * nss/nss_files/files-grp.c: Likewise.
55174         * nss/nss_files/files-hosts.c: Likewise.
55175         * nss/nss_files/files-network.c: Likewise.
55176         * nss/nss_files/files-proto.c: Likewise.
55177         * nss/nss_files/files-pwd.c: Likewise.
55178         * nss/nss_files/files-rpc.c: Likewise.
55179         * nss/nss_files/files-service.c: Likewise.
55180         * nss/nss_files/files-sgrp.c: Likewise.
55181         * nss/nss_files/files-spwd.c: Likewise.
55182         * nss/nss_db/db-alias.c: Removed.
55183         * nss/nss_db/dummy-db.h: Removed.
55185 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55187         * nss/makedb.c: Rewritten to not use database library.
55188         * nss/Makefile: Update to build new makedb program.
55190 2011-06-14  Andreas Jaeger  <aj@suse.de>
55192         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55193         memset declaration.
55195 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55197         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55198         tmpbuf.
55200 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55202         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55203         * elf/Makefile ($(objpfx)ld.so): Likewise.
55205         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55206         Don't list ld.so twice in dependencies.
55208         * posix/bug-regex31.c: Include <stdlib.h>.
55210         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55212         * nis/nss_compat/compat-spwd.c
55213         (getspent_next_nss_netgr): Remove unused variable.
55214         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55216         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55217         nonmembers" output to use the right array.
55219         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55221         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55223         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55224         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55225         * catgets/gencat.c (read_input_file): Likewise.
55226         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55228         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55229         variable definition inside #if's controlling its use.
55231         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55233         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55235         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55237         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55238         unreachable code.
55240         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55242         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55243         * configure: Regenerated.
55245         * Makerules: Revert last change.
55246         * elf/Makefile: Likewise.
55248 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55250         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55251         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55252         (reloc-link): Likewise.
55254 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55256         * elf/Makefile: Add rules to build pldd.
55257         * elf/pldd.c: New file.
55258         * elf/pldd-xx.c: New file.
55260 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55262         * version.h: Update for 2.15 development version.
55264 2011-06-07  David S. Miller  <davem@davemloft.net>
55266         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55267         ifuncs.
55268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55269         elf_machine_lazy_rel): Likewise.
55270         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55271         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55272         elf_machine_lazy_rel): Likewise.
55273         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55274         dl_hwcap via passed in argument.
55275         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55276         Likewise.
55278 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55280         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55282 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55284         [BZ #12849]
55285         * manual/fdl-1.1.texi: New file, verbatim from:
55286         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55287         * manual/lgpl-2.1.texi: New file, verbatim from:
55288         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55289         * manual/Makefile (licenses): New variable, list those new file names.
55290         (texis): Use it.
55291         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55293         * manual/fdl.texi: File removed.
55294         * manual/lesser.texi: File removed.
55295         * manual/libc.texinfo (Copying, Documentation License):
55296         Use new @include file names, put @appendix directive before @include.
55298 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55300         [BZ #12841]
55301         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55302         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55303         (mq_open): Add __NTH.
55305 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55308         Assume Intel Core i3/i5/i7 processor if AVX is available.
55310 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55312         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55313         typo.
55315 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55317         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55318         memory.  Use alloca_account.  Fix memory leak when retrying.
55320 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55322         * version.h (RELEASE): Bump for 2.14 release.
55323         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55325         * config.make.in (RANLIB): Remove entry.
55327 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55329         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55330         (libc.pot): Work around missing support for .ksh extension in xgettext.
55332         [BZ #12684]
55333         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55334         if both request failed.
55335         (send_dg): In case of server errors clear resplen or *resplen2.
55337         [BZ #12454]
55338         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55339         when there are multiple maps.
55340         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55341         (_dl_fini): Remove test here.
55343         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55345 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55347         [BZ #12350]
55348         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55349         bit from old_res_options.
55350         (gaih_inet): Likewise.
55352         [BZ #11099]
55353         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55354         as signed.
55356         * resolv/res_init.c (res_setoptions): Make the code more compact.
55358         [BZ #11558]
55359         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55360         set RES_USEVC.
55362         [BZ #11634]
55363         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55365         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55367         [BZ #11781]
55368         * malloc/malloc.h: Declare malloc hook variables as volatile.
55370         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55371         in last patch.
55373         [BZ #11799]
55374         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55375         raise in the comment.
55376         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55377         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55378         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55380 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55382         [BZ #12811]
55383         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55384         grow the buffers more if it already has to be sufficient.
55385         (build_wcs_upper_buffer): Likewise.
55386         * posix/regexec.c (check_matching): Likewise.
55387         (clean_state_log_if_needed): Likewise.
55388         (extend_buffers): Don't enlarge buffers beyond size of the input
55389         buffer.
55390         Patches mostly by Emil Wojak <emil@wojak.eu>.
55391         * posix/bug-regex32.c: New file.
55392         * posix/Makefile (tests): Add bug-regex32.
55394         * locale/findlocale.c (_nl_find_locale): Return right away if
55395         _nl_explode_name failed.
55396         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55398         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55400         * debug/xtrace.sh: Unify messages.
55401         * malloc/memusage.sh: Likewise.
55403         [BZ #12813]
55404         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55405         time symbol from vDSO.  Substitute with vsyscall if not available.
55406         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55407         __vdso_time.
55409         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55410         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55411         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55412         Add sendmmsg and internal_sendmmsg.
55413         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55414         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55415         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55417         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55418         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55419         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55421 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55423         [BZ #12813]
55424         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55425         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55426         available.
55427         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55428         __vdso_getcpu.
55430         [BZ #12814]
55431         * iconvdata/Makefile (tests): Add bug-iconv9.
55432         * iconvdata/bug-iconv9.c: New file.
55434 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55436         [BZ #12814]
55437         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55439 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55441         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55442         (struct user_regs_struct): Change intcs field back to cs.
55444 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55446         * po/ja.po: Update from translation team.
55448 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55450         [BZ #12795]
55451         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55452         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55454 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55456         * stdlib/longlong.h: Update from GCC.
55458 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55460         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55461         parameter name.
55462         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55463         Add parameter name.
55464         (__sysconf): Pass it down.
55466 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55468         [BZ #12671]
55469         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55470         some situations.
55471         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55472         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55473         add in in __libc_use_alloca calls.  Adjust callers.
55474         (glob): Use malloc in some situations.
55476         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55477         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55478         pltexit.
55480 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55482         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55483         and CLOCK_BOOTTIME_ALARM.
55485         [BZ #12782]
55486         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55487         is returned.
55489         * string/_strerror.c (__strerror_r): Print negative errors as signed
55490         numbers.
55492         [BZ #12777]
55493         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55494         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55495         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55497         * configure.in: Fix typo in redirection and correct removal of test
55498         files in two cases.
55500         [BZ #12788]
55501         * locale/setlocale.c (new_composite_name): Fix test to check for
55502         identical name of all categories.
55504         [BZ #12792]
55505         * libio/filedoalloc.c (local_isatty): New function.
55506         (_IO_file_doallocate): Use local_isatty.
55507         * stdio-common/perror.c (perror): In case a new stream is used
55508         forward the stream error.
55509         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55510         error flag.
55512 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55514         [BZ #11869]
55515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55516         alloca.
55517         * include/alloca.h (extend_alloca_account): Define.
55519         [BZ #11857]
55520         * posix/regex.h: Fix comments with documentation of user-accessible
55521         fields after compilation and describe correct free'ing of pattern
55522         after re_compile_pattern.
55523         Patch by Reuben Thomas <rrt@sc3d.org>.
55525 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55527         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55528         and -mno-altivec to prevent the compiler from using Altivec and/or
55529         VSX instructions when the corresponding registers are not available.
55531 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55533         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55535 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55537         * libio/freopen.c (freopen): Use __dup2, not dup2.
55538         * libio/freopen64.c (freopen64): Likewise.
55540 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55542         [BZ #12775]
55543         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55544         * math/Makefile (tests): Add test-powl.
55545         (CFLAGS-test-powl.c): Define.
55546         * math/test-powl.c: New file.
55548 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55550         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55552 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55554         [BZ #11837]
55555         * iconvdata/gb18030.c: Update to GB18020-2005.
55557 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55559         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55560         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55561         Patch by Aharon Robbins <arnold@skeeve.com>.
55563         [BZ #11892]
55564         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55565         on the stack.
55567         [BZ #11895]
55568         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55569         through underflows.
55571         [BZ #12766]
55572         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55573         point to strings before performing equality test for error_one_per_line
55574         mode.
55576         [BZ #11697]
55577         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55579         [BZ #11820]
55580         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55581         (struct user_fpregs_struct): Avoid __uint*_t types.
55583         [BZ #6420]
55584         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55585         symbol info.  Use it instead of calling _dl_addr locally.
55586         (lock_and_info): New function.
55587         (tr_freehook): Call lock_and_info and pass symbol info as additional
55588         parameter to tr_where.
55589         (tr_mallochook): Likewise.
55590         (tr_reallochook): Likewise.
55591         (tr_memalignhook): Likewise.
55593         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55594         used and couldn't be at all thread-safe.
55596 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55598         * libio/freopen.c (freopen): Don't close old file descriptor
55599         before the new one is opened.  Instead dup the new file descriptor
55600         to the old one after the new stream is created.
55601         * libio/freopen64.c (freopen64): Likewise.
55602         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55603         * libio/fileops.c (_IO_new_file_close_it): Handle new
55604         _IO_FLAGS2_NOCLOSE flag.
55605         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55606         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55607         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55608         _IO_FLAGS2_NOCLOSE flag.
55609         * include/unistd.h: Add hidden_proto for dup3.
55610         Define __have_dup3.
55611         * io/dup3.c: Define hidden symbol.
55612         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55614         [BZ #7101]
55615         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55616         when an incomplete long option is used.
55617         * posix/tst-getopt_long1.c: New file.
55618         * posix/Makefile (tests): Add tst-getopt_long1.
55620         [BZ #10138]
55621         * scripts/config.guess: Update from autoconf-2.68.
55622         * scripts/config.sub: Likewise.
55624         [BZ #10157]
55625         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55626         tests into ...
55627         (has_cpuclock): ...this.  New function.
55628         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55629         macro here based on has_cpuclock code.
55631         [BZ #10149]
55632         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55633         First byte (not low byte) is now always NUL.
55634         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55636         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55637         Use non-cancelable interfaces.
55639         [BZ #9809]
55640         * locale/iso-639.def: Add entry for Sorani.
55642         [BZ #11901]
55643         * include/stdlib.h: Move include protection to the right place.
55644         Define abort_msg_s.  Declare __abort_msg with it.
55645         * stdlib/abort.c (__abort_msg): Adjust type.
55646         * assert/assert.c (__assert_fail_base): New function.  Majority
55647         of code from __assert_fail.  Allocate memory for __abort_msg with
55648         mmap.
55649         (__assert_fail): Now call __assert_fail_base.
55650         * assert/assert-perr.c: Remove bulk of implementation.  Use
55651         __assert_fail_base.
55652         * include/assert.hL Declare __assert_fail_base.
55653         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55654         mmap.
55655         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55657 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55659         [BZ #11952]
55660         [BZ #12453]
55661         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55662         until all modules are registered in the DTV.
55663         * elf/Makefile: Add rules to build and run tst-tls19.
55664         * elf/tst-tls19.c: New file.
55665         * elf/tst-tls19mod1.c: New file.
55666         * elf/tst-tls19mod2.c: New file.
55667         * elf/tst-tls19mod3.c: New file.
55668         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55670         [BZ #12083]
55671         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55672         correctly.
55674         [BZ #12601]
55675         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55676         two-byte sequence errors.
55677         * iconvdata/Makefile (tests): Add bug-iconv8.
55678         * iconvdata/bug-iconv8.c: New file.
55680         [BZ #12626]
55681         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55682         buf2 definition.
55684         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55686         [BZ #12432]
55687         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55688         (dummy_getcfa): New function.
55689         (init): Get _Unwind_GetCFA address, use dummy if not found.
55690         (backtrace_helper): In recursion check, also check whether CFA changes.
55691         (__backtrace): Completely initialize arg.
55693         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55694         storing incomplete byte sequence in state object.  Avoid testing for
55695         guaranteed too small input if we know there is enough data available.
55697 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55699         * Makeconfig (+link-pie): Indent.
55700         * Rules (binaries-pie): Define if $(have-fpie) and
55701         $(build-shared).
55702         (binaries-shared): Also filter out $(binaries-pie).
55703         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55704         * nscd/Makefile (others-pie): Add nscd.
55705         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55706         ($(objpfx)nscd): Remove command override.
55707         * login/Makefile (others-pie): Add pt_chown.
55708         ($(objpfx)pt_chown): Remove command override.
55709         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55710         remove command overrides.
55712 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55714         * libio/tst_putwc.c: Fix error messages.
55716         [BZ #12724]
55717         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55718         currently writing and seek to current position when not.
55719         * libio/Makefile (tests): Add bug-fclose1.
55720         * libio/bug-fclose1.c: New file.
55722 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55724         [BZ #12511]
55725         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55726         don't set DF_1_NODELETE here.
55727         (do_lookup_x): When entering new entry test for copy relocation
55728         and if necessary set DF_1_NODELETE flag.
55729         * elf/tst-unique4.cc: New file.
55730         * elf/tst-unique4.h: New file.
55731         * elf/tst-unique4lib.cc: New file.
55732         * elf/Makefile: Add rules to build and run tst-unique4.
55733         Patch by Piotr Bury <pbury@goahead.com>.
55735 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55737         [BZ #12052]
55738         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55740         [BZ #12625]
55741         * misc/mntent_r.c (addmntent): Flush the stream after the output
55743         [BZ #12393]
55744         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55745         (is_trusted_path_normalize): Skip initial colon.  Append slash
55746         to empty buffer.  Duplicate is_trusted_path code but allow
55747         constructed patch to be prefix.
55748         (is_dst): Allow $ORIGIN followed by /.
55749         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55750         Correct testing of result of is_trusted_path_normalize
55751         (decompose_rpath): Fix warning.
55753 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55755         [BZ #11257]
55756         * grp/initgroups.c (internal_getgrouplist): When we found the service
55757         list through the initgroups entry in nsswitch.conf do not always
55758         continue on a successful lookup.  Don't always use the
55759         __nss_group_database value if it is set.
55760         * nss/nsswitch.conf (initgroups): Change action for successful db
55761         lookup to continue for compatibility.
55763 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55765         [BZ #11532]
55766         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55767         and CP774 modules.
55768         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55769         and CP774 modules.
55770         * iconvdata/tst-tables.sh: Likewise.
55771         * iconvdata/cp770.c: New file.
55772         * iconvdata/cp771.c: New file.
55773         * iconvdata/cp772.c: New file.
55774         * iconvdata/cp773.c: New file.
55775         * iconvdata/cp774.c: New file.
55776         * iconvdata/testdata/CP770: New file.
55777         * iconvdata/testdata/CP770..UTF8: New file.
55778         * iconvdata/testdata/CP771: New file.
55779         * iconvdata/testdata/CP771..UTF8: New file.
55780         * iconvdata/testdata/CP772: New file.
55781         * iconvdata/testdata/CP772..UTF8: New file.
55782         * iconvdata/testdata/CP773: New file.
55783         * iconvdata/testdata/CP773..UTF8: New file.
55784         * iconvdata/testdata/CP774: New file.
55785         * iconvdata/testdata/CP774..UTF8: New file.
55787         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55788         END CHARMAP line.
55789         * iconvdata/gen-8bit-gap.sh: Likewise.
55790         * iconvdata/gen-8bit.sh: Likewise.
55792         * locale/iso-639.def: Add ary entry.
55794         [BZ #11258]
55795         * locale/C-translit.h.in: Add U20A1 transliteration.
55797         [BZ #12178]
55798         * locale/iso-639.def: Add wae entry.
55799         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55801         [BZ #12545]
55802         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55803         for n.
55805         [BZ #12711]
55806         * locale/C-translit.h.in: Add entry for U20B9.
55807         Patch by pravin.d.s@gmail.com.
55809 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55811         [BZ #12713]
55812         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55813         ENAMETOOLONG use generic getcwd.
55814         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55815         in rtld.  Use *stat64.
55816         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55817         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55818         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55819         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55820         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55821         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55822         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55823         __fstatat64 macros.
55824         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55825         * dirent/rewinddir.c: Add libc_hidden_def.
55826         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55827         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55829         * include/dirent.h (__alloc_dir): Add flags parameter.
55830         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55831         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55832         __alloc_dir.
55833         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55834         from fdopendir if O_CLOEXEC is already set.
55836 2011-03-15  Alan Modra  <amodra@gmail.com>
55838         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55839         l_tls_firstbyte_offset non-zero.  Save padding offset in
55840         l_tls_firstbyte_offset for later use.
55841         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55842         freeing static tls block.
55844 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55846         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55847         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55848         being defined by the kernel headers.
55850 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55852         [BZ #12734]
55853         * resolv/resolv.h: Define RES_NOTLDQUERY.
55854         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55855         no-tld-query and set RES_NOTLDQUERY.
55856         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55857         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55858         modern BIND to search name as TLD unless forbidden.
55860 2011-05-07  Petr Baudis  <pasky@suse.cz>
55861             Ulrich Drepper  <drepper@gmail.com>
55863         [BZ #12393]
55864         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55865         (is_trusted_path): ...to here.
55866         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55867         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55868         using is_trusted_path_normalize() in setuid scripts.
55870 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55872         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55873         __BEGIN/__END_DECLS.
55875 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55877         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55878         NSS_STATUS_NOTFOUND if no record was found.
55880 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55882         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55883         (headers-not-in-tirpc): Remove rpc/netdb.h
55884         * resolv/netdb.h: Revert last change.
55886 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55888         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55889         circular dependency between libgcc.a and libc.a.
55891 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55893         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55894         * nis/Makefile: Don't install rpcsvc/*.
55895         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55896         instead of <rpc/types.h>.
55897         (MAXHOSTNAMELEN): Define.
55899 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55901         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55903 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55905         [BZ #12714]
55906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55907         gethostbyname4_r when IPv6 results are possible.
55909 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55911         [BZ #12723]
55912         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55913         _PC_PIPE_BUF handling.
55915 2011-04-30  Bruno Haible  <bruno@clisp.org>
55917         [BZ #12717]
55918         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55919         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55920         to 'int'.
55921         * inet/getnameinfo.c (getnameinfo): Likewise.
55923 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55925         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55926         to groups setting in database lookup.
55927         * nss/nsswitch.conf: Add initgroups entry.
55929 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55931         [BZ #12685]
55932         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55933         mode string.
55934         Patch by Eric Blake <eblake@redhat.com>.
55936 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55938         * sunrpc/Makefile (need-export-routines): Add svc_run.
55939         (routines): Remove svc_run.
55940         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55941         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55942         * sunrpc/svc_run.c (svc_run): Likewise.
55943         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55945 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55947         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55948         problem in reallocation in last patch.
55950 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55952         * sunrpc/Makefile: Move inclusion of Rules.
55954 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55956         * nss/nss_files/files-initgroups.c: New file.
55957         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55958         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55959         _nss_files_initgroups_dyn.
55961 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55963         * elf/elf.h (R_ARM_IRELATIVE): Define.
55965 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55967         * po/ru.po: Update from translation team.
55969 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55971         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55972         dependencies.
55974 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55976         [BZ #12653]
55977         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55978         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55979         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55980         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55981         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55983 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55985         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55986         differing bytes.
55987         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55988         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55991 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55993         [BZ #12420]
55994         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55995         storing it.
55996         * stdlib/bug-getcontext.c: New file.
55997         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55999 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56001         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56002         instructions into .machine "z9-109".
56003         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56004         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56006 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56008         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56009         between environment variables and auxiliary vector.
56011 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56013         * Makefile: Add rules to build linkobj/libc.so.
56014         * include/libc-symbols.h: Define libc_hidden_nolink.
56015         * include/rpc/auth.h: Mark functions which are to be hidden.
56016         * include/rpc/auth_des.h: Likewise.
56017         * include/rpc/auth_unix.h: Likewise.
56018         * include/rpc/clnt.h: Likewise.
56019         * include/rpc/des_crypt.h: Likewise.
56020         * include/rpc/key_prot.h: Likewise.
56021         * include/rpc/pmap_clnt.h: Likewise.
56022         * include/rpc/pmap_prot.h: Likewise.
56023         * include/rpc/pmap_rmt.h: Likewise.
56024         * include/rpc/rpc_msg.h: Likewise.
56025         * include/rpc/svc.h: Likewise.
56026         * include/rpc/svc_auth.h: Likewise.
56027         * include/rpc/xdr.h: Likewise.
56028         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56029         * nss/Makefile: Likewise.
56030         * sunrpc/Makefile: Don't install headers.  Build library with normal
56031         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56032         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56033         for the compat linking library.  Remove use of INTDEF/INTUSE.
56034         * sunrpc/auth_none.c: Likewise.
56035         * sunrpc/auth_unix.c: Likewise.
56036         * sunrpc/authdes_prot.c: Likewise.
56037         * sunrpc/authuxprot.c: Likewise.
56038         * sunrpc/clnt_gen.c: Likewise.
56039         * sunrpc/clnt_perr.c: Likewise.
56040         * sunrpc/clnt_raw.c: Likewise.
56041         * sunrpc/clnt_simp.c: Likewise.
56042         * sunrpc/clnt_tcp.c: Likewise.
56043         * sunrpc/clnt_udp.c: Likewise.
56044         * sunrpc/clnt_unix.c: Likewise.
56045         * sunrpc/des_crypt.c: Likewise.
56046         * sunrpc/des_soft.c: Likewise.
56047         * sunrpc/get_myaddr.c: Likewise.
56048         * sunrpc/key_call.c: Likewise.
56049         * sunrpc/key_prot.c: Likewise.
56050         * sunrpc/netname.c: Likewise.
56051         * sunrpc/pm_getmaps.c: Likewise.
56052         * sunrpc/pm_getport.c: Likewise.
56053         * sunrpc/pmap_clnt.c: Likewise.
56054         * sunrpc/pmap_prot.c: Likewise.
56055         * sunrpc/pmap_prot2.c: Likewise.
56056         * sunrpc/pmap_rmt.c: Likewise.
56057         * sunrpc/publickey.c: Likewise.
56058         * sunrpc/rpc_cmsg.c: Likewise.
56059         * sunrpc/rpc_common.c: Likewise.
56060         * sunrpc/rpc_dtable.c: Likewise.
56061         * sunrpc/rpc_prot.c: Likewise.
56062         * sunrpc/rpc_thread.c: Likewise.
56063         * sunrpc/rtime.c: Likewise.
56064         * sunrpc/svc.c: Likewise.
56065         * sunrpc/svc_auth.c: Likewise.
56066         * sunrpc/svc_authux.c: Likewise.
56067         * sunrpc/svc_raw.c: Likewise.
56068         * sunrpc/svc_run.c: Likewise.
56069         * sunrpc/svc_simple.c: Likewise.
56070         * sunrpc/svc_tcp.c: Likewise.
56071         * sunrpc/svc_udp.c: Likewise.
56072         * sunrpc/svc_unix.c: Likewise.
56073         * sunrpc/svcauth_des.c: Likewise.
56074         * sunrpc/xcrypt.c: Likewise.
56075         * sunrpc/xdr.c: Likewise.
56076         * sunrpc/xdr_array.c: Likewise.
56077         * sunrpc/xdr_float.c: Likewise.
56078         * sunrpc/xdr_intXX_t.c: Likewise.
56079         * sunrpc/xdr_mem.c: Likewise.
56080         * sunrpc/xdr_rec.c: Likewise.
56081         * sunrpc/xdr_ref.c: Likewise.
56082         * sunrpc/xdr_sizeof.c: Likewise.
56083         * sunrpc/xdr_stdio.c: Likewise.
56085 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56087         [BZ #12650]
56088         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56089         * sysdeps/ia64/dl-tls.h: Likewise.
56090         * sysdeps/powerpc/dl-tls.h: Likewise.
56091         * sysdeps/s390/dl-tls.h: Likewise.
56092         * sysdeps/sh/dl-tls.h: Likewise.
56093         * sysdeps/sparc/dl-tls.h: Likewise.
56094         * sysdeps/x86_64/dl-tls.h: Likewise.
56095         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56097 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56099         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56100         rpath element also skip the following colon.
56101         (expand_dynamic_string_token): Add is_path parameter and pass
56102         down to DL_DST_REQUIRED and _dl_dst_substitute.
56103         (decompose_rpath): Call expand_dynamic_string_token with
56104         non-zero is_path.  Ignore empty rpaths.
56105         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56106         with zero is_path.
56108 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56111         Make cancelable.
56113 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56115         [BZ #12655]
56116         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56117         Patch by Filipe David Manana <fdmanana@apache.org>.
56119 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56121         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56122         Maintain aligned stack.
56123         (CHECK_RSP): Remove unused macro.
56125 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56127         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56128         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56130 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56132         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56134         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56136 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56138         [BZ #12518]
56139         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56140         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56141         * sysdeps/x86_64/memmove.c: New file.
56142         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56143         (memcpy): Renamed to ...
56144         (__new_memcpy): This.
56145         (memcpy): Provide GLIBC_2_14 memcpy.
56146         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56147         (memcpy): Provide GLIBC_2_2_5 memcpy.
56149 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56151         [BZ #12631]
56152         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56154 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56156         * misc/syncfs.c: New file.
56157         * misc/Makefile (routines): Add syncfs.
56158         * posix/unistd.h: Declare syncfs.
56159         * sysdeps/unix/syscalls.list: Add syncfs.
56161 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56163         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56164         open_by_handle_at.
56165         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56166         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56168         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56170         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56171         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56173 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56175         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56176         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56177         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56179         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56180         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56181         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56183         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56184         sync_file_range.c with -fexceptions.
56185         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56186         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56187         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56188         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56189         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56190         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56191         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56192         sync_file_range as cancellation point
56193         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56194         now a wrapper around __call_sync_file_range with cancellation handling.
56195         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56196         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56197         function name to __call_sync_file_range.
56198         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56199         Add call_sync_file_range.
56201 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56203         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56204         bits/timex.h.
56206 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56208         * iconv/iconv.h: Fix typo in comment.
56209         * io/fcntl.h: Likewise.
56210         * libio/stdio.h: Likewise.
56211         * posix/spawn.h: Likewise.
56212         * posix/unistd.h: Likewise.
56213         * stdlib/stdlib.h: Likewise.
56214         * time/time.h: Likewise.
56215         * wcsmbs/wchar.h: Likewise.
56217         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56218         open_by_handle): Add.
56219         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56220         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56221         Augment a few comments.
56222         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56223         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56224         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56225         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56226         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56227         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56228         open_by_handle.
56230         * io/fcntl.h (AT_EMPTY_PATH): Define.
56232 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56234         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56235         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56236         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56237         to...
56238         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56239         * Versions.def: Add GLIBC_2.14.
56240         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56241         Export.
56243 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56245         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56246         round counter.
56247         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56249 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56251         [BZ #12597]
56252         * string/test-strncmp.c (do_page_test): New function.
56253         (check2): Likewise.
56254         (test_main): Call check2.
56255         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56257 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56259         [BZ #12587]
56260         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56261         Handle cache information in CPU leaf 4.
56262         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56264 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56266         [BZ #12583]
56267         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56268         character representation.
56269         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56271 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56273         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56274         END(__isnan) to END(__isnanf) to match function entry point/label
56275         EALIGN(__isnanf,...).
56277 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56279         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56281 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56283         [BZ #12510]
56284         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56285         copy from the symbol referenced in the relocation to initialize the
56286         used variable.
56287         Patch by Piotr Bury <pbury@goahead.com>.
56288         * elf/Makefile: Add rules to build and tst-unique3.
56289         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56290         * elf/tst-unique3.cc: New file.
56291         * elf/tst-unique3.h: New file.
56292         * elf/tst-unique3lib.cc: New file.
56293         * elf/tst-unique3lib2.cc: New file.
56295         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56297 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56299         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56300         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56301         to _start.
56303 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56305         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56306         to-be-loaded object along a path to loader is ld.so.
56308 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56309             Ulrich Drepper  <drepper@gmail.com>
56311         * sysdeps/x86_64/memset.S: After aligning destination, code
56312         branches to different locations depending on the value of
56313         misalignment, when multiarch is enabled. Fix this.
56315 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56317         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56318         Set _x86_64_preferred_memory_instruction for AMD processsors.
56319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56320         Set bit_Prefer_SSE_for_memop for AMD processors.
56322 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56324         * libio/fmemopen.c (fmemopen): Optimize a bit.
56326 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56328         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56330 2011-03-03  Roland McGrath  <roland@redhat.com>
56332         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56334 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56336         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56337         __bzero_ultra1 instead of __memset_ultra1.
56339 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56340             Ulrich Drepper  <drepper@gmail.com>
56342         [BZ #12509]
56343         * include/link.h (struct link_map): Add l_orig_initfini.
56344         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56345         returning unsuccessfully.
56346         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56347         close of a file loaded at startup, restore the original l_initfini
56348         list.
56349         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56350         list, store the pointer.
56351         * elf/Makefile ($(objpfx)noload-mem): New rule.
56352         (noload-ENV): Define.
56353         (tests): Add $(objpfx)noload-mem.
56354         * elf/noload.c: Include <memcheck.h>.
56355         (main): Call mtrace.  Close all opened handles.
56357 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56359         [BZ #12454]
56360         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56361         dependencies are missing.
56363 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56365         Fix __if_freereq crash: Unlike the generic version which uses free,
56366         Hurd needs munmap.
56367         * sysdeps/mach/hurd/ifreq.h: New file.
56369 2011-01-27  Petr Baudis  <pasky@suse.cz>
56370             Ulrich Drepper  <drepper@gmail.com>
56372         [BZ 12445]#
56373         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56374         to extend_alloca().
56375         * stdio-common/bug23.c: New file.
56376         * stdio-common/Makefile (tests): Add bug23.
56378 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56379             Ulrich Drepper  <drepper@gmail.com>
56381         [BZ #12489]
56382         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56383         before performing relro protection.  At old place add assertion
56384         to make sure nothing changed.
56386 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56387             Glauber de Oliveira Costa  <glommer@gmail.com>
56389         * elf/elf.h: Add new ARM TLS relocs.
56391 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56394         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56395         cast from r3.
56396         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56397         'tests' variable.
56398         * sysdeps/wordsize-64/tst-writev.c: New file.
56400 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56402         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56403         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56404         insns in _dl_start to prevent a TOC reference before relocs are
56405         resolved.
56407 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56409         [BZ #12469]
56410         * Makeconfig: Remove RANLIB definition.
56411         * Makerules: Don't use RANLIB.
56412         * aclocal.m4: Remove ranlib test.
56413         * configure.in: No need to check for ranlib.
56414         * elf/rtld-Rules: Don't use RANLIB.
56416 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56418         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56419         protection macro.
56420         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56421         inclusion protection macro.
56423         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56424         SIGRTMIN and SIGRTMAX and print information in that case only when
56425         SIGRTMIN is defined.
56427 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56429         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56430         arginfo fn returning -1.
56432         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56433         and thousands string is zero terminated.
56435 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56437         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56438         sysdeps/unix/sysv/linux/bits/socket.h.
56440 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56442         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56443         (__CPU_COUNT): Remove old macros.
56444         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56445         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56446         (__CPU_ALLOC, __CPU_FREE): Add macros.
56447         (__sched_cpualloc, __sched_cpufree): Add declarations.
56449 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56451         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56452         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56453         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56454         (readdhstai): Return value of addhstaiX call.
56455         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56456         (addgrbyX): Return value returned by cache_addgr.
56457         (readdgrbyname): Return value returned by addgrbyX.
56458         (readdgrbygid): Likewise.
56459         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56460         (addpwbyX): Return value returned by cache_addpw.
56461         (readdpwbyname): Return value returned by addhstbyX.
56462         (readdpwbyuid): Likewise.
56463         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56464         (addservbyX): Return value returned by cache_addserv.
56465         (readdservbyname): Return value returned by addservbyX:
56466         (readdservbyport): Likewise.
56467         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56468         (addhstbyX): Return value returned by cache_addhst.
56469         (readdhstbyname): Return value returned by addhstbyX.
56470         (readdhstbyaddr): Likewise.
56471         (readdhstbynamev6): Likewise.
56472         (readdhstbyaddrv6): Likewise.
56473         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56474         (readdinitgroups): Return value returned by addinitgroupsX.
56475         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56476         (prune_cache): Keep track of timeout value of re-added entries.
56477         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56478         * nscd/nscd.h: Adjust prototypes of readd* functions.
56480 2011-02-04  Roland McGrath  <roland@redhat.com>
56482         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56483         (nis_stats): Likewise.
56484         * nis/nis_modify.c (nis_modify): Likewise.
56485         * nis/nis_remove.c (nis_remove): Likewise.
56486         * nis/nis_add.c (nis_add): Likewise.
56488         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56490         * posix/fnmatch_loop.c: Add some consts.
56492         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56494 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56496         [BZ #12460]
56497         * config.make.in (config-cflags-novzeroupper): Define.
56498         * configure.in: Substitute libc_cv_cc_novzeroupper.
56499         * elf/Makefile (AVX-CFLAGS): Define.
56500         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56501         (CFLAGS-tst-auditmod4a.c): Likewise.
56502         (CFLAGS-tst-auditmod4b.c): Likewise.
56503         (CFLAGS-tst-auditmod6b.c): Likewise.
56504         (CFLAGS-tst-auditmod6c.c): Likewise.
56505         (CFLAGS-tst-auditmod7b.c): Likewise.
56506         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56508 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56510         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56511         function to the callback.
56512         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56514 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56516         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56517         of errno.
56519 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56521         [BZ #11724]
56522         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56523         of constructors.
56524         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56525         of destructors.
56526         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56528         [BZ #11724]
56529         * elf/Makefile: Add rules to build and run new test.
56530         * elf/tst-initorder.c: New file.
56531         * elf/tst-initorder.exp: New file.
56532         * elf/tst-initordera1.c: New file.
56533         * elf/tst-initordera2.c: New file.
56534         * elf/tst-initordera3.c: New file.
56535         * elf/tst-initordera4.c: New file.
56536         * elf/tst-initorderb1.c: New file.
56537         * elf/tst-initorderb2.c: New file.
56538         * elf/tst-order-a1.c: New file.
56539         * elf/tst-order-a2.c: New file.
56540         * elf/tst-order-a3.c: New file.
56541         * elf/tst-order-a4.c: New file.
56542         * elf/tst-order-b1.c: New file.
56543         * elf/tst-order-b2.c: New file.
56544         * elf/tst-order-main.c: New file.
56545         New test case by George Gensure <werkt0@gmail.com>.
56547 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56549         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56550         decoding ACE if AI_CANONIDN.
56552 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56554         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56556 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56558         * version.h (RELEASE): Bump for 2.13 release.
56559         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56561         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56563         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56564         MADV_NOHUGEPAGE.
56565         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56566         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56567         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56568         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56569         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56570         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56572         * posix/getconf.c: Update copyright year.
56573         * catgets/gencat.c: Likewise.
56574         * csu/version.c: Likewise.
56575         * debug/catchsegv.sh: Likewise.
56576         * debug/xtrace.sh: Likewise.
56577         * elf/ldconfig.c: Likewise.
56578         * elf/ldd.bash.in: Likewise.
56579         * elf/sprof.c (print_version): Likewise.
56580         * iconv/iconv_prog.c: Likewise.
56581         * iconv/iconvconfig.c: Likewise.
56582         * locale/programs/locale.c: Likewise.
56583         * locale/programs/localedef.c: Likewise.
56584         * malloc/memusage.sh: Likewise.
56585         * malloc/mtrace.pl: Likewise.
56586         * nscd/nscd.c (print_version): Likewise.
56587         * nss/getent.c: Likewise.
56589         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56590         PF_CAIF, and PF_ALG.
56591         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56593 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56595         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56596         (modules-names): Use them.
56597         (ifunc-test-modules, ifunc-pie-tests): Define.
56598         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56599         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56600         (test-extras): Likewise.
56601         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56602         $(compile-command.c).
56603         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56604         (all-built-dso): Define.
56605         (check-textrel.out, check-execstack.out): Depend on it.
56607         * configure.in: Don't override --enable-multi-arch.
56609 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56611         [BZ #6812]
56612         * nscd/hstcache.c (tryagain): Define.
56613         (cache_addhst): Return tryagain not notfound for temporary errors.
56614         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56615         failed.
56617 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56619         [BZ #10563]
56620         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56621         to make the syscall.
56622         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56624         [BZ #12378]
56625         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56626         and fall back to matching as normal character if the string ends before
56627         the matching ']' is found.  This is what POSIX requires.
56628         * posix/testfnm.c: Adjust test result.
56629         * posix/globtest.sh: Adjust test result.  Add new test.
56630         * posix/tst-fnmatch.input: Likewise.
56631         * posix/tst-fnmatch2.c: Add new test.
56633 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56635         * elf/Makefile (check-execstack): Revert last change.  Depend on
56636         check-execstack.h.
56637         (check-execstack.h): New target.
56638         (generated): Add check-execstack.h.
56639         * elf/check-execstack.c: Include "check-execstack.h".
56640         (main): Revert last change.
56641         (handle_file): Return zero if GNU_STACK is absent and
56642         DEFAULT_STACK_PERMS doesn't include PF_X.
56644 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56646         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56647         in child fails because the descriptor is already closed.
56648         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56649         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56650         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56652         [BZ #12397]
56653         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56654         syscall.
56656         [BZ #10484]
56657         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56658         temporary buffer used to handle multi lookups locally.
56659         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56661 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56663         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56664         loader is ld.so.
56666 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56668         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56669         alignment for SSE2.
56671 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56673         [BZ #12394]
56674         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56675         characters.  When rounding increased number of integer digits recompute
56676         number of groups.
56677         * stdio-common/tst-grouping.c: New file.
56678         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56680 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56682         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56683         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56685         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56686         void.
56687         * bits/select.h: Likewise.
56689 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56691         * po/ja.po: Update from translation team.
56693 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56695         [BZ #11155]
56696         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56697         implementation just like for lxstat, fxstatat, et al.
56699 2010-12-27  Jim Meyering  <meyering@redhat.com>
56701         [BZ #12348]
56702         * posix/regexec.c (build_trtable): Return failure indication upon
56703         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56705 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56707         [BZ #12201]
56708         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56709         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56710         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56711         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56713         [BZ #12207]
56714         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56716         [BZ #12204]
56717         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56718         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56720 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56722         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56723         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56724         script has SORT_BY_INIT_PRIORITY.
56725         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56726         NO_CTORS_DTORS_SECTIONS is defined.
56727         * elf/soinit.c: Likewise.
56728         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56729         NO_CTORS_DTORS_SECTIONS is defined.
56730         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56731         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56732         * sysdeps/sh/init-first.c: Likewise.
56733         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56735 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56737         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56738         always use the slow path.
56740 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56742         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56743         similar rule which adds the sysdep directories to the header search in
56744         order to pick up the correct platform stackinfo.h.
56745         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56746         perform test if it is, otherwise return successfully without testing.
56747         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56748         DEFAULT_STACK_PERMS define in stackinfo.h.
56749         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56750         defined in stackinfo.h.
56751         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56752         DEFAULT_STACK_PERMS defined in stackinfo.h.
56753         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56754         * sysdeps/ia64/stackinfo.h: Likewise.
56755         * sysdeps/s390/stackinfo.h: Likewise.
56756         * sysdeps/sh/stackinfo.h: Likewise.
56757         * sysdeps/sparc/stackinfo.h: Likewise.
56758         * sysdeps/x86_64/stackinfo.h: Likewise.
56759         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56760         PF_X for powerpc64.  Retain PF_X for powerpc32.
56762 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56764         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56765         accurately.
56766         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56767         GETDENTS_64BIT_ALIGNED.
56769 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56771         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56773 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56775         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56776         _GNU_SOURCE.
56778         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56779         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56780         Remove __restrict.
56781         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56782         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56784 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56786         [BZ #11655]
56787         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56788         are initialized.
56790 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56792         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56794 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56796         * po/it.po: Update from translation team.
56798 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56800         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56801         unused codes.
56803 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56805         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56807 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56809         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56810         specially.
56811         (gaih_getanswer_slice): Likewise.
56813 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56815         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56817 2010-05-31  Petr Baudis  <pasky@suse.cz>
56819         [BZ #11149]
56820         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56821         silently even in the chroot mode.
56823 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56825         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56826         last patch a bit.  Pretty printing
56828 2010-05-31  Petr Baudis <pasky@suse.cz>
56830         [BZ #10085]
56831         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56832         initialization of skip_initgroups_dyn.
56834 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56836         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56837         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56839 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56841         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56843 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56845         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56846         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56847         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56848         ($(objpfx)tst-fnmatch-mem): New rule.
56849         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56850         * posix/tst-fnmatch.c (main): Call mtrace.
56852 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56855         Support Intel processor model 6 and model 0x2c.
56857 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56859         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56860           signed comparison.
56862 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56864         [BZ #12205]
56865         * string/test-strncasecmp.c (check_result): New function.
56866         (do_one_test): Use it.
56867         (check1): New function.
56868         (test_main): Use it.
56869         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56870         Support strcasecmp and strncasecmp.
56872 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56874         [BZ #12194]
56875         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56876         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56878 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56880         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56881         IFUNC support.
56882         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56883         memset-x86-64.
56884         * sysdeps/x86_64/multiarch/bzero.S: New file.
56885         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56886         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56887         * sysdeps/x86_64/multiarch/memset.S: New file.
56888         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56890         Set bit_Prefer_SSE_for_memop for Intel processors.
56891         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56892         Define.
56893         (index_Prefer_SSE_for_memop): Define.
56894         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56896 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56898         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56899         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56901 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56903         [BZ #12191]
56904         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56905         (__x86_64_raw_data_cache_size_half): Likewise.
56906         (__x86_64_raw_shared_cache_size): Likewise.
56907         (__x86_64_raw_shared_cache_size_half): Likewise.
56909         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56910         (__x86_64_raw_data_cache_size_half): Likewise.
56911         (__x86_64_raw_shared_cache_size): Likewise.
56912         (__x86_64_raw_shared_cache_size_half): Likewise.
56913         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56914         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56915         and __x86_64_raw_shared_cache_size_half.  Round
56916         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56917         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56918         to multiple of 256 bytes.
56920 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56922         [BZ #12167]
56923         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56924         of inacessible symlinks.  Verify result of symlink before returning it.
56925         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56926         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56928 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56930         * math/math.h (isinf): Fix typo in comment.
56932 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56934         * po/da.po: Update from translation team.
56936 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56938         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56939         is added to the list.
56941 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56942             Ulrich Drepper  <drepper@gmail.com>
56944         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56945         the global list here.  Move code to...
56946         (_dl_add_to_namespace_list): ...here.  New function.
56947         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56948         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56949         * elf/dl-load.c (lose): Don't remove the element from the list.
56950         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56951         (_dl_map_object): Likewise.
56953 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56955         [BZ #12159]
56956         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56957         into all bytes of SSE register.
56958         Patch by Richard Li <richardpku@gmail.com>.
56960 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56962         [BZ #12140]
56963         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56964         perturbing.
56966 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56968         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56969         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56970         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56971         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56973         submachine.
56974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56976 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56978         * include/dlfcn.h (__RTLD_SECURE): Define.
56979         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56980         mode & __RTLD_SECURE instead.
56981         (open_path): Rename preloaded parameter to secure.
56982         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56983         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56984         * elf/dl-deps.c (openaux): Likewise.
56985         * elf/rtld.c (struct map_args): Remove is_preloaded.
56986         (map_doit): Don't use it.
56987         (dl_main): Likewise.
56988         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56989         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56991 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56993         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56994         (sysd-rules-targets): Remove duplicates.
56995         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56996         rtld-%.$o dependency.
56998 2010-10-18  Andreas Schwab  <schwab@redhat.com>
57000         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57001         _dl_map_object do it.
57003 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
57005         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57006         fast fma builtins, define the macros in the C99 standard.
57007         (FP_FAST_FMAF): Likewise.
57008         (FP_FAST_FMAL): Likewise.
57009         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57011         * bits/mathdef.h: Update copyright year.
57012         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57014 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57016         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57017         builtins, define the macros in the C99 standard.
57018         (FP_FAST_FMAF): Likewise.
57019         (FP_FAST_FMAL): Likewise.
57020         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57021         multiply/add.
57022         (FP_FAST_FMAF): Likewise.
57024 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57026         [BZ #3268]
57027         * math/libm-test.inc (fma_test): Some new testcases.
57028         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57029         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57030         y and infinite z.  Do multiplication by C already in long double.
57031         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57033         y and infinite z.  Do bitwise or of inexact bit into u.d.
57034         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57035         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57036         * sysdeps/i386/fpu/s_fma.S: Removed.
57037         * sysdeps/i386/fpu/s_fmal.S: Removed.
57039 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57041         [BZ #3268]
57042         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57044         computation is not scheduled after fetestexcept.  Fix value
57045         of minimum denormal long double.
57047 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57049         [BZ #3268]
57050         * math/libm-test.inc (fma_test): Add some more tests.
57051         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57052         correctly.
57054 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57056         * scripts/data/localplt-s390-linux-gnu.data: New file.
57057         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57059 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57061         [BZ #3268]
57062         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57063         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57064         instead of dbl-64.
57065         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57066         inlines.
57067         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57068         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57069         if one of x and y is very large and the other is subnormal.
57070         * sysdeps/s390/fpu/s_fmaf.c: New file.
57071         * sysdeps/s390/fpu/s_fma.c: New file.
57072         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57073         * sysdeps/powerpc/fpu/s_fma.S: New file.
57074         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57075         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57076         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57078 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57080         [BZ #3268]
57081         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57082         fma tests.
57083         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57084         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57085         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57086         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57087         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57088         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57089         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57091 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57093         [BZ #12078]
57094         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57095         * posix/bug-regex31.input: Add test case.
57097 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57099         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57100         * posix/bug-regex31.input: New file.
57102         [BZ #12078]
57103         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57104         (parse_sub_exp): Fix last change, use postorder.
57106         * posix/bug-regex31.c: New file.
57107         * posix/Makefile: Add rules to build and run bug-regex31.
57109         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57111         [BZ #12078]
57112         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57114         [BZ #12108]
57115         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57116         to have entries in sys_siglist.
57118         [BZ #12093]
57119         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57120         be NULL.
57122 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57124         [BZ #3268]
57125         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57126         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57127         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57128         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57129         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57130         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57131         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57132         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57133         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57134         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57135         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57136         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57137         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57138         * math/ftestexcept.c (fetestexcept): Likewise.
57139         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57140         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57141         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57142         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57143         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57144         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57145         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57147 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57149         [BZ #12107]
57150         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57151         newline.
57153 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57155         * string/bug-strstr1.c: New file.
57156         * string/Makefile: Add rules to build and run bug-strstr1.
57158 2010-10-05  Eric Blake  <eblake@redhat.com>
57160         [BZ #12092]
57161         * string/str-two-way.h (two_way_long_needle): Always clear memory
57162         when skipping input due to the shift table.
57164 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57166         [BZ #12005]
57167         * malloc/mcheck.c: Handle large requests.
57169         [BZ #12077]
57170         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57171         for strncmp and strncasecmp.
57172         * string/stratcliff.c: Add tests for strcmp and strncmp.
57173         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57175 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57177         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57178         __set_fpscr.
57180 2010-09-30  Andreas Jaeger  <aj@suse.de>
57182         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57183         (CGROUP_SUPER_MAGIC): Define.
57184         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57185         Handle btrfs and cgroup file systems.
57186         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57187         Likewise.
57189 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57191         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57192         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57194 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57196         [BZ #12067]
57197         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57198         trying to locate the ELF header.
57200 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57202         [BZ #11611]
57203         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57204         Mask out sign-bit copies when constructing f_fsid.
57206 2010-09-24  Petr Baudis <pasky@suse.cz>
57208         * debug/stack_chk_fail_local.c: Add missing licence exception.
57209         * debug/warning-nop.c: Likewise.
57211 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57213         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57214         implementing getdents64 using getdents syscall, set d_type if
57215         __ASSUME_GETDENTS32_D_TYPE.
57217 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57219         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57220         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57222 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57224         [BZ #12037]
57225         * posix/unistd.h: Undo change of feature selection for ftruncate from
57226         2010-01-11.
57228 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57230         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57231         detection.
57233 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57235         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57236         fanotify_mark.
57237         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57239 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57241         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57242         variables after CHECK_SP call.
57243         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57245 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57246             Ulrich Drepper  <drepper@redhat.com>
57248         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57249         re-relocationg ld.so.
57250         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57251         _dl_init_paths call.
57252         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57253         here anymore.
57255 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57257         * resolv/res_init.c (__res_vinit): Count the default server we added.
57259 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57260             Ulrich Drepper  <drepper@redhat.com>
57262         [BZ #11968]
57263         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57264         (____longjmp_chk): Use %ebx for saving value across system call.
57265         Add unwind info.
57267 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57269         * manual/Makefile: Don't mix pattern rules with normal rules.
57271 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57273         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57274         operation.
57275         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57276         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57277         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57278         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57280         Likewise.
57282 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57284         [BZ #11979]
57285         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57286         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57288 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57290         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57291         * sysdeps/x86_64/addmul_1.S: Likewise.
57292         * sysdeps/x86_64/lshift.S: Likewise.
57293         * sysdeps/x86_64/mul_1.S: Likewise.
57294         * sysdeps/x86_64/rshift.S: Likewise.
57295         * sysdeps/x86_64/sub_n.S: Likewise.
57296         * sysdeps/x86_64/submul_1.S: Likewise.
57298 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57300         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57301         Define __sched_param instead of SCHED_* and sched_param when
57302         <bits/sched.h> is included with __need_schedparam defined.
57303         * bits/sched.h [__need_schedparam]
57304         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57305         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57306         (__defined_schedparam): Define to 1.
57307         (__sched_param): New structure, identical to sched_param.
57308         (__need_schedparam): Undefine.
57310 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57312         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57313         (epoll_create1): Declare.
57315         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57317 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57319         [BZ #7066]
57320         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57321         shifting retval into place.
57323 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57325         * nis/rpcsvc/nis.h: Update copyright notice.
57326         * nis/rpcsvc/nis.x: Likewise.
57327         * nis/rpcsvc/nis_callback.h: Likewise.
57328         * nis/rpcsvc/nis_callback.x: Likewise.
57329         * nis/rpcsvc/nis_object.x: Likewise.
57330         * nis/rpcsvc/nis_tags.h: Likewise.
57331         * nis/rpcsvc/yp.h: Likewise.
57332         * nis/rpcsvc/yp.x: Likewise.
57333         * nis/rpcsvc/ypupd.h: Likewise.
57334         * nis/yp_xdr.c: Likewise.
57335         * nis/ypupdate_xdr.c: Likewise.
57337         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57338         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57339         (pmap_getport): Use __libc_rpc_getport.
57340         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57341         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57342         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57344 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57347         fanotify_mark.
57349 2010-08-27  Roland McGrath  <roland@redhat.com>
57351         * sysdeps/i386/i686/multiarch/Makefile
57352         (CFLAGS-varshift.c): New variable.
57354 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57356         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57357         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57359         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57361         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57363 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57365         * sysdeps/x86_64/strlen.S: Unroll the loop.
57366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57367         strlen-sse2 strlen-sse2-bsf.
57368         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57369         __strlen_no_bsf if bit_Slow_BSF is set.
57370         (__strlen_sse42): Removed.
57371         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57372         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57374 2010-08-25  Roland McGrath  <roland@redhat.com>
57376         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57377         * sysdeps/x86_64/multiarch/varshift.c: New file.
57378         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57379         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57380         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57381         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57383 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57386         strlen-sse2 strlen-sse2-bsf.
57387         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57388         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57389         (__strlen_sse2): Removed.
57390         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57391         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57392         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57393         bit_Slow_BSF for Atom.
57394         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57395         (index_Slow_BSF): Define.
57396         (HAS_SLOW_BSF): Define.
57398 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57400         [BZ #10851]
57401         * resolv/res_init.c (__res_vinit): When no server address at all
57402         is given default to loopback.
57404 2010-08-24  Roland McGrath  <roland@redhat.com>
57406         * configure.in: Remove config-name.h generation.
57407         * configure: Regenerated.
57408         * config-name.in: File removed.
57409         * scripts/config-uname.sh: New file.
57410         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57411         ($(objdir)config-name.h): New target.
57413         * sunrpc/rpc_parse.h: Avoid nested comment.
57415 2010-08-24  Richard Henderson  <rth@redhat.com>
57416             Ulrich Drepper  <drepper@redhat.com>
57417             H.J. Lu  <hongjiu.lu@intel.com>
57419         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57420         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57421         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57422         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57423         _mm_alignr_epi8 with _mm_loadu_si128.
57424         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57425         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57426         (__m128i_shift_right): Removed.
57427         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57428         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57429         * sysdeps/x86_64/multiarch/varshift.h: New file.
57430         * sysdeps/x86_64/multiarch/varshift.S: New file.
57432 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57434         * configure.in: Move assembler checks to before sysdep dir checking.
57436 2010-08-20  Petr Baudis  <pasky@suse.cz>
57438         * LICENSES: Sync the sunrpc license.
57440 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57442         * sunrpc/auth_des.c: Update copyright notice once again.
57443         * sunrpc/auth_none.c: Likewise.
57444         * sunrpc/auth_unix.c: Likewise.
57445         * sunrpc/authdes_prot.c: Likewise.
57446         * sunrpc/authuxprot.c: Likewise.
57447         * sunrpc/bindrsvprt.c: Likewise.
57448         * sunrpc/clnt_gen.c: Likewise.
57449         * sunrpc/clnt_perr.c: Likewise.
57450         * sunrpc/clnt_raw.c: Likewise.
57451         * sunrpc/clnt_simp.c: Likewise.
57452         * sunrpc/clnt_tcp.c: Likewise.
57453         * sunrpc/clnt_udp.c: Likewise.
57454         * sunrpc/clnt_unix.c: Likewise.
57455         * sunrpc/des_crypt.c: Likewise.
57456         * sunrpc/des_soft.c: Likewise.
57457         * sunrpc/get_myaddr.c: Likewise.
57458         * sunrpc/getrpcport.c: Likewise.
57459         * sunrpc/key_call.c: Likewise.
57460         * sunrpc/key_prot.c: Likewise.
57461         * sunrpc/openchild.c: Likewise.
57462         * sunrpc/pm_getmaps.c: Likewise.
57463         * sunrpc/pm_getport.c: Likewise.
57464         * sunrpc/pmap_clnt.c: Likewise.
57465         * sunrpc/pmap_prot.c: Likewise.
57466         * sunrpc/pmap_prot2.c: Likewise.
57467         * sunrpc/pmap_rmt.c: Likewise.
57468         * sunrpc/rpc/auth.h: Likewise.
57469         * sunrpc/rpc/auth_unix.h: Likewise.
57470         * sunrpc/rpc/clnt.h: Likewise.
57471         * sunrpc/rpc/des_crypt.h: Likewise.
57472         * sunrpc/rpc/key_prot.h: Likewise.
57473         * sunrpc/rpc/netdb.h: Likewise.
57474         * sunrpc/rpc/pmap_clnt.h: Likewise.
57475         * sunrpc/rpc/pmap_prot.h: Likewise.
57476         * sunrpc/rpc/pmap_rmt.h: Likewise.
57477         * sunrpc/rpc/rpc.h: Likewise.
57478         * sunrpc/rpc/rpc_des.h: Likewise.
57479         * sunrpc/rpc/rpc_msg.h: Likewise.
57480         * sunrpc/rpc/svc.h: Likewise.
57481         * sunrpc/rpc/svc_auth.h: Likewise.
57482         * sunrpc/rpc/types.h: Likewise.
57483         * sunrpc/rpc/xdr.h: Likewise.
57484         * sunrpc/rpc_clntout.c: Likewise.
57485         * sunrpc/rpc_cmsg.c: Likewise.
57486         * sunrpc/rpc_common.c: Likewise.
57487         * sunrpc/rpc_cout.c: Likewise.
57488         * sunrpc/rpc_dtable.c: Likewise.
57489         * sunrpc/rpc_hout.c: Likewise.
57490         * sunrpc/rpc_main.c: Likewise.
57491         * sunrpc/rpc_parse.c: Likewise.
57492         * sunrpc/rpc_parse.h: Likewise.
57493         * sunrpc/rpc_prot.c: Likewise.
57494         * sunrpc/rpc_sample.c: Likewise.
57495         * sunrpc/rpc_scan.c: Likewise.
57496         * sunrpc/rpc_scan.h: Likewise.
57497         * sunrpc/rpc_svcout.c: Likewise.
57498         * sunrpc/rpc_tblout.c: Likewise.
57499         * sunrpc/rpc_util.c: Likewise.
57500         * sunrpc/rpc_util.h: Likewise.
57501         * sunrpc/rpcinfo.c: Likewise.
57502         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57503         * sunrpc/rpcsvc/key_prot.x: Likewise.
57504         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57505         * sunrpc/rpcsvc/mount.x: Likewise.
57506         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57507         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57508         * sunrpc/rpcsvc/rex.x: Likewise.
57509         * sunrpc/rpcsvc/rstat.x: Likewise.
57510         * sunrpc/rpcsvc/rusers.x: Likewise.
57511         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57512         * sunrpc/rpcsvc/spray.x: Likewise.
57513         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57514         * sunrpc/rtime.c: Likewise.
57515         * sunrpc/svc.c: Likewise.
57516         * sunrpc/svc_auth.c: Likewise.
57517         * sunrpc/svc_authux.c: Likewise.
57518         * sunrpc/svc_raw.c: Likewise.
57519         * sunrpc/svc_run.c: Likewise.
57520         * sunrpc/svc_simple.c: Likewise.
57521         * sunrpc/svc_tcp.c: Likewise.
57522         * sunrpc/svc_udp.c: Likewise.
57523         * sunrpc/svc_unix.c: Likewise.
57524         * sunrpc/svcauth_des.c: Likewise.
57525         * sunrpc/xcrypt.c: Likewise.
57526         * sunrpc/xdr.c: Likewise.
57527         * sunrpc/xdr_array.c: Likewise.
57528         * sunrpc/xdr_float.c: Likewise.
57529         * sunrpc/xdr_mem.c: Likewise.
57530         * sunrpc/xdr_rec.c: Likewise.
57531         * sunrpc/xdr_ref.c: Likewise.
57532         * sunrpc/xdr_sizeof.c: Likewise.
57533         * sunrpc/xdr_stdio.c: Likewise.
57535         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57536         handling.
57538 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57540         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57542 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57544         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57545         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57546         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57547         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57548         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57549         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57550         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57551         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57552         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57553         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57554         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57555         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57556         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57557         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57559 2010-07-26  Anton Blanchard  <anton@samba.org>
57561         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57562         * malloc/arena.c (heap_trim): Likewise.
57564 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57566         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57567         here.  Not...
57568         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57569         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57571 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57573         * sysdeps/i386/elf/Makefile: New file.
57575 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57577         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57578         from fanotify_init.
57579         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57580         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57582 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57584         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57585         of strncasecmp_l.
57586         * sysdeps/multiarch/strcmp.S: Likewise.
57588 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57590         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57591         strncase_l-nonascii.
57592         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57593         Add strncase_l-ssse3.
57594         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57595         * sysdeps/x86_64/strcmp.S: Likewise.
57596         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57597         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57598         * sysdeps/x86_64/strncase.S: New file.
57599         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57600         * sysdeps/x86_64/strncase_l.S: New file.
57601         * string/Makefile (strop-tests): Add strncasecmp.
57602         * string/test-strncasecmp.c: New file.
57604         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57605         warning.
57607         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57608         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57610 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57612         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57614 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57616         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57617         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57618         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57620 2010-05-01  Alan Modra  <amodra@gmail.com>
57622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57623         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57624         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57625         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57626         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57627         tidying.  Don't tail-call __sigjmp_save for static lib.
57628         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57629         save location.
57630         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57631         (CALL_MCOUNT): Add eh info, and nop after bl.
57632         (TAIL_CALL_SYSCALL_ERROR): New macro.
57633         (PSEUDO_RET): Use it.
57634         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57635         Correct save location of integer regs and cr.
57636         (_dl_profile_resolve): Correct cr save location.  Delete nops
57637         after bl when SHARED.  Reduce cfi size a little by better
57638         placement of cfi directives.
57639         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57640         make a stack frame.  Instead use parm save area as a temp.
57641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57642         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57644         Don't make a stack frame for parent, use parm save area.
57645         Increase child stack frame to 112 bytes.  Don't save unused reg,
57646         and adjust reg usage.  Set up cfi on error recovery and
57647         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57649         (__makecontext): Add dummy nop after jump to exit.
57650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57651         Use correct parm save area and cr save, reduce stack frame.
57652         Correct cfi for possible PSEUDO_RET frame setup.
57653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57654         Branch to local label emitted by PSEUDO_RET rather than
57655         __syscall_error.
57657 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57659         [BZ #11904]
57660         * locale/programs/locale.c (print_assignment): New function.
57661         (show_locale_vars): Use it.
57663 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57665         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57666         field.
57667         (struct statfs64): Likewise.
57668         (_STATFS_F_FLAGS): Define.
57669         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57670         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57671         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57672         (ST_VALID): Define locally.
57673         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57674         __statvfs_getflags, use the provided value.
57675         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57676         __ASSUME_STATFS_F_FLAGS.
57678         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57680         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57681         Add sys/fanotify.h.
57682         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57683         fanotify_mask for GLIBC_2.13.
57684         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57685         fanotify_init and fanotify_mark.
57686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57687         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57689         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57690         Add prlimit.
57691         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57692         prlimit64 for GLIBC_2.13.
57693         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57694         prlimit64.
57695         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57696         syscall.
57697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57698         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57699         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57700         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57701         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57702         add prlimit alias.
57703         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57705         [BZ #11903]
57706         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57707         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57709         * nss/Makefile: Add rules to build and run tst-nss-test1.
57710         * shlib-versions: Add entry for libnss_test1.
57711         * nss/nss_test1.c: New file.
57712         * nss/tst-nss-test1.c: New file.
57714         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57715         (__nss_configure_lookup): Set appropriate entry in
57716         __nss_configure_lookup to true.
57717         * nss/nsswitch.h: Define enum with indeces of databases in
57718         databases and __nss_database_custom arrays.  Declare
57719         __nss_database_custom.
57720         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57721         to avoid using nscd when custom rules are installed.
57722         * nss/getXXbyYY_r.c: Likewise.
57723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57725         * nss/nss_files/files-parse.c: Whitespace fixes.
57727 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57729         [BZ #11883]
57730         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57731         * posix/fnmatch_loop.c: Likewise.
57733 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57735         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57736         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57737         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57738         * Versions.def [GLIBC_2.13]: Add.
57740 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57742         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57743         Also fail if tpwd after pwuid call is NULL.
57745 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57747         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57748         when converting to ms.
57750 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57752         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57753         EOPNOTSUPP errors with ENOTTY.
57754         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57755         EOPNOTSUPP errors with ENOTTY.
57757 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57759         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57760         Add strcasecmp_l-ssse3.
57761         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57762         strcasecmp.
57763         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57764         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57765         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57767 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57769         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57771         * string/Makefile (strop-tests): Add strcasecmp.
57772         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57773         strcasecmp_l-nonascii.
57774         (gen-as-const-headers): Add locale-defines.sym.
57775         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57776         * sysdeps/x86_64/strcasecmp.S: New file.
57777         * sysdeps/x86_64/strcasecmp_l.S: New file.
57778         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57779         * sysdeps/x86_64/locale-defines.sym: New file.
57780         * string/test-strcasecmp.c: New file.
57782         * string/test-strcasestr.c: Test both ends of the range of characters.
57783         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57785 2010-07-29  Roland McGrath  <roland@redhat.com>
57787         [BZ #11856]
57788         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57790 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57792         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57793         for ld.so.
57795 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57797         * manual/memory.texi (Malloc Tunable Parameters): Document
57798         M_PERTURB.
57800 2010-07-26  Roland McGrath  <roland@redhat.com>
57802         [BZ #11840]
57803         * configure.in (-fgnu89-inline check): Set and substitute
57804         gnu89_inline, not libc_cv_gnu89_inline.
57805         * configure: Regenerated.
57806         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57808 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57810         * string/test-strnlen.c: New file.
57811         * string/Makefile (strop-tests): Add strnlen.
57812         * string/tester.c (test_strnlen): Add a few more test cases.
57813         * string/tst-strlen.c: Better error reporting.
57815         * sysdeps/x86_64/strnlen.S: New file.
57817 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57819         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57820         lower-latency instructions.
57822 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57824         * string/test-strcasestr.c: New file.
57825         * string/test-strstr.c: New file.
57826         * string/Makefile (strop-tests): Add strstr and strcasestr.
57827         * string/str-two-way.h: Don't undefine MAX.
57828         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57830 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57832         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57833         strcasestr-nonascii.
57834         (CFLAGS-strcasestr-nonascii.c): Define.
57835         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57836         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57837         Remove unused attribute.
57839 2010-07-20  Roland McGrath  <roland@redhat.com>
57841         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57842         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57843         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57844         like LD_HWCAP_MASK can disable hwcaps.
57846 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57848         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57850 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57852         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57853         call in strcasestr.
57854         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57855         __strcasestr_sse42_nonascii.
57856         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57857         strcasestr-nonascii.c.
57858         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57860 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57862         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57863         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57864         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57865         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57867 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57869         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57870         fcntl.
57872 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57874         [BZ #11577]
57875         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57876         dl_signal_cerror.
57878 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57880         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57881         _PC_PIPE_BUF using F_GETPIPE_SZ.
57883 2010-07-05  Roland McGrath  <roland@redhat.com>
57885         * manual/arith.texi (Rounding Functions): Fix rint description
57886         implicit in round description.
57888 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57890         * elf/Makefile: Fix linking for a few tests to make recent linker
57891         happy.
57893 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57895         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57896         $(common-objpfx)libc_nonshared.a.
57898 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57900         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57901         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57902         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57903         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57904         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57905         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57906         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57907         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57922         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57923         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57924         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57925         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57926         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57927         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57928         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57929         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57930         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57931         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57932         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57933         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57949 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57951         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57952         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57953         * string/memmove.c (memmove): Renamed to ...
57954         (MEMMOVE): ...this.  Default to memmove.
57955         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57956         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57957         (END_CHK): Define.
57958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57959         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57960         mempcpy-ssse3-back memmove-ssse3-back.
57961         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57962         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57963         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57964         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57965         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57966         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57967         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57968         * sysdeps/x86_64/multiarch/memmove.c: New file.
57969         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57970         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57971         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57972         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57973         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57974         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57975         Define.
57976         (index_Fast_Copy_Backward): Define.
57977         (HAS_ARCH_FEATURE): Define.
57978         (HAS_FAST_REP_STRING): Define.
57979         (HAS_FAST_COPY_BACKWARD): Define.
57981 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57983         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57984         Restore proper fallback handling.
57986 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57988         [BZ #11701]
57989         * posix/group_member.c (__group_member): Correct checking loop.
57991         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57992         OOM in getpwuid_r correctly.  Return error number when the caller
57993         should return, otherwise -1.
57994         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57995         call returning > 0 value.
57996         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57998 2010-06-07  Andreas Schwab  <schwab@redhat.com>
58000         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58001         libc_nonshared.a from targets in modules-names.
58003 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
58005         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58006         requires it.
58008 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58010         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58011         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58012         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58013         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58015 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58017         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58019 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58021         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58022         and F_GETPIPE_SZ.
58023         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58024         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58025         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58026         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58027         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58028         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58030 2010-06-14  Roland McGrath  <roland@redhat.com>
58032         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58034 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58036         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58037         __REDIRECT followed by __THROW.
58038         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58039         * posix/getopt.h (getopt): Likewise.
58041 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58043         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58044         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58045         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58046         in AT_FLAGS.
58047         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58048         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58050 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58052         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58054 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58056         [BZ #11640]
58057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58058         Properly check family and model.
58060 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58062         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58064 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58066         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58068 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58070         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58071         symbol reference.
58073 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58075         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58076         symbol reference.
58078 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58080         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58081         and internal_recvmmsg.
58082         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58083         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58084         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58085         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58087         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58088         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58089         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58091 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58093         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58095 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58097         POWER7 optimizations.
58098         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58099         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58101 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58103         * version.h: Update for 2.13 development version.
58105 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58107         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58108         exceptions.  Return 0.
58110 2010-05-07  Roland McGrath  <roland@redhat.com>
58112         * elf/ldconfig.c (main): Add a const.
58114 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58116         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58117         (args_options): Add no-idn option.
58118         (ahosts_keys_int): Add idn_flags to ai_flags.
58119         (parse_option): Handle 'i' option to clear idn_flags.
58121         * malloc/malloc.c (_int_free): Possible race in the most recently
58122         added check.  Only act on the data if no current modification
58123         happened.
58125 See ChangeLog.17 for earlier changes.