_nss_compat_initgroups_dyn: Use struct scratch_buffer instead of extend_alloca
[glibc.git] / ChangeLog
blobf9c5f68dbcfbea0c7816ef7ecd409a3260281d24
1 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3         * elf/pldd.c (main): Rewrite to use struct
4         scratch_buffer instead of extend_alloca.
5         * elf/pldd-xx.c (find_maps): Likewise.
6         * grp/initgroups.c: Include <scratch_buffer.h> instead of
7         <alloca.h>.
8         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
9         scratch_buffer instead of extend_alloca.
10         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
11         grp/compat-initgroups.c.
12         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
13         Rewrite to use struct scratch_buffer instead of extend_alloca.
15 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17         * math/auto-libm-test-in: Add more tests of cbrt.
18         * math/auto-libm-test-out: Regenerated.
19         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21         * math/auto-libm-test-in: Add more tests of cabs.
22         * math/auto-libm-test-out: Regenerated.
23         * sysdeps/i386/fpu/libm-test-ulps: Update.
24         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26         [BZ #18210]
27         [BZ #18211]
28         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
29         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30         computations.
31         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32         clog10.
33         * math/auto-libm-test-out: Regenerated.
34         * sysdeps/i386/fpu/libm-test-ulps: Update.
35         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37         [BZ #18197]
38         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
39         (atan): Set FE_TONEAREST mode for internal computations.
40         * math/auto-libm-test-in: Add more tests of atan.
41         * math/auto-libm-test-out: Regenerated.
43 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
45         [BZ #17930]
46         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
48 2015-04-07  Florian Weimer  <fweimer@redhat.com>
50         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
52 2015-04-07  Florian Weimer  <fweimer@redhat.com>
54         * include/scratch_buffer.h: New file.
55         * malloc/scratch_buffer_grow.c: Likewise.
56         * malloc/scratch_buffer_grow_preserve.c: Likewise.
57         * malloc/scratch_buffer_set_array_size.c: Likewise.
58         * malloc/tst-scratch_buffer.c: Likewise.
59         * malloc/Makefile (routines): Add scratch_buffer_grow.
60         (tests): Add test case.
61         * malloc/Versions (GLIBC_PRIVATE): Export
62         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
63         __libc_scratch_buffer_set_array_size.
65 2015-04-06  Richard Henderson  <rth@redhat.com>
67         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
68         * sysdeps/alpha/fpu/libm-test-ulps: Update.
70         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
71         unsigned int before printing.
73 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
75         [BZ #17596]
76         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
77         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
79 2015-04-02  Florian Weimer  <fweimer@redhat.com>
81         * include/libc-internal.h (libc_max_align_t): Define.
83 2015-04-02  Andreas Schwab  <schwab@suse.de>
85         [BZ #16850]
86         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
88 2015-04-02  Mel Gorman  <mgorman@suse.de>
90         [BZ #17195]
91         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
92         as well as the main arena.
94 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
96         [BZ #18185]
97         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
98         sharing L2 cache to 2 for Silvermont/Knights Landing.
100 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
102         [BZ #17711]
103         * config.make.in (have-protected-data): New.
104         * configure.ac: Check linker support for protected data symbol.
105         * configure: Regenerated.
106         * elf/Makefile (modules-names): Add tst-protected1moda and
107         tst-protected1modb if $(have-protected-data) is yes.
108         (tests): Add tst-protected1a and tst-protected1b if
109         $(have-protected-data) is yes.
110         ($(objpfx)tst-protected1a): New.
111         ($(objpfx)tst-protected1b): Likewise.
112         (tst-protected1modb.so-no-z-defs): Likewise.
113         * elf/tst-protected1a.c: New file.
114         * elf/tst-protected1b.c: Likewise.
115         * elf/tst-protected1mod.h: Likewise.
116         * elf/tst-protected1moda.c: Likewise.
117         * elf/tst-protected1modb.c: Likewise.
119 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
121         [BZ #17711]
122         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
123         indicates it is called from do_lookup_x on relocation against
124         protected data, skip the data definion in the executable from
125         copy reloc.
126         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
127         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
128         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
129         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
130         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
131         otherwise to 0.
132         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
133         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
134         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
135         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
136         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
137         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
139 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
141         * sysdeps/nptl/pthread.h: Remove duplicate definition of
142         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
144 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
146         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
147         THREAD_SETMEM_NC.
148         * sysdeps/x86_64/nptl/tls.h: Ditto.
150 2015-03-27  Roland McGrath  <roland@hack.frob.com>
152         * dlfcn/tststatic.c (main): Converted to ...
153         (do_test): ... this.
154         (TEST_FUNCTION): New macro.
155         Include test-skeleton.c.
157 2015-03-26  Alan Modra  <amodra@gmail.com>
159         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
160         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
161         zero for undefined weak.
162         (elf_machine_plt_conflict): Similarly.
164 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
166         * math/auto-libm-test-in: Add more tests of acosh, asinh and
167         atanh.
168         * math/auto-libm-test-out: Regenerated.
169         * sysdeps/i386/fpu/libm-test-ulps: Update.
170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
172         * math/auto-libm-test-in: Add another test of asin.
173         * math/auto-libm-test-out: Regenerated.
174         * sysdeps/i386/fpu/libm-test-ulps: Update.
175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
178         Remove macro.
179         (LLL_EBX_REG): Likewise.
180         (LLL_ENTER_KERNEL): Likewise.
182         * math/auto-libm-test-in: Add more tests of asin.
183         * math/auto-libm-test-out: Regenerated.
184         * sysdeps/i386/fpu/libm-test-ulps: Update.
185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187         [BZ #18138]
188         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
189         libc_do_syscall_args): New structure.
190         (INTERNAL_SYSCALL_MAIN_0): New macro.
191         (INTERNAL_SYSCALL_MAIN_1): Likewise.
192         (INTERNAL_SYSCALL_MAIN_2): Likewise.
193         (INTERNAL_SYSCALL_MAIN_3): Likewise.
194         (INTERNAL_SYSCALL_MAIN_4): Likewise.
195         (INTERNAL_SYSCALL_MAIN_5): Likewise.
196         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
197         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
198         Replace conditional definitions by conditional definitions of ....
199         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
200         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
201         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
202         (libpthread-sysdep_routines): Add libc-do-syscall.
203         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
204         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
205         to __NR_futex not 240.
207 2015-03-25  Alan Modra  <amodra@gmail.com>
209         * NEWS: Advertise TLS optimization.
210         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
211         (DT_PPC_NUM): Increment.
212         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
213         (CHECK_STATIC_TLS): Use here.
214         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
215         TLS descriptors.
216         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
217         * sysdeps/powerpc/dl-tls.c: New file.
218         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
219         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
220         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
221         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
226 2015-03-25  Alan Modra  <amodra@gmail.com>
228         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
229         for overlapping .opd entries" to "support...".
230         * sysdeps/powerpc/powerpc64/configure: Regenerate
232 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
234         * math/auto-libm-test-in: Add more tests of acos.
235         * math/auto-libm-test-out: Regenerated.
236         * sysdeps/i386/fpu/libm-test-ulps: Update.
237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
239         * math/auto-libm-test-in: Add more tests of expm1.
240         * math/auto-libm-test-out: Regenerated.
241         * sysdeps/i386/fpu/libm-test-ulps: Update.
242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
244 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
246         * math/auto-libm-test-in: Add more tests of cosh and sinh.
247         * math/auto-libm-test-out: Regenerated.
248         * sysdeps/i386/fpu/libm-test-ulps: Update.
249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
251         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
254         * math/auto-libm-test-in: Add more tests of log2.
255         * math/auto-libm-test-out: Regenerated.
256         * sysdeps/i386/fpu/libm-test-ulps: Update.
257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
259 2015-03-23  Roland McGrath  <roland@hack.frob.com>
261         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
262         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
263         _IO_IS_APPENDING bit in READ_WRITE instead.
265 2015-03-23  Florian Weimer  <fweimer@redhat.com>
267         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
268         (__determine_cpumask_size): Replace extend_alloca with a
269         variable-length array.  Do not treat res == 0 as an error.
271 2015-03-23  Florian Weimer  <fweimer@redhat.com>
273         [BZ #18100]
274         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
275         and integer overflow.
276         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
277         (main): Add integer overflow tests.
278         * manual/pattern.texi (Calling Wordexp): Document additional use
279         for WRDE_SYNTAX.
281 2015-03-23  Alan Modra  <amodra@gmail.com>
283         * config.h.in: Remove HAVE_ASM_PPC_REL16.
284         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
285         and false branch of conditional.
286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
287         Likewise.
289 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
291         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
292         libc-modules.h
293         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
294         unused declaration of _hurd_intr_rpc_msg_in_trap.
295         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
296         defined instead of whether it is non-zero.
297         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
298         input constraint instead of both input and output constraint.  Use ecx
299         clobber instead of %ecx.
300         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
301         mutex_unlock): Use a statement expression instead of an expression list.
302         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
303         type to vm_size_t instead of vm_address_t.
304         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
305         defined instead of whether it is non-zero.
306         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
307         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
308         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
309         comparisons with mapaddr.
310         * nscd/nscd-client.h: Include <time.h>.
311         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
312         9th parameter to __vm_region instead of int.
313         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
314         * scripts/check-local-headers.sh (exclude): Add device/,
315         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
316         cthreads.h.
318 2015-03-19  Roland McGrath  <roland@hack.frob.com>
320         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
321         to account for alignment padding.
322         * sysdeps/arm/memmove.S: Likewise.
324 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
326         * sysdeps/unix/sysv/linux/generic/README: New file.
328 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
330         [BZ #18138]
331         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
332         (futex_abstimed_wait)
333         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
334         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
335         of lll_futex_timed_wait.
337 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
339         [BZ #17542]
340         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
342 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
344         [BZ #17090]
345         [BZ #17620]
346         [BZ #17621]
347         [BZ #17628]
348         * NEWS: Update.
349         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
350         entries with Static TLS too.  Skip entries past the end of the
351         allocated DTV, from Alan Modra.
352         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
353         Static TLS DTV entry set up from...
354         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
355         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
356         * nptl/allocatestack.c (init_one_static_tls): ... and here...
357         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
358         for Static TLS.
359         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
360         that the slot we find is associated with the given map before
361         using its generation count.
362         * nptl_db/db_info.c: Include ldsodefs.h.
363         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
364         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
365         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
366         (link_map::l_tls_offset): New struct field.
367         (dtv_t::counter): Likewise.
368         (rtld_global): New struct.
369         (_rtld_global): New rtld variable.
370         (dl_tls_dtv_slotinfo_list): New rtld global field.
371         (dtv_slotinfo_list): New struct.
372         (dtv_slotinfo): Likewise.
373         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
374         (td_lookup): Rename to...
375         (td_mod_lookup): ... this.  Use new mod parameter instead of
376         LIBPTHREAD_SO.
377         * nptl_db/td_thr_tlsbase.c: Include link.h.
378         (dtv_slotinfo_list, dtv_slotinfo): New functions.
379         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
380         addresses even if the DTV is out of date or missing them.
381         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
382         index zero-length arrays.
383         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
384         (td_lookup): Make it a macro implemented in terms of...
385         (td_mod_lookup): ... this declaration.
386         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
387         (DB_MAIN_VARIABLE): Likewise.
389 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
391         [BZ #18134]
392         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
394 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
396         * stdlib/setenv.c (__add_to_environ): Revert previous change.
398 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
400         [BZ #18128]
401         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
402         (atomic_add, atomic_increment_and_test)
403         (atomic_decrement_and_test): Fix 64-bit arithmetic.
405 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
407         * stdlib/setenv.c (__add_to_environ):
408         Dump core quickly if setenv (..., NULL, ...) is called.
410 2015-03-13  Roland McGrath  <roland@hack.frob.com>
412         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
413         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
414         all the necessary asm magic in one place.
415         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
416         using those.
418 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
420         [BZ #14906]
421         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
422         traced file mtime. Use consistent log message.
423         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
424         (register_traced_file): Call install_watches. Always set mtime.
425         (invalidate_cache): Iterate over all trace files. Call install_watches.
426         (inotify_check_files): Don't inline. Handle watching parent
427         directories and configuration file movement in and out.
428         (handle_inotify_events): New function.
429         (main_loop_poll): Call handle_inotify_events.
430         (main_loop_epoll): Likewise.
431         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
432         (struct traced_file): Use array of inotify fds. Add parent directory,
433         and basename.
434         (struct database_dyn): Remove unused file_mtime.
435         (init_traced_file): New inline function.
436         (define_traced_file): New macro.
437         * nss/nss_db/db-init.c: Use define_traced_file.
438         (_nss_db_init): Use init_traced_file.
439         * nss/nss_files/files-init.c: Use define_traced_file.
440         (_nss_files_init): Use init_traced_file.
442 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
444         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
445         [_LIBC]: Do not include <stdlib.h>.
446         [!_LIBC] (abort): Remove declaration.
447         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
448         _FP_STATIC_ASSERT instead of conditionally calling abort.
449         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
450         (_FP_EXTEND_CNAN): Likewise.
451         (FP_TRUNC): Likewise.
452         (__FP_CLZ): Likewise.
453         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
455 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
457         * manual/string.texi (XPG basename): Fix prototype.
459 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
461         [BZ #18080]
462         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
463         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
464         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
465         (__setcontext): Likewise.
466         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
467         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
468         Call rt_sigprocmask syscall one time to set new signal mask
469         and retrieve the current signal mask instead of two calls.
470         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
471         (__swapcontext): Likewise.
472         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
473         * stdlib/tst-setcontext2.c: New file.
475 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
479 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
481         [BZ #18093]
482         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
483         the wrong size.
485 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
487         [BZ #18043]
488         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
490 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
492         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
493         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
494         Remove define.
495         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
496         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
497         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
498         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
499         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
500         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
501         define.
502         * nptl_db/td_symbol_list.c (td_lookup): Remove
503         HAVE_ASM_GLOBAL_DOT_NAME code.
504         * sysdeps/powerpc/powerpc64/configure.ac: Remove
505         HAVE_ASM_GLOBAL_DOT_NAME check.
506         * sysdeps/powerpc/powerpc64/configure: Regenerate.
507         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
508         (DOT_LABEL): Remove define.
509         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
510         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
511         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
512         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
513         (__TLS_GET_ADDR): Likewise.
514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
515         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
517 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
519         [BZ #18111]
520         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
521         (_FPU_SETCW): Initialize cw from fpsr before storing.
522         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
523         (fesetexceptflag): Rewrite using fpu_control.h.
524         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
526 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
528         [BZ #18110]
529         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
530         asms.
531         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
533 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
535         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
536         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
537         abort.
538         (_FP_FMA): Likewise.
539         (_FP_DIV): Likewise.
541 2015-03-10  Roland McGrath  <roland@hack.frob.com>
543         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
544         with 0 in that case.
545         * Makefile (summarize-tests): New canned sequence, factored out of
546         commands for targets tests and xtests.  Display summary lines that
547         don't start with PASS: or XFAIL: rather than ones that do start with
548         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
549         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
550         do start with ERROR: or FAIL:.
551         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
552         (except for [$(build-shared) = yes]).
553         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
554         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
555         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
556         * nptl/Makefile: Revert 2015-03-04 changes.
557         [$(CXX) empty] (tests-unsupported): New variable.
558         * debug/Makefile: Likewise.
560         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
561         gnulib file.  Replace __attribute with __attribute__ throughout.
563 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
565         * sysdeps/hppa/fpu/libm-test-ulps: Update.
567 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
569         [BZ #18104]
570         * math/auto-libm-test-in: Add another test of pow.
571         * math/auto-libm-test-out: Regenerated.
573 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
575         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
576         $(config-cflags-nofma).
578 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
580         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
581         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
582         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
583         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
584         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
585         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
586         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
587         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
588         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
589         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
590         Add comment on closing #endif.
592 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
594         * posix/wordexp.c (CHAR_IN_SET): New macro.
595         (parse_param): Use it.
597 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
599         * sysdeps/powerpc/fpu/libm-test-ulps: update.
601 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
603         [BZ #18043]
604         * posix/wordexp.c (parse_param): Fix buffer overflow.
605         * posix/wordexp-test.c (test_case): Add test case.
607 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
609         [BZ #18042]
610         * posix/wordexp.c (parse_backtick): Fix off-by-one.
611         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
613 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
615         [BZ #18043]
616         * posix/wordexp-test.c (test_case): Add test for BZ #18043
617         (do_bz18043): Delete.
618         (at_page_end): New.
619         (testit): Refactor to have words at the edge of unreadable page.
621 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
623         [BZ #16734]
624         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
625         Cleanup read-only streams as well.
626         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
628 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
630         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
631         <bits/libc-lockP.h>
633 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
635         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
636         on [__KERNEL__].
637         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
638         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
639         * soft-fp/op-common.h (_FP_DECL): Likewise.
641 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
643         * elf/ifuncdep2.c (global): Replace
644         __attribute__((visibility("protected"))) with
645         asm (".protected global").
646         * elf/ifuncmod1.c (global): Likewise.
647         * elf/ifuncmod5.c (global): Likewise.
649 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
651         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
652         <asm/sfp-machine.h> instead of <sfp-machine.h>.
654 2015-03-06  Roland McGrath  <roland@hack.frob.com>
656         * manual/install.texi (Configuring and compiling):
657         Document test-wrapper-env-only.
658         * INSTALL: Regenerated.
660 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
662         [BZ #18043]
663         * posix/wordexp.c (parse_param): Fix buffer overflow.
664         * posix/wordexp-test.c (do_bz18043): Add test case.
666 2015-03-06  Vincent Bernat  <vincent@bernat.im>
668         * time/tst-strptime2.c (do_test): Ensure failing tests are
669         reported correctly.
670         * time/tst-strptime3.c (do_test): Likewise.
672 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
674         Fix aio_error thread-safety.
675         * sysdeps/pthread/aio_error.c: New file
676         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
677         synchronization.
679 2015-03-06  Florian Weimer  <fweimer@redhat.com>
681         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
682         (group_number, vfprintf): Use it.
683         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
684         (JUMP, REF): Use it.
685         (WORK_BUFFER_SIZE): New enum constant.
686         (process_arg, vfprintf): Use it.
688 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
690         * manual/errno.texi (Error Messages): Complete example function
691         by adding missing #define.
692         (program_invocation_name): Add statement indicating GNU
693         extension and reference which header file declares the variable.
694         (program_invocation_short_name): Likewise.
696 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
698         * manual/errno.texi (Error Messages): Delete strerror ISO C89
699         compatibility note.
701 2015-03-05  Roland McGrath  <roland@hack.frob.com>
703         * Makeconfig (test-wrapper-env-only): New variable.
704         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
705         then use that with $(test-wrapper-env-only) rather than using
706         $(test-wrapper-env) $(run-program-env) $($*-ENV).
708 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
710         [BZ #18082]
711         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
712         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
713         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
714         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
715         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
716         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
717         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
718         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
719         Likewise.
720         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
721         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
722         Likewise.
723         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
724         Likewise.
725         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
726         Likewise.
727         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
728         Likewise.
729         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
730         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
731         Likewise.
732         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
733         Likewise.
734         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
735         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
737 2015-03-04  Roland McGrath  <roland@hack.frob.com>
739         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
740         (ETH_ALEN): New macro.
741         (struct ether_addr): Use it for length of ether_addr_octet.
743         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
744         (setdb): Don't call __nss_configure_lookup for "rpc".
745         (do_test): Don't call test_rpc.
746         (output_rpcent, test_rpc): Functions moved ...
747         * sunrpc/test-rpcent.c: ... to this new file.
748         * sunrpc/Makefile (tests): Add it.
750         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
751         __xpg_sigpause.
752         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
753         * nptl/tst-signal6.c: Likewise.
754         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
755         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
757         * configure.ac (libc_cv_cxx_link_ok): New check.
758         Reset CXX to empty if it fails to link.
759         * configure: Regenerated.
760         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
761         bug-atexit3-lib only if $(CXX) is nonempty.
762         * nptl/Makefile (tests): Likewise for tst-cancel24.
763         (tests, tests-static): Likewise for tst-cancel24-static.
764         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
765         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
766         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
767         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
769 2015-03-04  Andreas Schwab  <schwab@suse.de>
771         [BZ #17631]
772         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
773         for non-GCC compilers.
774         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
775         Likewise.
777 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
779         [BZ #17776]
780         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
781         integer before bitwise and assembly operations.
782         (feclearexcept): Likewise.
783         * math/test-fenvinline.c: New file.
784         * math/Makefile: Add test-fenvinline test.
786 2015-03-03  Alan Modra  <amodra@gmail.com>
788         [BZ #16512]
789         * scripts/localplt.awk: Strip off symbol version.
790         * NEWS: Mention bug fix.
792 2015-03-02  Roland McGrath  <roland@hack.frob.com>
794         * sysdeps/pthread/timer_routines.c
795         (timer_free_list, thread_free_list, thread_active_list): Make static.
797 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
799         [BZ #17779]
800         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
801         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
802         Undefine.
803         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
804         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
805         Likewise.
806         * sysdeps/unix/sysv/linux/sh/kernel-features.h
807         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
808         Likewise.
810 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
812         [BZ #18036]
813         * posix/fnmatch_loop.c (END): Detect invalid pattern.
814         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
816 2015-03-02  Andreas Schwab  <schwab@suse.de>
818         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
819         variable name.
821 2015-03-02  Florian Weimer  <fweimer@redhat.com>
823         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
824         Return error status.
826 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
828         [BZ #15969]
829         * locale/findlocale.c (_nl_find_locale): Introduce const
830         version of loc_name and drop unsafe type casts.
832 2015-02-27  Roland McGrath  <roland@hack.frob.com>
834         * dlfcn/tststatic2.c (main): Converted to ...
835         (do_test): ... this.
836         (TEST_FUNCTION): New macro.
837         Include test-skeleton.c.
839 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
841         [BZ #17711]
842         * elf/Makefile (tests): Add vismain only if PIE is enabled.
843         (tests-pie): Add vismain.
844         (CFLAGS-vismain.c): New.
845         * elf/vismain.c: Add comments for PIE requirement.
847 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
849         [BZ #18046]
850         [BZ #18047]
851         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
852         0x1p-56L as threshold for just returning the argument.
853         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
854         0x1p-32L as threshold for just returning the argument.
855         * math/auto-libm-test-in: Add more tests of atanh.
856         * math/auto-libm-test-out: Regenerated.
857         * sysdeps/i386/fpu/libm-test-ulps: Update.
858         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
860 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
862         * string/bcopy.c (bcopy): Call memmove for performance.
864 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
866         * string/bzero.c (__bzero): Call memset for performance.
868 2015-02-27  John David Anglin  <dave.anglin@bell.net>
870         [BZ #18068]
871         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
872         to 00100000.
874 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
876         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
878 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
880         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
881         (__kernel_standard): Use CSTR macro when setting exc.name.
882         * sysdeps/ieee754/Makefile [$(subdir) = math]
883         (CFLAGS-k_standard.c): Remove variable.
885         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
886         setting p and q from "else if" to "else".
887         (qzero): Likewise.
888         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
889         (qone): Likewise.
890         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
891         (qzerof): Likewise.
892         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
893         (qonef): Likewise.
894         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
895         (qzero): Likewise.
896         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
897         (qone): Likewise.
899         [BZ #18038]
900         [BZ #18039]
901         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
902         return pi/2 for arguments below 0x1p-113L.
903         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
904         return pi/2 for arguments below 0x1p-106L.
905         * math/auto-libm-test-in: Add more tests of acos.
906         * math/auto-libm-test-out: Regenerated.
908         [BZ #16351]
909         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
910         (MO): New macro.
911         (__ieee754_asin): Force underflow exception for results with small
912         absolute value.
913         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
914         (MO): New macro.
915         (__ieee754_asinf): Force underflow exception for results with
916         small absolute value.
917         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
918         (__ieee754_asin): Force underflow exception for results with small
919         absolute value.
920         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
921         (__ieee754_asinf): Force underflow exception for results with
922         small absolute value.
923         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
924         (__ieee754_asinl): Force underflow exception for results with
925         small absolute value.
926         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
927         (__ieee754_asinl): Force underflow exception for results with
928         small absolute value.
929         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
930         (__ieee754_asinl): Force underflow exception for results with
931         small absolute value.
932         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
933         Include <math.h>.
934         * math/auto-libm-test-in: Do not mark underflow exceptions as
935         possibly missing for bug 16351.
936         * math/auto-libm-test-out: Regenerated.
938         [BZ #18030]
939         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
940         of power of 2 down when low part has opposite sign.
941         * math/libm-test.inc (logb_test_data): Add more tests.
943 2015-02-26  Andreas Schwab  <schwab@suse.de>
945         [BZ #18032]
946         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
947         over collating symbol inside a bracket expression.  Minor cleanup.
948         * posix/tst-fnmatch3.c (do_test): Add test case.
950 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
952         [BZ #18029]
953         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
954         Adjust exponent of power of 2 down when low part has opposite
955         sign.
956         * math/libm-test.inc (ilogb_test_data): Add more tests.
958 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
960         [BZ #15969]
961         * locale/findlocale.c (_nl_find_locale): Fix constness error in
962         the previous change.
964         [BZ #15969]
965         * locale/findlocale.c (_nl_find_locale): Retry archive search
966         after alias expansion.
968 2015-02-25  Roland McGrath  <roland@hack.frob.com>
970         * iconv/tst-iconv3.c (main): Converted to ...
971         (do_test): ... this.
972         (TEST_FUNCTION): New macro.
973         Include test-skeleton.c.
975         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
976         (convert): Make function static.
977         (test_unalign): Likewise.  Add const to argument pointee types.
978         (main): Replace with static function do_test.
979         Print "Succeeded." only if RET is zero.
980         (TEST_FUNCTION): New macro.
981         Include test-skeleton.c.
983         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
984         returns a null pointer.
986 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
988         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
989         to __memcpy_ppc only for static builds.
991 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
993         [BZ #18020]
994         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
995         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
996         * math/auto-libm-test-in: Add more tests of asinh.
997         * math/auto-libm-test-out: Regenerated.
998         * sysdeps/i386/fpu/libm-test-ulps: Update.
999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1001 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
1003         [BZ #15850]
1004         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1005         and ip6_mtuinfo definitions here.
1006         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1007         in this define too.  Update comment.
1009 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
1011         * elf/sprof.c (load_shobj): Tweak error message to match others.
1013 2015-02-24  Kevin Easton  <kevin@guarana.org>
1015         [BZ #16145] (partial fix)
1016         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1017         to reduce lock contention.
1019 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
1021         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1022         (struct timex): Update time comment.
1023         (ADJ_SETOFFSET): Define.
1025 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1027         [BZ #18019]
1028         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1029         2**56 not 2**28 as threshold for log (2x) formula.
1030         * math/auto-libm-test-in: Add more tests of acosh.
1031         * math/auto-libm-test-out: Regenerated.
1032         * sysdeps/i386/fpu/libm-test-ulps: Update.
1033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1035 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1037         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1038         parenthesis around the buf assignment.
1039         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1041 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1043         [BZ #16783]
1044         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1045         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1046         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1047         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1048         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1049         * math/libm-test.inc (scalb_test_data): Add more tests.
1051 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1053         [BZ #17916]
1054         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1055         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1057 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1059         [BZ #17523]
1060         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1061         * io/bits/fcntl2.h (open): Use it.
1062         (openat): Likewise.
1063         * io/open.c (__libc_open): Likewise.
1064         * io/open64.c (__libc_open64): Likewise.
1065         * io/open64_2.c (__open64_2): Likewise.
1066         * io/open_2.c (__open_2): Likewise.
1067         * io/openat.c (__openat): Likewise.
1068         * io/openat64.c (__openat64): Likewise.
1069         * io/openat64_2.c (__openat64_2): Likewise.
1070         * io/openat_2.c (__openat_2): Likewise.
1071         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1072         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1073         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1074         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1075         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1076         (__open_nocancel): Likewise.
1077         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1078         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1079         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1081 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1083         [BZ #14841]
1084         * resolv/gethnamaddr.c (getanswer): Skip logging if
1085         RES_USE_DNSSEC is set.
1086         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1088 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1090         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1092 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1094         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1095         201304L, for Unicode 7.
1097 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1099         [BZ #17836]
1100         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1101         shared library.  Add gmon-start.os otherwise.
1102         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1103         $(objpfx)gmon-start.os if builing shared library.
1104         ($(objpfx)g$(static-start-installed-name)): Likewise.
1106 2015-02-23  Andreas Schwab  <schwab@suse.de>
1108         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1110 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1112         [BZ #17269]
1113         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1114         (enlarge_userbuf): Likewise.
1116 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1118         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1119         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1120         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1121         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1123 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1125         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1126         expression inside statement expression.
1128 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1130         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1131         <sysdeps/nptl/lowlevellock.h> and remove macros and
1132         functions that are now defined there.
1133         (SYS_futex): Remove.
1134         (lll_compare_and_swap): Remove.
1135         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1137 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1139         [BZ #17999]
1140         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1141         instead of scandirat.
1142         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1143         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1144         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1145         __scandirat.
1146         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1147         (__scandirat): Declare.  Use libc_hidden_proto.
1148         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1149         Remove variable.
1150         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1152 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1154         [BZ #15319]
1155         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1156         (MO): New macro.
1157         (__ieee754_atan2): For results with small absolute value, force
1158         underflow exception and remove excess range and precision from
1159         return value.
1160         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1161         (MO): New macro.
1162         (__ieee754_atan2f): For results with small absolute value, force
1163         underflow exception and remove excess range and precision from
1164         return value.
1165         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1166         (MO): New macro.
1167         (__atan): For results with small absolute value, force underflow
1168         exception and remove excess range and precision from return value.
1169         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1170         (MO): New macro.
1171         (__atanf): For results with small absolute value, force underflow
1172         exception and remove excess range and precision from return value.
1173         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1174         <math.h>.
1175         (__ieee754_atan2): Force underflow exception for results with
1176         small absolute value.
1177         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1178         <math_private.h>.
1179         (atan): Force underflow exception for results with small absolute
1180         value.
1181         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1182         (__atanf): Force underflow exception for results with small
1183         absolute value.
1184         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1185         <math.h>.
1186         (__atanl): Force underflow exception for results with small
1187         absolute value.
1188         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1189         (__atanl): Force underflow exception for results with small
1190         absolute value.
1191         * sysdeps/x86/fpu/bits/mathinline.h
1192         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1193         (__ieee754_atan2): Only define inline for long double.
1194         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1195         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1196         * math/auto-libm-test-in: Do not mark underflow exceptions as
1197         possibly missing for bug 15319.  Add more tests of atan2.
1198         * math/auto-libm-test-out: Regenerated.
1199         * math/libm-test.inc (casin_test_data): Do not mark underflow
1200         exceptions as possibly missing for bug 15319.
1201         (casinh_test_data): Likewise.
1202         * sysdeps/i386/fpu/libm-test-ulps: Update.
1204 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1206         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1207         * sysdeps/mips/bits/endian.h: Fix comments.
1209 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1211         [BZ #17996]
1212         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1213         (hdestroy_r): Likewise.
1214         (hsearch_r): Likewise.
1215         (__hcreate_r): Declare and use libc_hidden_proto.
1216         (__hdestroy_r): Likewise.
1217         (__hsearch_r): Likewise.
1218         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1219         (hcreate): Call __hcreate_r instead of hcreate_r.
1220         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1221         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1222         as weak alias of __hcreate_r.
1223         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1224         __hdestroy_r.
1225         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1226         __hsearch_r.
1227         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1228         Remove variable.
1229         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1230         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1231         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1232         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1234 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1236         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1237         arena_lock into a single arena_get.
1239 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1241         * dl-reloc.c: Inlucde libc-internal.h.
1242         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1243         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1244         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1245         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1246         (grow_heap): Likewise.
1247         * malloc/malloc.c: Include libc-internal.h.
1248         (do_check_malloc): Call powerof2.
1249         (sysmalloc): Use pagesize. Call ALIGN_UP.
1250         (systrim): Use pagesize.
1251         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1252         (__libc_valloc): Use pagesize.
1253         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1255 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1257         [BZ #17991]
1258         * include/sys/resource.h (__getrlimit64): Declare.  Use
1259         libc_hidden_proto.
1260         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1261         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1262         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1263         getrlimit64.
1264         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1265         __getrlimit64.
1266         [!getrlimit64] (getrlimit64): Define as weak alias of
1267         __getrlimit64.  Use libc_hidden_weak.
1268         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1269         using __getrlimit64 not __new_getrlimit64.
1270         (__GI_getrlimit64): Likewise.
1271         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1272         Likewise.
1273         (__GI_getrlimit64): Likewise.
1274         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1276         (getrlimit): Add __getrlimit64 alias.
1277         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1278         Likewise.
1279         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1280         Remove variable.
1281         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1282         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1284 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1286         * libio/fileops.c: Add missing sys/mman.h
1287         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1289 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1291         * manual/math.texi (Errors in Math Functions): Clarify goals
1292         regarding inexact and underflow exceptions.
1294 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1296         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1297         * sysdeps/mips/memset.S: Ditto.
1299 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1301         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1303 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1305         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1306         (__v1longjmp): Remove versioned symbol.
1307         (__v1siglongjmp): Remove alias and versioned symbol.
1308         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1309         (__v2siglongjmp): Likewise.
1311 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1313         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1315 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1317         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1319 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1321         [BZ #17987]
1322         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1323         zero result does not depend on the sign resulting from
1324         subtraction.
1325         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1326         Likewise.
1327         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1328         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1329         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1330         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1331         * math/libm-test.inc (remquo_test_data): Add more tests.
1333 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1335         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1336         Problem reported by J William Piggott.
1338 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1340         [BZ #17978]
1341         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1342         products 4 * y and 2 * y where those would overflow.
1343         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1344         Likewise.
1345         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1346         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1347         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1348         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1349         * math/libm-test.inc (remquo_test_data): Add more tests.
1351         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1353         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1354         [defined _COMPILING_NEWLIB].
1355         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1356         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1358         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1359         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1361 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1363         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1364         acquired.
1366 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1368         [BZ #17792]
1369         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1370         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1371         HOST_STACK_END_ADDR): Likewise.
1373 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1375         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1376         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1377         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1379 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1381         * sysdeps/generic/c++-types.data: New file.
1382         * sysdeps/generic/ld.abilist: New file.
1383         * sysdeps/generic/libBrokenLocale.abilist: New file.
1384         * sysdeps/generic/libanl.abilist: New file.
1385         * sysdeps/generic/libc.abilist: New file.
1386         * sysdeps/generic/libcrypt.abilist: New file.
1387         * sysdeps/generic/libdl.abilist: New file.
1388         * sysdeps/generic/libm.abilist: New file.
1389         * sysdeps/generic/libpthread.abilist: New file.
1390         * sysdeps/generic/libresolv.abilist: New file.
1391         * sysdeps/generic/librt.abilist: New file.
1393 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1395         [BZ #17569]
1396         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1397         Compute absolute value of x as modified by fmod, not original
1398         value of x.
1399         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1400         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1401         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1402         RUN_TEST_ffI_f1_mod8.
1403         (remquo_test_data): Add more tests.
1405 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1407         * sysdeps/init_array/pt-crti.S: New file.
1409 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1411         [BZ #17967]
1412         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1413         __builtin_fmaf instead of relying on contraction of a * b + c.
1415 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1417         [BZ #17969]
1418         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1419         node.
1421 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1423         [BZ #17964]
1424         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1425         __builtin_fma instead of relying on contraction of a * b + c.
1427 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1429         * Makeconfig (ASFLAGS): Add -Werror=undef.
1430         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1431         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1432         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1434         * Makeconfig (after-link): New variable.
1435         (+link-pie, +link-pie-tests): Use it.
1436         (+link-static, +link-static-tests): Likewise.
1437         (+link, +link-tests): Likewise.
1438         * Makerules (build-module, build-module-asneeded): Likewise.
1439         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1440         Likewise.
1441         * elf/Makefile ($(objpfx)ld.so): Likewise.
1443 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1445         [BZ #17965]
1446         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1447         both struct timeval and struct timespec.
1449 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1451         [BZ #16560]
1452         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1453         and redefine.
1454         (__ieee754_exp2l): Do not multiply small fractional parts by
1455         M_LN2l.
1456         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1457         small argument.
1458         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1459         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1460         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1461         * math/auto-libm-test-in: Add more tests of exp2.
1462         * math/auto-libm-test-out: Regenerated.
1464 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1466         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1467         unaligned path.
1469 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1471         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1472         little endian.
1474 2015-02-12  Andreas Schwab  <schwab@suse.de>
1476         [BZ #15790]
1477         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1478         Filter out elision flags from value returned in kind.
1479         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1480         * nptl/tst-pthread-mutexattr.c: New file.
1482 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1484         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1485         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1486         into gnu-gnu, and update comment to refer to abi-tags.
1488 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1490         [BZ #15467]
1491         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1492         (__sincos): Set errno to EDOM for infinite argument.
1493         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1494         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1495         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1496         (__sincosl): Set errno to EDOM for infinite argument.
1497         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1498         (__sincosl): Set errno to EDOM for infinite argument.
1499         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1500         (__sincosl): Set errno to EDOM for infinite argument.
1501         * math/libm-test.inc (sincos_test_data): Test errno setting.
1503 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1505         * string/strxfrm_l.c: Remove #define STRCMP.
1506         * string/strcoll_l.c: Remove #define STRLEN.
1507         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1508         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1510 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1512         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1513         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1514         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1515         * sysdeps/mips/mips64/Makefile: ... here.
1516         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1517         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1518         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1519         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1520         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1521         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1522         * sysdeps/mips/mips64/n64/Implies: Likewise.
1524 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1526         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1527         <sys/time.h>, <string.h>, and <errno.h>.
1528         (dest_offset, dest_address, value, zero): Remove unused variables.
1529         (ldouble): Remove typedef.
1530         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1531         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1532         1).  Fix code style.
1533         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1534         (check): Function removed.
1535         (CHECK): New macro.
1536         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1537         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1538         Don't call set_sigaction_FP and remove_sigaction_FP here.
1539         (ldouble_test): Just use 'long double' as macro argument, no need for
1540         the 'ldouble' typedef.
1541         (do_test): Set up SIGFPE handler at start, using plain signal rather
1542         than sigaction.  Fix code style.
1544 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1546         [BZ #17949]
1547         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1548         jump label.
1550 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1552         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1553         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1555         * sysdeps/powerpc/configure.ac: Remove file.
1556         * sysdeps/powerpc/configure: Likewise.
1558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1559         [sysdep_routines]: Remove wordcopy-power6 object.
1560         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1561         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1562         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1563         (__memmove_ppc32): Likewise.
1564         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1565         file.
1566         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1567         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1568         Remove preprocessor.
1570         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1571         [sysdep_routines]: Remove wide chars objects.
1572         [wcsmbs]: New rule for wide char objects.
1574         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1575         Remove wordcopy-power6 obejct.
1576         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1577         Use local call for wordcopy and memcpy symbols.
1578         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1579         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1580         implementation for loader.
1581         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1583         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1584         Remove wordcopy-power7 object.
1585         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1587         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1588         (_wordcopy_fwd_dest_aligned): Likewise.
1589         (_wordcopy_bwd_aligned): Likewise.
1590         (_wordcopy_bwd_dest_aligned): Likewise.
1592         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1593         Rewrite to call __memmove_ppc instead of include default
1594         implementation.
1596         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1597         Remove wide chars objects.
1598         [wcsmbs]: New rule for wide char objects.
1600 2015-02-09  Andreas Schwab  <schwab@suse.de>
1602         [BZ #17912]
1603         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1604         in terms of __O_DIRECTORY.
1606 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1608         * time/getdate.c: Include <stdbool.h>.
1609         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1610         call PTR_MANGLE.
1611         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1612         PTR_DEMANGLE.
1614 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1616         Add ersatz _Static_assert on older C hosts
1617         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1618         pre-C11 C platform that is not known to support _Static_assert.
1620 2015-02-07  Richard Braun  <rbraun@sceen.net>
1622         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1623         sigstate.
1624         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1626 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1628         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1629         priority against unexistent AIO_PRIO_DELTA_MAX.
1630         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1631         instead of int.
1632         * misc/fchflags.c (fchflags): Likewise.
1633         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1634         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1635         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1636         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1637         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1638         Declare macros.
1639         [__USE_MISC] (chflags, fchflags): Declare functions.
1640         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1641         EINVAL when nfds is greater than FD_SETSIZE.
1642         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1643         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1644         45.
1645         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1646         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1647         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1648         MACH_RCV_TIMED_OUT.
1649         * hurd/hurd/signal.h (_hurd_self_sigstate,
1650         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1651         Explicit casts from void *.
1652         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1653         * abi-tags: Rename gnu-gnu os into gnu.
1655         [BZ #4719]
1656         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1657         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1658         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1659         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1660         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1661         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1663         [BZ #17944]
1664         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1665         duplicates ADDR->sun_path with sockaddr LEN limitation.
1666         * sysdeps/mach/hurd/connect.c: Include <string.h>
1667         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1668         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1669         * sysdeps/mach/hurd/sendto.c: Likewise.
1670         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1671         implementing it by hand.
1673 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1675         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1676         Use sfi_breg on ldr.
1677         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1678         Likewise.
1680         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1681         it's defined.
1682         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1683         Test SIGSETXID only if it's defined.
1685         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1687         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1688         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1690         * nptl/tst-align2.c: Moved ...
1691         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1692         * nptl/Makefile (tests): Remove tst-align2.
1693         * sysdeps/unix/sysv/linux/Makefile
1694         [$(subdir) = nptl] (tests): Add tst-align-clone.
1695         * nptl/tst-getpid1.c: Moved ...
1696         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1697         * nptl/tst-getpid2.c: Moved ...
1698         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1699         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1700         * sysdeps/unix/sysv/linux/Makefile
1701         [$(subdir) = nptl] (tests): ... here.
1702         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1703         * sysdeps/unix/sysv/linux/Makefile
1704         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1706         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1707         Drop trailing \n from perror argument.  Use return rather than exit.
1709         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1710         on [SA_SIGINFO].
1711         * nptl/tst-cancel21.c (do_test): Likewise.
1712         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1713         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1714         [!SA_SIGINFO]: Make it a stub test.
1716         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1717         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1719         * posix/tst-getlogin.c: Move to ...
1720         * login/tst-getlogin.c: ... here.
1721         * posix/Makefile (tests): Move tst-getlogin to ...
1722         * login/Makefile (tests): ... here.
1724         * libio/tst-atime.c (do_test): Move local variables SV and E
1725         inside [ST_NOATIME] conditional.
1727         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1729         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1731         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1732         (wait_code): New function replaces macro.
1733         Call nanosleep rather than syscall.
1735         * nptl/pt-system.c: Rewritten.  Put everything under
1736         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1737         Use IFUNC to redirect when possible.
1739         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1740         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1741         Use IFUNC to redirect when possible.
1743         * nptl/pt-fork.c: Rewritten.  Put everything under
1744         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1745         Use IFUNC to redirect when possible.
1746         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1748         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1749         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1750         unconditionally nowadays.  This included the only reference to
1751         __vdso_clock_gettime that appears outside libc proper.
1752         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1753         Remove version set (containing only __vdso_clock_gettime).
1754         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1755         Add attribute_hidden.
1756         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1757         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1758         libc_hidden_data_def.
1759         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1760         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1762         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1763         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1764         setrpcent, and getrpcport to ...
1765         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1766         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1767         getrpcbynumber_r, and getrpcent_r to ...
1768         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1769         * inet/getrpcbyname.c: Moved ...
1770         * sunrpc/getrpcbyname.c: ... here.
1771         * inet/getrpcbyname_r.c: Moved ...
1772         * sunrpc/getrpcbyname_r.c: ... here.
1773         * inet/getrpcbynumber.c: Moved ...
1774         * sunrpc/getrpcbynumber.c: ... here.
1775         * inet/getrpcbynumber_r.c: Moved ...
1776         * sunrpc/getrpcbynumber_r.c: ... here.
1777         * inet/getrpcent.c: Moved ...
1778         * sunrpc/getrpcent.c: ... here.
1779         * inet/getrpcent_r.c: Moved ...
1780         * sunrpc/getrpcent_r.c: ... here.
1781         * inet/Makefile (routines): Move those to ...
1782         * sunrpc/Makefile (routines): ... here.
1783         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1784         the $(subdirs) list.
1785         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1786         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1787         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1788         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1790         * elf/Makefile (routines): Include $(all-dl-routines), not just
1791         $(dl-routines).
1792         (rtld-routines): Likewise.  Use = rather than :=.
1793         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1794         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1795         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1796         * sysdeps/arm/Makefile: Likewise.
1797         * sysdeps/i386/Makefile: Likewise.
1798         * sysdeps/x86_64/Makefile: Likewise.
1799         * sysdeps/hppa/Makefile [$(subdir) = elf]
1800         (sysdep_routines, sysdep-rtld-routines): Don't add
1801         $(sysdep-dl-routines) to these.
1802         * sysdeps/ia64/Makefile: Likewise.
1803         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1804         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1805         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1806         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1807         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1808         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1809         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1810         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1811         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1812         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1813         these; sysdep-dl-routines alone is enough.
1815 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1817         [BZ #17932]
1818         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1819         where multiplication results in zero and third argument is finite
1820         and nonzero.
1821         * math/auto-libm-test-in: Add more tests of fma.
1822         * math/auto-libm-test-out: Regenerated.
1824         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1825         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1826         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1827         (_FP_CMP_EQ): Likewise.
1828         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1830         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1831         extra argument CHECK_NAN.  Redefine as wrapper around
1832         _FP_EXTEND_CNAN.
1834 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1836         * version.h (RELEASE): Set to "stable".
1837         (VERSION): Set to "2.21"
1838         * include/features.h (__GLIBC_MINOR__): Set to 21.
1840         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1842 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1843             Paul Eggert  <eggert@cs.ucla.edu>
1845         [BZ #16618]
1846         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1847         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1848         size in bytes. Store needed elements in wpmax. Use needed size
1849         in bytes for extend_alloca.
1851 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1853         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1854         binutls 2.25, and texinfo 5.2.
1855         * INSTALL: Regenerate.
1856         * sysdeps/nios2/configure: Regenerate.
1857         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1858         * manual/contrib.texi: Update.
1859         * po/be.po: Update.
1860         * po/bg.po: Update.
1861         * po/ca.po: Update.
1862         * po/cs.po: Update.
1863         * po/da.po: Update.
1864         * po/de.po: Update.
1865         * po/el.po: Update.
1866         * po/eo.po: Update.
1867         * po/es.po: Update.
1868         * po/fi.po: Update.
1869         * po/fr.po: Update.
1870         * po/gl.po: Update.
1871         * po/hr.po: Update.
1872         * po/hu.po: Update.
1873         * po/ia.po: Update.
1874         * po/id.po: Update.
1875         * po/it.po: Update.
1876         * po/ja.po: Update.
1877         * po/ko.po: Update.
1878         * po/lt.po: Update.
1879         * po/nb.po: Update.
1880         * po/nl.po: Update.
1881         * po/pl.po: Update.
1882         * po/pt_BR.po: Update.
1883         * po/ru.po: Update.
1884         * po/rw.po: Update.
1885         * po/sk.po: Update.
1886         * po/sl.po: Update.
1887         * po/sv.po: Update.
1888         * po/tr.po: Update.
1889         * po/uk.po: Update.
1890         * po/vi.po: Update.
1891         * po/zh_CN.po: Update.
1892         * po/zh_TW.po: Update.
1894         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1895         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1896         * sysdeps/hppa/dl-irel.h: Remove #warning.
1897         * sysdeps/hppa/entry.h: Provide prototype for
1898         __canonicalize_funcptr_for_compare and cast argument.
1899         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1900         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1901         * sysdeps/hppa/sotruss-lib.c: New file.
1902         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1903         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1904         (atomic_compare_and_exchange_bool_acq): Likewise.
1905         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1906         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1908         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1909         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1910         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1912 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1914         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1915         called function in non-PIC case.
1917 2015-01-31  David S. Miller  <davem@davemloft.net>
1919         * sysdeps/sparc/sparc32/bits/atomic.h
1920         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1921         unlock not after it.
1922         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1923         volatile register usage warnings from the compiler.
1925         * sysdeps/sparc/nptl/sem_init.c: Delete.
1926         * sysdeps/sparc/nptl/sem_post.c: Delete.
1927         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1928         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1929         * sysdeps/sparc/sparc32/sem_init.c: New file.
1930         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1931         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1932         padding explicitly initialized.
1933         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1934         padding for in-semaphore spinlock.
1935         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1936         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1937         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1938         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1939         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1940         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1941         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1942         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1943         version.
1944         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1945         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1947 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1949         [BZ #17801]
1950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1951         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1952         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1953         New.
1954         (index_AVX_Fast_Unaligned_Load): Likewise.
1955         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1956         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1957         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1958         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1959         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1960         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1961         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1962         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1963         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1965 2015-01-29  Andreas Schwab  <schwab@suse.de>
1967         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1969 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1971         [BZ #17892]
1972         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1974 2015-01-28  Martin Sebor  <msebor@redhat.com>
1976         * math/README.libm-test: Clarify. Add "How to read the test output."
1978 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1980         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1981         Define to 0.
1983 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1985         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1986         (__HAVE_64B_ATOMICS): Define to 0.
1988 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1990         [BZ #17885]
1991         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1992         value to set as new flag.
1994         [BZ #16576]
1995         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1996         and use _ARCH_PPCSQ instead.
1997         (__ieee754_sqrt): Likewise.
1998         (__ieee754_sqrtf): Likewise.
1999         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2000         _ARCH_PPCSQ is defined.
2001         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2002         fsqrt instruction.
2003         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2004         _ARCH_PPCSQ is defined.
2005         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2006         fsqrts instruction.
2007         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2009 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2011         * iconv/loop.c: Suppress array out of bound warning caused by GCC
2012         bug (GCC BZ #64739).
2014 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
2016         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2017         Mark _retval as used.
2018         (lll_futex_wake_unlock): Likewise.
2019         (lll_futex_timed_wait_requeue_pi): Likewise.
2021         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2022         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2023         register variables.
2025         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2026         libm_hidden_def.
2028         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2029         (__bswap_64): Mark as __always_inline.
2031 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
2033         [BZ #15378]
2034         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2035         when none of the search directories exist.
2037 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
2039         [BZ #17869]
2040         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2041         power8 in .machine directive.
2043         [BZ #17868]
2044         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2045         set dependency from opd value.
2047 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2050         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2051         architecture.
2053 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2055         [BZ #17870]
2056         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2057         with uint64_t.
2058         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2059         (uint64_t) 1.
2060         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2061         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2062         Replace 1UL with (uint64_t) 1.
2063         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2064         int with uint64_t.
2066 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2068         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2069         (if_freenameindex): Likewise.
2071         * resource/getrlimit64.c: Add missing libc_hidden_def.
2073 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2075         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2076         __label__.
2077         (_FP_FMA): Likewise.
2078         (_FP_TO_INT_ROUND): Likewise.
2079         (_FP_FROM_INT): Likewise.
2081 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2083         [BZ #16418]
2084         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2085         Make code racy and cancel safe.
2087 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2089         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2090         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2091         attribution.
2093         * pwd/tst-getpw.c: Rewrite.
2095         [BZ #17702]
2096         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2097         (modules-names): Add moddummy1 and moddummy2.
2098         ($(objpfx)tst-rec-dlopen): Define.
2099         * dlfcn/moddummy1.c: New file.
2100         * dlfcn/moddummy2.c: New file.
2101         * dlfcn/tst-rec-dlopen.c: New file.
2102         * elf/dl-cache.c (_dl_load_cache_lookup):
2103         Return char*. Copy result with alloca/strcpy/strdup.
2104         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2105         returns char*. Free cached. If not saving realname
2106         free cached.
2107         * elf/dl-open.c (dl_open_worker): Do not assert that
2108         _r_debug->r_state is RT_CONSISTENT.
2109         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2110         returns char*.
2112 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2113             Carlos O'Donell  <carlos@redhat.com>
2115         [BZ #12674]
2116         * nptl/sem_waitcommon.c: New file.
2117         * nptl/sem_wait.c: Include sem_waitcommon.c.
2118         (__sem_wait_cleanup, do_futex_wait): Remove.
2119         (__new_sem_wait): Adapt.
2120         (__new_sem_trywait): New function.
2121         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2122         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2123         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2124         (sem_timedwait): Adapt.
2125         * nptl/sem_post.c (__new_sem_post): Adapt.
2126         (futex_wake): New function.
2127         (__old_sem_post): Add release MO fence.
2128         * nptl/sem_open.c (sem_open): Adapt.
2129         * nptl/sem_init.c (__new_sem_init): Adapt.
2130         (futex_private_if_supported): New function.
2131         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2132         (__old_sem_getvalue): Add using previous code.
2133         * sysdeps/nptl/internaltypes.h: Adapt.
2134         * nptl/tst-sem13.c (do_test): Adapt.
2135         * nptl/tst-sem11.c (main): Adapt.
2136         * nptl/sem_trywait.c: Remove.
2137         * nptl/DESIGN-sem.txt: Remove.
2138         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2139         (gen-as-const-headers): Remove structsem.sym.
2140         * nptl/structsem.sym: Remove.
2141         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2142         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2143         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2144         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2145         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2146         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2147         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2148         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2149         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2150         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2151         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2152         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2153         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2154         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2155         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2156         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2157         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2158         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2159         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2160         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2161         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2162         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2164 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2166         * INSTALL: Regenerated.
2168         * po/libc.pot: Regenerated.
2170 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2171             Sandra Loosemore  <sandra@codesourcery.com>
2172             Andrew Jenner  <andrew@codesourcery.com>
2173             Joseph Myers  <joseph@codesourcery.com>
2174             Nathan Sidwell  <nathan@codesourcery.com>
2176         * NEWS: Mention new Nios II port.
2177         * sysdeps/nios2/Implies: New file.
2178         * sysdeps/nios2/Makefile: New file.
2179         * sysdeps/nios2/Subdirs: New file.
2180         * sysdeps/nios2/Versions: New file.
2181         * sysdeps/nios2/__longjmp.S: New file.
2182         * sysdeps/nios2/abort-instr.h: New file.
2183         * sysdeps/nios2/backtrace.c: New file.
2184         * sysdeps/nios2/bits/endian.h: New file.
2185         * sysdeps/nios2/bits/fenv.h: New file.
2186         * sysdeps/nios2/bits/link.h: New file.
2187         * sysdeps/nios2/bits/setjmp.h: New file.
2188         * sysdeps/nios2/bsd-_setjmp.S: New file.
2189         * sysdeps/nios2/bsd-setjmp.S: New file.
2190         * sysdeps/nios2/configure: New generated file.
2191         * sysdeps/nios2/configure.ac: New file.
2192         * sysdeps/nios2/crti.S: New file.
2193         * sysdeps/nios2/crtn.S: New file.
2194         * sysdeps/nios2/dl-init.c: New file.
2195         * sysdeps/nios2/dl-machine.h: New file.
2196         * sysdeps/nios2/dl-sysdep.h: New file.
2197         * sysdeps/nios2/dl-tls.h: New file.
2198         * sysdeps/nios2/dl-trampoline.S: New file.
2199         * sysdeps/nios2/gccframe.h: New file.
2200         * sysdeps/nios2/gmp-mparam.h: New file.
2201         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2202         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2203         * sysdeps/nios2/ldsodefs.h: New file.
2204         * sysdeps/nios2/libc-tls.c: New file.
2205         * sysdeps/nios2/libm-test-ulps: New file.
2206         * sysdeps/nios2/machine-gmon.h: New file.
2207         * sysdeps/nios2/math-tests.h: New file.
2208         * sysdeps/nios2/math_private.h: New file.
2209         * sysdeps/nios2/memusage.h: New file.
2210         * sysdeps/nios2/nptl/Makefile: New file.
2211         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2212         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2213         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2214         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2215         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2216         * sysdeps/nios2/nptl/tls.h: New file.
2217         * sysdeps/nios2/preconfigure: New file.
2218         * sysdeps/nios2/s_fma.c: New file.
2219         * sysdeps/nios2/s_fmaf.c: New file.
2220         * sysdeps/nios2/setjmp.S: New file.
2221         * sysdeps/nios2/sfp-machine.h: New file.
2222         * sysdeps/nios2/sotruss-lib.c: New file.
2223         * sysdeps/nios2/stackguard-macros.h: New file.
2224         * sysdeps/nios2/stackinfo.h: New file.
2225         * sysdeps/nios2/start.S: New file.
2226         * sysdeps/nios2/sysdep.h: New file.
2227         * sysdeps/nios2/tls-macros.h: New file.
2228         * sysdeps/nios2/tst-audit.h: New file.
2229         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2230         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2231         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2232         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2233         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2234         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2235         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2236         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2237         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2238         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2239         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2240         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2241         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2242         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2243         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2244         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2245         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2246         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2247         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2248         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2249         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2250         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2251         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2252         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2253         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2254         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2255         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2256         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2257         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2258         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2259         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2260         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2261         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2262         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2263         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2264         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2265         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2266         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2267         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2268         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2269         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2270         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2271         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2272         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2274 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2276         [BZ #17844]
2277         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2278         (getutent): Use weak_alias in non SHARED case
2279         and default_symbol_version in SHARED case.
2280         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2281         (getutent_r, pututline): Likewise.
2282         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2283         (getutid): Likewise.
2284         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2285         (getutid_r): Likewise.
2286         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2287         (getutline): Likewise.
2288         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2289         (getutline_r): Likewise.
2290         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2291         (updwtmp): Likewise.
2293 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2295         [BZ #17848]
2296         * sysdeps/s390/s390-32/memcmp.S
2297         (memcmp_g5): Rename to __memcmp_g5.
2298         * sysdeps/s390/s390-32/memcpy.S
2299         (memcpy_g5): Rename to __memcpy_g5.
2300         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2301         (memcpy_mvcle) Rename to __memcpy_mvcle.
2302         * sysdeps/s390/s390-32/memset.S
2303         (memset_g5): Rename to __memset_g5.
2304         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2305         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2306         and use prefixed functions.
2307         * sysdeps/s390/s390-32/multiarch/memcmp.S
2308         (memcmp_z196): Rename to __memcmp_z196.
2309         (memcmp_z10): Rename to __memcmp_z10.
2310         (memcmp): Set alias to __memcmp_g5.
2311         (bcmp): Set alias to __memcmp_g5.
2312         * sysdeps/s390/s390-32/multiarch/memcpy.S
2313         (memcpy_z196): Rename to __memcpy_z196.
2314         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2315         (memcpy_z10): Rename to __memcpy_z10.
2316         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2317         (memcpy): Set alias to __memcpy_g5.
2318         * sysdeps/s390/s390-32/multiarch/memset.S
2319         (memset_z196): Rename to __memset_z196.
2320         Jump to __memset_mvcle instead of memset_mvcle.
2321         (memset_z10): Rename to __memset_z10.
2322         Jump to __memset_mvcle instead of memset_mvcle.
2323         (memset_mvcle) Rename to __memset_mvcle.
2324         (memset): Set alias to __memset_g5.
2325         * sysdeps/s390/s390-64/memcmp.S
2326         (memcmp_z900): Rename to __memcmp_z900.
2327         * sysdeps/s390/s390-64/memcpy.S
2328         (memcpy_z900): Rename to __memcpy_z900.
2329         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2330         (memcpy_mvcle) Rename to __memcpy_mvcle.
2331         * sysdeps/s390/s390-64/memset.S
2332         (memset_z900): Rename to __memset_z900.
2333         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2334         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2335         and use prefixed functions.
2336         * sysdeps/s390/s390-64/multiarch/memcmp.S
2337         (memcmp_z196): Rename to __memcmp_z196.
2338         (memcmp_z10): Rename to __memcmp_z10.
2339         (memcmp): Set alias to __memcmp_z900.
2340         (bcmp): Set alias to __memcmp_z900.
2341         * sysdeps/s390/s390-64/multiarch/memcpy.S
2342         (memcpy_z196): Rename to __memcpy_z196.
2343         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2344         (memcpy_z10): Rename to __memcpy_z10.
2345         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2346         (memcpy): Set alias to __memcpy_z900.
2347         * sysdeps/s390/s390-64/multiarch/memset.S
2348         (memset_z196): Rename to __memset_z196.
2349         Jump to __memset_mvcle instead of memset_mvcle.
2350         (memset_z10): Rename to __memset_z10.
2351         Jump to __memset_mvcle instead of memset_mvcle.
2352         (memset_mvcle) Rename to __memset_mvcle.
2353         (memset): Set alias to __memset_z900.
2355 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2357         [BZ #17748]
2358         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2359         __fesetenv instead of fesetenv.
2361 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2363         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2364         macro.
2366 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2368         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2369         regression on LE.
2371         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2372         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2373         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2374         strncmp-power8 object.
2375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2376         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2377         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2378         * NEWS: Update.
2380 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2381             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2383         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2384         trailing byte check.
2386 2015-01-13  David S. Miller  <davem@davemloft.net>
2388         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2390 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2392         * login/logout.c (logout): Use memset rather than bzero.
2393         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2394         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2395         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2396         (_gethtbyaddr): Likewise.
2397         * locale/programs/simple-hash.c (bcopy): Macro removed.
2399 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2401         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2402         Add strcmp-power8 object.
2403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2404         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2405         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2406         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2407         __strcmp_power8 implementation.
2408         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2409         * NEWS: Update.
2411         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2412         Add strncpy-power8 and stpncpy-power8 objects.
2413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2414         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2415         implementations.
2416         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2417         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2418         __stpncpy_power8 implementation.
2419         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2420         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2421         __strncpy_power8 implementation.
2422         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2423         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2424         * NEWS: Update.
2426         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2427         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2428         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2431         strncat-power8 object.
2432         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2433         __strcat_power8 implementation.
2434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2435         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2436         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2437         optimized strcat for power8.
2439         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2440         strcpy-power8 and stpcpy-power8 objects.
2441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2442         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2443         implementations.
2444         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2445         multiarch stpcpy implementation for POWER8.
2446         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2447         multiarch strcpy implementation for POWER8.
2448         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2449         __strcpy_power8 function.
2450         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2451         stpcpy for POWER8.
2452         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2453         strcpy for POWER8.
2454         * NEWS: Update.
2456 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2458         [BZ #16009]
2459         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2460         weights and rules. Use do_xfrm_cached if data fits in cache,
2461         do_xfrm otherwise.  Moved former main loop to...
2462         * (do_xfrm_cached): New function.
2463         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2464         find_idx, find_position and stack_push.
2465         * (find_idx): New function.
2466         * (find_position): Likewise.
2467         * localedata/sort-test.sh: Added test run for do_xfrm.
2468         * localedata/xfrm-test.c (main): Added command line option
2469         -nocache to run the test with strings that are too large for
2470         the STRXFRM cache.
2472 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2474         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2475         variable to lll_futex_wake call, not the value itself.
2477 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2479         [BZ #17803]
2480         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2481         twom64.  Adjust value to 0x1p-64L.
2482         (__scalblnl): Only return standard underflowing result for K <=
2483         -64 not K <= -63; adjust exponent for underflowing result by 64
2484         not 63.
2485         * math/libm-test.inc (scalbn_test_data): Add more tests.
2486         (scalbln_test_data): Likewise.
2488         [BZ #17834]
2489         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2490         0x1p63L.
2491         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2492         not HX.
2493         * math/libm-test.inc (scalbn_test_data): Add more tests.
2494         (scalbln_test_data): Likewise.
2496 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497             Stefani Seibold  <stefani@seibold.net>
2499         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2500         (sysdep_routines): Add dl-vdso here, ...
2501         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2502         (sysdep_routines): ... not here.
2503         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2504         fallback when vDSO is not presented.
2505         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2506         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2507         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2508         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2509         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2510         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2511         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2512         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2513         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2514         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2515         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2516         fallback configurable symbol when vDSO is not available.
2517         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2518         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2519         be able to redefine fallback symbol when vDSO is not available.
2520         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2521         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2523 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2525         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2526         (TLS_INIT_TP): Add tm_capable initialization.
2527         (TLS_DEFINE_INIT_TP): Likewise.
2528         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2529         TCB.
2530         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2531         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2532         calculation.
2533         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2534         transactoion is lock elision is built and TCB tm_capable is set.
2535         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2537         (INTERNAL_SYSCALL_NCS): Likewise.
2538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2539         (INTERNAL_SYSCALL_NCS): Likewise.
2540         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2542         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2543         for powerpc.
2544         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2545         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2546         and remove it for 32 bits case.
2547         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2549         initialization.
2550         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2551         Disable lock elision with rdlocks if elision is not available.
2553         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2554         (sysdep_routines): Add lock elision objects.
2555         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2556         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2557         [pthread_mutex_t] (__elision): Add field.
2558         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2559         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2560         elision definitions for powerpc.
2561         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2562         implementation of lock elision for powerpc.
2563         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2564         implementation of timed lock elision for powerpc.
2565         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2566         implementation of trylock with lock elision for powerpc.
2567         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2568         implementaion of unlock for lock elision for powerpc.
2569         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2570         automatic enable lock elision for mutexes.
2571         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2572         transaction execution definitions for powerpc.
2573         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2574         definitions.
2575         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2576         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2577         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2578         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2579         * NEWS: Update.
2581 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2583         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2584         for #include of <shm-directory.h>.
2586 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2588         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2589         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2591 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2593         [BZ #17791]
2594         * NEWS: Mention bug fix.
2595         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2596         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2597         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2599 2015-01-09  Torvald Riegel <triegel@redhat.com>
2601         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2603 2015-01-09  Torvald Riegel <triegel@redhat.com>
2605         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2607 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2609         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2610         pointer and cast to uintptr_t.
2612 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2614         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2615         removed.
2616         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2618 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2620         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2621         of 0.
2623 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2625         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2626         <nptl/pthreadP.h> instead.
2627         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2629         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2630         already defined.
2631         [__SIGRTMIN] (init): Function removed.
2632         [__SIGRTMIN] (initialized): Variable removed.
2633         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2634         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2635         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2636         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2637         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2638         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2639         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2640         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2641         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2642         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2643         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2644         * sysdeps/nptl/allocrtsig.c: New file.
2645         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2646         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2647         * sysdeps/generic/testrtsig.h: File removed.
2649         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2650         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2652         * nptl/nptl-init.c (pthread_functions): Conditionalize
2653         .ptr__nptl_setxid initialization on [SIGSETXID].
2655         * sysdeps/nptl/sys/procfs.h: New file.
2656         * nptl_db/Makefile (headers): Add it.
2657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2659         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2660         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2661         * nptl/pthread_attr_setaffinity.c: Include it.
2662         * nptl/pthread_setattr_default_np.c: Likewise.
2663         * nptl/check-cpuset.h: New file.
2665 2015-01-08  Richard Henderson  <rth@redhat.com>
2667         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2668         (CFLAGS-tst-execstack-prog.c): Likewise.
2669         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2671 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2672             Sandra Loosemore  <sandra@codesourcery.com>
2673             Andrew Jenner  <andrew@codesourcery.com>
2674             Joseph Myers  <joseph@codesourcery.com>
2675             Nathan Sidwell  <nathan@codesourcery.com>
2677         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2678         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2679         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2680         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2681         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2682         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2683         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2684         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2685         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2686         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2687         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2688         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2689         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2690         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2691         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2692         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2693         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2695 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2697         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2698         timespec struct member in syscall macro.
2699         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2700         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2701         first timeval struct member in syscall macro.
2702         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2704 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2706         [BZ #17748]
2707         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2708         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2709         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2710         __feupdateenv and define as weak alias of __feupdateenv.  Use
2711         libm_hidden_weak.
2712         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2713         libm_hidden_def.
2714         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2715         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2716         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2717         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2718         libm_hidden_def.
2719         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2720         __feupdateenv and define as weak alias of __feupdateenv.  Use
2721         libm_hidden_weak.
2722         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2723         libm_hidden_def.
2724         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2725         __feupdateenv and define as weak alias of __feupdateenv.  Use
2726         libm_hidden_weak.
2727         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2728         libm_hidden_def.
2729         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2730         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2731         (__feupdateenv): Likewise.
2732         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2733         __feupdateenv and define as weak alias of __feupdateenv.  Use
2734         libm_hidden_weak.
2735         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2736         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2737         libm_hidden_def.
2738         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2739         function.
2740         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2741         libm_hidden_def.
2742         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2743         __feupdateenv instead of feupdateenv.
2744         (default_libc_feupdateenv_test): Likewise.
2745         (libc_feresetround_ctx): Likewise.
2747 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2749         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2750         prototype.
2752 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2754         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2755         COLL_SYM in a couple of places to avoid uninitialized variable
2756         wanings on tilegx gcc 4.8.2.
2758 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2760         * sysdeps/aarch64/strcpy.S: New file.
2761         * sysdeps/aarch64/stpcpy.S: New file.
2762         * NEWS: Updated.
2764 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2766         * sysdeps/aarch64/strrchr.S: New file.
2767         * NEWS: Updated.
2769 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2771         [BZ #17658]
2772         * stdlib/setenv.c: Fix memory leak when setting large,
2773         duplicate string.
2775 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2777         [BZ #17273]
2778         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2779         and tabs from buffer before parsing fstab entry.
2780         * misc/tst-mntent.c (main): Add test for mount entry with
2781         trailing spaces and tabs.
2783 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2785         [BZ #17748]
2786         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2787         * math/fesetround.c (fesetround): Rename to __fesetround and
2788         define as weak alias of __fesetround.  Use libm_hidden_weak.
2789         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2790         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2791         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2792         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2793         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2794         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2795         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2796         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2797         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2798         __fesetround_inline.
2799         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2800         __fesetround_inline instead of __fesetround.
2801         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2802         __fesetround and define as weak alias of __fesetround.  Use
2803         libm_hidden_weak.  Call __fesetround_inline instead of
2804         __fesetround.
2805         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2806         __fesetround and define as weak alias of __fesetround.  Use
2807         libm_hidden_weak.
2808         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2809         Likewise.
2810         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2811         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2812         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2813         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2814         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2815         __fesetround and define as weak alias of __fesetround.  Use
2816         libm_hidden_weak.
2817         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2818         __fesetround instead of fesetround.
2819         (default_libc_feholdexcept_setround): Likewise.
2820         (libc_feholdsetround_ctx): Likewise.
2821         (libc_feholdsetround_noex_ctx): Likewise.
2823         [BZ #17748]
2824         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2825         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2826         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2827         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2828         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2829         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2830         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2831         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2832         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2833         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2834         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2835         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2836         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2837         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2838         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2839         libm_hidden_def.
2840         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2841         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2842         Likewise.
2843         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2844         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2845         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2846         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2847         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2848         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2849         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2850         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2851         __fesetenv instead of fesetenv.
2852         (libc_feresetround_noex_ctx): Likewise.
2853         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2854         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2855         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2856         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2857         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2858         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2859         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2860         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2861         (__feupdateenv): Likewise.
2862         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2863         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2864         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2865         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2867 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2869         [BZ #17806]
2870         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2871         addresses have been freed.
2873 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2875         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2876         and nservall.
2878 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2880         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2881         Clean up check_pf allocation pattern. addresses
2883 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2885         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2886         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2887         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2888         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2889         * nptl/pthread_join.c (pthread_join): Likewise.
2890         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2891         * sysdeps/posix/waitid.c (__waitid): Likewise.
2892         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2893         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2894         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2895         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2896         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2897         Likewise.
2898         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2899         (__libc_pread64): Likewise.
2900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2901         (__libc_pwrite): Likewise.
2902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2903         (__libc_pwrite64): Likewsie.
2904         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2905         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2906         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2907         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2908         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2909         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2910         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2912         Likewise.
2913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2914         (__libc_pread64): Likewise.
2915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2916         Likewise.
2917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2918         (__libc_pwrite64): Likewise.
2919         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2920         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2921         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2922         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2923         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2924         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2925         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2926         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2927         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2928         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2929         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2930         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2931         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2932         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2933         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2934         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2935         Likewise.
2937 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2939         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2940         (CFLAGS-test-double.c): Likewise.
2941         (CFLAGS-test-ldouble.c): Likewise.
2942         (CPPFLAGS-test-ifloat.c): Likewise.
2943         (CPPFLAGS-test-idouble.c): Likewise.
2944         (CPPFLAGS-test-ildoubl.c): Likewise.
2945         (CFLAGS-test-test-fenv.c): Remove variable.
2946         (CFLAGS-test-misc.c): Likewise.
2948 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2950         [BZ #17797]
2951         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2952         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2953         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2954         CLOCKS_PER_SEC == 1000000.
2955         * time/clocktest.c (main): Replace %ld with %jd and cast to
2956         intmax_t.
2958 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2960         * sysdeps/generic/unwind-resume.h: New file.
2961         * sysdeps/gnu/unwind-resume.c: Include it.
2962         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2963         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2964         argument list.
2965         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2966         global rather than static.
2967         (_Unwind_Resume): Update user.
2968         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2969         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2970         rather than static.  Add __attribute__ ((cold)).
2971         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2972         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2973         * sysdeps/arm/arm-unwind-resume.S: New file.
2974         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2975         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2976         * sysdeps/arm/Makefile [$(subdir) = csu]
2977         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2978         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2979         Add rt-arm-unwind-resume.
2980         [$(subdir) = nptl]
2981         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2982         Add pt-arm-unwind-resume.
2983         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2984         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2986 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2988         [BZ #17748]
2989         * include/fenv.h (__feholdexcept): Declare.  Use
2990         libm_hidden_proto.
2991         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2992         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2993         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2994         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2995         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2996         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2997         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2998         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2999         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3000         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3001         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3002         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3003         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3004         (feholdexcept): Likewise.
3005         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3006         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3007         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3008         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3009         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3010         __feholdexcept instead of feholdexcept.
3011         (default_libc_feholdexcept_setround): Likewise.
3013 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3015         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3016         to avoid using stl/str to align destination.
3018 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3020         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3022 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3024         [BZ #17796]
3025         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3026         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3027         Define as weak alias not strong alias.
3029 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
3031         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3032         bltzal with addiupc.
3033         (RTLD_START): Ditto.
3035 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
3037         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3038         for __vdso_* functions in declarations.
3039         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3040         definitions.
3041         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3042         INTERNAL_VSYSCALL): Use struct return types to check for error.
3044         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3045         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3046         function with cast from llround().
3047         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3048         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3049         Define.
3051 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3053         [BZ #17793]
3054         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3055         Define as weak alias not strong alias.
3057         [BZ #17635]
3058         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3059         ...
3060         * ctype/ctype-extn.c: ... here.
3061         (__isblank_l): Move to ...
3062         * ctype/ctype-c99_l.c: ... here.  New file.
3063         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3064         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3065         Remove variable.
3066         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3067         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3068         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3069         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3070         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3072         [BZ #17777]
3073         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3074         (posix_fadvise64): Define as weak alias not strong alias.
3075         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3076         (posix_fallocate64): Likewise.
3077         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3078         Remove variable.
3079         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3080         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3081         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3082         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3083         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3085 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3087         [BZ #16191]
3088         * NEWS: Mention bug fix.
3089         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3090         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3091         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3092         (HOST_STACK_END_ADDR): Likewise.
3094 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3096         [BZ #17748]
3097         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3098         * math/fegetround.c (fegetround): Rename to __fegetround and
3099         define as weak alias of __fegetround.  Use libm_hidden_weak.
3100         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3101         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3102         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3103         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3104         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3105         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3106         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3107         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3108         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3109         Undefine after rather than before function definition; use
3110         parentheses around function name in definition.
3111         (__fegetround): Also undefine macro after function definition.
3112         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3113         __fegetround and define as weak alias of __fegetround.  Use
3114         libm_hidden_weak.  Do not undefine as macro.
3115         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3116         Likewise.
3117         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3118         __fegetround and define as weak alias of __fegetround.  Use
3119         libm_hidden_weak.
3120         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3121         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3122         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3123         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3124         __fegetround and define as weak alias of __fegetround.  Use
3125         libm_hidden_weak.
3126         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3127         __fegetround instead of fegetround.
3129         [BZ #17782]
3130         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3131         Condition macro definition on [__USE_MISC].
3133         [BZ #17781]
3134         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3135         (struct sigaction): Change type of sa_flags field to int.
3137         [BZ #17780]
3138         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3139         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3140         __glibc_reserved0.
3142         * nptl/version.c (banner): Use single year in copyright notice.
3144         * NEWS: Update copyright dates.
3145         * catgets/gencat.c (print_version): Likewise.
3146         * csu/version.c (banner): Likewise.
3147         * debug/catchsegv.sh: Likewise.
3148         * debug/pcprofiledump.c (print_version): Likewise.
3149         * debug/xtrace.sh (do_version): Likewise.
3150         * elf/ldconfig.c (print_version): Likewise.
3151         * elf/ldd.bash.in: Likewise.
3152         * elf/pldd.c (print_version): Likewise.
3153         * elf/sotruss.sh: Likewise.
3154         * elf/sprof.c (print_version): Likewise.
3155         * iconv/iconv_prog.c (print_version): Likewise.
3156         * iconv/iconvconfig.c (print_version): Likewise.
3157         * locale/programs/locale.c (print_version): Likewise.
3158         * locale/programs/localedef.c (print_version): Likewise.
3159         * login/programs/pt_chown.c (print_version): Likewise.
3160         * malloc/memusage.sh (do_version): Likewise.
3161         * malloc/memusagestat.c (print_version): Likewise.
3162         * malloc/mtrace.pl: Likewise.
3163         * manual/libc.texinfo: Likewise.
3164         * nptl/version.c (banner): Likewise.
3165         * nscd/nscd.c (print_version): Likewise.
3166         * nss/getent.c (print_version): Likewise.
3167         * nss/makedb.c (print_version): Likewise.
3168         * posix/getconf.c (main): Likewise.
3169         * scripts/test-installation.pl: Likewise.
3170         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3172 2015-01-02  Will Newton  <will.newton@linaro.org>
3174         * sysdeps/arm/armv7/configure: Removed.
3175         * sysdeps/arm/armv7/configure.ac: Likewise.
3177 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3179         * All files with FSF copyright notices: Update copyright dates
3180         using scripts/update-copyrights.
3181         * intl/plural.c: Regenerated.
3182         * locale/programs/charmap-kw.h: Likewise.
3183         * locale/programs/locfile-kw.h: Likewise.
3185 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3187         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3189 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #17748]
3192         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3193         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3194         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3195         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3196         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3197         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3198         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3199         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3200         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3201         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3202         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3203         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3204         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3205         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3206         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3207         libm_hidden_def.
3208         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3209         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3210         Likewise.
3211         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3212         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3213         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3214         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3215         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3216         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3217         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3218         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3219         __fegetenv instead of fegetenv.
3220         (libc_feholdsetround_noex_ctx): Likewise.
3222 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3224         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3225         (Elf_MIPS_ABIFlags_v0): New structure.
3226         (EF_MIPS_FP64): Define.
3227         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3228         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3229         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3230         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3231         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3232         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3233         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3234         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3235         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3236         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3237         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3238         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3239         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3240         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3241         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3242         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3243         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3244         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3245         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3246         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3247         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3248         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3249         field.
3250         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3251         EF_MIPS_FP64.
3252         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3253         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3254         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3255         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3256         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3257         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3258         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3259         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3260         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3261         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3262         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3263         record the current FP ABI extension.
3264         (mips-mode-switch): Define to show if kernel headers support mode
3265         switching.
3266         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3267         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3268         supported SYSV ABI version to 3.
3269         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3270         feature.
3272 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3273             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3275         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3276         path.
3277         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3279 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3281         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3282         __fegetround and redefine to call __fegetround.  Remove condition
3283         on [!__NO_MATH_INLINES].
3284         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3285         function.
3286         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3287         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3288         Remove macro.
3289         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3290         instead of <fenv_libc.h>.
3291         (__llrintl): Call fegetround instead of __fegetround.
3292         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3293         instead of <fenv_libc.h>.
3294         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3295         (__lrintl): Call fegetround instead of __fegetround.
3296         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3297         instead of <fenv_libc.h>.
3298         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3299         (__rintl): Call fegetround instead of __fegetround.
3301 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3303         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3304         arrays.
3306 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3308         [BZ #17775]
3309         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3310         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3311         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3313 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3315         * sysdeps/i386/tls-macros.h: Include <features.h>.
3316         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3317         (TLS_IE): Likewise.
3318         (TLS_LD): Likewise.
3319         (TLS_GD): Likewise.
3320         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3321         define for GCC >= 5.0.
3323 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3325         * math/test-fenv.c (test_single_exception, set_single_exc,
3326         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3327         feexcp_mask_test, feenable_test, fe_single_test): Add
3328         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3329         case where they are not used.
3330         * math/libm-test.inc: Likewise.
3331         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3332         unused in the absence of FP rounding/exception support.
3333         * stdio-common/tst-printf-round.c: Likewise.
3334         * stdlib/tst-strtod-round.c: Likewise.
3335         * stdlib/tst-strtod-underflow.c: Likewise.
3337 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3339         [BZ #17723]
3340         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3341         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3342         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3343         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3344         libm_hidden_weak.
3345         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3346         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3347         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3348         libm_hidden_def.
3349         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3350         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3351         libm_hidden_weak.
3352         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3353         Likewise.
3354         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3355         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3356         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3357         libm_hidden_weak.
3358         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3359         libm_hidden_def.
3360         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3361         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3362         (__feraiseexcept): Likewise.
3363         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3364         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3365         libm_hidden_weak.
3366         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3367         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3368         libm_hidden_def.
3369         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3370         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3371         Use libm_hidden_def.
3372         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3373         libm_hidden_def.
3374         (feraiseexcept): Define as weak not strong alias.  Use
3375         libm_hidden_weak.
3376         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3377         New inline function.  Factored out of ...
3378         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3379         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3380         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3381         feraiseexcept.
3382         * math/w_acos.c (__acos): Likewise.
3383         * math/w_asin.c (__asin): Likewise.
3384         * math/w_ilogb.c (__ilogb): Likewise.
3385         * math/w_j0.c (y0): Likewise.
3386         * math/w_j1.c (y1): Likewise.
3387         * math/w_jn.c (yn): Likewise.
3388         * math/w_log.c (__log): Likewise.
3389         * math/w_log10.c (__log10): Likewise.
3390         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3391         * sysdeps/aarch64/fpu/math_private.h
3392         (libc_feupdateenv_test_aarch64): Likewise.
3393         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3394         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3395         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3396         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3397         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3398         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3399         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3400         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3401         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3402         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3404 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3406         [BZ #17732]
3407         * io/test-utime.c (main): Replace %ld with %jd and cast to
3408         intmax_t.
3409         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3410         * nptl/tst-mutex5.c: Include <stdint.h>.
3411         (do_test): Replace %ld with %jd and cast to intmax_t.
3412         * posix/tst-regex.c (run_test): Likewise.
3413         (run_test_backwards): Likewise.
3414         * rt/tst-clock.c: Include <stdint.h>.
3415         (clock_test): Replace %ld with %jd and cast to intmax_t.
3416         * rt/tst-cpuclock1.c: Include <stdint.h>.
3417         (do_test): Replace %lu with %ju and cast to uintmax_t.
3418         * rt/tst-cpuclock2.c: Include <stdint.h>.
3419         (do_test): Replace %lu with %ju and cast to uintmax_t.
3420         * rt/tst-mqueue1.c: Include <stdint.h>.
3421         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3422         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3423         intmax_t.
3424         * rt/tst-mqueue4.c (do_test): Likewise.
3425         * rt/tst-timer4.c: Include <stdint.h>.
3426         (check_ts): Replace %ld with %jd and cast to intmax_t.
3427         (do_test): Likewise.
3428         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3429         and cast to intmax_t.
3430         * sysdeps/pthread/tst-timer.c (main): Likewise.
3431         * time/clocktest.c (main): Likewise.
3432         * time/tst-posixtz.c (do_test): Likewise.
3433         * timezone/tst-timezone.c (main): Likewise.
3435 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3436             H.J. Lu  <hongjiu.lu@intel.com>
3438         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3439         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3440         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3441         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3442         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3443         version if bit_Fast_Unaligned_Load is set.
3444         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3445         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3446         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3447         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3448         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3449         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3451         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3452         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3453         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3454         to 4.
3455         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3456         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3457         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3458         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3460 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3462         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3463         instead of #if to avoid a Wundef warning.
3464         * stdlib/tst-limits.c (do_test): Likewise.
3466         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3467         parallel other exception macros.
3468         (fegetenv): Convert from macro to extern inline so that it applies
3469         retroactively to inline functions already seen by the compiler.
3470         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3472         * posix/Makefile (before-compile): Use $(objpfx) for
3473         posix-conf-vars-def.h.
3475 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3477         * posix/getconf.c (main): Use size_t for type of I.
3478         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3479         NSPEC.
3481         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3482         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3483         * posix/posix-envs.def: Likewise.
3484         * sysdeps/posix/sysconf.c: Likewise.
3485         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3486         (specs): Remove array.
3487         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3488         array.
3490         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3491         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3492         (__sysconf): Use CONF_IS_* macros.
3494         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3495         ($(objpfx)posix-conf-vars-def.h): New target.
3496         * posix/posix-conf-vars.list: New file.
3497         * posix/posix-conf-vars.h: New file.
3498         * posix/confstr.c: Include posix-conf-vars.h.
3499         (confstr): Use CONF_IS_* macros.
3500         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3501         CONF_IS_* macros.
3502         * scripts/gen-posix-conf-vars.awk: New file.
3504 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3506         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3507         fegetround): Add no-op macros to avoid linknamespace issues.
3509         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3510         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3512         * sysdeps/unix/sysv/linux/tile/sysdep.h
3513         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3514         assembly-specific section to avoid a redefinition warning.
3516         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3517         long before casting to pointer to avoid a cast warning.
3519 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3521         * sysdeps/tile/tilegx/Implies: New file.
3523 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3525         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3527 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3529         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3531 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3533         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3534         not define.
3535         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3536         <kernel-features.h>.
3537         (__utimes) [__NR_utimes]: Make code unconditional.
3538         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3539         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3540         (__ASSUME_UTIMES): Do not undefine.
3541         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3542         (__ASSUME_UTIMES): Likewise.
3543         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3544         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3545         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3546         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3548 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3550         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3552 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3554         [BZ #17747]
3555         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3556         alias to weak alias for j0l, y0l.
3557         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3558         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3560         [BZ #17746]
3561         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3562         conversion.
3564 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3566         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3567         to zero if not already defined.
3569 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3571         [BZ #17724]
3572         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3573         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3574         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3575         (char *) casts added.
3576         * sysdeps/ieee754/k_standardf.c: New file.
3577         * sysdeps/ieee754/k_standardl.c: Likewise.
3578         * math/Makefile (libm-support): Remove k_standard.
3579         (libm-calls): Add k_standard.
3581 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3583         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3584         Optimize to avoid an unnecessary FPCR read.
3586 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3588         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3589         Optimize to reduce FPCR/FPSR accesses.
3591 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3593         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3594         Call libc_fetestexcept_aarch64.
3596 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3598         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3599         Call libc_fesetround_aarch64.
3601 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3603         [BZ #17733]
3604         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3605         (__bind): Do not define as weak alias.
3606         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3607         define.
3608         (__getsockname): Do not define as weak alias.
3610 2014-12-22  Will Newton  <will.newton@linaro.org>
3612         * manual/install.texi: Document that we require bison 2.7
3613         or above.
3614         * INSTALL: Regenerate.
3615         * configure.ac: Use AC_CHECK_PROG_VER instead of
3616         AC_PATH_PROG when checking for bison and check for
3617         version 2.7 or above.
3618         * configure: Regenerate.
3620 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3622         [BZ #17745]
3623         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3624         * sysdeps/tile/ffsll.c (ffsll): To here.
3626         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3628 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3630         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3631         if not defined.
3632         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3633         definition.
3634         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3635         hidden ___tls_get_addr.
3636         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3637         hidden __tls_get_addr.
3638         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3639         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3640         Likewise.
3642 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3644         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3645         _dl_init call.
3647 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3649         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3650         from "call _dl_init@PLT".
3651         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3653 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3655         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3656         guarantees.
3658 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3660         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3662 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3664         [BZ #17744]
3665         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3666         strnlen.
3668 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3670         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3671         of multu on MIPSr6.
3672         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3673         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3674         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3675         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3676         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3678 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3680         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3681         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3682         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3683         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3684         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3685         mips32r6/mips64r6.
3686         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3688 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3690         * string/strncat.c (STRNCAT): Simplify implementation.
3692 2014-12-19  David S. Miller  <davem@davemloft.net>
3694         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3695         access the quad as both a long double and as a series of 4 words.
3697         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3698         link_map->l_info array access.
3700 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3702         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3704         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3705         * math/atest-exp2.c (TIMEOUT): Likewise.
3706         * math/atest-sincos.c (TIMEOUT): Likewise.
3708 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3710         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3711         -Wno-error with -fno-builtin-lround.
3713 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3715         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3716         Contains futex constants and functions moved over from ...
3717         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3718         <lowlevellock-futex.h>.
3719         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3720         (lll_timedwait_tid): Add comments and parentheses around macro
3721         arguments.
3723 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3725         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3726         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3727         (__lll_private_flag): Remove.
3728         (lll_futex_wait): Likewise.
3729         (lll_futex_timed_wait): Likewise.
3730         (lll_futex_wake): Likewise.
3731         (lll_futex_requeue): Likewise.
3732         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3733         (__lll_timedwait_tid): Spell out argument names.
3734         (lll_timedwait_tid): Add comments and parentheses around macro
3735         arguments.
3736         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3737         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3739 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3741         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3742         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3743         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3744         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3745         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3746         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3747         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3748         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3749         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3750         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3751         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3752         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3753         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3754         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3755         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3756         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3757         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3758         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3759         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3761 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3763         * sysdeps/x86_64/x32/Makefile: New file.
3765 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3767         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3768         1L with (mp_limb_t) 1.
3770 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3772         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3773         * nptl/libc_pthread_init.c: ... here.
3774         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3775         * nptl/register-atfork.c: ... here.
3777         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3778         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3779         Use assert_perror to check its return value.
3780         (__gai_create_helper_thread): Likewise.
3782         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3784         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3786 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3788         [BZ #17725]
3789         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3790         __profil_counter.
3791         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3792         Likewise.
3793         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3794         Likewise.
3795         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3796         Likewise.
3797         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3798         (profil_counter): Likewise.
3799         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3800         (profil_counter): Likewise.
3801         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3802         Likewise.
3803         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3804         Likewise.
3805         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3806         (profil_counter): Likewise.
3807         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3808         Likewise.
3809         [!__profil_counter] (profil_counter): Define as weak alias of
3810         __profil_counter.
3811         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3812         (profil_counter): Rename to __profil_counter.
3813         [!__profil_counter] (profil_counter): Define as weak alias of
3814         __profil_counter.
3815         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3816         (profil_counter): Rename to __profil_counter.
3817         [!__profil_counter] (profil_counter): Define as weak alias of
3818         __profil_counter.
3819         * sysdeps/posix/profil.c: Update comment referring to
3820         profil_counter.
3821         (__profil): Use __profil_counter instead of profil_counter.
3822         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3823         __profil_counter.  Use __profil_counter_ushort and
3824         __profil_counter_uint in definitions.
3825         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3826         instead of profil_counter_uint and profil_counter_ushort.
3828         [BZ #17722]
3829         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3830         define as weak alias of __inet_makeaddr.
3831         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3832         as weak alias of __inet_addr.
3833         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3834         as weak alias of __inet_pton.  Use libc_hidden_weak.
3835         * include/arpa/inet.h (__inet_pton): Declare.  Use
3836         libc_hidden_proto.
3837         (inet_makeaddr): Don't use libc_hidden_proto.
3838         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3839         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3840         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3841         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3842         Remove variable.
3843         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3844         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3846 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3848         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3850 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3852         * stdio-common/bug-vfprintf-nargs.c (do_test):
3853         Cast value to intptr_t to avoid format warning
3854         for usage with PRIdPTR printing macro.
3856 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3858         * libio/tst-widetext.c (do_test):
3859         Use format type %td instead of %Zd for ptrdiff_t
3860         in order to avoid format warning.
3862 2014-12-17  Andreas Schwab  <schwab@suse.de>
3864         * nscd/mem.c (gc): Add size_t cast to match printf format.
3866 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3868         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3869         (init): Apply PTR_MANGLE to pointers before storing them.
3870         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3871         before using them.
3873 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3875         [BZ #17719]
3876         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3877         define as weak alias of __memrchr.
3878         (__memrchr): Do not define as strong alias of memrchr.
3879         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3880         Remove variable.
3881         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3882         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3883         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3885         [BZ #17717]
3886         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3887         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3888         (if_indextoname): Rename to __if_indextoname and define as weak
3889         alias of __if_indextoname.  Use libc_hidden_weak.
3890         (if_freenameindex): Rename to __if_freenameindex and define as
3891         weak alias of __if_freenameindex.
3892         (if_nameindex): Rename to __if_nameindex and define as weak alias
3893         of __if_nameindex.
3894         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3895         __if_nametoindex and define as weak alias of __if_nametoindex.
3896         Use libc_hidden_weak.
3897         (if_freenameindex): Rename to __if_freenameindex and define as
3898         weak alias of __if_freenameindex.
3899         (if_nameindex): Rename to __if_nameindex and define as weak alias
3900         of __if_nameindex.
3901         (if_indextoname): Rename to __if_indextoname and define as weak
3902         alias of __if_indextoname.  Use libc_hidden_weak.
3903         * sysdeps/unix/sysv/linux/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.  Use libc_hidden_weak.
3908         (if_nameindex_netlink): Use __if_freenameindex instead of
3909         if_freenameindex.
3910         (if_nameindex): Rename to __if_nameindex and define as weak alias
3911         of __if_nameindex.  Use libc_hidden_weak.
3912         (if_indextoname): Rename to __if_indextoname and define as weak
3913         alias of __if_indextoname.  Use libc_hidden_weak.
3914         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3915         libc_hidden_proto.
3916         [!_ISOMAC] (__if_freenameindex): Likewise.
3917         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3918         if_nametoindex.
3919         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3920         variable.
3921         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3922         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3923         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3924         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3925         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3926         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3927         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3929         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3930         Remove variable.
3931         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3932         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3934 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3936         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3937         subscript above bounds'
3939         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3940         bounds.
3942 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3944         * libio/tst-fopenloc.c: Use test-skeleton.c.
3946         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3947         (entry): Rename to ITEM.
3948         (do_test, comp): Adjust.
3950         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3952 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3954         * string/tester.c: Include <libc-internal.h>.
3955         (test_memset): Ignore -Wmemset-transposed-args.
3957 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3959         * misc/tst-mntent2.c (do_test): Fix warning.
3961 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3963         * elf/tst-unique4lib.cc(a): Mark as used.
3965 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3967         [BZ #17630]
3968         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3969         names.
3971 2014-12-16  Allan McRae  <allan@archlinux.org>
3973         * stdio-common/Makefile (tests): Re-add bug26.
3975 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3977         [BZ #17657]
3978         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3979         static array.
3981 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3983         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3984         (__lll_lock_wait): Likewise.
3985         (__lll_timedlock_wait): Likewise.
3986         (__lll_timedwait_tid): Likewise.
3987         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3988         (__lll_robust_timedlock_wait): Likewise.
3989         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3990         (lll_cond_trylock): Likewise.
3991         (__lll_lock): Likewise.
3992         (__lll_robust_lock): Likewise.
3993         (__lll_cond_lock): Likewise.
3994         (lll_robust_cond_lock): Likewise.
3995         (__lll_timedlock): Likewise.
3996         (__lll_robust_timedlock): Likewise.
3997         (__lll_unlock): Likewise.
3998         (__lll_robust_unlock): Likewise.
3999         (lll_wait_tid): Likewise.
4000         (lll_timedwait_tid): Likewise.
4002 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4004         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4006 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4008         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4010 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4012         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4013         * stdio-common/tst-sprintf.c: Likewise.
4015 2014-12-15  Torvald Riegel  <triegel@redhat.com>
4017         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4019 2014-12-15  Jeff Law  <law@redhat.com>
4021         [BZ #16617]
4022         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4023         on the heap.  (CVE-2012-3406)
4024         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4025         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
4026         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4028 2014-12-15  Will Newton  <will.newton@linaro.org>
4030         * manual/install.texi: Bump required version of texinfo
4031         to 4.7 from 4.5.
4032         * INSTALL: Regenerated.
4033         * configure.ac: Check for makeinfo version 4.7 and above.
4034         * configure: Regenerated.
4036 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4038         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4039         PREFIX, string constant to insert between directory and name.
4040         * sysdeps/posix/shm_open.c: Update caller.
4041         * sysdeps/posix/shm_unlink.c: Likewise.
4042         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4043         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4044         (SEM_SHM_PREFIX): New macro.
4045         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4046         [$(have-thread-library) = no].
4047         * nptl/Makefile (libpthread-routines): Add shm-directory.
4048         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4049         * sysdeps/nptl/shm-directory.h: New file.
4050         * sysdeps/posix/shm-directory.c
4051         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4052         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4053         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4054         INTERNAL_SYSCALL.
4055         (__where_is_shmfs): Function removed.
4056         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4057         Variables removed.
4058         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4059         Use SHM_GET_NAME.
4060         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4062         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4063         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4064         unconditional for use inside libpthread.
4065         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4067 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4069         * nptl/pthread_getaffinity.c: New file.
4070         * nptl/pthread_setaffinity.c: New file.
4071         * nptl/pthread_getname.c: New file.
4072         * nptl/pthread_setname.c: New file.
4074         * nptl/pthread_create.c (START_THREAD_DEFN)
4075         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4077 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4078             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4080         * resolv/res_send.c (send_vc): Disable warning resplen may
4081         be used uninitialized.
4083 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4085         * nptl/tst-mutex6.c
4086         (ATTR_NULL): New define checks ATTR against NULL.
4087         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4088         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4090 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4092         [BZ #17581]
4093         * malloc/hooks.c
4094         (mem2mem_check): Revert my previous change.
4095         (malloc_check_get_size): Revert my previous change.
4096         (mem2chunk_check): Revert my previous change.
4098 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4100         * sysdeps/posix/shm-directory.c: New file.
4101         * sysdeps/posix/shm-directory.h: New file.
4102         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4103         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4104         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4105         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4106         Transmute EPERM to EACCES.
4107         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4108         from ...
4109         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4110         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4112 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4114         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4115         pointer and cast to uintptr_t.
4116         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4117         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4118         Add cast to avoid warning.
4119         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4121 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4123         * nptl/semaphore.h: Move to ...
4124         * sysdeps/pthread/semaphore.h: ... here.
4125         * Makefile (installed-headers): Change nptl/semaphore.h to
4126         sysdeps/pthread/semaphore.h.
4128 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4130         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4131         generated error format strings.
4133         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4134         -Wformat-extra-args warnings for scanf formats.
4135         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4136         test of zero-length format (duh).
4137         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4138         corner-case scanf format test.
4139         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4140         generated fprintf format string.
4141         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4142         corner-case sprintf format tests.
4143         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4144         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4145         -Wformat-extra-args warnings throughout.
4146         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4147         (CFLAGS-scanf4.c): Likewise.
4148         (CFLAGS-scanf7.c): Likewise.
4149         (CFLAGS-tst-sprintf.c): Likewise.
4150         (CFLAGS-tst-printf.c): Likewise.
4151         (CFLAGS-tst-printfsz.c): Likewise.
4153 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4155         * include/cpio.h: New file.
4156         * include/fmtmsg.h: Likewise.
4158         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4159         corresponding format argument to size_t.
4160         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4161         arguments.
4162         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4163         corresponding format argument to size_t.
4164         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4165         arguments.
4166         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4167         corresponding format argument to size_t.
4168         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4169         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4170         (CFLAGS-tst-mbswcs2.c): Likewise.
4171         (CFLAGS-tst-mbswcs3.c): Likewise.
4172         (CFLAGS-tst-mbswcs4.c): Likewise.
4173         (CFLAGS-tst-mbswcs5.c): Likewise.
4174         (CFLAGS-tst-trans.c): Likewise
4176 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4178         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4179         rather than assuming they won't contain any '%'s.
4181 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4183         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4184         inhibit_loop_to_libcall to avoid recursive calls.
4185         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4186         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4188 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4190         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4191         prototype.
4193 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4195         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4196         integer value instead of boolean.
4198 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4200         * malloc/malloc.c: Fix powerof2 check.
4202 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4204         * locale/programs/locfile.h (maybe_swap_uint32):
4205         Remove inline and add unused attribute.
4207 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4209         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4210         Truncating assembler expression to a .long expression.
4212 2014-12-11  Andreas Schwab  <schwab@suse.de>
4214         * elf/rtld.c (struct map_args): Constify str member.
4215         (do_preload): Constify fname argument.
4217 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4219         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4220         constants definition.
4222 2014-12-11  Andreas Schwab  <schwab@suse.de>
4224         [BZ #16657]
4225         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4226         FORCE_ELISION instead of DO_ELISION.
4227         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4228         Remove.
4229         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4230         Likewise.
4232         * iconvdata/gconv-modules: Remove duplicate entry.
4234 2014-12-11  Will Newton  <will.newton@linaro.org>
4236         Merge gettext 0.19.3 into intl/.
4238         This involves a number of cosmetic changes to comments
4239         and ANSI function definitions and prototypes throughout
4240         all the files. The gettext copyright header is used but
4241         with the date ranges taken from the glibc copy.
4243         * NEWS: Add gettext merge to 2.21.
4244         * intl/bindtextdom.c: Switch to gettext copyright.
4245         Use ANSI definitions and prototypes.
4246         Use gl_* locking primitives rather than __libc_* ones.
4247         Use __builtin_expect rather than __glibc_likely/unlikely.
4248         * intl/dcgettext.c: Switch to gettext copyright.
4249         Use ANSI definitions and prototypes.
4250         * intl/dcigettext.c: Switch to gettext copyright.
4251         Use ANSI definitions and prototypes.
4252         (INTDIV0_RAISES_SIGFPE): New define.
4253         Use gl_* locking primitives rather than __libc_* ones.
4254         Include eval-plural.h instead of plural-eval.c.
4255         Use __builtin_expect rather than __glibc_likely/unlikely.
4256         * intl/dcngettext.c: Switch to gettext copyright.
4257         Use ANSI definitions and prototypes.
4258         * intl/dgettext.c: Likewise.
4259         * intl/dngettext.c: Likewise.
4260         * intl/plural-eval.c: Renamed to...
4261         * intl/eval-plural.h: ...this.
4262         * intl/explodename.c: Switch to gettext copyright.
4263         Use ANSI definitions and prototypes.
4264         (_nl_explode_name): Use strchr instead of __rawmemchr.
4265         * intl/finddomain.c: Switch to gettext copyright.
4266         Use ANSI definitions and prototypes.
4267         Use gl_* locking primitives rather than __libc_* ones.
4268         (_nl_find_domain): Use malloc rather than alloca for
4269         allocation of temporary locale name.
4270         * intl/gettext.c: Switch to gettext copyright.
4271         Use ANSI definitions and prototypes.
4272         * intl/gettextP.h: Switch to gettext copyright.
4273         Use ANSI definitions and prototypes.
4274         Use gl_* locking primitives rather than __libc_* ones.
4275         * intl/gmo.h: Switch to gettext copyright.
4276         (struct sysdep_string): Move struct segment_pair outside of
4277         struct definition.
4278         * intl/hash-string.c: Use ANSI definitions and prototypes.
4279         * intl/hash-string.h: Switch to gettext copyright.
4280         Use ANSI definitions and prototypes.
4281         * intl/l10nflist.c: Switch to gettext copyright.
4282         Use ANSI definitions and prototypes.
4283         (_nl_normalize_codeset): Avoid integer overflow.
4284         * intl/loadinfo.h: Switch to gettext copyright.
4285         Use ANSI definitions and prototypes.
4286         (LIBINTL_DLL_EXPORTED): New define.
4287         (PATH_SEPARATOR): New define.
4288         * intl/loadmsgcat.c: Switch to gettext copyright.
4289         * intl/localealias.c: Switch to gettext copyright.
4290         Use ANSI definitions and prototypes.
4291         (_nl_expand_alias): Use PATH_SEPARATOR.
4292         * intl/ngettext.c: Switch to gettext copyright.
4293         Use ANSI definitions and prototypes.
4294         * intl/plural-exp.c: Likewise.
4295         * intl/plural-exp.h: Switch to gettext copyright.
4296         Use ANSI definitions and prototypes.
4297         (struct expression): Move definition of enum operator outside
4298         of struct definition.
4299         * intl/plural.c: Regenerate.
4300         * intl/plural.y: Switch to gettext copyright.
4301         Use ANSI definitions and prototypes.
4302         Port to bison 3.0.
4303         * intl/textdomain.c: Switch to gettext copyright.
4304         Use ANSI definitions and prototypes.
4305         Use gl_* locking primitives rather than __libc_* ones.
4307 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4309         * debug/warning-nop.c: Add used atrribute.
4311 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4313         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4315         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4316         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4317         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4319 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4320             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4322         [BZ #17634]
4323         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4324         Undefine after defining function.  Define as weak alias of
4325         __wcschr.  Use libc_hidden_weak.
4326         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4327         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4328         (libc_hidden_def): Also define __GI___wcschr alias.
4329         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4330         __wcschr and define as weak alias of __wcschr.
4331         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4332         __wcschr.
4333         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4334         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4335         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4336         libc_hidden_weak.  Do not use libc_hidden_def.
4337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4338         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4339         __GI___wcschr alias.
4340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4341         [IS_IN (libc)] (wcschr): Define as macro expanding to
4342         __redirect_wcschr.
4343         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4344         [IS_IN (libc)] (__wcschr_power6): Likewise.
4345         [IS_IN (libc)] (__wcschr_power7): Likewise.
4346         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4347         instead of wcschr.
4348         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4349         __libc_wcschr.
4350         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4351         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4352         __wcschr and define as weak alias of __wcschr.  Use
4353         libc_hidden_builtin_def.
4354         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4355         as weak alias of __wcschr.  Use libc_hidden_weak.
4356         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4357         wcschr.
4358         * time/era.c (_nl_init_era_entries): Likewise.
4359         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4360         variable.
4361         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4362         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4364 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4366         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4367         format for long int variable.
4369 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4371         [BZ #10672]
4372         * manual/search.texi: (Array Sort Function): Remove claim how to make
4373         qsort stable.
4375 2014-12-10  Andreas Schwab  <schwab@suse.de>
4377         [BZ #12847]
4378         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4379         user-controlled locks.
4381 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4383         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4384         register.
4386 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4388         * configure.ac (--disable-werror): New configure option.
4389         (enable_werror): New AC_SUBST.
4390         * configure: Regenerated.
4391         * config.make.in (enable-werror): New variable.
4392         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4393         -Wno-error=undef.
4394         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4395         * manual/install.texi (Configuring and compiling): Document
4396         --disable-werror.
4397         * INSTALL: Regenerated.
4398         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4399         (CFLAGS-tst-chk2.c): Likewise.
4400         (CFLAGS-tst-chk3.c): Likewise.
4401         (CFLAGS-tst-chk4.cc): Likewise.
4402         (CFLAGS-tst-chk5.cc): Likewise.
4403         (CFLAGS-tst-chk6.cc): Likewise.
4404         (CFLAGS-tst-lfschk1.c): Likewise.
4405         (CFLAGS-tst-lfschk2.c): Likewise.
4406         (CFLAGS-tst-lfschk3.c): Likewise.
4407         (CFLAGS-tst-lfschk4.cc): Likewise.
4408         (CFLAGS-tst-lfschk5.cc): Likewise.
4409         (CFLAGS-tst-lfschk6.cc): Likewise.
4411         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4412         (main): Disable -Wdeprecated-declarations around calls to
4413         register_printf_function.
4415         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4416         (do_test): Disable -Wdiv-by-zero around some calls to
4417         fwrite_unlocked and fread_unlocked.
4419         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4420         (DIAG_POP_NEEDS_COMMENT): Likewise.
4421         (_DIAG_STR1): Likewise.
4422         (_DIAG_STR): Likewise.
4423         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4424         * stdio-common/bug21.c: Include <libc-internal.h>.
4425         (do_test): Disable -Wformat around call to sscanf.
4426         * stdio-common/scanf14.c: Include <libc-internal.h>.
4427         (main): Disable -Wformat around some calls to scanf functions.
4429 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4431         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4433 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4435         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4436         stack variable alignment.
4438 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4440         [BZ #17682]
4441         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4442         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4443         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4444         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4445         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4446         __getrlimit instead of getrlimit.
4447         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4448         __gettimeofday instead of gettimeofday.
4449         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4450         Likewise.
4451         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4452         Likewise.
4453         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4454         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4455         Remove variable.
4456         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4457         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4459 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4461         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4462         for wide-character tests.
4464 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4466         * io/openat64.c: #include <libc-internal.h>
4467         (__openat64): Prototypify.  Use ignore_value on MODE.
4468         * io/openat.c: Likewise.
4469         * misc/reboot.c: #include <libc-internal.h>
4470         (reboot): Prototypify.  Use ignore_value on HOWTO.
4471         * misc/ptrace.c: #include <libc-internal.h>
4472         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4474 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4476         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4477         XPG4, UNIX98 and XOPEN2K.
4478         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4479         Remove variable.
4480         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4482 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4484         * libio/fileops.c: Use ISO C style for function definitions.
4485         * libio/iofopen.c: Likewise.
4486         * libio/wfileops.c: Likewise.
4488         [BZ #17653]
4489         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4490         offset on EOF.
4491         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4492         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4493         (fgets_func): Function pointer to fgets and fgetws.
4494         (do_ftell_test): Add test to verify ftell value after read
4495         EOF.
4496         (do_test): Set fgets_func.
4498         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4499         O_TRUNC flag for w and w+ modes.
4500         (do_rewind_test): Likewise.
4501         (do_ftell_test): Likewise.
4502         (do_write_test): Likewise.
4504         [BZ #17647]
4505         * libio/fileops.c (do_ftell): Seek only when there are
4506         unflushed writes.
4507         * libio/wfileops.c (do_ftell_wide): Likewise.
4508         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4509         test case.
4510         (do_one_test): Call it.
4512 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4514         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4515         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4516         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4517         Remove variable.
4518         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4519         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4520         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4522 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4524         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4525         Remove variable.
4526         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4528         [BZ #17668]
4529         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4530         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4531         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4532         __freeifaddrs.  Use libc_hidden_weak.
4533         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4534         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4535         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4536         __freeifaddrs.  Use libc_hidden_weak.
4537         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4538         __getifaddrs and define as weak alias of __getifaddrs.  Use
4539         libc_hidden_weak.
4540         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4541         __freeifaddrs.  Use libc_hidden_weak.
4542         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4543         Remove variable.
4544         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4545         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4547 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4549         [BZ #17601]
4550         * sysdeps/mips/start.S (__start): Use indirect jump to call
4551         __libc_start_main.
4553 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4555         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4557         * nptl/tst-mutex1.c: Include <stdbool.h>.
4558         [!ATTR] (ATTR_NULL): New macro.
4559         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4560         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4561         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4563         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4564         to char *.
4566         [BZ #17665]
4567         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4568         Change conditional to [__USE_MISC].
4570         [BZ #17664]
4571         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4572         fgets_unlocked.
4573         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4574         __fgets_unlocked.
4575         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4576         fgets_unlocked.
4577         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4578         Remove variable.
4579         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4580         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4581         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4582         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4583         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4584         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4585         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4586         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4587         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4589         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4591 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4593         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4594         Remove strpbrk objects.
4595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4596         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4597         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4598         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4599         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4600         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4603         Remove strcspn objects.
4604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4605         (__libc_ifunc_impl_list): Remove strcspn implementation.
4606         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4607         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4608         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4609         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4611         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4612         Remove strspn objetcs.
4613         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4614         (__libc_ifunc_impl_list): Remove strspn implementation.
4615         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4616         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4617         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4618         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4620 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4622         [BZ #17581]
4623         * malloc/hooks.c
4624         (mem2mem_check): Add a terminator to the chain of checking blocks.
4625         (malloc_check_get_size): Use it here.
4626         (mem2chunk_check): Ditto.
4628 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4630         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4631         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4633 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4635         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4637         * nptl/nptl-init.c: Include libc-internal.h.
4638         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4640         * elf/ldconfig.c (search_dir): Expand comment.
4642 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4644         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4645         variable.
4646         (linknamespace-symlist-stdlibs-tests): Likewise.
4647         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4648         instead of $(objpfx)symlist-stdlibs.
4649         (linknamespace-libs-isoc): New variable.
4650         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4651         (linknamespace-libs-ISO): New variable.
4652         (linknamespace-libs-ISO99): Likewise.
4653         (linknamespace-libs-ISO11): Likewise.
4654         (linknamespace-libs-XPG3): Likewise.
4655         (linknamespace-libs-XPG4): Likewise.
4656         (linknamespace-libs-POSIX): Likewise.
4657         (linknamespace-libs-UNIX98): Likewise.
4658         (linknamespace-libs-XOPEN2K): Likewise.
4659         (linknamespace-libs-POSIX2008): Likewise.
4660         (linknamespace-libs-XOPEN2K8): Likewise.
4661         ($(objpfx)symlist-stdlibs): Replace by
4662         $(linknamespace-symlist-stdlibs-tests).  Use
4663         $(linknamespace-libs-$*) as set of libraries.
4664         ($(linknamespace-header-tests)): Update dependencies.  Use
4665         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4666         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4667         * conform/linknamespace.pl: Remove comment about considering
4668         definitions of symbols from irrelevant libraries.
4670 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4672         [BZ #13862]
4673         * elf/dl-tls.c: Include <atomic.h>.
4674         (oom): Remove #ifdef SHARED/#endif.
4675         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4676         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4677         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4678         big enough.
4679         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4680         * nptl/Makefile (tests): Add tst-stack4.
4681         (modules-names): Add tst-stack4mod.
4682         ($(objpfx)tst-stack4): New.
4683         (tst-stack4mod.sos): Likewise.
4684         ($(objpfx)tst-stack4.out): Likewise.
4685         ($(tst-stack4mod.sos)): Likewise.
4686         (clean): Likewise.
4687         * nptl/tst-stack4.c: New file.
4688         * nptl/tst-stack4mod.c: Likewise.
4690 2014-11-27  J. Brown  <jb999@gmx.de>
4692         * sysdeps/x86/bits/string.h: Add recent CPUs.
4694 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4696         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4697         sigblock.
4699         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4700         feof.
4702         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4703         variable.
4705 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4707         * nscd/connections.c: Include libc-internal.h because of macro
4708         usage ignore_value.
4710 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4712         * string/bits/string3.h (__warn_memset_zero_len): Don't
4713         declare for gcc newer than 5.0.
4714         (memset): Don't test for zero-length __LEN for gcc newer than
4715         5.0.
4717 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4719         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4720         size_t for %zu format.
4722         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4723         difference, not %ju.
4725 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4727         * include/libc-internal.h (ignore_value): New macro.
4728         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4729         with ignore_value.
4731         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4732         definition.
4734         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4735         pthread_cleanup_push to void *.
4737         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4738         Undefine.
4740         [BZ #16619]
4741         [BZ #16740]
4742         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4743         instead of 1L << 52.
4745         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4746         * libio/bug-rewind2.c (do_test): Likewise.
4748         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4749         * debug/test-strcpy_chk-ifunc.c: Likewise.
4750         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4751         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4752         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4753         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4754         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4755         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4756         * Rules [$(multi-arch) = no] (tests): Do not filter out
4757         $(tests-ifunc).
4758         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4759         * debug/Makefile (tests-ifunc): Remove variable.
4760         (tests): Do not add $(tests-ifunc).
4761         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4762         (tests): Do not add $(tests-ifunc).
4763         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4764         [TEST_IFUNC]: Remove conditionals.
4765         * string/test-string.h (TEST_IFUNC): Remove macro.
4766         [TEST_IFUNC]: Remove conditionals.
4768         * string/test-strchr.c [!WIDE] (L): New macro.
4769         [WIDE] (L): Likewise.
4770         (check1): Use CHAR instead of char.  Use L on string and character
4771         constants.
4773 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4775         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4776         tests.
4777         * sysdeps/powerpc/bits/atomic.h
4778         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4779         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4780         (atomic_exchange_and_add_acq): Likewise.
4781         (atomic_exchange_and_add_rel): Likewise.
4782         * sysdeps/powerpc/powerpc32/bits/atomic.h
4783         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4784         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4785         * sysdeps/powerpc/powerpc64/bits/atomic.h
4786         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4787         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4789 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4791         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4792         Change synchronization of __sched_fifo_min_prio and
4793         __sched_fifo_max_prio.
4794         * nptl/pthread_mutexattr_getprioceiling.c
4795         (pthread_mutexattr_getprioceiling): Likewise.
4796         * nptl/pthread_mutexattr_setprioceiling.c
4797         (pthread_mutexattr_setprioceiling): Likewise.
4798         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4799         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4800         Likewise.
4802 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4804         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4805         void.
4807 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4809         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4810         third argument const.
4812 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4814         fnmatch: work around GCC compiler warning bug with uninit var
4815         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4816         This works around a bug with x86-64 GCC 4.9.2 and earlier
4817         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4818         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4819         used uninitialized in this function [-Wmaybe-uninitialized]".
4821 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4823         * posix/bug-regex31.c (main): Return RES not 0.
4825 2014-11-25  Anton Blanchard <anton@samba.org>
4827         * sysdeps/powerpc/bits/atomic.h
4828         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4830 2014-11-24  Sterling Augustine  <saugustine@google.com>
4832         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4834 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4836         [BZ #17608]
4837         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4839 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4841         [BZ #17633]
4842         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4843         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4844         variable.
4845         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4846         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4848 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4850         * string/strncpy.c (strncpy): Improve performance by using memset.
4852 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4854         * string/strcpy.c (strcpy):
4855         Improve performance by using strlen and memcpy.
4857 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4859         * string/strcoll_l.c (get_next_seq): __always_inline.
4860         * string/strcoll_l.c (do_compare): __always_inline.
4862 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4864         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4865         defined.
4866         * include/mqueue.h: Likewise.
4867         * include/stdlib.h: Likewise.
4869         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4870         (get_null_defines): Adjust.
4871         * sunrpc/Makefile: Adjust comment.
4872         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4873         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4874         (CFLAGS-interp.c): Likewise.
4875         (CFLAGS-ldconfig.c): Likewise.
4876         (CPPFLAGS-.os): Likewise.
4877         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4878         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4879         * extra-modules.mk (extra-modules.mk): Likewise.
4880         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4881         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4882         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4883         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4884         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4885         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4886         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4887         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4888         * iconvdata/Makefile (CPPFLAGS): Likewise.
4889         (cpp-srcs-left): Add libof for all iconvdata routines.
4890         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4891         * include/assert.h: Likewise.
4892         * include/ctype.h: Likewise.
4893         * include/errno.h: Likewise.
4894         * include/libc-symbols.h: Likewise.
4895         * include/math.h: Likewise.
4896         * include/netdb.h: Likewise.
4897         * include/resolv.h: Likewise.
4898         * include/stdio.h: Likewise.
4899         * include/stdlib.h: Likewise.
4900         * include/string.h: Likewise.
4901         * include/sys/stat.h: Likewise.
4902         * include/wctype.h: Likewise.
4903         * intl/l10nflist.c: Likewise.
4904         * libidn/idn-stub.c: Likewise.
4905         * libio/libioP.h: Likewise.
4906         * nptl/libc_multiple_threads.c: Likewise.
4907         * nptl/pthreadP.h: Likewise.
4908         * posix/regex_internal.h: Likewise.
4909         * resolv/res_hconf.c: Likewise.
4910         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4911         * sysdeps/arm/memmove.S: Likewise.
4912         * sysdeps/arm/sysdep.h: Likewise.
4913         * sysdeps/generic/_itoa.h: Likewise.
4914         * sysdeps/generic/symbol-hacks.h: Likewise.
4915         * sysdeps/gnu/errlist.awk: Likewise.
4916         * sysdeps/gnu/errlist.c: Likewise.
4917         * sysdeps/i386/i586/memcpy.S: Likewise.
4918         * sysdeps/i386/i586/memset.S: Likewise.
4919         * sysdeps/i386/i686/memcpy.S: Likewise.
4920         * sysdeps/i386/i686/memmove.S: Likewise.
4921         * sysdeps/i386/i686/mempcpy.S: Likewise.
4922         * sysdeps/i386/i686/memset.S: Likewise.
4923         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4924         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4925         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4926         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4927         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4928         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4929         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4930         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4931         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4932         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4933         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4934         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4935         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4936         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4937         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4938         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4939         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4940         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4941         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4942         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4943         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4944         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4945         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4946         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4947         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4948         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4949         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4950         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4951         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4952         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4953         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4954         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4956         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4957         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4958         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4959         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4960         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4961         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4962         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4963         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4964         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4965         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4966         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4967         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4968         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4969         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4970         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4971         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4972         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4973         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4974         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4975         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4976         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4977         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4978         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4979         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4980         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4981         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4982         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4983         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4984         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4985         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4986         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4987         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4988         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4989         * sysdeps/posix/closedir.c: Likewise.
4990         * sysdeps/posix/opendir.c: Likewise.
4991         * sysdeps/posix/readdir.c: Likewise.
4992         * sysdeps/posix/rewinddir.c: Likewise.
4993         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4994         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4995         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4996         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4997         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4998         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4999         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5001         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5003         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5004         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5005         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5006         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5007         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5008         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5009         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5010         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5011         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5012         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5013         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5014         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5015         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5016         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5017         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5020         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5021         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5023         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5024         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5025         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5026         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5027         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5029         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5030         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5031         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5032         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5033         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5034         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5035         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5036         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5037         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5038         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5039         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5040         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5041         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5042         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5043         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5044         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5045         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5046         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5048         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5050         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5051         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5052         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5053         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5054         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5055         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5056         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5057         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5058         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5059         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5060         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5061         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5062         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5063         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5064         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5065         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5066         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5067         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5068         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5069         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5070         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5071         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5072         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5073         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5074         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5075         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5076         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5077         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5079         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5080         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5081         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5082         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5083         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5084         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5085         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5086         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5087         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5089         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5090         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5091         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5092         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5093         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5094         * sysdeps/unix/alpha/sysdep.S: Likewise.
5095         * sysdeps/unix/alpha/sysdep.h: Likewise.
5096         * sysdeps/unix/make-syscalls.sh: Likewise.
5097         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5099         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5100         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5101         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5102         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5103         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5104         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5105         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5106         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5107         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5108         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5109         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5110         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5111         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5112         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5113         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5114         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5115         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5116         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5117         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5118         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5119         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5120         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5121         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5122         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5123         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5126         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5127         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5129         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5130         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5131         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5132         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5134         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5135         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5136         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5137         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5138         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5139         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5140         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5141         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5143         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5144         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5147         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5148         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5149         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5150         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5151         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5152         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5153         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5155         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5156         * sysdeps/x86_64/memcpy.S: Likewise.
5157         * sysdeps/x86_64/memmove.c: Likewise.
5158         * sysdeps/x86_64/memset.S: Likewise.
5159         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5160         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5161         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5162         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5163         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5164         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5165         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5166         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5167         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5168         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5169         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5170         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5171         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5172         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5173         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5174         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5175         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5176         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5177         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5178         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5179         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5180         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5181         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5182         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5183         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5184         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5185         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5186         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5187         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5188         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5189         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5190         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5191         * sysdeps/x86_64/strcmp.S: Likewise.
5193         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5195         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5196         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5197         * elf/rtld-Rules: Likewise.
5198         * elf/setup-vdso.h: Likewise.
5199         * include/assert.h: Likewise.
5200         * include/bits/stdlib-float.h: Likewise.
5201         * include/errno.h: Likewise.
5202         * include/sys/stat.h: Likewise.
5203         * include/unistd.h: Likewise.
5204         * sysdeps/aarch64/setjmp.S: Likewise.
5205         * sysdeps/alpha/setjmp.S: Likewise.
5206         * sysdeps/arm/__longjmp.S: Likewise.
5207         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5208         * sysdeps/arm/setjmp.S: Likewise.
5209         * sysdeps/arm/sysdep.h: Likewise.
5210         * sysdeps/generic/_itoa.h: Likewise.
5211         * sysdeps/generic/dl-sysdep.h: Likewise.
5212         * sysdeps/generic/ldsodefs.h: Likewise.
5213         * sysdeps/i386/dl-tls.h: Likewise.
5214         * sysdeps/i386/setjmp.S: Likewise.
5215         * sysdeps/m68k/setjmp.c: Likewise.
5216         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5217         * sysdeps/mach/hurd/opendir.c: Likewise.
5218         * sysdeps/posix/getcwd.c: Likewise.
5219         * sysdeps/posix/opendir.c: Likewise.
5220         * sysdeps/posix/profil.c: Likewise.
5221         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5222         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5223         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5224         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5225         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5226         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5227         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5228         * sysdeps/s390/dl-tls.h: Likewise.
5229         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5230         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5231         * sysdeps/sh/sh3/setjmp.S: Likewise.
5232         * sysdeps/sh/sh4/setjmp.S: Likewise.
5233         * sysdeps/unix/alpha/sysdep.h: Likewise.
5234         * sysdeps/unix/arm/sysdep.S: Likewise.
5235         * sysdeps/unix/i386/sysdep.S: Likewise.
5236         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5237         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5238         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5239         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5240         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5241         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5242         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5243         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5244         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5245         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5246         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5247         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5248         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5251         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5252         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5254         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5255         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5256         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5257         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5258         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5259         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5260         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5261         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5262         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5263         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5264         * sysdeps/x86_64/setjmp.S: Likewise.
5266         * include/math.h: Use IS_IN instead of IS_IN_libm.
5267         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5268         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5269         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5270         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5272         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5273         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5274         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5275         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5276         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5277         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5278         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5279         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5280         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5281         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5282         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5283         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5284         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5285         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5286         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5287         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5288         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5289         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5290         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5291         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5292         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5293         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5294         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5295         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5296         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5297         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5298         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5299         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5301         Likewise.
5302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5303         Likewise.
5304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5305         Likewise.
5306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5307         Likewise.
5308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5309         Likewise.
5310         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5311         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5312         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5313         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5314         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5315         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5321         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5322         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5323         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5324         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5325         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5326         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5327         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5328         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5329         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5330         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5331         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5332         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5333         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5334         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5336         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5338         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5339         * nptl/pthreadP.h: Likewise.
5340         * nptl_db/structs.def: Likewise.
5341         * sysdeps/arm/sysdep.h: Likewise.
5342         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5343         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5344         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5345         * sysdeps/unix/alpha/sysdep.h: Likewise.
5346         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5347         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5348         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5349         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5350         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5351         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5352         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5353         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5354         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5355         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5356         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5357         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5358         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5359         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5362         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5364         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5365         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5367         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5368         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5369         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5370         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5371         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5373         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5374         * nptl/pthreadP.h: Likewise.
5375         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5376         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5377         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5378         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5379         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5380         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5381         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5382         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5383         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5384         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5385         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5386         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5388         Likewise.
5389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5390         Likewise.
5391         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5393         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5394         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5395         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5396         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5397         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5398         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5400         * dlfcn/dladdr.c: Use IS_IN.
5401         * dlfcn/dladdr1.c: Likewise.
5402         * dlfcn/dlclose.c: Likewise.
5403         * dlfcn/dlerror.c: Likewise.
5404         * dlfcn/dlinfo.c: Likewise.
5405         * dlfcn/dlmopen.c: Likewise.
5406         * dlfcn/dlopen.c: Likewise.
5407         * dlfcn/dlsym.c: Likewise.
5408         * dlfcn/dlvsym.c: Likewise.
5410         * include/ifaddrs.h: Use IS_IN.
5411         * inet/check_pf.c: Likewise.
5412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5413         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5415         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5416         IS_IN_ldconfig.
5417         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5418         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5420         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5421         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5422         IS_IN (libc).
5424         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5426         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5427         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5428         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5429         * include/libc-symbols.h (IS_IN_LIB): New macro.
5430         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5431         * include/netdb.h: Likewise.
5432         * include/stap-probe.h: Remove all uses of IN_LIB.
5434         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5435         instead of IN_MODULE.
5436         * include/libc-symbols.h (IN_MODULE): Define using
5437         MODULE_NAME.
5438         (PASTE_NAME, PASTE_NAME1): New macros.
5439         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5440         of IN_LIB.
5441         (STAP_PROBE_ASM): Likewise.
5443 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5445         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5446         __mach_init in dlopened libc.
5448 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5450         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5451         * sysdeps/arm/preconfigure: Regenerate.
5453 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5455         * nptl/pthread_create.c (__pthread_create_2_1): Set
5456         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5457         when copying values from IATTR into PD.
5459 2014-11-21  Will Newton  <will.newton@linaro.org>
5460             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5462         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5463         Refactor inline-asm.  Also add comment.
5465         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5466         ElfW macro instead of hardcoded Elf64 types.
5467         (la_aarch64_gnu_pltenter): Likewise.
5468         * sysdeps/aarch64/dl-machine.h
5469         (elf_machine_runtime_setup): Use ElfW(Addr).
5471         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5472         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5473         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5474         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5475         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5476         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5477         (R_AARCH64_TLS_DTPMOD): This.
5478         (R_AARCH64_TLS_DTPREL64): Rename to ...
5479         (R_AARCH64_TLS_DTPREL): This.
5480         (R_AARCH64_TLS_TPREL64): Rename to ...
5481         (R_AARCH64_TLS_TPREL): This.
5482         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5483         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5484         R_AARCH64_TLS_TPREL64.
5485         (elf_machine_rela): Likewise.
5487 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5489         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5490         by setting it to 0.  64b atomics are not supported currently.
5492 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5494         [BZ #16469]
5495         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5496         search domain names.
5498 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5500         [BZ #16469]
5501         * NEWS: Update.
5502         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5503         trailing dot.
5504         * posix/tst-getaddrinfo5.c: New.
5505         * posix/Makefile (tests): Add it.
5507 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5509         [BZ #14498]
5510         * NEWS: Fixed.
5511         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5512         after parsing line but before break_if_match.
5513         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5514         if there is a protocol mismatch.
5516 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5518         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5519         because the potential race is on the user-supplied stream.
5521 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5523         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5524         string literal if not passed a buffer.
5525         * manual/job.texi (ctermid): Update reasoning, note deviation
5526         from posix, suggest mtasurace when not passed a buffer, for
5527         future non-preliminary safety notes.
5529 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5531         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5532         of not passing it a buffer.
5533         Reported by Peng Haitao.
5535 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5537         * manual/Makefile ($(objpfx)stamp-summary): Require
5538         check-safety.sh to pass.
5539         * manual/check-safety.sh: Wish for verification that every
5540         @deftypefn and @deftypefun is followed by a @safety remark.
5542 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5544         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5546         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5547         PTHREAD_CANCEL_ASYNCHRONOUS.
5548         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5549         send SIGCANCEL.
5551         * nptl/default-sched.h: New file.
5552         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5553         * nptl/pthread_create.c: Include it.
5554         (__pthread_create_2_1): Use collect_default_sched instead of making
5555         Linux syscalls here directly.
5557 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5559         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5560         __pthread_once): Use C11 atomics.
5562 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5564         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5566 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5568         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5569         atomic_thread_fence_acquire, atomic_thread_fence_release,
5570         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5571         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5572         atomic_compare_exchange_weak_relaxed,
5573         atomic_compare_exchange_weak_acquire,
5574         atomic_compare_exchange_weak_release,
5575         atomic_exchange_acquire, atomic_exchange_release,
5576         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5577         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5578         atomic_fetch_and_acquire,
5579         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5581 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5583         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5584         USE_ATOMIC_COMPILER_BUILTINS): Define.
5585         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5587         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5589         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5591         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5593         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5595         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5596         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5597         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5599         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5601         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5602         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5603         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5604         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5605         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5606         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5607         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5608         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5609         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5610         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5611         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5612         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5613         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5614         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5615         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5616         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5617         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5618         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5619         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5620         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5621         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5622         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5623         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5624         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5626 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5628         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5629         the sched_priority value here.  It was already checked when the user
5630         called pthread_attr_setschedparam.
5632         * nptl/tst-bad-schedattr.c: New file.
5633         * nptl/Makefile (tests): Add it.
5635 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5636             Florian Weimer  <fweimer@redhat.com>
5637             Joseph Myers  <joseph@codesourcery.com>
5638             Adam Conrad  <adconrad@0c3.net>
5639             Andreas Schwab  <schwab@suse.de>
5640             Brooks  <bmoses@google.com>
5642         [BZ #17625]
5643         * wordexp-test.c (__dso_handle): Add prototype.
5644         (__register_atfork): Likewise.
5645         (__app_register_atfork): New function.
5646         (registered_forks): New global.
5647         (register_fork): New function.
5648         (test_case): Add 3 new tests for WRDE_CMDSUB.
5649         (main): Call __app_register_atfork.
5650         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5651         fork count is non-zero fail the test.
5652         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5653         is set.
5654         (parse_dollars): Remove check for WRDE_NOCMD.
5655         (parse_dquote): Likewise.
5657 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5659         * Makeconfig (built-modules): List non-library modules to be
5660         built.
5661         (module-cppflags): Include libc-modules.h for
5662         everything except shlib-versions.v.i.
5663         (CPPFLAGS): Use it.
5664         (before-compile): Add libc-modules.h.
5665         ($(common-objpfx)libc-modules.h,
5666         $(common-objpfx)libc-modules.stmp): New targets.
5667         (common-generated): Add libc-modules.h and libc-modules.stmp.
5668         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5669         * include/libc-symbols.h: Don't include libc-modules.h.
5670         * include/libc-modules.h: Remove file.
5671         * scripts/gen-libc-modules.awk: New script to generate
5672         libc-modules.h.
5673         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5674         Depend on libc-modules.stmp.
5676         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5678         * Makeconfig (in-module): Get value of libof set for the
5679         translation unit.
5680         (CPPFLAGS): Use $(in-module).
5681         * Makerules: Don't suffix routine names for nonlib.
5682         * include/libc-modules.h: New file.
5683         * include/libc-symbols.h: Include libc-modules.h
5684         (IS_IN): New macro to replace IS_IN_* macros.
5685         * elf/Makefile: Set libof-* for each routine.
5686         * elf/rtld-Rules: Likewise.
5687         * extra-modules.mk: Likewise.
5688         * iconv/Makefile: Likewise.
5689         * iconvdata/Makefile: Likewise.
5690         * locale/Makefile: Likewise.
5691         * malloc/Makefile: Likewise.
5692         * nss/Makefile: Likewise.
5693         * sysdeps/gnu/Makefile: Likewise.
5694         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5695         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5696         * sysdeps/s390/s390-64/Makefile: Likewise.
5697         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5698         CPPFLAGS for nscd instead of nonlib.
5700 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5702         * nptl/createthread.c: New file.
5704         * nptl/createthread.c: Moved ...
5705         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5707         * nptl/createthread.c: Add proper top-line comment.
5708         (do_clone): Folded into ...
5709         (create_thread): ... here.  Take new arguments STOPPED_START and
5710         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5711         increment __nptl_threads, do event-reporting logic, do
5712         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5713         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5714         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5715         just send SIGCANCEL.
5716         * nptl/pthread_create.c: Forward-declare create_thread before
5717         including createthread.c.
5718         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5719         declaration, and new macro START_THREAD_SELF to replace argument.
5720         Remove return statement.
5721         (report_thread_creation): New function.
5722         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5723         synchronization logic, and __nptl_nthreads increment here, around
5724         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5725         PD->parent_cancelhandling here, before create_thread.  When
5726         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5727         __deallocate_stack, and ENOMEM translation here.
5729 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5731         [BZ #17616]
5732         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5733         (mptwo): Rename to __mptwo.
5734         (__inv): Use __mptwo instead of mptwo.
5735         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5736         (mptwo): Rename to __mptwo.
5737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5738         of mpone and __mptwo instead of mptwo.
5739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5740         instead of mpone.
5741         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5742         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5743         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5744         of mpone and __mptwo instead of mptwo.
5745         (__mpranred): Use __mpone instead of mpone.
5746         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5747         variable.
5748         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5749         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5750         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5751         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5752         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5753         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5754         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5755         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5756         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5757         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5758         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5759         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5760         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5761         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5762         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5763         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5764         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5765         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5766         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5768 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5770         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5771         replace BSD Handler xref with BSD Signal Handling.
5773 2014-11-17  Richard Henderson  <rth@redhat.com>
5775         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5776         (_FP_PACK_RAW_2): Remove.
5777         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5778         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5779         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5780         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5781         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5782         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5783         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5784         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5785         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5786         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5787         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5788         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5789         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5790         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5791         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5792         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5794 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5796         * signal/signal.h [__USE_MISC]
5797         (struct sigvec): Remove type.
5798         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5799         (sigvec): Remove declaration.
5800         * sysdeps/posix/sigvec.c: Moved ...
5801         * signal/sigvec.c: ... here, replacing old file.
5802         (struct sigvec): New type, copied from old signal.h definition.
5803         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5804         (__sigvec): Convert definition to prototype.
5805         (sigvec): Replace weak_alias with compat_symbol.
5806         * signal/Versions (libc: GLIBC_2.21): New version set.
5807         * include/signal.h: Remove __sigvec declaration.
5808         * sysdeps/unix/bsd/sigvec.c: Remove file.
5809         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5810         * manual/signal.texi (BSD Handler): Remove subsection.
5811         Move siginterrupt up to ...
5812         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5813         (Blocking in BSD): Fold subsection into its parent.
5814         * NEWS: Mention sigvec removal.
5816 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5818         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5819         (DLA_FMS): Make definition conditional only on [__FMA4__].
5820         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5821         definition.
5823         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5824         Make definition conditional only on [PROF].
5825         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5826         definition.
5827         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5828         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5830         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5831         !__GNUC__].
5832         * include/signal.h (__sigpause): Move declaration above call to
5833         libc_hidden_proto.
5834         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5835         variable.
5836         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5837         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5839 2014-11-14  David S. Miller  <davem@davemloft.net>
5841         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5842         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5844 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5846         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5847         * configure: Regenerated.
5848         * manual/install.texi (Tools for Compilation): Document a
5849         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5850         compiler verified to work.
5851         * INSTALL: Regenerated.
5853         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5854         redeclare with asm name.
5855         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5856         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5857         including <string.h>.
5858         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5859         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5860         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5861         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5862         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5864         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5866 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5868         * stdlib/strtol.c (__strtol): Use prototype definition.
5870         [BZ #17594]
5871         * stdlib/strtol.c (SYM__): New macro.
5872         (SYM__1): Likewise.
5873         (__strtol): Likewise.
5874         (strtol): Rename to __strtol and define as weak alias of
5875         __strtol.  Use libc_hidden_weak.
5877 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5879         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5880         Use numbered labels in inline assembly.
5882 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5884         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5885         Add setjmp LIBC_PROBE.
5886         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5887         Likewise.
5888         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5889         Add longjmp, longjmp_target LIBC_PROBE.
5890         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5891         Likewise.
5893 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5895         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5896         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5897         to get rid of unused variable warning.
5899 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5901         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5902         Check for unwind_backtrace ==  NULL only in SHARED case.
5903         (__backchain_backtrace): Compile only in SHARED case.
5904         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5905         Likewise.
5906         (__backchain_backtrace): Declare as static.
5908 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5910         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5911         (__libc_multiple_threads_ptr): Variable moved ...
5912         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5914 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5916         * conform/GlibcConform.pm: New file.
5917         * conform/conformtest.pl: Use GlibcConform module.
5918         * conform/linknamespace.pl: New file.
5919         * conform/list-header-symbols.pl: Likewise.
5920         * conform/Makefile (linknamespace-symlists-base): New variable.
5921         (linknamespace-symlists-tests): Likewise.
5922         (linknamespace-header-base): Likewise.
5923         (linknamespace-header-tests): Likewise.
5924         (tests-special): Add new tests.
5925         ($(linknamespace-symlists-tests)): New rule.
5926         (linknamespace-libs): New variable.
5927         ($(objpfx)symlist-stdlibs): New rule.
5928         ($(linknamespace-header-tests)): Likewise.
5929         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5930         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5931         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5932         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5933         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5934         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5935         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5936         (test-xfail-ISO/math.h/linknamespace): Likewise.
5937         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5938         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5939         (test-xfail-ISO/time.h/linknamespace): Likewise.
5940         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5941         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5942         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5943         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5944         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5945         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5946         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5947         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5948         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5949         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5950         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5951         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5952         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5953         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5954         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5955         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5956         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5957         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5958         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5959         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5960         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5961         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5962         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5963         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5964         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5965         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5966         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5967         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5968         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5969         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5970         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5971         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5972         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5973         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5974         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5975         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5976         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5977         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5978         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5979         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5980         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5981         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5982         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5983         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5984         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5985         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5986         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5987         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5988         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5989         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5990         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5991         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5992         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5993         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5994         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5995         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5996         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5997         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5998         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5999         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6000         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6001         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6002         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6003         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6004         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6005         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6006         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6007         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6008         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6009         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6010         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6011         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6012         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6013         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6014         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6015         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6016         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6017         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6018         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6019         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6020         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6021         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6022         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6023         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6024         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6025         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6026         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6027         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6028         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6029         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6030         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6031         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6032         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6033         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6034         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6035         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6036         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6037         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6038         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6039         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6040         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6041         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6042         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6043         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6044         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6045         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6046         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6047         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6048         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6049         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6050         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6051         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6052         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6053         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6054         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6055         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6056         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6057         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6058         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6059         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6060         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6061         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6062         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6063         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6064         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6065         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6066         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6067         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6068         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6069         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6070         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6071         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6072         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6073         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6074         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6075         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6076         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6077         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6078         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6079         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6080         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6081         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6082         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6083         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6084         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6085         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6086         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6087         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6088         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6089         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6091         [BZ #17589]
6092         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6093         of fgets_unlocked.
6095         [BZ #17585]
6096         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6097         (memmem): Rename to __memmem and define as weak alias of
6098         __memmem.  Use libc_hidden_weak.
6099         (__memmem): Use libc_hidden_def.
6100         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6101         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6102         memmem.
6104         [BZ #17582]
6105         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6106         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6107         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6108         and define as weak alias of __fgets_unlocked.  Use
6109         libc_hidden_weak.
6110         (__fgets_unlocked): Use libc_hidden_def.
6111         * include/stdio.h (__fgets_unlocked): Declare.  Use
6112         libc_hidden_proto.
6113         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6114         __fgets_unlocked instead of fgets_unlocked.
6115         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6116         (GET_NPROCS_CONF_PARSER): Likewise.
6117         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6118         (GET_NPROCS_CONF_PARSER): Likewise.
6120         [BZ #17574]
6121         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6122         weak alias of __wmemset.  Use libc_hidden_weak.
6123         (__wmemset): Use libc_hidden_def.
6124         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6125         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6126         of wmemset.
6128         [BZ #17573]
6129         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6130         with asm name __mempcpy.
6131         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6133         [BZ #17572]
6134         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6135         and define as weak alias of __rawmemchr.
6136         (__rawmemchr): Do not define as strong alias of rawmemchr.
6138         [BZ #17571]
6139         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6140         alias of __qsort_r.
6141         (qsort): Call __qsort_r instead of qsort_r.
6142         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6143         (__qsort_r): Declare.  Call libc_hidden_proto.
6144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6145         instead of qsort_r.
6146         * nscd/gai.c (__qsort_r): Define to qsort_r.
6147         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6148         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6149         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6151         [BZ #17570]
6152         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6153         define as weak alias of __malloc_info.
6155         [BZ #17584]
6156         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6157         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6158         (__rewinddir): Use libc_hidden_def.
6159         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6160         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6161         (__rewinddir): Use libc_hidden_def.
6162         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6163         weak alias of __rewinddir.  Don't use libc_hidden_def.
6164         (__rewinddir): Use libc_hidden_def.
6165         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6166         (__rewinddir): Use libc_hidden_proto.
6167         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6168         rewinddir.
6169         (__getcwd): Use __rewinddir instead of rewinddir.
6171         [BZ #17583]
6172         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6173         alias of __fileno.  Use libc_hidden_weak.
6174         (__fileno): Use libc_hidden_def.
6175         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6176         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6177         alias of __ftello.
6178         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6179         __ftello.
6180         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6181         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6182         libc_hidden_def.
6183         (fread_unlocked): Don't use libc_hidden_ver.
6184         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6185         and define as weak alias of __fread_unlocked.  Don't use
6186         libc_hidden_def.
6187         (__fread_unlocked): Use libc_hidden_def.
6188         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6189         (ftello): Don't use libc_hidden_proto.
6190         (__ftello): Declare.  Use libc_hidden_proto.
6191         (fread_unlocked): Don't use libc_hidden_proto.
6192         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6193         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6194         and __ftello instead of fileno, fread_unlocked and ftello.
6196 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6198         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6199         GOT12.
6200         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6201         Likewise.
6202         (_dl_start_user): Likewise.
6203         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6205 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6206             Siddhesh Poyarekar  <siddhesh@redhat.com>
6208         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6209         Move argv and envp down instead of moving argc up.
6210         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6212 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6214         [BZ #17506]
6215         * test-skeleton.c (main): Return successful if one of
6216         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6217         * string/tst-strcoll-overflow.c: Define expected status.
6219 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6221         [BZ #17475]
6222         * locale/iso-639.def: Define Bhili and Tulu language codes.
6224 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6226         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6228 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6230         [BZ #17555]
6231         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6233 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6235         * configure.ac: Updated check of minimal required version to
6236         2.22.
6237         * manual/install.texi (Tools for Compilation): Updated version
6238         number.
6239         * configure: Regenerated.
6240         * INSTALL: Likewise.
6242 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6244         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6245         __tls_get_addr.
6247 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6249         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6250         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6251         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6252         libc_hidden_weak.
6253         (waitpid): Define as alias of __waitpid.
6254         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6255         __waitpid.
6256         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6257         libc_hidden_weak.
6258         (waitpid): Define as alias of __waitpid.
6259         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6260         __libc_waitpid alias.
6261         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6262         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6263         Likewise.
6264         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6265         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6266         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6267         alias.
6268         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6269         __waitpid.
6270         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6271         libc_hidden_weak.
6272         (waitpid): Define as alias of __waitpid.
6274 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6276         * manual/llio.texi: Add comment that write safety has been
6277         fixed in Linux.
6279         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6280         (localplt-build-dso): Add elf/ld.so.
6281         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6282         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6283         and free for ld.so.
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6285         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6287         Likewise.
6288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6289         Likewise.
6290         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6291         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6292         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6293         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6294         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6295         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6296         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6297         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6298         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6299         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6300         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6302 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6304         [BZ #14132]
6305         * include/libc-symbols.h (INTUSE): Remove macro.
6306         (INTDEF): Likewise.
6307         (INTVARDEF): Likewise.
6308         (_INTVARDEF): Likewise.
6309         (INTDEF2): Likewise.
6310         (INTVARDEF2): Likewise.
6311         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6312         rtld_hidden_def instead of INTVARDEF.
6313         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6314         (_dl_starting_up_internal): Remove declaration.
6315         (_dl_starting_up): Use rtld_hidden_proto.
6316         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6317         declaration.
6318         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6319         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6320         _dl_starting_up.
6321         * elf/dl-writev.h (_dl_writev): Likewise.
6322         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6323         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6324         _dl_starting_up_internal.
6326 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6328         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6329         test-skeleton.c.
6331 2014-11-05  Will Newton  <will.newton@linaro.org>
6333         * benchtests/Makefile: (bench-malloc): Add malloc thread
6334         scalability benchmark.
6335         * benchtests/bench-malloc-threads.c: New file.
6337 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6339         * sysdeps/aarch64/strchrnul.S: New file.
6341 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6343         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6344         definition.
6345         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6346         Likwise.
6347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6348         Likewise.
6349         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6350         Likewise.
6351         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6352         Likewise.
6353         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6354         Likewise.
6356 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6358         * catgets/test-gencat.c: Use test-skeleton.c.
6359         * catgets/tst-catgets.c: Likewise.
6360         * csu/tst-empty.c: Likewise.
6361         * elf/tst-audit2.c: Likewise.
6362         * elf/tst-global1.c: Likewise.
6363         * elf/tst-pathopt.c: Likewise.
6364         * elf/tst-piemod1.c: Likewise.
6365         * elf/tst-tls10.c: Likewise.
6366         * elf/tst-tls11.c: Likewise.
6367         * elf/tst-tls12.c: Likewise.
6368         * gnulib/tst-gcc.c: Likewise.
6369         * iconvdata/tst-e2big.c: Likewise.
6370         * iconvdata/tst-loading.c: Likewise.
6371         * iconv/tst-iconv1.c: Likewise.
6372         * iconv/tst-iconv2.c: Likewise.
6373         * inet/test-inet6_opt.c: Likewise.
6374         * inet/tst-gethnm.c: Likewise.
6375         * inet/tst-network.c: Likewise.
6376         * inet/tst-ntoa.c: Likewise.
6377         * intl/tst-codeset.c: Likewise.
6378         * intl/tst-gettext2.c: Likewise.
6379         * intl/tst-gettext3.c: Likewise.
6380         * intl/tst-ngettext.c: Likewise.
6381         * intl/tst-translit.c: Likewise.
6382         * io/test-stat.c: Likewise.
6383         * libio/test-fmemopen.c: Likewise.
6384         * libio/tst-freopen.c: Likewise.
6385         * libio/tst-sscanf.c: Likewise.
6386         * libio/tst-ungetwc1.c: Likewise.
6387         * libio/tst-ungetwc2.c: Likewise.
6388         * libio/tst-widetext.c: Likewise.
6389         * localedata/tst-ctype.c: Likewise.
6390         * localedata/tst-digits.c: Likewise.
6391         * localedata/tst-leaks.c: Likewise.
6392         * localedata/tst-mbswcs1.c: Likewise.
6393         * localedata/tst-mbswcs2.c: Likewise.
6394         * localedata/tst-mbswcs3.c: Likewise.
6395         * localedata/tst-mbswcs4.c: Likewise.
6396         * localedata/tst-mbswcs5.c: Likewise.
6397         * localedata/tst-setlocale.c: Likewise.
6398         * localedata/tst-trans.c: Likewise.
6399         * localedata/tst-wctype.c: Likewise.
6400         * localedata/tst-xlocale1.c: Likewise.
6401         * login/tst-grantpt.c: Likewise.
6402         * malloc/tst-calloc.c: Likewise.
6403         * malloc/tst-malloc.c: Likewise.
6404         * malloc/tst-mallocstate.c: Likewise.
6405         * malloc/tst-mcheck.c: Likewise.
6406         * malloc/tst-mtrace.c: Likewise.
6407         * malloc/tst-obstack.c: Likewise.
6408         * math/atest-exp2.c: Likewise.
6409         * math/atest-exp.c: Likewise.
6410         * math/atest-sincos.c: Likewise.
6411         * math/test-matherr.c: Likewise.
6412         * math/test-misc.c: Likewise.
6413         * math/test-powl.c: Likewise.
6414         * math/tst-definitions.c: Likewise.
6415         * misc/tst-dirname.c: Likewise.
6416         * misc/tst-efgcvt.c: Likewise.
6417         * misc/tst-fdset.c: Likewise.
6418         * misc/tst-hsearch.c: Likewise.
6419         * misc/tst-mntent2.c: Likewise.
6420         * nptl/tst-sem7.c: Likewise.
6421         * nptl/tst-sem8.c: Likewise.
6422         * nptl/tst-sem9.c: Likewise.
6423         * nss/test-netdb.c: Likewise.
6424         * posix/tst-fnmatch.c: Likewise.
6425         * posix/tst-getlogin.c: Likewise.
6426         * posix/tst-gnuglob.c: Likewise.
6427         * posix/tst-mmap.c: Likewise.
6428         * pwd/tst-getpw.c: Likewise.
6429         * resolv/tst-inet_ntop.c: Likewise.
6430         * rt/tst-timer.c: Likewise.
6431         * stdio-common/test-fseek.c: Likewise.
6432         * stdio-common/test-popen.c: Likewise.
6433         * stdio-common/test-vfprintf.c: Likewise.
6434         * stdio-common/tst-cookie.c: Likewise.
6435         * stdio-common/tst-fileno.c: Likewise.
6436         * stdio-common/tst-gets.c: Likewise.
6437         * stdio-common/tst-obprintf.c: Likewise.
6438         * stdio-common/tst-perror.c: Likewise.
6439         * stdio-common/tst-sprintf2.c: Likewise.
6440         * stdio-common/tst-sprintf3.c: Likewise.
6441         * stdio-common/tst-sprintf.c: Likewise.
6442         * stdio-common/tst-swprintf.c: Likewise.
6443         * stdio-common/tst-tmpnam.c: Likewise.
6444         * stdio-common/tst-unbputc.c: Likewise.
6445         * stdio-common/tst-wc-printf.c: Likewise.
6446         * stdlib/tst-environ.c: Likewise.
6447         * stdlib/tst-fmtmsg.c: Likewise.
6448         * stdlib/tst-limits.c: Likewise.
6449         * stdlib/tst-rand48-2.c: Likewise.
6450         * stdlib/tst-rand48.c: Likewise.
6451         * stdlib/tst-random2.c: Likewise.
6452         * stdlib/tst-random.c: Likewise.
6453         * stdlib/tst-strtol.c: Likewise.
6454         * stdlib/tst-strtoll.c: Likewise.
6455         * stdlib/tst-tls-atexit.c: Likewise.
6456         * stdlib/tst-xpg-basename.c: Likewise.
6457         * string/test-ffs.c: Likewise.
6458         * string/tst-bswap.c: Likewise.
6459         * string/tst-inlcall.c: Likewise.
6460         * string/tst-strtok.c: Likewise.
6461         * string/tst-strxfrm.c: Likewise.
6462         * sysdeps/x86_64/tst-audit10.c: Likewise.
6463         * sysdeps/x86_64/tst-audit3.c: Likewise.
6464         * sysdeps/x86_64/tst-audit4.c: Likewise.
6465         * sysdeps/x86_64/tst-audit5.c: Likewise.
6466         * time/tst-ftime_l.c: Likewise.
6467         * time/tst-getdate.c: Likewise.
6468         * time/tst-mktime3.c: Likewise.
6469         * time/tst-mktime.c: Likewise.
6470         * time/tst-posixtz.c: Likewise.
6471         * time/tst-strptime2.c: Likewise.
6472         * time/tst-strptime3.c: Likewise.
6473         * wcsmbs/tst-btowc.c: Likewise.
6474         * wcsmbs/tst-mbrtowc.c: Likewise.
6475         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6476         * wcsmbs/tst-wchar-h.c: Likewise.
6477         * wcsmbs/tst-wcpncpy.c: Likewise.
6478         * wcsmbs/tst-wcrtomb.c: Likewise.
6479         * wcsmbs/tst-wcsnlen.c: Likewise.
6480         * wcsmbs/tst-wcstof.c: Likewise.
6482 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6484         [BZ #14132]
6485         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6486         INTDEF.
6487         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6488         declaration.
6489         (_dl_mcount): Use rtld_hidden_proto.
6490         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6491         _dl_mcount.
6492         * elf/rtld.c (_rtld_global_ro): Likewise.
6494         [BZ #14132]
6495         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6496         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6497         of _dl_init_internal.
6498         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6499         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6500         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6501         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6502         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6503         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6504         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6505         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6506         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6507         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6508         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6509         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6510         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6511         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6512         * sysdeps/tile/dl-start.S (_start): Likewise.
6513         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6514         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6516         [BZ #14132]
6517         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6518         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6519         (rtld_progname): Make macro definition unconditional.
6520         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6521         INTDEF.
6522         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6523         (dl_main): Likewise.
6524         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6525         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6526         instead of _dl_argv_internal.
6527         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6528         __GI__dl_argv instead of INTUSE(_dl_argv).
6529         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6530         __GI__dl_argv instead of _dl_argv_internal.
6532         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6533         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6534         macro.
6535         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6536         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6537         New macro.
6538         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6539         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6540         macro.
6541         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6542         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6544 2014-11-04  Andreas Schwab  <schwab@suse.de>
6546         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6548 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6550         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6551         mtvsrd instruction in binary form.
6553 2014-11-03  Andreas Schwab  <schwab@suse.de>
6555         [BZ #17522]
6556         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6557         for less than MB_LEN_MAX use a local buffer of that size.
6558         * libio/tst-fputws.c: New file.
6559         * libio/Makefile (tests): Add tst-fputws.
6561 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6563         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6564         the size of the fpu_fr.fpu_dregs[] array.
6566 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6568         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6569         (__nanosleep): Do not define as alias.
6570         (nanosleep): Define as alias of __nanosleep.
6571         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6572         __libc_nanosleep name.
6574 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6576         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6577         install.texi in comment.
6579 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6581         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6582         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6583         ... add here and use lwsync or sync ...
6584         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6585         ... and add here using lwsync.
6587 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6589         * elf/dl-machine-reject-phdr.h: New file.
6590         * elf/dl-load.c: #include that.
6591         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6592         if that returned true.
6594 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6596         [BZ #17496]
6597         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6598         gen-as-const-headers chunk.  Add a big scare comment after the last
6599         safe place to touch before-compile.
6601 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6603         * manual/install.texi (Tools for Compilation): Update autoconf
6604         version requirements.
6605         * INSTALL: Regenerated.
6607         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6608         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6609         (__libc_pselect): Likewise.
6611         [BZ #14138]
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6617 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6619         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6620         correct barrier instruction.
6621         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6622         Likewise.
6623         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6624         Likewise.
6626 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6628         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6629         after defining inlines.  Instead, just use parens to defeat macro
6630         expansion of __isctype in its declaration.
6632 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6634         * include/sys/uio.h (__libc_readv): Remove declaration.
6635         (__libc_writev): Likewise.
6636         * misc/readv.c (__libc_readv): Rename to __readv.
6637         (__readv): Do not define as alias.
6638         (readv): Define as alias of __readv.
6639         * misc/writev.c (__libc_writev): Rename to __writev.
6640         (__writev): Do not define as alias.
6641         (writev): Define as alias of __writev.
6642         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6643         (__readv): Do not define as alias.
6644         (readv): Define unconditionally as alias of __readv.
6645         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6646         (__writev): Do not define as alias.
6647         (writev): Define unconditionally as alias of __writev.
6648         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6649         name.
6650         (writev): Do not define __libc_writev name.
6652 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6654         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6655         (convert_charseq): New function, broken out of ...
6656         (use_from_charmap): ... here.  Call it.
6657         (use_to_charmap): Use convert_charseq and free instead of duplicating
6658         its code with a variable-length stack struct.
6660 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6662         * include/fcntl.h (__libc_creat): Remove declaration.
6663         * io/creat.c (__libc_creat): Rename to creat.
6664         (creat): Do not define as alias.
6665         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6666         of creat instead of __libc_creat.
6667         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6668         to creat.
6669         (creat): Do not define as alias.
6670         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6671         __libc_creat.
6672         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6673         __libc_creat name.
6674         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6675         Likewise.
6677 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6679         * manual/llio.texi: Add comments discussing why write() may be
6680         considered MT-unsafe on Linux.
6682 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6684         * dl-load.c (local_strdup): Remove.
6685         (expand_dynamic_string_token): Use __strdup.
6686         (decompose_rpath): Likewise.
6687         (_dl_map_object): Likewise.
6689 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6691         [BZ #14132]
6692         * sysdeps/generic/unwind-dw2-fde.c
6693         (__register_frame_info_bases_internal): Do not declare.
6694         (__register_frame_info_table_bases_internal): Likewise.
6695         (__deregister_frame_info_bases_internal): Likewise.
6696         (__register_frame_info_bases): Declare and use hidden_proto before
6697         definition.  Use hidden_def instead of INTDEF.
6698         (__register_frame_info_table_bases): Likewise.
6699         (__deregister_frame_info_bases): Likewise.
6700         (__register_frame_info): Do not use INTUSE.
6701         (__register_frame): Likewise.
6702         (__register_frame_info_table): Likewise.
6703         (__register_frame_table): Likewise.
6704         (__deregister_frame_info): Likewise.
6705         (__deregister_frame): Likewise.
6707 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6709         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6710         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6711         not undefine.
6712         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6713         Likewise.
6714         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6715         Likewise.
6717 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6719         [BZ #14138]
6720         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6721         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6722         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6723         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6724         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6725         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6726         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6728         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6729         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6730         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6731         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6732         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6733         syscall.
6734         (setfsuid): Likewise.
6735         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6736         (setfsuid): Likewise.
6737         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6738         (setfsuid): Likewise.
6739         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6740         Likewise.
6741         (setfsuid): Likewise.
6742         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6743         (setfsuid): Likewise.
6744         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6745         Likewise.
6746         (setfsuid): Likewise.
6748 2014-10-27  Andreas Schwab  <schwab@suse.de>
6750         [BZ #17501]
6751         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6752         check for Slow_SSE4_2 feature bit.
6753         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6754         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6755         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6756         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6758 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6760         * configure.ac: Validate compiler version with a empirical test of
6761         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6762         $CC -v output.
6763         * configure: Regenerated.
6765         * inet/htons.c (htons): Prototypify.
6766         * inet/htonl.c (htonl): Likewise.
6768 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6770         * string/strncat.c (strncat): Improve performance by using strlen.
6772 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6774         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6776 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6778         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6779         Call libc_fetestexcept_aarch64.
6781 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6783         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6784         Call libc_feholdexcept_aarch64.
6786 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6788         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6789         Call get_rounding_mode.
6791 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6793         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6794         Simplify logic.
6796 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6798         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6799         Simplify logic.
6801 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6803         [BZ #14138]
6804         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6805         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6806         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6807         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6808         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6809         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6810         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6811         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6812         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6813         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6814         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6815         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6816         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6817         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6818         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6819         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6820         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6821         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6822         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6823         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6824         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6825         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6826         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6827         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6828         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6829         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6830         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6831         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6832         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6833         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6834         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6835         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6836         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6837         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6838         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6839         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6840         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6841         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6842         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6843         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6844         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6845         syscall.
6846         (geteuid): Likewise.
6847         (getgid): Likewise.
6848         (getuid): Likewise.
6849         (getresgid): Likewise.
6850         (getresuid): Likewise.
6851         (getgroups): Likewise.
6852         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6853         (geteuid): Likewise.
6854         (getgid): Likewise.
6855         (getuid): Likewise.
6856         (getresgid): Likewise.
6857         (getresuid): Likewise.
6858         (getgroups): Likewise.
6859         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6860         (geteuid): Likewise.
6861         (getgid): Likewise.
6862         (getuid): Likewise.
6863         (getresgid): Likewise.
6864         (getresuid): Likewise.
6865         (getgroups): Likewise.
6866         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6867         Likewise.
6868         (geteuid): Likewise.
6869         (getgid): Likewise.
6870         (getuid): Likewise.
6871         (getresgid): Likewise.
6872         (getresuid): Likewise.
6873         (getgroups): Likewise.
6874         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6875         (geteuid): Likewise.
6876         (getgid): Likewise.
6877         (getuid): Likewise.
6878         (getresgid): Likewise.
6879         (getresuid): Likewise.
6880         (getgroups): Likewise.
6881         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6882         Likewise.
6883         (geteuid): Likewise.
6884         (getgid): Likewise.
6885         (getuid): Likewise.
6886         (getgroups): Likewise.
6888         [BZ #14138]
6889         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6890         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6891         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6892         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6893         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6894         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6895         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6896         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6897         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6898         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6899         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6900         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6901         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6902         __chown.
6903         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6904         (lchown): Likewise.
6905         (fchown): Likewise.
6906         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6907         Likewise.
6908         (lchown): Likewise.
6909         (fchown): Likewise.
6910         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6911         (lchown): Likewise.
6912         (fchown): Likewise.
6913         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6914         Likewise.
6915         (lchown): Likewise.
6916         (fchown): Likewise.
6918 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6920         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6921         Simplify logic.
6923 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6925         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6926         Cleanup logic.
6928 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6930         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6931         Remove unused include.
6933 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6935         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6936         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6937         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6938         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6940 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6941             Helge Deller <deller@gmx.de>
6943         [BZ #17508]
6944         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6945         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6946         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6948 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6950         [BZ #14132]
6951         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6952         Remove macro definition.
6953         (__ashrdi3_v_glibc20): Likewise.
6954         (__lshrdi3_v_glibc20): Likewise.
6955         (__cmpdi2_v_glibc20): Likewise.
6956         (__ucmpdi2_v_glibc20): Likewise.
6957         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6958         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6959         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6960         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6961         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6962         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6964 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6966         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6967         old GNU extension [0] syntax.
6968         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6969         alloca rather than an array member with variable length.
6970         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6971         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6972         (parse_opt): ... here.  Likewise use alloca there.
6973         Validate the -i argument before checking for rootness.
6974         (send_shutdown): New function, broken out of ...
6975         (parse_opt): ... here.
6977 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6979         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6980         macro to get at the _rt_local_ro field.
6981         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6982         ([PIC] case) or _dl_hwcap ([!PIC] case).
6983         * sysdeps/arm/setjmp.S: Likewise.
6985         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6986         * sysdeps/arm/configure.ac: New check to define it.
6987         * sysdeps/arm/configure: Regenerated.
6988         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6989         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6990         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6991         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6992         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6993         Use move/movt pair instead of a load.
6994         (LDST_GLOBAL): Macro removed.
6995         (LDR_GLOBAL): New macro replaces it.
6996         (LDR_HIDDEN): New macro.
6997         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6998         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7000         * setjmp/tst-setjmp-static.c: New file.
7001         * setjmp/Makefile (tests): Add it.
7002         (tests-static): New variable.
7004 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
7006         [BZ #17485]
7007         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7009 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
7011         [BZ #14132]
7012         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7014 2014-10-21  Roland McGrath  <roland@hack.frob.com>
7016         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7018 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7020         * io/fts.c (dirent_not_directory): New function.
7021         (fts_build): Call it.
7023 2014-10-20  Roland McGrath  <roland@hack.frob.com>
7025         * nptl/version.c (__nptl_main): Use normal __write rather than
7026         INTERNAL_SYSCALL.
7027         (banner): Update copyright years.
7029         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7030         gettimeofday.
7031         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7032         * nptl/pthread_cond_timedwait.c: Likewise.
7033         * nptl/pthread_mutex_timedlock.c: Likewise.
7034         * nptl/sem_timedwait.c: Likewise.
7036         * sysdeps/nptl/bits/libc-lock.h
7037         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7038         (__libc_lock_init_recursive): Return void, not 0.
7039         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7040         (__libc_rwlock_init): Likewise.
7041         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7043 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7045         [BZ #15215]
7046         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7047         (__pthread_once_slow): ... here.
7048         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7049         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7051 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7053         [BZ #15215]
7054         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7055         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7056         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7057         * nptl/pthread_once.c (__pthread_once): Likewise.
7058         Update comments.
7060 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7062         [BZ #14138]
7063         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7064         name.
7065         (writev): Use __libc_writev as strong name.
7066         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7067         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7069 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7071         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7073         * sysdeps/i386/nptl/tls.h
7074         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7075         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7076         New macros.
7077         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7078         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7079         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7080         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7081         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7082         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7084         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7085         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7086         on [__NR_futex].
7087         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7088         broken out of ...
7089         (__pthread_mutex_init): ... here.  Call it.
7090         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7091         Conditionalize PI cases on [__NR_futex].
7092         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7093         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7094         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7096         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7097         conditional on [SIGSETXID].
7098         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7099         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7100         is defined.  Likewise for SIGSETXID.
7101         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7102         Conditionalize definitions on [SIGSETXID].
7103         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7104         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7105         unblocking on [SIGCANCEL].
7107         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7108         [__NR_set_robust_list].
7110 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7112         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7113         (do_compare): Likewise.
7115 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7117         [BZ #15884]
7118         * string/strcoll_l.c: Don't include stdio.h.
7119         (coll_seq): Remove members idxarr and rulearr.
7120         (get_next_seq_cached): Remove function.
7121         (get_next_seq): Likewise.
7122         (get_next_seq_nocache): Rename to get_next_seq.
7123         (do_compare): Remove function.
7124         (do_compare_nocache): Rename to do_compare.
7125         (STRCOLL): Remove weight and rules cache.
7127 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7129         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7130         * sysdeps/arm/sfp-machine.h: ... to here.
7131         * sysdeps/arm/Implies: Remove arm/soft-fp.
7133 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7135         * conform/data/sys/utsname.h-data (*_t): Allow.
7136         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7137         [POSIX] (WEXITED): Do not expect constant.
7138         [POSIX] (WSTOPPED): Likewise.
7139         [POSIX] (WNOHANG): Likewise.
7140         [POSIX] (WNOWAIT): Likewise.
7141         [POSIX] (siginfo_t): Do not expect type or elements.
7142         [POSIX] (pid_t): Do not expect type.
7143         [POSIX] (signal.h): Do not allow header.
7144         [POSIX] (sys/resource.h): Likewise.
7145         [POSIX] (si_*): Do not allow pattern.
7146         [POSIX] (W*): Likewise.
7147         [POSIX] (P_*): Likewise.
7148         [POSIX] (BUS_*): Likewise.
7149         [POSIX] (CLD_*): Likewise.
7150         [POSIX] (FPE_*): Likewise.
7151         [POSIX] (ILL_*): Likewise.
7152         [POSIX] (POLL_*): Likewise.
7153         [POSIX] (SEGV_*): Likewise.
7154         [POSIX] (SI_*): Likewise.
7155         [POSIX] (TRAP_*): Likewise.
7156         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7157         variable.
7159 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7161         [BZ #12926]
7162         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7163         infinite loop when __recvmsg returns 0.
7165 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7167         * CANCEL-FCT-WAIVE: Remove file.
7168         * CANCEL-FILE-WAIVE: Likewise.
7170         [BZ #14132]
7171         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7172         instead of INTVARDEF.
7173         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7174         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7175         rtld_hidden_data_def instead of INTVARDEF.
7176         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7177         * elf/dl-deps.c (expand_dst): Likewise.
7178         * elf/dl-load.c (_dl_dst_count): Likewise.
7179         (_dl_dst_substitute): Likewise.
7180         (decompose_rpath): Likewise.
7181         (_dl_init_paths): Likewise.
7182         (open_path): Likewise.
7183         (_dl_map_object): Likewise.
7184         * elf/rtld.c (dl_main): Likewise.
7185         (process_dl_audit): Likewise.
7186         (process_envvars): Likewise.
7187         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7188         Remove declaration.
7189         (__libc_enable_secure): Use rtld_hidden_proto.
7191 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7193         * elf/dl-load.c
7194         (add_path): New function broken out of _dl_rtld_di_serinfo.
7195         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7197 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7199         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7200         parentheses around macro arguments.
7201         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7203         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7204         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7205         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7206         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7207         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7208         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7209         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7212         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7213         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7214         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7215         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7216         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7217         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7218         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7219         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7220         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7221         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7222         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7223         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7226         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7227         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7228         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7230         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7231         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7232         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7233         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7234         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7235         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7236         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7237         Likewise.
7238         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7239         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7240         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7241         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7242         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7243         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7244         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7245         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7246         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7247         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7248         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7249         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7250         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7251         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7252         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7253         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7254         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7255         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7256         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7257         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7258         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7259         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7260         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7261         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7262         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7263         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7264         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7265         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7266         (_FP_FRAC_SRS_1): Likewise.
7267         (_FP_FRAC_CLZ_1): Likewise.
7268         (_FP_MUL_MEAT_1_imm): Likewise.
7269         (_FP_MUL_MEAT_1_wide): Likewise.
7270         (_FP_MUL_MEAT_1_hard): Likewise.
7271         (_FP_SQRT_MEAT_1): Likewise.
7272         (_FP_FRAC_ASSEMBLE_1): Likewise.
7273         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7274         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7275         (__FP_CLZ_2): Likewise.
7276         (_FP_MUL_MEAT_2_wide): Likewise.
7277         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7278         (_FP_MUL_MEAT_2_gmp): Likewise.
7279         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7280         (_FP_SQRT_MEAT_2): Likewise.
7281         (_FP_FRAC_ASSEMBLE_2): Likewise.
7282         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7283         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7284         (_FP_FRAC_CLZ_4): Likewise.
7285         (_FP_MUL_MEAT_4_wide): Likewise.
7286         (_FP_MUL_MEAT_4_gmp): Likewise.
7287         (_FP_SQRT_MEAT_4): Likewise.
7288         (_FP_FRAC_ASSEMBLE_4): Likewise.
7289         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7290         * soft-fp/op-common.h (_FP_CMP): Likewise.
7291         (_FP_CMP_EQ): Likewise.
7292         (_FP_CMP_UNORD): Likewise.
7293         (_FP_TO_INT): Likewise.
7294         (_FP_FROM_INT): Likewise.
7295         [!__FP_CLZ] (__FP_CLZ): Likewise.
7296         (_FP_DIV_HELP_imm): Likewise.
7297         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7298         Likewise.
7299         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7300         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7301         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7302         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7303         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7304         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7305         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7306         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7309         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7310         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7311         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7312         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7313         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7314         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7315         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7316         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7317         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7318         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7319         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7320         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7321         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7322         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7323         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7324         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7326         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7327         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7328         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7329         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7330         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7331         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7332         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7333         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7334         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7335         (FP_UNPACK_RAW_SP): Likewise.
7336         (FP_PACK_RAW_S): Likewise.
7337         (FP_PACK_RAW_SP): Likewise.
7338         (FP_UNPACK_S): Likewise.
7339         (FP_UNPACK_SP): Likewise.
7340         (FP_UNPACK_SEMIRAW_S): Likewise.
7341         (FP_UNPACK_SEMIRAW_SP): Likewise.
7342         (FP_PACK_S): Likewise.
7343         (FP_PACK_SP): Likewise.
7344         (FP_PACK_SEMIRAW_S): Likewise.
7345         (FP_PACK_SEMIRAW_SP): Likewise.
7346         (_FP_SQRT_MEAT_S): Likewise.
7347         (FP_CMP_S): Likewise.
7348         (FP_CMP_EQ_S): Likewise.
7349         (FP_CMP_UNORD_S): Likewise.
7350         (FP_TO_INT_S): Likewise.
7351         (FP_FROM_INT_S): Likewise.
7353         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7355         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7356         (FP_EX_INVALID_IMZ): Likewise.
7357         (FP_EX_INVALID_IMZ_FMA): Likewise.
7358         (FP_EX_INVALID_ISI): Likewise.
7359         (FP_EX_INVALID_ZDZ): Likewise.
7360         (FP_EX_INVALID_IDI): Likewise.
7361         (FP_EX_INVALID_SQRT): Likewise.
7362         (FP_EX_INVALID_CVI): Likewise.
7363         (FP_EX_INVALID_VC): Likewise.
7364         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7365         "invalid" exceptions.
7366         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7367         (_FP_ADD_INTERNAL): Likewise.
7368         (_FP_MUL): Likewise.
7369         (_FP_FMA): Likewise.
7370         (_FP_DIV): Likewise.
7371         (_FP_CMP_CHECK_NAN): Likewise.
7372         (_FP_SQRT): Likewise.
7373         (_FP_TO_INT): Likewise.
7374         (FP_EXTEND): Likewise.
7376 2014-10-09  Allan McRae  <allan@archlinux.org>
7378         * po/fr.po: Update French translation from translation project.
7380 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7382         [BZ #14132]
7383         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7384         of INTDEF.
7385         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7386         (__cxa_atexit): Use libc_hidden_proto.
7387         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7389         [BZ #14132]
7390         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7391         declaration.
7392         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7393         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7394         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7395         [!_ISOMAC] (__iswctype_internal): Likewise.
7396         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7397         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7398         alias.
7399         (fcntl): Remove __fcntl_internal alias.
7400         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7401         __connect_internal alias.
7402         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7403         Likewise.
7405         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7406         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7407         FP_DENORM_ZERO.
7408         (_FP_CHECK_FLUSH_ZERO): New macro.
7409         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7410         (_FP_CMP): Likewise.
7411         (_FP_CMP_EQ): Likewise.
7412         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7413         FP_DENORM_ZERO.
7414         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7415         (FP_TRUNC): Likewise.
7417         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7418         treated as invalid conversion, not as normal exponent.
7420         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7421         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7422         (_FP_CMP_EQ): Likewise.
7423         (_FP_CMP_UNORD): Likewise.
7424         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7425         (FP_CMP_EQ_D): Likewise.
7426         (FP_CMP_UNORD_D): Likewise.
7427         * soft-fp/extended.h (FP_CMP_E): Likewise.
7428         (FP_CMP_EQ_E): Likewise.
7429         (FP_CMP_UNORD_E): Likewise.
7430         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7431         (FP_CMP_EQ_Q): Likewise.
7432         (FP_CMP_UNORD_Q): Likewise.
7433         * soft-fp/single.h (FP_CMP_S): Likewise.
7434         (FP_CMP_EQ_S): Likewise.
7435         (FP_CMP_UNORD_S): Likewise.
7436         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7437         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7438         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7439         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7440         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7441         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7442         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7443         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7444         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7445         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7446         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7447         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7448         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7449         to FP_CMP_Q.
7450         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7451         FP_CMP_Q.
7452         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7453         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7454         FP_CMP_EQ_Q.
7455         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7456         FP_CMP_Q.
7457         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7458         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7459         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7460         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7461         FP_CMP_EQ_Q.
7462         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7463         FP_CMP_Q.
7464         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7465         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7466         FP_CMP_EQ_Q.
7467         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7468         FP_CMP_Q.
7469         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7470         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7471         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7472         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7473         FP_CMP_EQ_Q.
7475         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7476         a subnormal result, set the underflow exception if trapping on
7477         underflow is enabled.
7478         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7479         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7480         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7481         redefine to 0.
7482         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7483         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7484         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7485         * soft-fp/extendxftf2.c (__extendxftf2): Use
7486         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7488         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7489         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7490         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7491         FP_HANDLE_EXCEPTIONS.
7492         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7493         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7494         FP_HANDLE_EXCEPTIONS.
7495         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7496         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7497         FP_HANDLE_EXCEPTIONS.
7498         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7499         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7500         FP_HANDLE_EXCEPTIONS.
7502 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #14132]
7505         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7506         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7507         use INTUSE.
7508         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7509         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7510         Remove alias.
7511         (__adjtimex): Define using libc_hidden_ver.
7512         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7513         Remove declaration.
7514         (ntp_gettime): Call __adjtimex directly.
7515         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7516         Remove declaration.
7517         (ntp_gettimex): Call __adjtimex directly.
7518         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7519         __adjtimex_internal alias.
7521 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7523         [BZ #17460]
7524         * nscd/nscd.c (more_help): Rewrite list of tables collection
7525         using xstrdup and asprintf.
7527         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7529 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7530             Roland McGrath  <roland@hack.frob.com>
7532         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7533         (do_lookup_unique): ... local function 'enter' here; update callers.
7535 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7537         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7538         compat_symbol calls on [SHARED].
7539         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7540         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7541         Remove.
7542         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7543         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7544         (oldsetrlimit): Remove.
7545         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7547         (lchown): New syscall entry.
7548         (oldsetrlimit): Remove.
7549         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7550         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7551         (oldsetrlimit): Remove.
7552         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7554         [BZ #14138]
7555         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7556         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7557         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7558         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7559         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7560         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7561         (fchown): Likewise.
7562         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7563         (fchown): Likewise.
7564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7565         Likewise.
7567 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7569         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7570         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7571         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7572         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7573         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7574         Likewise.
7575         (__old_sem_post): Likewise.
7577 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7579         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7580         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7581         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7582         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7583         Use INLINE_VSYSCALL macro.
7584         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7585         __vdso_clock_gettime.
7586         * sysdeps/unix/sysv/linux/tile/init-first.c
7587         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7588         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7589         __vdso_clock_gettime.
7591         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7592         to set up frame more cleanly.
7594         * sysdeps/tile/memcmp.c: New file.
7596         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7598         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7599         * sysdeps/tile/tilegx/strcasestr.c: New file.
7600         * sysdeps/tile/tilegx/strnlen.c: New file.
7601         * sysdeps/tile/tilegx/strstr.c: New file.
7603         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7605 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7607         * nptl/tst-setuid3.c: Write errors to stdout.
7609 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7611         * elf/dl-deps.c
7612         (preload): New functions broken out of _dl_map_object_deps.
7613         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7615 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7617         [BZ #14138]
7618         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7619         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7621 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7623         * sysdeps/mips/strcmp.S: New.
7625 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #14138]
7628         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7629         (linkat): Likewise.
7630         (mkdirat): Likewise.
7631         (readlinkat): Likewise.
7632         (renameat): Likewise.
7633         (symlinkat): Likewise.
7634         (unlinkat): Likewise.
7635         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7636         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7637         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7638         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7639         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7640         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7641         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7643 2014-09-30  Will Newton  <will.newton@linaro.org>
7645         * math/math.h: Define long double math functions if
7646         _LIBC_TEST is defined.
7647         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7649         * localedata/Makefile: Move assignment to tests-special
7650         into an ifdef testing run-built-tests.
7651         * timezone/Makefile: Likewise.
7653 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7655         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7656         with $(BASH) not $(SHELL).
7658 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7659             Matthew LeGendre  <legendre1@llnl.gov>
7661         [BZ #17411]
7662         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7663         l_reloc_result.
7665 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7667         * stdio-common/printf_fp.c
7668         (hack_digit): New function, broken out of ...
7669         (__printf_fp): ... local function here.  Update call sites.
7670         hack_digit now takes an additional parameter that is a pointer
7671         to a struct of the referenced locals.  Those locals moved inside
7672         the struct and references updated.
7674 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7676         * aclocal.m4: Require autoconf 2.69.
7677         * configure: Regenerated.
7678         * sysdeps/aarch64/configure: Likewise.
7679         * sysdeps/alpha/configure: Likewise.
7680         * sysdeps/arm/armv7/configure: Likewise.
7681         * sysdeps/arm/configure: Likewise.
7682         * sysdeps/ia64/configure: Likewise.
7683         * sysdeps/mach/configure: Likewise.
7684         * sysdeps/mips/configure: Likewise.
7685         * sysdeps/s390/configure: Likewise.
7686         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7689         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7690         file.
7691         * sysdeps/ia64/configure.ac: Likewise.
7693 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7696         specify symbol version for ld.so.  Do not include entry for
7697         libpthread.
7698         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7699         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7700         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7702         [BZ #14171]
7703         * Makeconfig [$(build-shared) = yes]
7704         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7705         makefiles.
7706         [$(build-shared) = yes && $(soversions.mk-done) = t]
7707         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7708         [$(build-shared) = yes && $(soversions.mk-done) = t]
7709         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7710         to Makerules.
7711         [$(build-shared) = yes && $(soversions.mk-done) = t]
7712         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7713         here.
7714         [$(build-shared) = yes && $(soversions.mk-done) = t]
7715         (common-generated): Don't append gnu/lib-names.h and
7716         gnu/lib-names.stmp here.
7717         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7718         (lib-names-h-abi): New variable.
7719         [$(build-shared) = yes && $(soversions.mk-done) = t]
7720         (lib-names-stmp-abi): Likewise.
7721         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7722         abi-variants] (before-compile): Append
7723         $(common-objpfx)$(lib-names-h-abi).
7724         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7725         abi-variants] (common-generated): Append gnu/lib-names.h.
7726         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7727         abi-variants] (install-others-nosubdir): Depend on
7728         $(inst_includedir)/$(lib-names-h-abi).
7729         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7730         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7731         [$(build-shared) = yes && $(soversions.mk-done) = t]
7732         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7733         [$(build-shared) = yes && $(soversions.mk-done) = t]
7734         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7735         [$(build-shared) = yes && $(soversions.mk-done) = t]
7736         (common-generated): Append $(lib-names-h-abi) and
7737         $(lib-names-stmp-abi).
7738         * scripts/lib-names.awk: Do not handle multi being set.
7739         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7740         Remove variable.
7741         (abi-lp64_be-ld-soname): Likewise.
7742         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7743         Likewise.
7744         (abi-hard-ld-soname): Likewise.
7745         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7746         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7747         Remove variable.
7748         (abi-o32_hard-ld-soname): Likewise.
7749         (abi-o32_soft_2008-ld-soname): Likewise.
7750         (abi-o32_hard_2008-ld-soname): Likewise.
7751         (abi-n32_soft-ld-soname): Likewise.
7752         (abi-n32_hard-ld-soname): Likewise.
7753         (abi-n32_soft_2008-ld-soname): Likewise.
7754         (abi-n32_hard_2008-ld-soname): Likewise.
7755         (abi-n64_soft-ld-soname): Likewise.
7756         (abi-n64_hard-ld-soname): Likewise.
7757         (abi-n64_soft_2008-ld-soname): Likewise.
7758         (abi-n64_hard_2008-ld-soname): Likewise.
7759         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7760         Likewise.
7761         (abi-64-v2-ld-soname): Likewise.
7762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7763         ld.so entries.
7764         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7765         variable.
7766         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7767         entry.
7768         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7769         variable.
7770         (abi-64-ld-soname): Likewise.
7771         (abi-x32-ld-soname): Likewise.
7772         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7773         entry.
7774         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7776 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7778         [BZ #14138]
7779         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7780         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7781         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7782         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7783         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7784         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7785         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7786         syscall entry for GLIBC_2.2 symbol version.
7787         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7788         Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7790         (setrlimit): Likewise.
7791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7792         Likewise.
7794 2014-09-23  Will Newton  <will.newton@linaro.org>
7796         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7797         _LINUX_ARM_SYSDEP_H include guard too.
7798         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7799         define.
7801 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7803         * sysdeps/unix/sysv/linux/eventfd.c:
7804         Make first argument unsigned.
7805         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7806         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7808 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7810         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7811         * socket/sys/socket.h: Likewise
7812         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7814 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7816         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7818 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7820         * time/tst-ftime.c: New test.
7821         * time/Makefile (tests): Add tst-ftime.
7823 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7825         * soft-fp/extended.h: Fix comment formatting.
7826         * soft-fp/op-1.h: Likewise.
7827         * soft-fp/op-2.h: Likewise.
7828         * soft-fp/op-4.h: Likewise.
7829         * soft-fp/op-8.h: Likewise.
7830         * soft-fp/op-common.h: Likewise.
7831         * soft-fp/soft-fp.h: Likewise.
7833         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7835 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7837         [BZ #6652]
7838         * Makeconfig (soversions-default-setname): Remove variable.
7839         ($(common-objpfx)soversions.i): Don't pass default_setname to
7840         soversions.awk.
7841         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7842         oldest_abi to abi-versions.awk.
7843         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7844         * config.make.in (oldest-abi): Remove variable.
7845         * configure.ac (--enable-oldest-abi): Remove configure option.
7846         * configure: Regenerated.
7847         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7848         text.
7849         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7850         * scripts/soversions.awk: Do not handle default_setname variable.
7851         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7852         variable.
7853         * sysdeps/mach/hurd/configure: Regenerated.
7854         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7855         variable.
7856         * sysdeps/unix/sysv/linux/configure: Regenerated.
7858 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7860         * elf/Makefile (CFLAGS-interp.c): Remove.
7861         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7862         path string.
7863         * elf/interp.c: Include generated runtime-linker.h
7865         * Makerules (lib%.so): Don't include $(+interp) in
7866         prerequisites.
7867         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7868         * dlfcn/eval.c: Remove file.
7870         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7871         macros.
7873         [BZ #17266]
7874         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7875         4.2 and newer.
7877         [BZ #17370]
7878         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7880 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881             Jakub Jelinek  <jakub@redhat.com>
7883         [BZ #17266]
7884         * libio/stdio.h: Check definition of __fortify_function
7885         instead of __extern_always_inline to include bits/stdio2.h.
7886         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7887         check if __extern_always_inline is defined.
7888         [__USE_MISC || __USE_XOPEN]: Likewise.
7889         [__USE_ISOC99] Likewise.
7890         * misc/sys/cdefs.h (__fortify_function): Define only if
7891         __extern_always_inline is defined.
7892         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7893         __extern_always_inline and __extern_inline only for g++-4.3
7894         and newer or a compatible gcc.
7896 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7898         [BZ #17371]
7899         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7900         last change to handle zero prefix length.
7902 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7904         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7905         _SC_REGEX_VERSION.
7907         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7908         _POSIX_RAW_SOCKETS.
7910 2014-09-13  Allan McRae  <allan@archlinux.org>
7912         * po/ru.po: Update Russian translation from translation project.
7914 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7916         * locale/programs/locale.c (show_locale_vars): Inline local function
7917         into its sole call site.  Clean up some style nits.
7918         (print_item): New function, broken out of ...
7919         (show_info): ... local function here.  Clean up style nits.
7921         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7922         out of ...
7923         (set_class_defaults): ... local function set_default here.
7924         Define set_default as a macro locally to pass constant parameters.
7925         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7926         rather than a shared local.
7928         * stdlib/rpmatch.c (try): New function, broken out of ...
7929         (rpmatch): ... local function here.  Also, prototypify definition.
7931 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7933         * scripts/soversions.awk: Do not handle configuration names.
7934         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7935         vendor and os variables to soversions.awk.
7936         * configure.ac: Do not modify gnu-* host_os.
7937         * configure: Regenerated
7938         * shlib-versions: Remove first column with configuration names.
7939         * nptl/shlib-versions: Likewise.
7940         * nptl_db/shlib-versions: Likewise.
7941         * sysdeps/hppa/shlib-versions: Likewise.
7942         * sysdeps/m68k/shlib-versions: Likewise.
7943         * sysdeps/mach/hurd/shlib-versions: Likewise.
7944         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7945         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7946         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7947         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7948         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7949         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7950         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7951         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7953         Likewise.
7954         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7955         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7956         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7957         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7958         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7959         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7960         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7961         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7964         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7966         Regenerated.
7967         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7969         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7971         * shlib-versions: Remove OS-specific entries.  Moved to files in
7972         sysdeps.
7973         * sysdeps/mach/hurd/shlib-versions: New file.
7974         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7976         * nptl/shlib-versions: Remove architecture-specific entries.
7977         Moved to files in sysdeps.
7978         * shlib-versions: Likewise.
7979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7980         file.
7981         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7982         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7983         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7984         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7986         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7987         (UDP_NO_CHECK6_RX): Likewise.
7989 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7991         * sysdeps/posix/sysconf.c (__sysconf): Spell
7992         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7994 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7996         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7997         loading.
7998         * iconv/Versions (__gconv_transliterate): Export for use from
7999         gconv modules.
8000         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8001         (struct __gconv_trans_data, __gconv_trans_fct,
8002         __gconv_trans_context_fct, __gconv_trans_query_fct,
8003         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8004         definitions.
8005         (struct __gconv_step_data): Remove __trans member.
8006         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
8007         longer hidden.  Remove unused trans_data argument.
8008         * iconv/gconv_int.h (struct trans_struct): Remove definition.
8009         (__gconv_translit_find): Remove declaration.
8010         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
8011         prototype.
8012         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8013         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8014         trans_data argument.  Add hidden definition.
8015         (__gconv_translit_find): Remove.
8016         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8017         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8018         * iconv/skeleton.c: Remove transliteration initialization.
8019         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8020         __gconv_step_data initialization.
8021         * libio/iofwide.c (__libio_translit_): Remove.
8022         (_IO_fwide): Adjust struct __gconv_step_data initialization.
8023         * wcsmbs/btowc.c (__btowc): Likewise.
8024         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8025         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8026         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8027         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8028         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8029         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8030         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8031         * wcsmbs/wctob.c (wctob): Likewise.
8033 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8035         [BZ #16194]
8036         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8037         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
8038         register usage.
8039         * sysdeps/x86/Makefile: Adjust.
8041 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8042             Roland McGrath  <roland@hack.frob.com>
8044         * locale/weight.h: Add include guard.
8045         (findidx): Make static rather than auto; take new parameters
8046         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8047         * locale/weightwc.h: Likewise.
8048         * posix/fnmatch_loop.c
8049         (FCT): Change type of EXTRA from int32_t to wint_t.
8050         Don't include either header inside the function.
8051         Call FINDIDX rather than findidx, and pass new arguments.
8052         #undef FINDIDX at the end of the file.
8053         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8054         FINDIDX before including fnmatch_loop.c for the non-wide version.
8055         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8056         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8057         for the wide version.
8058         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8059         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8060         Pass new arguments to findidx.
8061         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8062         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8063         Don't #include it inside the function.  Pass new arguments to findidx.
8064         * posix/regex_internal.h
8065         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8066         (re_string_elem_size_at): Don't #include it inside the function.
8067         Pass new arguments to findidx.
8068         * string/strcoll_l.c: #include WEIGHT_H at top level.
8069         (get_next_seq): Don't #include it inside the function.
8070         Pass new arguments to findidx.
8071         (get_next_seq_nocache): Likewise.
8072         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8073         (STRXFRM): Don't #include it inside the function.
8074         Pass new arguments to findidx.
8076 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8078         [BZ #17344]
8079         * malloc/malloc.c (unlink): Turn asserts into a call to
8080         malloc_printerr.
8082 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8084         [BZ #17370]
8085         * libio/wfileops (do_ftell_wide): Free OUT.
8087 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8089         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8091 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8093         [BZ #17363]
8094         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8095         group if the current group is empty.
8097 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8099         * benchtests/bench-memset.c (test_main): Add more test from size
8100         from 32 to 512 bytes.
8101         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8102         Add POWER8 memset object.
8103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8104         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8105         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8106         implementation.
8107         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8108         Likewise.
8109         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8110         multiarch POWER8 memset optimization.
8111         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8112         POWER8 memset optimization.
8114         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8115         Remove bzero multiarch objects.
8116         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8117         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8119         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8120         Remove define.
8121         [__bzero]: Redefine to specific name.
8122         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8123         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8124         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8125         define.
8126         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8127         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8129 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8131         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8132         warnings into errors.
8134         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8135         __cxa_thread_atexit_impl prototype.
8137 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8139         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8140         Fix capitalization of error message.
8142 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8144         * sysdeps/mips/preconfigure: Modify ABI tests.
8146 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8148         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8150 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8151             Carlos O'Donell  <carlos@systemhalted.org>
8153         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8154         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8155         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8156         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8157         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8158         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8159         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8160         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8161         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8162         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8163         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8164         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8165         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8166         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8167         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8168         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8170         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8171         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8172         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8173         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8174         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8175         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8176         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8177         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8178         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8179         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8180         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8181         Deconditionalize the code that was previously under [RESET_PID].
8182         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8183         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8184         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8185         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8186         include sysdep.h.
8188 2014-09-08  Allan McRae  <allan@archlinux.org>
8190         * version.h (RELEASE): Set to "development".
8191         (VERSION): Set to "2.20.90"
8193 2014-09-07  Allan McRae  <allan@archlinux.org
8195         * version.h (RELEASE): Set to "stable".
8196         (VERSION): Set to "2.20"
8197         * include/features.h (__GLIBC_MINOR__): Set to 20.
8199         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8200         Liebler.
8202         * po/ko.po: Update Korean translation from translation project.
8204 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8206         [BZ #17354]
8207         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8208         macro for handling signed relocations.
8210 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8212         [BZ #17325]
8213         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8214         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8215         assert.
8216         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8217         * iconvdata/ibm935.c (BODY): Likewise.
8218         * iconvdata/ibm937.c (BODY): Likewise.
8219         * iconvdata/ibm939.c (BODY): Likewise.
8220         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8221         assert.
8222         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8223         script.
8224         * iconvdata/run-iconv-test.sh: New test loop for checking for
8225         decoder crashers.
8227 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8230         libm_hidden_ver.
8232 2014-09-01  Allan McRae  <allan@archlinux.org>
8234         * po/eo.po: Update Esperanto translation from translation project.
8236         * po/ca.po: Update Catalan translation from translation project.
8238 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8240         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8241         __proc_dostop call.
8243 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8245         [BZ #17319]
8246         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8247         to call set_thread_area instead of hand written asm.
8248         (__NR_set_thread_area): Removed define.
8249         (TLS_FLAG_WRITABLE): Likewise.
8250         (__ASSUME_SET_THREAD_AREA): Remove check.
8251         (TLS_EBX_ARG): Remove define.
8252         (TLS_LOAD_EBX): Likewise.
8254 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8256         Simplify atomicity of socket creation in bind.
8258         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8259         looking up the name after linking the file.
8261 2014-08-27  Allan McRae  <allan@archlinux.org>
8263         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8265 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8267         [BZ #17187]
8268         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8269         trans_compare, open_translit, __gconv_translit_find):
8270         Remove module loading code.
8272 2014-08-26  Allan McRae  <allan@archlinux.org>
8274         * po/vi.po: Update Vietnamese translation from translation project.
8276         * po/uk.po: Update Ukrainian translation from translation project.
8278         * po/fr.po: Update French translation from translation project.
8280         * po/ru.po: Update Russian translation from translation project.
8282         * po/pl.po: Update Polish translation from translation project.
8284         * po/cs.po: Update Czech translation from translation project.
8286         * po/de.po: Update German translation from translation project.
8288         * po/bg.po: Update Bulgarian translation from translation project.
8290         * po/sv.po: Update Sweedish translation from translation project.
8292         * po/nl.po: Update Dutch translation from translation project.
8294         * po/es.po: Update Spanish translation from translation project.
8296 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8298         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8300         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8301         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8302         (CPPFLAGS-iconvconfig): Likewise.
8303         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8305         * include/libc-symbols.h: Remove unnecessary check for
8306         NOT_IN_libc.
8307         * nptl/pthreadP.h: Likewise.
8308         * sysdeps/aarch64/setjmp.S: Likewise.
8309         * sysdeps/alpha/setjmp.S: Likewise.
8310         * sysdeps/arm/sysdep.h: Likewise.
8311         * sysdeps/i386/setjmp.S: Likewise.
8312         * sysdeps/m68k/setjmp.c: Likewise.
8313         * sysdeps/posix/getcwd.c: Likewise.
8314         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8315         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8316         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8317         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8318         * sysdeps/sh/sh3/setjmp.S: Likewise.
8319         * sysdeps/sh/sh4/setjmp.S: Likewise.
8320         * sysdeps/unix/alpha/sysdep.h: Likewise.
8321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8322         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8323         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8324         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8327         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8328         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8329         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8331         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8332         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8334         * sysdeps/x86_64/setjmp.S: Likewise.
8336 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8338         [BZ #17263]
8339         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8340         <stdint.h>.
8341         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8342         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8344 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8346         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8348         [BZ #17262]
8349         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8350         and __x86_64__ when disabling x87 inline functions.
8352 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8354         [BZ #17259]
8355         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8356         asm statement with __cpuid_count.
8358 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8360         * configure.ac: Change __ehdr_start code to dereference the struct.
8361         Run readelf on the output to look for relocations.
8362         * configure: Regenerated.
8364 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8366         [BZ #17261]
8367         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8368         value to 0.
8369         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8371 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8373         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8375 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8377         [BZ #16892]
8378         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8379         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8381 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8383         * malloc/malloc.c: Fix typo in comment.
8385 2014-08-09  Allan McRae  <allan@archlinux.org>
8387         * Regenerate libc.po.
8389 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8391         * intl/tst-gettext2.sh: Check every lang file for creation.
8393 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8395         * sysdeps/aarch64/fpu/math_private.h
8396         (libc_feholdsetround_noex_aarch64_ctx): New function.
8398 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8400         * sysdeps/arm/armv6/strcpy.S (strcpy):
8401         Fix performance issue in misaligned cases.
8403 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8405         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8406         Move definition from termios.h.
8407         (struct termio): Likewise.
8408         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8409         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8410         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8411         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8412         Likewise.
8413         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8414         Move definition to ioctl-types.h
8415         (struct termio): Likewise.
8416         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8417         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8418         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8419         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8420         Likewise.
8422 2014-08-05  Richard Henderson  <rth@redhat.com>
8424         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8425         exceptions.
8426         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8427         Add fraiseexcpt.
8428         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8429         Use __feraiseexcept.
8430         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8431         Protect libm symbols with IS_IN_libm.
8433         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8435 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8437         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8439 2014-08-04  Will Newton  <will.newton@linaro.org>
8441         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8442         file.
8444 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8446         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8447         variants for each function.
8449 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8451         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8452         appended ...
8453         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8454         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8455         appended ...
8456         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8457         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8458         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8459         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8460         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8461         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8462         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8463         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8464         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8465         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8466         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8467         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8468         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8469         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8470         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8471         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8472         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8473         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8474         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8475         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8476         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8477         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8478         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8479         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8480         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8481         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8482         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8483         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8484         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8485         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8486         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8487         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8488         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8489         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8490         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8491         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8492         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8493         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8494         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8495         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8496         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8497         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8498         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8500         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8502         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8504         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8505         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8506         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8507         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8508         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8509         Update #include.
8510         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8511         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8513 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8515         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8516         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8517         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8518         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8519         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8520         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8522 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8524         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8525         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8526         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8527         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8529 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8531         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8532         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8533         (__libc_vfork): Define function under this name.
8534         (__vfork): Define as an alias.
8535         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8536         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8538 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8540         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8541         that was previously under [RESET_PID].
8542         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8544 2014-08-04  Andreas Schwab  <schwab@suse.de>
8546         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8548 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8550         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8551         (main): Likewise.
8553 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8555         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8557 2014-08-01  Richard Henderon  <rth@redhat.com>
8559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8560         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8561         typo in exact zero test.
8562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8563         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8564         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8566 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8568         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8569         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8570         * sysdeps/arm/sysdep.h: ... here.
8571         [!__ASSEMBLER__]: Include <stdint.h>.
8573 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8575         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8576         (HAVE_WCTYPE_H): Likewise.
8577         (HAVE_ISWCTYPE): Likewise.
8578         (ENABLE_NLS): Likewise.
8579         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8580         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8582         * posix/regex_internal.c: Check if DEBUG is defined and is
8583         set.
8585         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8586         (HAVE_MBSRTOWCS): Likewise.
8587         * posix/fnmatch.c: Include string.h unconditionally.
8589 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8591         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8592         reversal.
8594 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8596         * sysdeps/generic/safe-fatal.h: New file.
8597         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8598         * nptl/forward.c: Include it.
8599         (__pthread_unwind): Use __safe_fatal as default action, rather
8600         than a bogus use of INTERNAL_SYSCALL that could never work.
8602         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8603         * configure.ac (libc_cv_builtin_trap): New test.
8604         * configure: Regenerated.
8605         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8606         (ABORT_INSTRUCTION): Define using __builtin_trap.
8608         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8609         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8610         * sysdeps/nptl/nptl-signals.h: New file.
8611         * nptl/pthreadP.h: Include <nptl-signals.h>.
8613 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8615         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8616         (ONE_DIRECTION): Define.
8617         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8618         (ONE_DIRECTION): Define.
8619         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8620         (ONE_DIRECTION): Define.
8622 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8624         * sysdeps/s390/Makefile: Delete file.
8625         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8626         * sysdeps/s390/__longjmp.c: Delete file.
8627         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8628         Remove fields __flags and __reserved.
8629         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8630         and add versioning.
8631         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8632         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8633         * sysdeps/s390/rtld-setjmp.S: Likewise.
8634         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8635         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8636         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8637         * sysdeps/s390/s390-32/setjmp.S: ... here.
8638         Add versioning.
8639         (__sigsetjmp): Remove setting __flags field.
8640         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8641         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8642         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8643         * sysdeps/s390/s390-64/setjmp.S: ... here.
8644         Add versioning.
8645         (__sigsetjmp): Remove setting __flags field.
8646         * sysdeps/s390/setjmp.S: Delete file.
8647         * sysdeps/s390/sigjmp.c: Likewise.
8648         * sysdeps/s390/v1-longjmp.c: Likewise.
8649         * sysdeps/s390/v1-setjmp.h: Likewise.
8650         * sysdeps/s390/v1-sigjmp.c: Likewise.
8651         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8652         Remove v1-longjmp_chk.
8653         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8654         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8655         Include debug/longjmp_chk.c and add versioning.
8656         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8657         Include nptl/pt-longjmp.c and add versioning.
8658         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8659         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8660         Include __longjmp.c.
8661         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8662         Move to ...
8663         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8664         (__getcontext): Remove setting __flags field.
8665         Add versioning.
8666         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8667         Don't restore upper high grps.
8668         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8669         Likewise.
8670         (__swapcontext): Remove setting uc_flags field.
8671         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8672         Delete file.
8673         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8674         Include __longjmp.c.
8675         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8676         Move to ...
8677         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8678         (__getcontext): Remove setting __flags field.
8679         Add versioning.
8680         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8681         (__swapcontext): Remove setting uc_flags field.
8682         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8683         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8684         Remove fields uc_high_gprs and __reserved.
8685         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8686         New file with reverted content.
8687         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8688         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8689         Regenerated.
8690         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8691         Regenerated.
8693 2014-07-31  Andreas Schwab  <schwab@suse.de>
8695         * config.h.in (HAVE_IFUNC): Define to 0.
8696         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8697         definedness.
8699 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8702         memmove-avx-unaligned, memcpy-avx-unaligned and
8703         mempcpy-avx-unaligned.
8704         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8705         Add tests for AVX memcpy functions.
8706         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8707         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8708         memcpy_chk.
8709         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8710         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8711         memmove_chk.
8712         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8713         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8714         mempcpy_chk.
8715         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8716         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8717         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8719 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8721         [BZ #17213]
8722         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8723         powerpc64le.
8725 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8727         [BZ #16839]
8728         * manual/llio.texi: Add section about open file description locks.
8729         * manual/examples/ofdlocks.c: Example of open file description
8730         lock usage.
8731         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8732         F_OFD_SETLK, and F_OFD_SETLKW.
8734 2014-07-23  Allan McRae  <allan@archlinux.org>
8736         * po/es.po: Update Spanish translation from translation project.
8738 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8740         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8742 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8744         [BZ #17078]
8745         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8746         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8747         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8749 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8751         [BZ #17088]
8752         * math/fesetenv.c (__fesetenv)
8753         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8754         * math/feupdateenv.c (__feupdateenv)
8755         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8757         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8758         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8759         (__ASSUME_SOCKETCALL): Do not define.
8761         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8762         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8763         (__ASSUME_SOCKETCALL): Do not define.
8764         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8765         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8766         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8767         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8768         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8769         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8770         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8771         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8773         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8774         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8775         (__ASSUME_SOCKETCALL): Do not define.
8776         (__ASSUME_IPC64): Define unconditionally.
8777         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8778         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8779         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8780         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8781         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8782         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8783         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8784         Likewise.
8786         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8787         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8788         (__ASSUME_SOCKETCALL): Do not define.
8789         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8790         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8791         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8792         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8793         (__ASSUME_REQUEUE_PI): Define unconditionally.
8794         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8795         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8796         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8797         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8798         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8799         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8801         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8802         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8803         (__ASSUME_SOCKETCALL): Do not define.
8804         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8805         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8806         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8807         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8809         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8811         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8812         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8813         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8814         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8815         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8816         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8817         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8818         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8819         (__ASSUME_GETCPU_SYSCALL): Likewise.
8821         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8822         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8823         cases for individual architectures.
8824         * sysdeps/gnu/configure: Regenerated.
8825         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8826         LIBC_SLIBDIR_RTLDDIR.
8827         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8828         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8829         LIBC_SLIBDIR_RTLDDIR.
8830         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8832         LIBC_SLIBDIR_RTLDDIR.
8833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8834         Regenerated.
8835         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8836         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8837         file.
8838         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8839         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8840         file.
8841         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8842         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8843         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8844         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8846         * sysdeps/aarch64/shlib-versions: Move to ...
8847         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8848         * sysdeps/alpha/shlib-versions: Move to ...
8849         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8850         * sysdeps/arm/shlib-versions: Move to ...
8851         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8852         * sysdeps/hppa/shlib-versions: Move all contents except for
8853         libgcc_s entry to ...
8854         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8855         entry from ...
8856         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8857         * sysdeps/ia64/shlib-versions: Move to ...
8858         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8859         entry from ...
8860         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8861         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8862         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8863         * sysdeps/microblaze/shlib-versions: Move to ...
8864         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8865         * sysdeps/mips/shlib-versions: Move to ...
8866         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8867         entry from ...
8868         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8869         * sysdeps/tile/shlib-versions: Move to ...
8870         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8871         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8872         from ...
8873         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8874         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8875         entry from ...
8876         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8878 2014-07-17  Will Newton  <will.newton@linaro.org>
8880         * sysdeps/arm/bits/atomic.h
8881         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8882         (__arch_compare_and_exchange_bool_16_int): Likewise.
8883         (__arch_compare_and_exchange_bool_64_int): Likewise.
8885         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8886         into an #else block.
8888 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8890         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8891         just Linux configurations.  Test empirically that the compiler sets
8892         __ARM_EABI__, rather than using the tuple to decide.
8893         * sysdeps/arm/preconfigure: Regenerated.
8894         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8895         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8896         contents appended ...
8897         * sysdeps/arm/configure.ac: ... here.
8898         * sysdeps/arm/configure: Regenerated.
8900 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8902         * nptl/pthread_kill.c: New file.
8903         * nptl/pthread_sigmask.c: New file.
8904         * nptl/pthread_sigqueue.c: New file.
8906         * sysdeps/nptl/lowlevellock.h: New file.
8907         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8908         * sysdeps/nptl/lowlevellock-futex.h: New file.
8910         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8911         Remove dead declarations.
8913 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8915         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8916         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8917         config-cflags-avx2.
8918         * sysdeps/x86_64/configure.ac: Likewise.
8919         * sysdeps/i386/configure: Regenerated.
8920         * sysdeps/x86_64/configure: Likewise.
8921         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8922         memset-avx2 only if config-cflags-avx2 is yes.
8923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8924         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8925         defined.
8926         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8927         only if HAVE_AVX2_SUPPORT is defined.
8928         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8930 2014-07-14  Alan Modra  <amodra@gmail.com>
8932         [BZ #17153]
8933         * elf/elf.h (DT_PPC64_NUM): Correct value.
8934         * NEWS: Add to fixed bug list.
8936 2014-07-13  Jim Meyering  <meyering@fb.com>
8938         [BZ 17150]
8939         regex: don't deref NULL upon heap allocation failure
8940         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8941         failure in one more place.
8942         To trigger the segfault, configure grep -with-included-regex,
8943         build it, and run these commands:
8944         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8946 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8948         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8950 2014-07-11  Richard Henderson  <rth@redhat.com>
8952         * sysdeps/aarch64/libm-test-ulps: Update.
8954 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8956         [BZ #17135]
8957         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8958         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8959         (__nptl_setxid): Initialize error member.  Call
8960         __nptl_setxid_error.
8961         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8962         * nptl/descr.h (struct xid_command): Add error member.
8963         * nptl/tst-setuid3.c: New file.
8964         * nptl/Makefile (tests): Add it.
8966 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8968         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8969         New define.
8970         (__lll_trylock): Use __lll_base_trylock.
8971         (__lll_cond_trylock): Likewise.
8973 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8975         * nptl/pthread_create.c (start_thread): Use atomic_or and
8976         lll_futex_wake directly rather than lll_robust_dead.
8977         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8978         (lll_robust_dead): Macro removed.
8979         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8980         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8981         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8982         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8983         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8984         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8985         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8986         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8987         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8989         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8990         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8991         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8992         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8993         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8995         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8996         Use atomic_compare_and_exchange_val_acq directly rather than
8997         lll_robust_trylock.
8998         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8999         (__lll_robust_trylock, lll_robust_trylock): Removed.
9000         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9001         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9002         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9003         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9004         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9005         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9006         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9007         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9009         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9010         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9011         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9012         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9015 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9017         * manual/locale.texi (Locale Names): New section documenting
9018         locale name syntax.  Adjust menu and node chaining accordingly.
9019         (Choosing Locale): Reference Locale Names, Locale Categories.
9020         Mention setting LC_ALL=C.  Reflect that name syntax is now
9021         documented.
9022         (Locale Categories): New section title.  Reference Locale Names.
9023         LC_ALL is an environment variable, but not a category.
9024         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9025         description, now in Locale Name.  Reference that section.  Locale
9026         name syntax is now documented.
9028 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9030         [BZ #17137]
9031         * locale/findlocale.c (name_present, valid_locale_name): New
9032         functions.
9033         (_nl_find_locale): Use the loc_name variable to store name
9034         candidates.  Call name_present and valid_locale_name to check and
9035         validate locale names.  Return an error if the locale is invalid.
9037 2014-07-02  Florian Weimer  <fweimer@redhat.com>
9039         * locale/setlocale.c (setlocale): Use strdup for allocating
9040         composite name copy.
9042 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9044         Sync up with gnulib.
9045         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9046         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9047         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9048         and _GL_ARG_NONNULL.
9049         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9050         [!_LIBC]: Include code for Windows and Cygwin.
9051         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9052         Include prototype for int strerror_r.
9053         [!_LIBC] (is_open): New function.
9054         (flush_stdout): New function.
9055         (print_errno_message): Use it.
9056         (error): Likewise.
9057         (error_at_line): Likewise.
9058         (error_tail) Add function attribute macros.  Use
9059         __builtin_expect.
9061         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9063         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9065         * io/ftw.c: Include sys/param.h unconditionally.
9067         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9069         [BZ #17125]
9070         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9071         libc_freeres_ptr.
9072         (freecache): New function to free CACHE on exit.
9074         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9075         initialization.
9077 2014-07-09  David S. Miller  <davem@davemloft.net>
9079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9081         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9082         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9083         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9084         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9085         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9086         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9087         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9088         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9089         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9090         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9091         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9092         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9093         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9095 2014-07-09  Andreas Schwab  <schwab@suse.de>
9097         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9098         output.
9099         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9100         (do_test): Likewise.
9102         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9104 2014-07-09  Will Newton  <will.newton@linaro.org>
9106         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9107         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9108         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9109         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9110         * sysdeps/hppa/start.S (_start): Likewise.
9112 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9114         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9116         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9117         defined.
9119 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9121         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9122         after checking that it is non-NULL.
9124         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9126 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9128         * sysdeps/powerpc/memmove.c: Remove file.
9129         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9130         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9131         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9132         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9133         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9134         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9135         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9136         string memmove instead of removed powerpc one.
9138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9139         [weak_alias]: Fix compiler warning due trailing data.
9140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9141         [weak_alias]: Likewise.
9142         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9143         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9146         (__libc_ifunc_impl_list): Add memmove functions.
9148 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9150         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9151         Remove code.
9152         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9153         Likewise
9154         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9155         Likewise
9156         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9157         Likewise
9158         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9159         Likewise
9160         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9161         Likewise
9162         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9163         Likewise
9164         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9165         Likewise
9166         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9167         Likewise
9168         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9169         Likewise
9170         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9171         Likewise
9172         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9173         Likewise
9174         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9175         Likewise
9176         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9177         Likewise
9178         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9179         Likewise
9180         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9181         Likewise
9182         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9183         Likewise
9185 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9187         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9188         to avoid alignment traps in non-cacheable memory.
9189         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9192         multiarch objects.
9193         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9194         file: multiarch power7 memmove.
9195         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9196         multiarch default memmove.
9197         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9198         multiarch memove for powerpc32/power4.
9200         * string/bcopy.c: Use full path to include memmove.c.
9201         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9202         multiarch objects.
9203         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9204         bcopy for powerpc64.
9205         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9206         bcopy for powerpc64.
9207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9208         and memmove implementations.
9209         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9210         optimized multiarch memmove for POWER7/powerpc64.
9211         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9212         default multiarch memmove for powerpc64.
9213         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9214         multiarch for powerpc64.
9215         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9216         for POWER7/powerpc64.
9217         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9218         memmove for POWER7/powerpc64.
9220         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9221         glibc default one.
9223         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9224         __ELF_NATIVE_CLASS equal to 64.
9226 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9228         * sysdeps/nptl/lowlevellock.h: File removed.
9230         * NEWS: NPTL is no longer an add-on!
9231         * nptl/internaltypes.h: Moved ...
9232         * sysdeps/nptl/internaltypes.h: ... here.
9233         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9234         * sysdeps/nptl/fork.c: Likewise.
9235         * sysdeps/nptl/gai_misc.h: Likewise.
9236         * sysdeps/nptl/librt-cancellation.c: Likewise.
9237         * sysdeps/nptl/jmp-unwind.c: Likewise.
9238         * sysdeps/nptl/setxid.h: Likewise.
9239         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9240         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9241         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9242         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9243         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9244         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9245         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9246         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9247         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9248         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9249         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9250         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9251         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9252         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9253         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9254         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9255         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9256         * nptl/Makeconfig: Moved ...
9257         * sysdeps/nptl/Makeconfig: ... here.
9258         * nptl/configure: File removed.
9259         * nptl/ANNOUNCE: File removed.
9260         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9261         * sysdeps/unix/sysv/linux/configure: Regenerated.
9263         * nptl/Makefile (routines): Add libc_pthread_init,
9264         libc_multiple_threads, register-atfork and unregister-atfork.
9265         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9266         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9267         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9268         pthread-pi-defines.sym, structsem.sym.
9269         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9270         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9271         [$(subdir) = nptl] (tests): Add tst-setgetname.
9272         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9273         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9274         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9275         [!LIBC_SIGACTION]: Remove aliases.
9276         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9277         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9278         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9279         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9280         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9281         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9282         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9283         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9284         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9285         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9286         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9287         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9288         __libc_allocate_rtsig_private.
9289         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9290         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9291         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9292         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9293         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9294         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9295         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9296         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9297         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9298         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9299         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9300         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9301         * nptl/internaltypes.h: ... here.
9302         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9303         * sysdeps/nptl/jmp-unwind.c: ... here.
9304         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9305         * nptl/libc-lowlevellock.c: ... here.
9306         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9307         * nptl/libc_multiple_threads.c: ... here.
9308         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9309         * nptl/libc_pthread_init.c: ... here.
9310         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9311         * nptl/lowlevelbarrier.sym: ... here.
9312         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9313         * nptl/lowlevelcond.sym: ... here.
9314         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9315         * nptl/lowlevellock.c: ... here.
9316         * nptl/lowlevellock.h: Moved ...
9317         * sysdeps/nptl/lowlevellock.h: ... here.
9318         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9319         * nptl/lowlevelrobustlock.c: ... here.
9320         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9321         * nptl/lowlevelrobustlock.sym: ... here.
9322         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9323         * nptl/lowlevelrwlock.sym: ... here.
9324         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9325         * nptl/pt-fork.c: ... here.
9326         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9327         * nptl/pthread-pi-defines.sym: ... here.
9328         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9329         * nptl/pthread_attr_getaffinity.c: ... here.
9330         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9331         * nptl/pthread_attr_setaffinity.c: ... here.
9332         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9333         * nptl/pthread_mutex_cond_lock.c: ... here.
9334         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9335         Update #include.
9336         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9337         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9338         * nptl/pthread_once.c: ... here, replacing old file.
9339         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9340         * nptl/pthread_yield.c: ... here.
9341         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9342         * nptl/register-atfork.c: ... here.
9343         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9344         * nptl/sem_post.c: ... here.
9345         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9346         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9347         * nptl/sem_timedwait.c: ... here.
9348         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9349         * nptl/sem_trywait.c: ... here.
9350         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9351         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9352         * nptl/sem_wait.c: ... here.
9353         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9354         * nptl/structsem.sym: ... here.
9355         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9356         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9357         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9358         * nptl/unregister-atfork.c: ... here.
9359         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9360         * nptl/unwindbuf.sym: ... here.
9361         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9362         * sysdeps/nptl/fork.c: ... here.
9363         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9364         * sysdeps/nptl/fork.h: ... here.
9365         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9366         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9367         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9368         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9369         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9370         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9371         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9372         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9373         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9374         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9375         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9376         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9377         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9378         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9379         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9380         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9381         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9382         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9383         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9384         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9385         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9386         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9387         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9388         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9389         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9390         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9391         * sysdeps/unix/sysv/linux/raise.c: ... here.
9392         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9393         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9394         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9395         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9396         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9397         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9398         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9399         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9400         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9401         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9402         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9403         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9404         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9405         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9406         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9408 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9410         * sysdeps/generic/memcopy.h: Add comment for
9411         MEMCPY_OK_FOR_FWD_MEMMOVE.
9413 2014-07-04  Will Newton  <will.newton@linaro.org>
9415         * string/memchr.c: Merge from gnulib.
9416         [_LIBC]: Remove conditionals.
9417         (__ptr_t): Remove define.
9418         (LONG_MAX_32_BITS): Likewise.
9419         (LONG_MAX): Likewise.
9420         (MEMCHR): Use ANSI prototype and optimize algorithm.
9422         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9424 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9426         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9427         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9429         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9430         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9431         in a bare environment with no <stdlib.h> installed.
9432         * sysdeps/nptl/configure: Regenerated.
9434         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9436         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9437         AC_EGREP_CPP for kernel header checks, so they only succeed if
9438         including <linux/version.h> actually works right.
9439         * sysdeps/unix/sysv/linux/configure: Regenerated.
9441         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9442         value so it's not diagnosed as unused.
9444         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9445         thing) with "ifeq ($(subdir),rt)".
9447 2014-07-03  Richard Henderson  <rth@redhat.com>
9449         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9450         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9451         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9453         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9454         (math_force_eval): New.
9456         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9457         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9459         * sysdeps/alpha/fpu/s_round.c: Remove file.
9460         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9462         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9463         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9464         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9465         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9466         (_dl_start, print_statistics): Likewise.
9467         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9468         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9470         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9471         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9472         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9473         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9474         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9475         (HP_SMALL_TIMING_AVAIL): Define.
9476         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9477         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9478         (HP_SMALL_TIMING_AVAIL): Define.
9479         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9480         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9482         * sysdeps/aarch64/hp-timing.h: New file.
9484         * sysdeps/generic/hp-timing.h: Remove dead comment.
9485         * sysdeps/generic/hp-timing-common.h: New file.
9486         * sysdeps/alpha/hp-timing.h: Include it.
9487         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9488         * sysdeps/i386/i686/hp-timing.h: Likewise.
9489         * sysdeps/ia64/hp-timing.h: Likewise.
9490         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9491         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9492         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9493         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9494         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9495         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9496         (hp_timing_t): New.
9498         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9499         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9500         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9501         * elf/rtld.c (_dl_start_final): Likewise.
9502         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9503         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9504         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9505         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9506         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9507         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9508         (HP_TIMING_DIFF_INIT): Remove.
9509         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9510         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9511         (HP_TIMING_DIFF_INIT): Remove.
9512         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9513         * sysdeps/i386/i686/hp-timing.c: Remove file.
9514         * sysdeps/x86_64/hp-timing.c: Remove file.
9515         * sysdeps/ia64/hp-timing.c: Remove file.
9516         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9517         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9518         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9519         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9521         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9522         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9523         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9524         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9525         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9526         (HP_TIMING_ACCUM): Remove.
9527         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9528         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9529         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9531         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9532         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9533         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9534         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9535         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9536         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9537         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9538         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9540         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9542 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9544         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9546 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9548         Sync up with gettext.
9549         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9550         [_MSC_VER]: Include malloc.h
9551         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9552         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9553         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9554         TEMP_FAILURE_RETRY.  Cast return of alloca.
9555         [!_LIBC] Call gl_rwlock_init.
9556         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9558 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9560         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9561         before checking its value.
9563 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9565         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9567         * debug/memcpy_chk.c: Don't include pagecopy.h.
9568         * debug/mempcpy_chk.c: Likewise.
9569         * string/memcpy.c: Likewise.
9570         * string/memmove.c: Likewise.
9571         * sysdeps/powerpc/memmove.c: Likewise.
9572         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9573         definition of PAGE_COPY_FWD_MAYBE here...
9574         * sysdeps/generic/pagecopy.h: ... from here.
9575         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9577 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9578             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9580         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9582         optimizations.
9583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9584         (__libc_ifunc_impl_list): Likewise.
9585         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9586         multiarch strcat for PPC64.
9587         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9588         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9590 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9592         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9594 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9596         * intl/loadmsgcat.c: Remove declaration of
9597         get_sysdep_segment_value.
9598         (get_sysdep_segment_value): Use ISO C style.
9599         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9600         semicolon.  Fix typo and formatting in comment.
9601         (_nl_unload_domain): Use ISO C style.
9603         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9605 2014-07-02  Will Newton  <will.newton@linaro.org>
9607         * malloc/obstack.c: Merge from gnulib master.
9608         [HAVE_CONFIG_H]: Remove conditional code.
9609         [!_LIBC]: Include config.h.
9610         [!ELIDE_CODE]: Don't include inttypes.h, include
9611         stdint.h unconditionally.
9612         (print_and_abort): Mark as _Noreturn.
9613         (_obstack_allocated_p): Mark as __attribute_pure__.
9614         (obstack_free): Rename to __obstack_free.
9615         [!__attribute__]: Remove conditional code.
9616         * malloc/obstack.h: Merge from gnulib master.
9617         [__cplusplus]: Move conditional down.
9618         [!__attribute_pure__]: Define __attribute_pure__ here
9619         if it is not already defined.
9620         (_obstack_memory_used): Mark as __attribute_pure__.
9621         [!__obstack_free]: Define as obstack_free.
9622         [__GNUC__]: Remove check for ancient NeXT gcc.
9624 2014-07-02  Will Newton  <will.newton@linaro.org>
9625             Paul Eggert  <eggert@cs.ucla.edu>
9627         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9629 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9631         * resolv/gethnamaddr.c: Add comment warning that the file is
9632         not maintained.
9634 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9636         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9637         entries.
9639         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9640         entry for aio_cancel and aio_cancel64.
9641         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9642         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9643         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9644         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9645         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9646         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9647         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9648         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9649         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9650         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9651         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9652         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9653         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9655 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9657         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9658         * nptl/pthread_mutex_lock.c: Likewise.
9659         * nptl/pthread_mutex_timedlock.c: Likewise.
9660         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9662 2014-07-01  Richard henderson  <rth@redhat.com>
9664         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9665         (__isnan, __isnanl): Remove.
9666         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9668         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9670 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9672         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9674 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9676         * resolv/nss_dns/dns-host.c (getanswer_r)
9677         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9679 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9681         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9682         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9683         undefine.
9684         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9685         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9687 2014-07-01  Roland McGrath <roland@hack.frob.com>
9689         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9690         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9692         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9693         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9695         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9696         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9697         ... here.
9698         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9699         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9701         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9702         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9703         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9704         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9706         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9707         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9708         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9709         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9710         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9711         Moved ...
9712         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9713         ... here.
9714         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9715         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9716         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9717         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9718         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9719         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9720         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9721         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9722         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9723         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9724         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9725         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9726         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9727         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9728         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9729         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9730         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9731         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9732         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9733         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9734         ... here.
9735         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9736         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9738         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9739         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9740         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9741         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9742         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9744 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9746         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9747         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9748         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9749         Add sysdep.
9751 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9755 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9757         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9758         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9760         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9762         * sysdeps/arm/libm-test-ulps: Regenerated.
9764 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9765             Roland McGrath <roland@hack.frob.com>
9767         * test-skeleton.c (signal_handler): Kill the whole process group
9768         before killing the child individually.
9769         (main): Report any failure on `setpgid'.
9771 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9773         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9774         from _TLS_H to _ARM_NPTL_TLS_H.
9775         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9776         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9778 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9780         [BZ #16539]
9781         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9782         (__expm1l): Return argument unchanged when small but not
9783         subnormal.
9785         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9786         include macro name.
9787         (_FP_UNPACK_RAW_1_P): Likewise.
9788         (_FP_PACK_RAW_1): Likewise.
9789         (_FP_PACK_RAW_1_P): Likewise.
9790         (_FP_MUL_MEAT_1_wide): Likewise.
9791         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9792         (_FP_MUL_MEAT_1_hard): Likewise.
9793         (_FP_DIV_MEAT_1_imm): Likewise.
9794         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9795         (_FP_DIV_MEAT_1_udiv): Likewise.
9796         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9797         (_FP_UNPACK_RAW_2): Likewise.
9798         (_FP_UNPACK_RAW_2_P): Likewise.
9799         (_FP_PACK_RAW_2): Likewise.
9800         (_FP_PACK_RAW_2_P): Likewise.
9801         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9802         (_FP_MUL_MEAT_2_wide): Likewise.
9803         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9804         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9805         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9806         (_FP_MUL_MEAT_2_gmp): Likewise.
9807         (_FP_DIV_MEAT_2_udiv): Likewise.
9808         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9809         (_FP_FRAC_SRL_4): Likewise.
9810         (_FP_FRAC_SRST_4): Likewise.
9811         (_FP_FRAC_SRS_4): Likewise.
9812         (_FP_UNPACK_RAW_4): Likewise.
9813         (_FP_UNPACK_RAW_4_P): Likewise.
9814         (_FP_PACK_RAW_4): Likewise.
9815         (_FP_PACK_RAW_4_P): Likewise.
9816         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9817         (_FP_MUL_MEAT_4_wide): Likewise.
9818         (_FP_MUL_MEAT_4_gmp): Likewise.
9819         (umul_ppppmnnn): Likewise.
9820         (_FP_DIV_MEAT_4_udiv): Likewise.
9821         (__FP_FRAC_ADD_4): Likewise.
9822         (__FP_FRAC_SUB_3): Likewise.
9823         (__FP_FRAC_SUB_4): Likewise.
9824         (__FP_FRAC_DEC_3): Likewise.
9825         (__FP_FRAC_DEC_4): Likewise.
9826         (__FP_FRAC_ADDI_4): Likewise.
9827         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9828         (_FP_FRAC_SRL_8): Likewise.
9829         (_FP_FRAC_SRS_8): Likewise.
9831         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9832         include macro name.
9833         (FP_UNPACK_RAW_EP): Likewise.
9834         (FP_PACK_RAW_E): Likewise.
9835         (FP_PACK_RAW_EP): Likewise.
9836         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9837         (_FP_ISSIGNAN): Likewise.
9838         (_FP_ADD_INTERNAL): Likewise.
9839         (_FP_FMA): Likewise.
9840         (_FP_CMP): Likewise.
9841         (_FP_SQRT): Likewise.
9842         (_FP_TO_INT): Likewise.
9843         (_FP_FROM_INT): Likewise.
9844         (FP_EXTEND): Likewise.
9845         (_FP_DIV_MEAT_N_loop): Likewise.
9847 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9849         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9850         throughout.
9852 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9854         [BZ #17097]
9855         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9856         result with correct sign in case of exponents that produce
9857         overflow except for X very close to 1.
9859 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9861         mktime: merge #if/#ifdef usage from glibc
9862         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9863         as that works with both Glibc's and Gnulib's style.
9864         See thread starting at Siddhesh Poyarekar's bug report at:
9865         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9867 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9869         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9870         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9871         * sysdeps/tile/tilegx/memmove.c: Remove file.
9873 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9875         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9876         abi-name definition.
9877         * scripts/soversions.awk: Do not handle or generate ABI lines.
9878         * shlib-versions: Remove ABI entries.
9879         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9880         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9882 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9885         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9886         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9887         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9889         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9891         Moved ...
9892         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9893         ... here.
9894         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9895         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9897         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9899         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9900         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9901         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9902         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9903         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9905         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9906         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9907         Moved ...
9908         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9909         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9910         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9911         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9912         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9913         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9914         Moved ...
9915         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9917         Moved ...
9918         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9919         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9922         Moved ...
9923         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9925         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9927         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9928         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9929         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9930         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9931         Moved ...
9932         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9934         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9935         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9936         Moved ...
9937         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9938         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9939         Moved ...
9940         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9942         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9944         Moved ...
9945         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9946         ... here.
9947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9948         Identical file removed.
9949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9950         Moved ...
9951         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9953         Identical file removed.
9954         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9955         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9956         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9957         Moved ...
9958         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9959         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9960         Identical file removed.
9961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9962         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9963         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9964         Identical file removed.
9965         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9966         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9967         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9968         Identical file removed.
9969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9970         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9972         Identical file removed.
9973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9974         Moved ...
9975         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9976         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9977         Identical file removed.
9978         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9979         Moved ...
9980         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9982         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9984         Identical file removed.
9985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9986         Moved ...
9987         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9988         ... here.
9989         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9990         Identical file removed.
9991         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9992         Moved ...
9993         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9994         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9995         Identical file removed.
9996         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9997         Moved ...
9998         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9999         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10000         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10002         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10003         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10004         Moved ...
10005         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10006         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10007         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10009         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10010         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10011         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10012         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10013         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10015 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10017         [BZ #17092]
10018         * nscd/nscd.c (monitor_child): Return exit status of child
10019         instead of return value from wait syscall.
10021 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
10023         * configure.ac (libc_commonpagesize): Remove variable.
10024         (libc_relro_required): Likewise.
10025         (libc_cv_z_relro): Remove configure test.
10026         * configure: Regenerated.
10027         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10028         variable.
10029         (libc_relro_required): Likewise.
10030         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10031         (libc_relro_required): Likewise.
10032         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10033         (libc_relro_required): Likewise.
10034         * sysdeps/arm/preconfigure: Regenerated.
10035         * sysdeps/ia64/preconfigure: Remove file.
10036         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10037         variable.
10038         (libc_relro_required): Likewise.
10040         [BZ #16561]
10041         [BZ #16562]
10042         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10043         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10044         recompute overflowing results in original rounding mode.
10045         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10046         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10047         recompute overflowing results in original rounding mode.
10048         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10049         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10050         recompute overflowing results in original rounding mode.
10051         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10052         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10053         recompute overflowing results in original rounding mode.
10054         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10055         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10056         recompute overflowing results in original rounding mode.
10057         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10058         (libc_feholdsetround_ctx): New macro.
10059         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10060         * sysdeps/i386/fpu/libm-test-ulps: Update.
10061         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10063 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10065         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10066         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10067         corresponding .cpsetup call.
10069 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10071         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10072         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10073         * sysdeps/arm/Makefile [$(subdir) = csu]
10074         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10075         (static-only-routines): Add aeabi_read_tp here.
10076         (shared-only-routines): Add libc-aeabi_read_tp here.
10077         (CFLAGS-libc-start.c): Add -fexceptions here.
10078         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10079         (sysdep_routines, static-only-routines, shared-only-routines):
10080         Don't add to these here.
10081         (CFLAGS-libc-start.c): Likewise.
10083         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10084         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10085         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10086         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10087         * sysdeps/arm/Makefile [$(subdir) = rt]
10088         (librt-sysdep_routines, librt-shared-only-routines):
10089         Append rt-aeabi_unwind_cpp_pr1 here.
10090         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10091         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10092         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10093         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10094         Append nptl-aeabi_unwind_cpp_pr1 here.
10095         (tests): Filter out tst-cleanupx4 here.
10096         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10097         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10098         Don't do those here.
10100 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10102         * scripts/list-sources.sh: Do not handle ports specially.
10104 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10106         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10107         * sysdeps/arm/feupdateenv.c: Likewise.
10109         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10111 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10113         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10114         trailing whitespace removed.
10115         * scripts/config.guess: Update to version 2014-03-23.
10116         * scripts/config.sub: Update to version 2014-05-01
10117         * scripts/install-sh: Update to version 2013-12-25.23.
10118         * scripts/move-if-change: Update from gnulib.
10120 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10122         * debug/memmove_chk.c: Remove pagecopy.h include.
10124 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10126         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10127         identical to gnulib mktime.
10129 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10131         * configure.ac: Do not test for machine being rs6000.  Do not test
10132         for powerpc*-*soft.
10133         * configure: Regenerated.
10135         [BZ #11505]
10136         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10137         test.
10138         * configure: Regenerated.
10139         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10140         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10141         Remove configure test.
10142         * sysdeps/arm/configure: Regenerated.
10143         * sysdeps/nptl/configure.ac: Do not check
10144         libc_cv_asm_cfi_directives.
10145         * sysdeps/nptl/configure: Regenerated.
10146         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10147         * sysdeps/x86_64/nptl/configure: Remove generated file.
10148         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10149         unconditional.
10150         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10152 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10154         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10155         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10156         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10157         it is defined.
10159         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10160         instead of whether it is defined.
10161         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10162         * sysdeps/hppa/dl-machine.h: Likewise.
10163         * sysdeps/ia64/dl-machine.h: Likewise.
10164         * sysdeps/m68k/dl-machine.h: Likewise.
10165         * sysdeps/microblaze/dl-machine.h: Likewise.
10166         * sysdeps/mips/dl-machine.: Likewise.
10167         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10168         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10169         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10170         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10171         * sysdeps/sh/dl-machine.h: Likewise.
10172         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10173         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10174         * sysdeps/tile/dl-machine.h: Likewise.
10175         * sysdeps/x86_64/dl-machine.h: Likewise.
10177         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10178         code.
10179         (verify_persistent_db): Likewise.
10181 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10184         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10186         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10188         Moved ...
10189         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10190         ... here.
10191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10192         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10194         Identical file removed.
10195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10196         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10198         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10200         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10202         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10204         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10206         Moved ...
10207         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10211         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10213         Moved ...
10214         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10216         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10218         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10220         Identical file removed.
10221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10222         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10223         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10224         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10226         Moved ...
10227         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10228         ... here.
10229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10230         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10232         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10233         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10234         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10236         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10238         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10240         Moved ...
10241         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10242         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10243         Moved ...
10244         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10246         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10248         Moved ...
10249         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10250         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10251         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10253         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10254         folded into ...
10255         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10256         * sysdeps/unix/sysv/linux/s390/Versions
10257         (libpthread: GLIBC_2.19): New version set.
10258         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10259         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10260         (librt: GLIBC_2.3.3): New version set.
10261         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10262         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10263         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10264         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10265         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10266         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10267         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10268         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10269         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10270         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10271         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10272         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10273         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10274         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10275         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10276         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10277         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10278         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10279         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10280         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10281         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10282         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10283         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10284         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10285         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10286         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10287         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10288         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10289         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10290         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10291         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10292         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10293         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10294         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10295         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10297         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10298         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10299         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10300         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10301         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10302         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10303         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10305         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10307         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10308         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10309         (__libc_vfork): Define the function under this name.
10310         [!NOT_IN_libc] (__vfork): Make this an alias.
10311         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10313         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10314         (__libc_vfork): Define the function under this name.
10315         [!NOT_IN_libc] (__vfork): Make this an alias.
10316         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10317         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10320         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10321         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10323         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10324         code that was previously under [RESET_PID].
10325         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10326         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10327         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10329         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10330         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10331         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10332         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10333         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10334         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10335         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10336         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10337         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10338         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10339         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10340         Moved ...
10341         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10342         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10343         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10344         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10345         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10346         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10349         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10350         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10351         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10352         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10353         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10354         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10355         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10356         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10357         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10358         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10359         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10360         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10363         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10364         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10365         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10366         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10367         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10368         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10369         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10371 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10373         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10374         that was previously under [RESET_PID].
10375         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10377 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10379         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10380         not undefine and redefine.
10381         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10382         [O_CLOEXEC]: Make code unconditional.
10383         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10384         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10385         <kernel-features.h>.
10386         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10387         conditional variable definition.
10388         (shm_open) [O_CLOEXEC]: Make code unconditional.
10389         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10390         code.
10392         * configure.ac (USE_REGPARMS): Don't define here.
10393         * configure: Regenerated.
10394         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10395         * sysdeps/i386/configure: Regenerated.
10397         * nptl/createthread.c: Don't include kernel-features.h.
10398         * nptl/pthread_cancel.c: Likewise.
10399         * nptl/pthread_condattr_setclock.c: Likewise.
10400         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10401         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10402         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10403         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10404         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10405         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10406         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10407         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10409         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10410         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10411         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10412         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10413         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10414         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10415         * nscd/gai.c: Likewise.
10416         * nss/nss_db/db-open.c: Likewise.
10417         * sysdeps/generic/ldsodefs.h: Likewise.
10418         * sysdeps/sh/nptl/tls.h: Likewise.
10419         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10420         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10421         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10422         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10423         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10424         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10425         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10426         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10427         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10428         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10429         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10430         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10431         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10432         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10433         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10434         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10435         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10436         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10437         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10438         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10441         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10442         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10443         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10444         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10445         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10446         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10447         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10448         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10449         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10450         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10451         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10452         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10453         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10454         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10455         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10456         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10457         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10458         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10459         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10460         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10461         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10462         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10463         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10464         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10465         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10466         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10467         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10468         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10469         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10470         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10471         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10472         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10473         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10474         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10475         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10476         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10499         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10500         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10501         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10502         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10503         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10504         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10505         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10506         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10507         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10508         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10509         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10510         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10511         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10512         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10513         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10514         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10515         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10516         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10517         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10518         * sysdeps/unix/sysv/linux/system.c: Likewise.
10519         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10520         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10521         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10522         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10523         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10524         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10525         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10527         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10528         * configure: Regenerated.
10529         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10531         * configure.ac (base_machine): Do not set specially for particular
10532         machines here.
10533         * configure: Regenerated.
10534         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10535         settings from configure.ac.
10536         * sysdeps/i386/preconfigure: New file.
10537         * sysdeps/s390/preconfigure: Likewise.
10538         * sysdeps/sh/preconfigure: Likewise.
10539         * sysdeps/sparc/preconfigure: Likewise.
10541 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10543         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10544         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10545         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10546         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10547         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10548         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10549         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10550         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10551         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10552         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10553         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10554         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10555         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10556         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10557         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10558         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10559         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10560         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10561         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10563         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10564         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10565         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10566         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10567         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10568         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10569         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10570         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10571         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10572         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10573         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10574         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10575         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10576         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10577         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10578         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10579         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10580         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10581         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10582         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10583         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10584         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10585         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10586         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10587         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10588         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10589         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10590         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10591         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10592         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10593         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10594         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10596         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10597         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10598         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10599         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10600         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10603         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10605         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10607         Moved ...
10608         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10609         ... here.
10610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10611         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10613         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10615         Moved ...
10616         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10618         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10620         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10622         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10623         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10624         Moved ...
10625         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10627         Moved ...
10628         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10630         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10631         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10632         Moved ...
10633         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10635         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10636         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10637         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10639         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10641         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10643         Moved ...
10644         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10645         ... here.
10646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10647         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10649         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10651         Moved ...
10652         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10654         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10656         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10657         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10658         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10659         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10660         Moved ...
10661         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10663         Moved ...
10664         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10666         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10668         Moved ...
10669         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10671         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10673         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10675 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10677         * timezone/checktab.awk: Update from tzcode 2014e.
10678         * timezone/private.h: Likewise.
10679         * timezone/tzfile.h: Likewise.
10680         * timezone/zdump.c: Likewise.
10681         * timezone/zic.c: Likewise.
10683         * sysdeps/unix/sysv/linux/kernel-features.h
10684         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10685         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10686         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10687         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10688         Remove conditional code.
10690 2014-06-25  Will Newton  <will.newton@linaro.org>
10692         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10693         (_dl_arm_cap_flags): Add HWCAP2 values.
10694         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10695         (_DL_HWCAP_COUNT): Increase to 37.
10696         (_DL_HWCAP_LAST): New define.
10697         (_DL_HWCAP2_LAST): New define.
10698         (_dl_procinfo): Add support for printing
10699         AT_HWCAP2 entries.
10700         (_dl_string_hwcap): Use _dl_hwcap_string.
10702 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10706 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10708         * README: Do not mention ports directory.
10710         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10711         Remove macro.
10712         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10713         <kernel-features.h>.
10714         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10715         conditional variable definition.
10716         (__futimes): Update comment.
10717         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10718         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10720         [BZ #16560]
10721         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10722         arguments close to 0.
10723         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10724         Likewise.
10725         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10726         Likewise.
10727         * math/auto-libm-test-in: Add more tests of exp10.
10728         * math/auto-libm-test-out: Regenerated.
10729         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10731         * sysdeps/unix/sysv/linux/kernel-features.h
10732         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10733         * sysdeps/unix/sysv/linux/readv.c: Do not include
10734         <kernel-features.h>.
10735         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10736         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10737         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10738         unconditional.
10739         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10740         conditional code.
10741         * sysdeps/unix/sysv/linux/writev.c: Do not include
10742         <kernel-features.h>.
10743         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10744         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10745         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10746         unconditional.
10747         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10748         conditional code.
10750 2014-06-25  Will Newton  <will.newton@linaro.org>
10752         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10753         comment changes throughout the file.  Remove checks
10754         for HAVE_*_H definitions that are not required.
10755         (__gen_tempname): Call abort if an unknown kind value is
10756         passed.
10758 2014-06-25  Andreas Schwab  <schwab@suse.de>
10760         [BZ #17086]
10761         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10762         scalbln, scalblnf, scalblnl in libc.
10764 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10766         [BZ #17086]
10767         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10768         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10769         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10771 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10773         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10774         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10775         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10776         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10777         Update #include.
10778         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10779         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10780         Update #include.
10781         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10782         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10783         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10784         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10785         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10786         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10787         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10788         * sysdeps/x86/bits/semaphore.h: ... here.
10789         * sysdeps/x86/nptl/elide.h: Moved ...
10790         * sysdeps/x86/elide.h: ... here.
10791         * sysdeps/x86_64/nptl/Implies: File removed.
10792         * sysdeps/i386/nptl/Implies: File removed.
10794 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10796         [BZ #16539]
10797         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10798         return the argument for normal arguments with exponent below -64.
10799         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10800         Likewise.
10801         * math/auto-libm-test-in: Add another test of expm1.
10802         * math/auto-libm-test-out: Regenerated.
10804         [BZ #16287]
10805         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10806         calling __erfcl for arguments at least 16.
10807         * math/auto-libm-test-in: Add more tests of erf.
10808         * math/auto-libm-test-out: Regenerated.
10810         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10811         individual architectures.
10812         * sysdeps/unix/sysv/linux/configure: Regenerated.
10813         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10814         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10815         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10816         (ldd_rewrite_script): Define variable.
10817         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10819         file.
10820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10821         generated file.
10822         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10823         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10824         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10825         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10826         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10827         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10828         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10829         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10831 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10833         [BZ #17084]
10834         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10835         Rename member __data.d to __data.__elision_data.
10837 2014-06-24  Wilco  <wdijkstr@arm.com>
10839         * NEWS: Add 16918 to fixed bug list.
10841 2014-06-24  Wilco  <wdijkstr@arm.com>
10843         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10845 2014-06-24  Wilco  <wdijkstr@arm.com>
10847         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10848         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10849         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10850         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10851         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10852         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10853         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10854         Use _FPU_MASK_RM.
10856 2014-06-24  Wilco  <wdijkstr@arm.com>
10858         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10860 2014-06-24  Wilco  <wdijkstr@arm.com>
10862         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10863         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10864         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10865         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10867 2014-06-24  Wilco  <wdijkstr@arm.com>
10869         [BZ #16918]
10870         * sysdeps/arm/feupdateenv.c (feupdateenv):
10871         Rewrite to reduce FPSCR accesses and fix return value.
10873 2014-06-24  Wilco  <wdijkstr@arm.com>
10875         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10876         Optimize to avoid unnecessary FPSCR writes.
10877         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10878         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10879         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10880         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10882 2014-06-24  Wilco  <wdijkstr@arm.com>
10884         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10885         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10886         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10887         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10888         Call libc_fetestexcept_vfp.
10889         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10890         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10891         __SOFTFP__ ifdef so that they can be built for softfp.
10893 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10895         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10896         argument type signed char.
10898         * Makerules (check-abi): Dump diff of symlist if the test
10899         fails.
10901 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10903         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10904         using abort.
10906         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10907         Remove unused variable ST.
10909 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10911         [BZ #16354]
10912         [BZ #17061]
10913         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10914         small arguments before calling __expm1.
10915         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10916         small arguments before calling __expm1f.
10917         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10918         small arguments before calling __expm1l.
10919         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10920         Likewise.
10921         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10922         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10923         spurious underflow for some cosh tests.
10924         * math/auto-libm-test-out: Regenerated.
10925         * sysdeps/i386/fpu/libm-test-ulps: Update.
10927         [BZ #17050]
10928         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10929         (__ieee754_y1): Set errno if return value overflows.
10930         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10931         (__ieee754_y1f): Set errno if return value overflows.
10932         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10933         (__ieee754_y1l): Set errno if return value overflows.
10934         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10935         (__ieee754_y1l): Set errno if return value overflows.
10936         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10937         * math/auto-libm-test-out: Regenerated.
10939         * math/gen-auto-libm-tests.c: Document use of
10940         ignore-zero-inf-sign.
10941         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10942         (input_flags): Add ignore-zero-inf-sign.
10943         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10944         * math/gen-libm-test.pl (generate_testfile): Handle
10945         ignore-zero-inf-sign.
10946         * math/auto-libm-test-in: Mark some cpow tests with
10947         ignore-zero-inf-sign and some with xfail-rounding.
10948         * math/auto-libm-test-out: Regenerated.
10949         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10950         * sysdeps/i386/fpu/libm-test-ulps: Update.
10951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953         [BZ #16315]
10954         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10955         overflowing or underflowing operations take place with sign of
10956         result.
10957         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10958         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10959         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10960         (__ieee754_pow): Recompute overflowing and underflowing results in
10961         original rounding mode.
10962         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10963         (__powl_helper): Allow negative argument X and scale negated value
10964         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10965         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10966         overflowing or underflowing operations take place with sign of
10967         result.
10968         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10969         Include <math.h>.
10970         * math/auto-libm-test-in: Add more tests of pow.
10971         * math/auto-libm-test-out: Regenerated.
10972         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10973         (pow_tonearest_test_data): Remove.
10974         (pow_test_tonearest): Likewise.
10975         (pow_towardzero_test_data): Likewise.
10976         (pow_test_towardzero): Likewise.
10977         (pow_downward_test_data): Likewise.
10978         (pow_test_downward): Likewise.
10979         (pow_upward_test_data): Likewise.
10980         (pow_test_upward): Likewise.
10981         (main): Don't call removed functions.
10982         * sysdeps/i386/fpu/libm-test-ulps: Update.
10983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10985 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10988         Moved ...
10989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10991         Moved ...
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10994         Moved ...
10995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10997         Moved ...
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11000         File removed.
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11002         File removed.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11004         File removed.
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11006         File removed.
11007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11008         File removed.
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11010         File removed.
11011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11012         File removed.
11013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11014         File removed.
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11016         File removed.
11017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11018         File removed.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11020         File removed.
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11022         File removed.
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11027         Moved ...
11028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11029         ... here.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11031         Moved ...
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11034         Moved ...
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11037         Moved ...
11038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11040         Moved ...
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11043         Moved ...
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11046         Moved ...
11047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11049         Moved ...
11050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11053         ... here.
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11055         Moved ...
11056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11058         Moved ...
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11060         ... here.
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11062         Moved ...
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11064         ... here.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11066         Moved ...
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11068         ... here.
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11070         Moved ...
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11073         Moved ...
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11078         Moved ...
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11080         ... here.
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11082         Moved ...
11083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11084         ... here.
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11086         Moved ...
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11089         Moved ...
11090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11092         Moved ...
11093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11095         Moved ...
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11098         Moved ...
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11100         ... here.
11101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11102         Moved ...
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11105         Moved ...
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11108         Moved ...
11109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11111         Moved ...
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11116         Moved ...
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11119         Moved ...
11120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11122         Moved ...
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11124         ... here.
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11126         Moved ...
11127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11128         ... here.
11129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11130         Moved ...
11131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11132         ... here.
11133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11134         Moved ...
11135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11137         Moved ...
11138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11140         Moved ...
11141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11143         Moved ...
11144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11145         ... here.
11146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11147         Moved ...
11148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11149         ... here.
11150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11151         Moved ...
11152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11153         ... here.
11154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11155         Moved ...
11156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11158         Moved ...
11159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11161 2014-06-23  Will Newton  <will.newton@linaro.org>
11162             Wilco  <wdijkstr@arm.com>
11164         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11165         implementation.  Include get-rounding-mode.h.
11166         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11167         [!libc_feholdsetround_noex_ctx]: Define
11168         libc_feholdsetround_noex_ctx.
11169         [!libc_feholdsetround_noexf_ctx]: Define
11170         libc_feholdsetround_noexf_ctx.
11171         [!libc_feholdsetround_noexl_ctx]: Define
11172         libc_feholdsetround_noexl_ctx.
11173         (libc_feholdsetround_ctx): New function.
11174         (libc_feresetround_ctx): New function.
11175         (libc_feholdsetround_noex_ctx): New function.
11176         (libc_feresetround_noex_ctx): New function.
11178 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11180         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11181         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11182         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11183         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11184         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11185         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11187         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11188         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11189         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11190         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11191         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11192         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11193         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11194         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11195         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11196         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11198         Moved ...
11199         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11200         ... here.
11201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11202         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11204         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11205         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11206         Moved ...
11207         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11208         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11209         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11211         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11212         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11213         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11214         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11215         Moved ...
11216         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11218         Moved ...
11219         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11220         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11221         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11222         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11223         Moved ...
11224         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11226         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11227         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11228         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11229         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11230         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11232         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11234         Moved ...
11235         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11236         ... here.
11237         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11238         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11239         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11240         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11241         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11242         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11243         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11244         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11246         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11248         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11250         Moved ...
11251         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11253         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11254         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11255         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11256         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11257         Moved ...
11258         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11260         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11261         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11262         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11264         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11265         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11266         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11267         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11268         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11269         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11270         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11271         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11272         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11273         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11274         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11275         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11276         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11277         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11278         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11279         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11280         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11281         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11282         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11283         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11284         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11285         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11286         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11287         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11288         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11289         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11290         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11291         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11293 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11295         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11296         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11297         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11298         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11299         (IPV6_PMTUDISC_INTERFACE): Likewise.
11300         (IPV6_PMTUDISC_OMIT): Likewise.
11302 2014-06-23  Andreas Schwab  <schwab@suse.de>
11304         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11305         Remove unused errout label.
11307 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11309         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11310         macro: hardware supports Vector Crypto instructions.
11312 2014-06-23  Will Newton  <will.newton@linaro.org>
11314         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11315         rather than __builtin_expect.
11317         * elf/dl-lookup.c (undefined_msg): Remove variable.
11318         (_dl_lookup_symbol_x): Replace undefined_msg with string
11319         literal.
11321         * elf/dl-lookup.c (do_lookup_unique): New function.
11322         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11323         to a separate function.
11325 2014-06-23  Andreas Schwab  <schwab@suse.de>
11327         [BZ #17079]
11328         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11329         before reading the next line.
11331 2014-06-23  Will Newton  <will.newton@linaro.org>
11333         * test-skeleton.c (signal_handler): Use printf and %m
11334         rather than perror.  Use printf rather than fprintf to
11335         stderr.  Use puts rather than fputs to stderr.
11336         (main): Likewise.
11338 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11340         * nscd/nscd.c (thread_info_t): Remove typedef.
11341         (thread_info): Remove variable.
11343 2014-06-21  Allan McRae  <allan@archlinux.org>
11345         * NEWS: Mention CVE-2014-4043.
11347 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11349         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11350         * nptl/smp.h: ... here.
11352         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11354         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11355         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11356         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11357         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11359         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11360         * nptl/stack-aliasing.h: New file.
11361         * sysdeps/i386/i686/stack-aliasing.h: New file.
11362         * sysdeps/i386/i686/nptl/Makefile: File removed.
11363         * sysdeps/x86_64/stack-aliasing.h: New file.
11364         * sysdeps/x86_64/nptl/Makefile
11365         (CFLAGS-pthread_create.c): Variable removed.
11367         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11368         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11369         old file.
11370         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11371         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11372         old file.
11374 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11376         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11377         (__ASSUME_SIGFRAME_V2): Remove macro.
11378         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11379         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11380         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11381         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11382         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11383         Declare as function.  Remove conditional macro definitions.
11384         (__default_rt_sa_restorer): Likewise.
11385         (__default_sa_restorer_v1): Remove declaration.
11386         (__default_sa_restorer_v2): Likewise.
11387         (__default_rt_sa_restorer_v1): Likewise.
11388         (__default_rt_sa_restorer_v2): Likewise.
11389         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11390         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11391         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11393 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11395         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11396         (libpthread-routines): Add sysdep.
11397         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11398         * sysdeps/unix/sysv/linux/sparc/Versions
11399         (libpthread: GLIBC_2.3.3): New version set.
11400         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11401         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11402         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11403         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11404         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11405         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11406         Moved ...
11407         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11408         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11409         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11410         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11411         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11412         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11413         * sysdeps/sparc/nptl/sem_init.c: ... here.
11414         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11415         * sysdeps/sparc/nptl/sem_post.c: ... here.
11416         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11417         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11418         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11419         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11420         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11421         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11422         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11423         (libpthread-routines): Add cpu_relax.
11424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11425         File removed.
11426         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11427         (librt: GLIBC_2.3.3): New version set.
11428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11429         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11430         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11431         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11434         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11436         Moved ...
11437         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11439         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11441         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11443         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11445         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11446         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11447         Moved ...
11448         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11449         Update #include.
11450         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11451         Moved ...
11452         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11453         Update #include.
11454         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11455         Moved ...
11456         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11457         Update #include.
11458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11459         Moved ...
11460         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11461         Update #include.
11462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11463         Moved ...
11464         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11465         Update #include.
11466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11467         Moved ...
11468         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11469         Update #include.
11470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11471         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11472         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11475         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11479         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11480         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11481         Moved ...
11482         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11484         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11486         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11488 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11490         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11491         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11492         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11493         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11494         * nscd/nscd.c: Likewise.
11495         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11496         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11497         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11498         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11500         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11501         <kernel-features.h>.
11502         (init_mq_netlink): Remove conditional have_sock_cloexec
11503         definitions.  Remove code conditional on have_sock_cloexec < 0.
11504         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11505         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11506         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11507         <kernel-features.h>.
11508         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11509         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11511 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11514         Add tests for memset_chk and memset.
11516         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11517         with AVX2_Usable.
11519 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11521         [BZ #16046]
11522         * elf/tst-dl-iter-static.c: New file.
11523         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11525         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11526         error.
11528 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11530         * sysdeps/unix/sysv/linux/kernel-features.h
11531         (__ASSUME_F_GETOWN_EX): Remove macro.
11532         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11533         <kernel-features.h>.
11534         (miss_F_GETOWN_EX): Remove variable or macro.
11535         (do_fcntl): Do not check miss_F_GETOWN_EX.
11536         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11539         Remove macro.
11540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11541         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11542         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11544         * sysdeps/unix/sysv/linux/kernel-features.h
11545         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11546         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11547         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11548         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11550 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11552         [BZ #17075]
11553         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11554         Fix calculation of the symbol's value.
11555         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11556         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11557         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11558         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11559         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11560         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11561         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11562         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11563         (modules-names): Add `tst-armtlsdescmod',
11564         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11565         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11566         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11567         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11568         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11569         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11570         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11571         ($(objpfx)tst-armtlsdescloc): New dependency.
11572         ($(objpfx)tst-armtlsdescextnow): Likewise.
11573         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11574         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11575         TLS scheme support.
11576         * sysdeps/arm/configure: Regenerate.
11578 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11580         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11581         (__atfct_seterrno_2): Likewise.
11582         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11583         <kernel-features.h>.
11584         (__ASSUME_ATFCTS): Do not undefine and redefine.
11585         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11586         (__have_atfcts): Remove conditional definition.
11587         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11588         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11589         unreachable if [__ASSUME_ATFCTS].
11590         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11591         not undefine and redefine.
11592         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11593         <kernel-features.h>.
11594         (faccessat) [__NR_faccessat]: Make code unconditional.
11595         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11596         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11597         <kernel-features.h>.
11598         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11599         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11600         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11601         <kernel-features.h>.
11602         (fchownat) [__NR_fchownat]: Make code unconditional.
11603         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11604         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11605         <kernel-features.h>.
11606         (futimesat) [__NR_futimesat]: Make code unconditional.
11607         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11608         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11609         <kernel-features.h>.
11610         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11611         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11612         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11613         <kernel-features.h>.
11614         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11615         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11616         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11617         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11618         <kernel-features.h>.
11619         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11620         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11621         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11622         <kernel-features.h>.
11623         (linkat) [__NR_linkat]: Make code unconditional.
11624         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11625         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11626         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11627         <kernel-features.h>.
11628         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11629         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11630         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11631         <kernel-features.h>.
11632         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11633         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11634         * sysdeps/unix/sysv/linux/openat.c: Do not include
11635         <kernel-features.h>.
11636         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11637         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11638         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11639         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11640         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11641         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11642         <kernel-features.h>.
11643         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11644         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11645         result of INLINE_SYSCALL directly, not via int variable.
11646         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11647         <kernel-features.h>.
11648         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11649         (renameat) [__NR_renameat]: Make code unconditional.
11650         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11651         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11652         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11653         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11654         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11655         (__ASSUME_ATFCTS): Do not undefine and redefine.
11656         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11657         <kernel-features.h>.
11658         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11659         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11660         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11661         <kernel-features.h>.
11662         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11663         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11664         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11665         (__ASSUME_ATFCTS): Do not undefine and redefine.
11666         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11667         <kernel-features.h>.
11668         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11669         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11670         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11671         <kernel-features.h>.
11672         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11673         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11675 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11677         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11679 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11681         [BZ #17069]
11682         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11683         constructed tree before returning error.
11684         * posix/bug-regexp36.c: Expand test case.
11686 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11688         [BZ #6803]
11689         * math/libm-test.inc (scalbln_test_date):
11690         Add errno expectations.
11691         * math/w_scalblnf.c: New File.
11692         Add wrapper which checks for setting errno to ERANGE.
11693         Add weak_alias for corresponding scalbln function.
11694         * math/w_scalbln.c: Likewise.
11695         * math/w_scalblnl.c: Likewise.
11696         * math/Makefile (libm-calls): Add w_scalbln.
11697         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11698         Remove weak_alias for corresponding scalbln function.
11699         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11700         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11701         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11703         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11704         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11705         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11706         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11707         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11708         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11709         Remove long_double_symbol for scalblnl function in libm, libc.
11710         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11711         Add wrapper which checks for setting errno to ERANGE.
11712         Add long_double_symbol for scalblnl function in libm, libc.
11713         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11714         Remove long_double_symbol for scalblnl in libm.
11715         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11716         Add wrapper which checks for setting errno to ERANGE.
11717         Add long_double_symbol for scalblnl function in libm.
11718         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11719         Do not use wrapper because of own implementation.
11721 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11723         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11724         3 bytes for __pad1 for x32.
11725         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11727 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11728             H.J. Lu  <hongjiu.lu@intel.com>
11730         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11731         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11732         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11733         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11734         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11736 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11738         [BZ #17069]
11739         * posix/regcomp.c (parse_expression): Deallocate partially
11740         constructed tree before returning error.
11741         * posix/Makefile.c (tests): Add bug-regex36.
11742         (generated): Add bug-regex36.mtrace.
11743         (tests-special): Add $(objpfx)bug-regex36-mem.out
11744         (bug-regex36-ENV): New variable.
11745         ($(objpfx)bug-regex36-mem.out): New rule.
11746         * posix/bug-regex36.c: New file.
11748 2014-06-19  Will Newton  <will.newton@linaro.org>
11750         * malloc/malloc.c (systrim): If extra is zero then return
11751         early.
11753 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11755         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11757 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11759         * sysdeps/aarch64/strchr.S: New file.
11761 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11763         [BZ #17022]
11764         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11765         from arguments -2 or below.
11766         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11767         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11769 2014-06-18  Andreas Schwab  <schwab@suse.de>
11771         [BZ #17062]
11772         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11773         of a bracket expr not to run off the end of the string.
11774         * posix/Makefile (tests): Add tst-fnmatch3.
11775         * posix/tst-fnmatch3.c: New file.
11777 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11779         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11780         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11781         [$(cross-compiling) = no]: Likewise.
11782         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11783         [$(cross-compiling) = no]: Likewise.
11785 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11787         [BZ #17031]
11788         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11789         double, adjusted for any remainder from the high double.
11790         * math/libm-test.inc (nearbyint): Add tests.
11791         (rint): Likewise.
11793 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11795         * nptl/sysdeps/powerpc/Makefile: Moved ...
11796         * sysdeps/powerpc/nptl/Makefile: ... here.
11797         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11798         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11799         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11800         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11801         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11802         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11803         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11804         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11805         * nptl/sysdeps/powerpc/tls.h: Moved ...
11806         * sysdeps/powerpc/nptl/tls.h: ... here.
11808 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11810         [BZ #16681]
11811         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11812         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11813         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11814         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11815         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11816         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11817         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11818         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11819         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11821 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11825 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11827         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11828         defined operator.
11830         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11831         $TIMEOUTFACTOR.
11833 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11835         [BZ #17058]
11836         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11837         non-executed part of the test.
11839 2014-06-16  Andreas Schwab  <schwab@suse.de>
11841         * string/bits/string2.h (strdup, strndup): Update feature guard.
11843 2014-06-14  David S. Miller  <davem@davemloft.net>
11845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11847 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11849         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11850         that was previously under [RESET_PID].
11851         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11853         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11854         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11855         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11856         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11857         (__libc_vfork): New strong alias.
11858         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11860 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11862         * sysdeps/generic/elide.h: New file.
11864 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11866         * Makefile (installed-headers): Adjust path of pthread.h header.
11868 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11870         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11871         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11872         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11873         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11875         * nptl/sysdeps/s390/Makefile: Moved ...
11876         * sysdeps/s390/nptl/Makefile: ... here.
11877         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11878         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11879         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11880         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11881         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11882         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11883         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11884         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11885         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11886         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11887         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11888         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11889         * nptl/sysdeps/s390/tls.h: Moved ...
11890         * sysdeps/s390/nptl/tls.h: ... here.
11892         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11893         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11895 2014-06-13  David S. Miller  <davem@davemloft.net>
11897         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11900         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11902         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11904         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11905         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11906         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11907         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11908         Remove RESET_PID cpp guards.
11909         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11910         Remove RESET_PID cpp guards.
11911         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11913 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11915         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11916         __sp to uintptr_t.
11918 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11920         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11921         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11922         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11923         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11924         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11925         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11926         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11927         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11928         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11930         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11931         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11932         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11933         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11934         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11936         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11938         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11939         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11941         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11942         (pthread_rwlock_rdlock): Add elision.
11943         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11944         (pthread_rwlock_wrlock): Add elision.
11945         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11946         (pthread_rwlock_trywrlock): Add elision.
11947         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11948         (pthread_rwlock_tryrdlock): Add elision.
11949         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11950         (pthread_rwlock_tryrdlock): Add elision unlock.
11951         * nptl/sysdeps/pthread/pthread.h:
11952         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11953         (PTHREAD_RWLOCK_INITIALIZER,
11954         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11955         Handle new elision field.
11956         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11957         * sysdeps/arm/nptl/bits/pthreadtypes.h
11958         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11959         * sysdeps/sh/nptl/bits/pthreadtypes.h
11960         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11961         * sysdeps/tile/nptl/bits/pthreadtypes.h
11962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11963         * sysdeps/a/nptl/bits/pthreadtypes.h
11964         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11965         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11967         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11968         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11969         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11970         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11971         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11973         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11974         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11975         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11976         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11977         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11979         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11981         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11982         (elision_init): Set try_xbegin to zero when no RTM.
11983         * sysdeps/x86/nptl/bits/pthreadtypes.h
11984         (pthread_rwlock_t): Change __pad1 to __rwelision.
11985         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11987 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11989         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11990         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11991         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11992         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11994 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11996         [BZ #16996]
11997         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11998         that the cached result has been set before returning it.
12000 2014-06-12  Roland McGrath  <roland@hack.frob.com>
12002         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12003         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12004         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12005         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12006         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12007         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12009         * nptl/sysdeps/sparc/Makefile: Moved ...
12010         * sysdeps/sparc/nptl/Makefile: ... here.
12011         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12012         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12013         * nptl/sysdeps/sparc/tls.h: Moved ...
12014         * sysdeps/sparc/nptl/tls.h: ... here.
12015         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12016         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12017         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12018         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12019         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12020         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12021         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12022         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12023         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12024         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12025         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12026         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12027         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12028         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12029         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12030         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12031         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12033         Update #include.
12034         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12035         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12036         Update #include.
12037         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12038         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12039         Update #include.
12040         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12041         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12042         Update #include.
12044         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12046         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12047         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12049         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12050         (struct list_links): Type removed.
12051         (struct thread_node, struct timer_node): Replace struct list_links
12052         with struct list_head.
12053         (list_unlink_ip): Likewise.
12054         * sysdeps/pthread/timer_routines.c
12055         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12056         (list_append, list_insbefore): Likewise.
12057         (list_init): Function removed.
12058         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12059         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12060         * sysdeps/pthread/Makefile: ... here, new file.
12062         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12063         * sysdeps/nptl/Implies: ... here.
12064         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12065         * nptl/sysdeps/pthread/list.h: Moved ...
12066         * include/list.h: ... here.
12067         * nptl/sysdeps/pthread/createthread.c: Moved ...
12068         * nptl/createthread.c: ... here.
12069         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12070         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12071         * nptl/pt-longjmp.c: ... here.
12072         * nptl/sysdeps/pthread/Makefile: Moved ...
12073         * sysdeps/nptl/Makefile: ... here.
12074         * nptl/sysdeps/pthread/Subdirs: Moved ...
12075         * sysdeps/nptl/Subdirs: ... here.
12076         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12077         * sysdeps/nptl/aio_misc.h: ... here.
12078         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12079         * sysdeps/nptl/bits/libc-lock.h: ... here.
12080         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12081         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12082         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12083         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12084         * nptl/sysdeps/pthread/configure: Moved ...
12085         * sysdeps/nptl/configure: ... here.
12086         * nptl/sysdeps/pthread/configure.ac: Moved ...
12087         * sysdeps/nptl/configure.ac: ... here.
12088         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12089         * sysdeps/nptl/gai_misc.h: ... here.
12090         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12091         * sysdeps/nptl/librt-cancellation.c: ... here.
12092         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12093         * sysdeps/nptl/malloc-machine.h: ... here.
12094         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12095         * sysdeps/nptl/pthread-functions.h: ... here.
12096         * nptl/sysdeps/pthread/pthread.h: Moved ...
12097         * sysdeps/nptl/pthread.h: ... here.
12098         * nptl/sysdeps/pthread/setxid.h: Moved ...
12099         * sysdeps/nptl/setxid.h: ... here.
12100         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12101         * sysdeps/nptl/sigfillset.c: ... here.
12102         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12103         * sysdeps/nptl/tcb-offsets.h: ... here.
12104         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12105         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12106         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12107         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12108         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12109         * sysdeps/pthread/allocalim.h: ... here.
12110         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12111         * sysdeps/pthread/bits/sigthread.h: ... here.
12112         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12113         * sysdeps/pthread/flockfile.c: ... here.
12114         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12115         * sysdeps/pthread/ftrylockfile.c: ... here.
12116         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12117         * sysdeps/pthread/funlockfile.c: ... here.
12118         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12119         * sysdeps/pthread/posix-timer.h: ... here.
12120         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12121         * sysdeps/pthread/timer_create.c: ... here.
12122         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12123         * sysdeps/pthread/timer_delete.c: ... here.
12124         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12125         * sysdeps/pthread/timer_getoverr.c: ... here.
12126         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12127         * sysdeps/pthread/timer_gettime.c: ... here.
12128         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12129         * sysdeps/pthread/timer_routines.c: ... here.
12130         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12131         * sysdeps/pthread/timer_settime.c: ... here.
12132         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12133         * sysdeps/pthread/tst-timer.c: ... here.
12134         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12135         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12137         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12138         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12140         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12141         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12142         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12143         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12144         Update #include target.
12145         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12146         * sysdeps/i386/i686/nptl/Makefile: ... here.
12147         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12148         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12149         Update #include target.
12150         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12151         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12152         * nptl/sysdeps/i386/Makefile: Moved ...
12153         * sysdeps/i386/nptl/Makefile: ... here.
12154         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12155         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12156         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12157         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12158         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12159         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12160         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12161         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12162         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12163         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12164         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12165         * nptl/sysdeps/i386/tls.h: Moved ...
12166         * sysdeps/i386/nptl/tls.h: ... here.
12168         * sysdeps/sh/Makefile [$(subdir) = csu]
12169         (gen-as-const-headers): Add tcb-offsets.sym.
12170         * nptl/sysdeps/sh/Makefile: File removed.
12171         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12172         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12173         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12174         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12175         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12176         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12177         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12178         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12179         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12180         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12181         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12182         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12183         * nptl/sysdeps/sh/tls.h: Moved ...
12184         * sysdeps/sh/nptl/tls.h: ... here.
12185         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12186         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12188         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12189         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12190         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12191         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12192         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12193         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12194         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12195         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12196         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12197         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12198         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12199         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12200         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12201         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12202         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12203         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12204         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12206         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12207         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12208         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12209         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12210         Moved ...
12211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12212         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12213         Moved ...
12214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12216         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12217         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12218         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12219         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12220         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12221         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12222         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12223         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12224         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12225         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12226         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12227         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12228         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12229         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12230         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12231         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12232         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12234 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12236         * posix/spawn_faction_addopen.c: Include string.h.
12238 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12240         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12241         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12242         * nptl/sysdeps/x86_64/Makefile: Moved ...
12243         * sysdeps/x86_64/nptl/Makefile: ... here.
12244         * nptl/sysdeps/x86_64/configure: Moved ...
12245         * sysdeps/x86_64/nptl/configure: ... here.
12246         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12247         * sysdeps/x86_64/nptl/configure.ac: ... here.
12248         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12249         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12250         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12251         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12252         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12253         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12254         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12255         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12256         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12257         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12258         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12259         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12260         * nptl/sysdeps/x86_64/tls.h: Moved ...
12261         * sysdeps/x86_64/nptl/tls.h: ... here.
12262         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12263         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12264         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12265         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12267         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12269 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12271         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12273 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12275         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12276         type.
12277         [POSIX] (off_t): Likewise.
12278         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12279         [POSIX] (S_ISBLK): Require macro.
12280         [POSIX] (S_ISCHR): Likewise.
12281         [POSIX] (S_ISDIR): Likewise.
12282         [POSIX] (S_ISFIFO): Likewise.
12283         [POSIX] (S_ISREG): Likewise.
12284         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12285         optional-macro.
12286         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12287         type.
12288         [POSIX] (time_t): Likewise.
12289         [POSIX] (timer_t): Likewise.
12291 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12293         [BZ #17048]
12294         * posix/spawn_int.h (struct __spawn_action): Make the path string
12295         non-const to support deallocation.
12296         * posix/spawn_faction_addopen.c
12297         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12298         * posix/spawn_faction_destroy.c
12299         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12300         path in all spawn_do_open actions.
12301         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12302         posix_spawn_file_actions_addopen.
12304 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12306         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12307         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12308         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12309         conditional code always true.
12310         (__libc_vfork): New alias.
12312 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12314         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12315         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12317         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12319         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12320         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12322         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12323         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12325         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12326         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12328 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12330         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12331         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12332         multiarch strcmp for PPC64.
12333         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12334         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12335         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12336         multiarch optimizations.
12337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12338         (__libc_ifunc_impl_list): Likewise.
12340 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12342         * benchtests/scripts/validate_benchout.py: New script.
12343         * benchtests/Makefile (bench-func): Call it.
12344         * benchtests/scripts/benchout.schema.json: New file.
12346 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12348         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12349         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12350         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12351         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12352         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12353         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12354         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12355         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12356         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12357         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12358         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12359         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12360         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12361         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12362         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12363         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12365         Moved ...
12366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12367         ... here.
12368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12369         Moved ...
12370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12372         Moved ...
12373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12374         ... here.
12375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12376         Moved ...
12377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12378         ... here.
12379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12380         Moved ...
12381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12383         Moved ...
12384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12385         ... here.
12386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12387         Moved ...
12388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12389         ... here.
12390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12391         Moved ...
12392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12394         Moved ...
12395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12396         ... here.
12397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12398         Moved ...
12399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12400         ... here.
12401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12402         Moved ...
12403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12404         ... here.
12405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12406         Moved ...
12407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12409         Moved ...
12410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12411         ... here.
12412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12413         Moved ...
12414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12415         ... here.
12416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12417         Moved ...
12418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12419         ... here.
12420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12421         Moved ...
12422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12424         Moved ...
12425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12426         ... here.
12427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12428         Moved ...
12429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12430         ... here.
12431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12432         Moved ...
12433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12435         Moved ...
12436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12437         ... here.
12438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12439         Moved ...
12440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12442         Moved ...
12443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12445         Moved ...
12446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12447         ... here.
12448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12449         Moved ...
12450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12451         ... here.
12452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12453         Moved ...
12454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12455         ... here.
12456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12457         Moved ...
12458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12460         Moved ...
12461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12462         ... here.
12463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12464         Moved ...
12465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12466         ... here.
12467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12468         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12469         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12470         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12471         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12472         Moved ...
12473         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12474         ... here.
12475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12476         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12477         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12478         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12479         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12480         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12481         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12482         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12484         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12485         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12486         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12488         Moved ...
12489         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12490         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12491         Moved ...
12492         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12493         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12494         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12496         Moved ...
12497         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12498         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12499         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12500         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12501         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12502         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12503         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12505 2014-06-10  Wilco  <wdijkstr@arm.com>
12507         * math/test-fenv-return.c: New file.
12508         * math/Makefile: Add new test test-fenv-return.
12510 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12512         [BZ #17042]
12513         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12514         when x - 1 is zero.
12515         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12516         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12517         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12518         0.0L for an argument of 1.0L.
12519         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12520         Likewise.
12521         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12522         value when x - 1 is zero.
12523         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12524         * sysdeps/i386/fpu/libm-test-ulps: Update.
12525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12529         [BZ #15119]
12530         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12532 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12534         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12535         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12537 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12539         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12540         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12542         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12543         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12545         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12546         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12548         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12549         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12551         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12552         if not already defined.
12553         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12554         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12555         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12556         (TLS_INIT_TP): Use it.
12557         (TLS_DEFINE_INIT_TP): New macro.
12558         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12560 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12562         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12563         constant.
12564         [POSIX] (IXANY): Likewise.
12565         [POSIX] (OLCUC): Likewise.
12566         [POSIX || POSIX2008] (CBAUD): Do not allow.
12567         [POSIX || POSIX2008] (DEFECHO): Likewise.
12568         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12569         [POSIX || POSIX2008] (ECHOKE): Likewise.
12570         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12571         [POSIX || POSIX2008] (EXTA): Likewise.
12572         [POSIX || POSIX2008] (EXTB): Likewise.
12573         [POSIX || POSIX2008] (FLUSHO): Likewise.
12574         [POSIX || POSIX2008] (LOBLK): Likewise.
12575         [POSIX || POSIX2008] (PENDIN): Likewise.
12576         [POSIX || POSIX2008] (SWTCH): Likewise.
12577         [POSIX || POSIX2008] (VDISCARD): Likewise.
12578         [POSIX || POSIX2008] (VDSUSP): Likewise.
12579         [POSIX || POSIX2008] (VLNEXT): Likewise.
12580         [POSIX || POSIX2008] (VREPRINT): Likewise.
12581         [POSIX || POSIX2008] (VSTATUS): Likewise.
12582         [POSIX || POSIX2008] (VWERASE): Likewise.
12583         (B*): Change to B[0123456789]*.
12584         * conform/data/time.h-data [POSIX || UNIX98]
12585         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12586         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12587         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12588         [POSIX] (tm_*): Do not allow.
12590 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12592         * Makefile (install): Don't set LANGUAGE.
12593         * Makefile.in (install): Likewise.
12594         * assert/Makefile (test-assert-ENV): Remove variable.
12595         (test-assert-perr-ENV): Likewise.
12596         * elf/Makefile (neededtest4-ENV): Likewise.
12597         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12598         [$(cross-compiling) = no]: Don't set LANGUAGE.
12599         * io/ftwtest-sh (LANG): Remove variable.
12600         * libio/Makefile (tst-widetext-ENV): Likewise.
12601         * manual/install.texi (Running make install): Don't refer to
12602         environment settings for make install.
12603         * INSTALL: Regenerated.
12604         * nptl/tst-tls6.sh: Don't set LANG.
12605         * posix/globtest.sh (LANG): Remove variable.
12606         * string/Makefile (tester-ENV): Likewise.
12607         (inl-tester-ENV): Likewise.
12608         (noinl-tester-ENV): Likewise.
12609         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12610         [$(cross-compiling) = no]: Don't set LANGUAGE.
12611         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12612         without explicit environment settings.
12614 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12616         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12617         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12618         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12619         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12621 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12623         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12624         other files in the crypt directory.
12625         * crypt/crypt.c: Remove duplicate includes.
12626         * crypt/crypt-entry.c: Likewise.
12627         * crypt/crypt_util.c: Likewise.
12629 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12631         * Makeconfig (run-program-env): New variable.
12632         (run-program-prefix-before-env): Likewise.
12633         (run-program-prefix-after-env): Likewise.
12634         (run-program-prefix): Define in terms of new variables.
12635         (built-program-cmd-before-env): New variable.
12636         (built-program-cmd-after-env): Likewise.
12637         (built-program-cmd): Define in terms of new variables.
12638         (test-program-prefix-before-env): New variable.
12639         (test-program-prefix-after-env): Likewise.
12640         (test-program-prefix): Define in terms of new variables.
12641         (test-program-cmd-before-env): New variable.
12642         (test-program-cmd-after-env): Likewise.
12643         (test-program-cmd): Define in terms of new variables.
12644         * Rules (make-test-out): Use $(run-program-env).
12645         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12646         (help): Do not mention environment variables.  Mention
12647         --timeoutfactor option.
12648         (timeoutfactor): New variable.
12649         (blacklist_exports): Remove function.
12650         (exports): Remove variable.
12651         (command): Do not include ${exports}.
12652         * manual/install.texi (Configuring and compiling): Do not mention
12653         test wrappers preserving environment variables.  Mention that last
12654         assignment to a variable must take precedence.
12655         * INSTALL: Regenerated.
12656         * benchtests/Makefile (run-bench): Use $(run-program-env).
12657         * catgets/Makefile ($(objpfx)test1.cat): Use
12658         $(built-program-cmd-before-env), $(run-program-env) and
12659         $(built-program-cmd-after-env).
12660         ($(objpfx)test2.cat): Do not specify environment variables
12661         explicitly.
12662         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12663         $(run-program-env) and $(built-program-cmd-after-env).
12664         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12665         $(run-program-env) and $(test-program-cmd-after-env).
12666         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12667         explicitly.
12668         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12669         run_program_env and test_program_cmd_after_env arguments.
12670         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12671         * elf/tst-pathopt.sh: Use run_program_env argument.
12672         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12673         $(test-wrapper-env) and $(run-program-env).
12674         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12675         run_program_env arguments.
12676         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12677         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12678         $(test-program-prefix-before-env), $(run-program-env) and
12679         $(test-program-prefix-after-env).
12680         ($(objpfx)tst-gettext2.out): Likewise.
12681         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12682         run_program_env and test_program_prefix_after_env arguments.
12683         * intl/tst-gettext2.sh: Likewise.
12684         * intl/tst-gettext4.sh: Do not set environment variables
12685         explicitly.
12686         * intl/tst-gettext6.sh: Likewise.
12687         * intl/tst-translit.sh: Likewise.
12688         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12689         $(test-program-prefix-before-env), $(run-program-env) and
12690         $(test-program-prefix-after-env).
12691         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12692         run_program_env and test_program_prefix_after_env arguments.
12693         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12694         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12695         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12696         explicitly with each use of ${test_wrapper_env}.
12697         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12698         $(test-program-prefix-before-env), $(run-program-env) and
12699         $(test-program-prefix-after-env).
12700         * posix/tst-getconf.sh: Do not set environment variables
12701         explicitly.
12702         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12703         run_program_env and test_program_prefix_after_env arguments.
12704         * stdio-common/tst-printf.sh: Do not set environment variables
12705         explicitly.
12706         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12707         $(test-program-prefix-before-env), $(run-program-env) and
12708         $(test-program-prefix-after-env).
12709         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12710         run_program_env and test_program_prefix_after_env arguments.
12711         Split $test calls into $test_pre and $test.
12712         * timezone/Makefile (build-testdata): Use
12713         $(built-program-cmd-before-env), $(run-program-env) and
12714         $(built-program-cmd-after-env).
12716 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12718         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12719         strlen for non SHARED builds.
12721 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12723         * nptl/allocatestack.c (check_list): Inlined function...
12724         (__reclaim_stacks): ... here.
12726 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12728         [BZ #15698]
12729         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12730         memory overrun.
12732 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12734         * Rules (make-test-out): Include
12735         LOCPATH=$(common-objpfx)localedata in default environment.
12736         * debug/Makefile (tst-chk1-ENV): Remove variable.
12737         (tst-chk2-ENV): Likewise.
12738         (tst-chk3-ENV): Likewise.
12739         (tst-chk4-ENV): Likewise.
12740         (tst-chk5-ENV): Likewise.
12741         (tst-chk6-ENV): Likewise.
12742         (tst-lfschk1-ENV): Likewise.
12743         (tst-lfschk2-ENV): Likewise.
12744         (tst-lfschk3-ENV): Likewise.
12745         (tst-lfschk4-ENV): Likewise.
12746         (tst-lfschk5-ENV): Likewise.
12747         (tst-lfschk6-ENV): Likewise.
12748         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12749         (tst-iconv7-ENV): Likewise.
12750         * intl/Makefile (LOCPATH-ENV): Likewise.
12751         (tst-codeset-ENV): Likewise.
12752         (tst-gettext3-ENV): Likewise.
12753         (tst-gettext5-ENV): Likewise.
12754         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12755         (tst-fopenloc-ENV): Likewise.
12756         (tst-fgetws-ENV): Remove variable.
12757         (tst-ungetwc1-ENV): Likewise.
12758         (tst-ungetwc2-ENV): Likewise.
12759         (bug-ungetwc2-ENV): Likewise.
12760         (tst-swscanf-ENV): Likewise.
12761         (bug-ftell-ENV): Likewise.
12762         (tst-fgetwc-ENV): Likewise.
12763         (tst-fseek-ENV): Likewise.
12764         (tst-ftell-partial-wide-ENV): Likewise.
12765         (tst-ftell-active-handler-ENV): Likewise.
12766         (tst-ftell-append-ENV): Likewise.
12767         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12768         (tst-regexloc-ENV): Likewise.
12769         (bug-regex1-ENV): Likewise.
12770         (tst-regex-ENV): Likewise.
12771         (tst-regex2-ENV): Likewise.
12772         (bug-regex5-ENV): Likewise.
12773         (bug-regex6-ENV): Likewise.
12774         (bug-regex17-ENV): Likewise.
12775         (bug-regex18-ENV): Likewise.
12776         (bug-regex19-ENV): Likewise.
12777         (bug-regex20-ENV): Likewise.
12778         (bug-regex22-ENV): Likewise.
12779         (bug-regex23-ENV): Likewise.
12780         (bug-regex25-ENV): Likewise.
12781         (bug-regex26-ENV): Likewise.
12782         (bug-regex30-ENV): Likewise.
12783         (bug-regex32-ENV): Likewise.
12784         (bug-regex33-ENV): Likewise.
12785         (bug-regex34-ENV): Likewise.
12786         (bug-regex35-ENV): Likewise.
12787         (tst-rxspencer-ENV): Likewise.
12788         (tst-rxspencer-no-utf8-ENV): Likewise.
12789         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12790         (tst-sscanf-ENV): Likewise.
12791         (tst-swprintf-ENV): Likewise.
12792         (tst-swscanf-ENV): Likewise.
12793         (test-vfprintf-ENV): Likewise.
12794         (scanf13-ENV): Likewise.
12795         (bug14-ENV): Likewise.
12796         (tst-grouping-ENV): Likewise.
12797         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12798         (tst-strtod3-ENV): Likewise.
12799         (tst-strtod4-ENV): Likewise.
12800         (tst-strtod5-ENV): Likewise.
12801         (testmb2-ENV): Likewise./
12802         * string/Makefile (tst-strxfrm-ENV): Likewise.
12803         (tst-strxfrm2-ENV): Likewise.
12804         (bug-strcoll1-ENV): Likewise.
12805         (test-strcasecmp-ENV): Likewise.
12806         (test-strncasecmp-ENV): Likewise.
12807         * time/Makefile (tst-strptime-ENV): Likewise.
12808         (tst-ftime_l-ENV): Likewise.
12809         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12810         (tst-mbrtowc-ENV): Likewise.
12811         (tst-wcrtomb-ENV): Likewise.
12812         (tst-mbrtowc2-ENV): Likewise.
12813         (tst-c16c32-1-ENV): Likewise.
12814         (tst-mbsnrtowcs-ENV): Likewise.
12816 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12818         * manual/resource.texi (How to get information about the memory
12819         subsystem?): Fix typo.
12820         Reported by Peon de la Parra Ivan <peon@keba.com>
12822 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12824         [BZ #16882]
12825         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12826         (pthread_spin_lock): Branch out of spin loop to proper location.
12827         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12828         (pthread_spin_lock): Likewise.
12830         * nptl/tst-spin4.c: New test.
12831         * nptl/Makefile (tests): Add tst-spin4.
12833 2014-06-03  Andreas Schwab  <schwab@suse.de>
12835         [BZ #15946]
12836         * resolv/res_send.c (send_dg): Reload file descriptor after
12837         calling reopen.
12839 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12841         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12843 2014-06-03  Richard Henderson  <rth@redhat.com>
12845         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12846         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12847         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12848         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12849         in the SAVE_PID block.
12850         (__libc_vfork): New alias.
12851         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12853         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12854         child in registers, not on the stack.  Remove RESET_PID conditionals.
12855         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12857 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12859         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12861 2014-06-03  Wilco  <wdijkstr@arm.com>
12863         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12864         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12865         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12866         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12867         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12868         Likewise.
12870 2014-06-03  Wilco  <wdijkstr@arm.com>
12872         * sysdeps/aarch64/fpu/math_private.h
12873         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12874         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12875         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12876         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12877         Fix declarations.
12879 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12881         * crypt/crypt-private.h: Include ufc-crypt.h.
12882         (__b64_from_24bit): Declare extern.
12883         * crypt/crypt_util.c(__b64_from_24bit): New function.
12884         (b64t): New static const variable.
12885         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12886         (b64t): Remove variable.
12887         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12888         * crypt/sha256-crypt.c: Include crypt-private.h.
12889         (b64t): Remove variable.
12890         (__sha256_crypt_r): Remove b64_from_24bit and replace
12891         with __b64_from_24bit.
12892         * crypt/sha512-crypt.c: Likewise.
12894 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12896         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12897         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12898         Label the code __libc_vfork rather than __vfork.
12899         [!NOT_IN_libc] (vfork): Define as weak alias.
12900         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12901         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12902         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12904 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12906         * malloc/malloc.c (malloc_info): Fix format specifier for
12907         n_mmaps.
12909 2014-06-02  Wilco  <wdijkstr@arm.com>
12911         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12912         FPCR write.
12914 2014-06-02  Wilco  <wdijkstr@arm.com>
12916         [BZ #17009]
12917         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12918         Rewrite to reduce FPCR/FPSR accesses.
12920 2014-06-01  David S. Miller  <davem@davemloft.net>
12922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12924 2014-05-31  David S. Miller  <davem@davemloft.net>
12926         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12927         to occur in round to nearest mode when |x| >= 2.0
12929 2014-05-30  Richard Henderson  <rth@twiddle.net>
12931         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12932         (PSEUDO_RET_NOERRNO): Remove.
12933         (ret): Don't redefine.
12934         (ret_NOERRNO): Define in terms of ret.
12935         (ret_ERRVAL): Likewise.
12937         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12938         use of PSEUDO_RET; perform the error check directly.
12940 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12942         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12943         with __int128_t.
12945 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12947         * malloc/malloc (malloc_info): Fix formatting.
12949 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12950             Roland McGrath  <roland@hack.frob.com>
12952         * malloc/malloc (malloc_info): Also print mmapped statistics.
12954 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12956         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12957         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12959 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12961         * malloc/malloc.c (malloc_info): Inline mi_arena.
12963 2014-05-29  Richard Henderson  <rth@twiddle.net>
12965         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12966         Remove comma before expanding ASM_ARGS_##nr.
12967         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12968         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12969         of ASM_ARGS_##nr.
12970         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12971         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12972         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12973         (ASM_ARGS_1): Add leading comma.
12975         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12976         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12977         to __errno_location.
12978         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12979         Remove the expected plt for __errno_location.
12981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12982         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12983         call to __read_tp.
12985         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12986         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12987         it and break it down.
12988         (DOCARGS_0, DOCARGS_1): Do nothing.
12989         (DOCARGS_2): Update to store into the new stack frame.
12990         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12991         (UNDOCARGS_1): Update to restore from the new stack frame.
12992         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12993         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12995         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12996         (SINGLE_THREAD_P): New parameter for result regno.
12997         (PSEUDO): Update to match; use cbz instead of beq.
12999         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13000         Use ENTRY to define the _nocancel entry point.  Share the syscall
13001         and syscall error check paths with the cancel path.
13002         (PSEUDO_END): New.
13004         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13005         whitespace; tabs before and after asm mnemonics.
13007 2014-05-29  Eric Wong  <normalperson@yhbt.net>
13009         [BZ #15132]
13010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13011         Call fstat64 or stat64 internally, depending on arguments passed.
13012         Replace stat buffer argument with file descriptor argument.
13013         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13014         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13015         Pass fd to __internal_statvfs instead of calling fstat64.
13016         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13017         Pass fd to __internal_statvfs64 instead of calling fstat64.
13018         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13019         Pass -1 to __internal_statvfs instead of calling stat64.
13020         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13021         Pass -1 to __internal_statvfs64 instead of calling stat64.
13023 2014-05-28  Roland McGrath  <roland@hack.frob.com>
13025         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13026         that was previously under [RESET_PID].
13027         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13029         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13030         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13032 2014-05-27  Roland McGrath  <roland@hack.frob.com>
13034         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13036         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13037         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13039 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
13041         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13043 2014-05-27  Andreas Schwab  <schwab@suse.de>
13045         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13046         TLS_INIT_TP macro.
13047         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13048         * elf/rtld.c (init_tls, dl_main): Likewise.
13049         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13050         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13051         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13052         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13053         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13054         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13055         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13056         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13057         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13058         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13059         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13060         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13061         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13062         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13063         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13064         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13065         * sysdeps/generic/tls.h: Update description.
13067 2014-05-27  Will Newton  <will.newton@linaro.org>
13069         [BZ #16990]
13070         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13071         and restore r2 rather than just restoring.
13073 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13075         [BZ #16724]
13076         * libio/tst-ftell-append.c: New test case.
13077         * libio/Makefile (tests): Add test case.
13078         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13079         append mode.
13080         * libio/wfileops.c (do_ftell_wide): Likewise.
13082 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13086         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13087         ...
13088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13090         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13091         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13092         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13093         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13094         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13095         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13097         Moved ...
13098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13099         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13100         Moved ...
13101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13102         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13103         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13104         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13105         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13106         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13107         ...
13108         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13109         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13110         Moved ...
13111         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13112         here.
13113         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13114         ...
13115         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13116         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13117         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13119         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13120         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13121         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13122         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13125         merge into ...
13126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13127         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13128         ...
13129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13131         ...
13132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13134         Moved ...
13135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13136         here.
13137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13138         Moved ...
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13141         Moved ...
13142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13145         conditional [RESET_PID].
13146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13148         removed.
13149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13150         removed.
13152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13153         <tcb-offsets.h>.
13154         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13155         (__libc_vfork): New strong alias.
13156         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13157         removed.
13158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13159         Removed.
13161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13162         <tcb-offsets.h>.
13163         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13164         (__libc_vfork): New strong alias.
13165         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13166         removed.
13167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13168         removed.
13170 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13172         * malloc/malloc.c (mi_arena): New function.
13173         (malloc_info): Remove nested function mi_arena. Call non-nosted
13174         function mi_arena.
13176 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13178         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13179         by insrwi.
13180         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13181         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13182         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13183         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13184         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13185         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13186         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13188 2014-05-26  Andreas Schwab  <schwab@suse.de>
13190         [BZ #16984]
13191         * locale/programs/repertoire.c (repertoire_read): Add slash
13192         between I18NPATH element and file name.
13193         * locale/programs/locfile.c (locfile_read): Likewise.
13195 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13197         * nptl/pthread_mutexattr_settype.c
13198         (__pthread_mutexattr_settype):
13199         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13201 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13203         * nptl/tst-mutex5 (do_test):
13204         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13206 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13208         * benchtests/README: Document 'init' directive.
13209         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13210         BENCH_INIT.
13211         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13212         (parse_file): Recognize 'init' directive.
13214 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13216         [BZ #16796]
13217         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13218         alignment of struct pthread.
13220 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13222         [BZ #16878]
13223         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13224         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13225         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13226         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13228 2014-05-25  Richard Henderson  <rth@twiddle.net>
13230         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13231         (SINGLE_THREAD_P_PIC): Remove.
13232         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13233         (SINGLE_THREAD_P_PIC): Remove.
13235         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13236         branch to syscall error ...
13237         (PSEUDO): ... here.
13238         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13239         from __local_syscall_error to .Lsyscall_error.
13240         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13241         (SYSCALL_ERROR): Update label name.
13243         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13244         Do not use DOARGS/UNDOARGS.
13245         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13246         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13247         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13248         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13249         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13252         block comment.
13254         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13255         define if !NOT_IN_libc.
13256         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13257         define with non-default symbol versions.
13259 2014-05-23  Richard Henderson  <rth@twiddle.net>
13261         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13262         (vfork, __vfork): Define via compat_symbol.
13264         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13265         [!HAVE_IFUNC] (vfork_compat): Remove.
13266         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13268 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13270         [BZ #16978]
13271         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13272         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13273         variable.
13275 2014-05-23  Richard Henderson  <rth@twiddle.net>
13277         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13278         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13279         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13280         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13282         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13283         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13284         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13285         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13286         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13287         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13288         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13289         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13290         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13291         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13292         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13293         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13294         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13295         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13296         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13297         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13298         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13299         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13300         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13301         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13302         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13303         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13304         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13305         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13306         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13307         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13308         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13309         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13310         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13311         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13312         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13313         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13314         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13315         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13316         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13317         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13318         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13319         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13320         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13321         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13322         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13323         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13324         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13325         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13326         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13327         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13329         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13331         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13332         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13333         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13334         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13335         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13336         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13337         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13339         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13340         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13341         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13342         before exiting on error.
13343         (__libc_vfork): New strong alias.
13344         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13345         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13347         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13348         that was previously under [RESET_PID].
13349         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13351         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13353 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13355         [BZ #16977]
13356         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13357         value when x - 1 is zero.
13358         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13359         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13360         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13361         0.0L for an argument of 1.0L.
13362         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13363         Likewise.
13364         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13365         value when x - 1 is zero.
13366         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13367         * sysdeps/i386/fpu/libm-test-ulps: Update.
13368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13370 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13372         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13373         alphasort and versionsort.
13375 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13377         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13378         macro.
13379         [copysignf]: Likewise.
13381 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13383         * crypt/md5-crypt.c: Fix formatting.
13385 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13387         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13388         (b64_from_24bit): New function.
13390 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13392         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13393         libc_hidden_builtin_def to ifunc.
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13395         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13397 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13399         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13400         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13402 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13404         * nscd/Depend (linuxthreads): Remove.
13405         (nptl): Add.
13406         * resolv/Depend (linuxthreads): Remove.
13407         * rt/Depend (linuxthreads): Remove.
13409         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13410         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13411         $(common-objpfx)elf/.
13412         (link-libc-before-gnulib): Likewise.
13413         (elfobjdir): Remove variable.
13414         * Makefile (install): Use $(elf-objpfx) instead of
13415         $(common-objpfx)elf/.
13416         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13417         $(elfobjdir)/.
13418         (link-libc-deps): Likewise.
13419         ($(common-objpfx)libc.so): Likewise.
13420         ($(common-objpfx)linkobj/libc.so): Likewise.
13421         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13422         instead of $(common-objpfx)elf/.
13423         (symbolic-link-list): Likewise.
13424         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13425         [$(cross-compiling) = no]: Likewise.
13426         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13427         $(elfobjdir)/.
13428         (static-gnulib-arch): Likewise.
13429         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13430         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13431         $(common-objpfx)elf/.
13433 2014-05-21  Richard Henderson  <rth@redhat.com>
13435         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13436         (SINGLE_THREAD_P): Use the correct width load.  Fold
13437         into the ldr offset.
13439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13440         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13442 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13444         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13445         (libgcc_s_resume): Use __attribute_used__.
13446         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13447         Likewise.
13449 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13451         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13452         optimization when used with float constants.
13454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13458         [BZ #16915]
13459         * locale/nl_langinfo_l.c: Make direct reference to every
13460         _nl_current_CATEGORY symbol.
13461         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13462         (tests-static): Add tst-langinfo-static.
13463         (tests-special): Add tst-langinfo-static.out.
13464         ($(objpfx)tst-langinfo.out): Redirect output.
13465         ($(objpfx)tst-langinfo-static.out): New.
13466         * localedata/tst-langinfo.sh: Send output to stdout.
13467         * localedata/tst-langinfo-static.c: New file.
13469         [BZ #16965]
13470         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13471         when the shift amount is modulo the limb size.
13473 2014-05-20  Richard Henderson  <rth@redhat.com>
13475         [BZ #16967]
13476         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13477         Change type of sa_flags from unsigned int to int.
13479         [BZ #16966]
13480         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13482         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13484 2014-05-20  Will Newton  <will.newton@linaro.org>
13486         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13487         Test the return value of the system call in the nocancel case.
13489 2014-05-20  Will Newton  <will.newton@linaro.org>
13490             Yvan Roux  <yvan.roux@linaro.org>
13492         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13493         #include of asm/ptrace.h.
13494         (PTRACE_GET_THREAD_AREA): Remove #undef.
13495         (PTRACE_GETHBPREGS): Likewise.
13496         (PTRACE_SETHBPREGS): Likewise.
13497         (struct user_regs_struct): New structure.
13498         (struct user_fpsimd_struct): New structure.
13499         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13500         #include of asm/ptrace.h and second #include of sys/user.h.
13501         (PTRACE_GET_THREAD_AREA): Remove #undef.
13502         (PTRACE_GETHBPREGS): Likewise.
13503         (PTRACE_SETHBPREGS): Likewise.
13504         (ELF_NGREG): Use new struct user_regs_struct.
13505         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13507 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13509         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13510         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13512 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13514         [BZ #16958]
13515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13516         membar to avoid block loads/stores to overlap previous stores.
13518 2014-05-17  Richard Henderson  <rth@redhat.com>
13520         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13521         Create the __##syscall_name##_nocancel entry point.
13522         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13523         Remove; let the sysdep-cancel.h code create it.
13525 2014-05-17  David S. Miller  <davem@davemloft.net>
13527         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13528         Protect with __USE_GNU.
13529         (TIOCSET_TEMPT): Likewise.
13530         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13531         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13532         these are already provided in bits/ioctl-types.h
13534 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13536         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13537         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13539         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13540         Use wait4 regardless of [__NR_waitpid].
13542 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13544         PR libgcc/60166
13545         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13546         (_FP_NANSIGN_Q): Set the quiet bit.
13548 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13550         * benchtests/Makefile
13551         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13552         not $(common-objpfx)math/libm.so.
13553         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13554         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13555         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13556         $(common-objpfx)dlfcn/libdl.so.
13557         ($(objpfx)tst-audit8): Depend on $(libm), not
13558         $(common-objpfx)math/libm.so.
13559         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13560         not $(common-objpfx)dlfcn/libdl.so.
13561         * math/Makefile
13562         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13563         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13564         [$(build-shared) = yes].
13565         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13566         $(common-objpfx)nptl/libpthread.so.
13567         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13568         $(common-objpfx)math/libm.so$(libm.so-version) or
13569         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13570         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13571         $(common-objpfx)dlfcn/libdl.so.
13572         * setjmp/Makefile (link-libm): Remove variable.
13573         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13574         * stdio-common/Makefile (link-libm): Remove variable.
13575         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13576         * stdlib/Makefile (link-libm): Remove variable.
13577         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13578         ($(objpfx)tst-strtod-round): Likewise.
13579         ($(objpfx)tst-tininess): Likewise.
13580         ($(objpfx)tst-strtod-underflow): Likewise.
13581         ($(objpfx)tst-strtod6): Likewise.
13582         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13583         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13584         $(common-objpfx)dlfcn/libdl.so.
13586 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13588         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13589         BSD terminal modes definitions.
13591 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13593         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13594         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13596         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13597         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13598         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13599         Don't do #include_next.
13600         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13601         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13602         Don't do #include_next.
13603         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13604         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13605         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13606         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13608 2014-05-16  Allan McRae  <allan@archlinux.org>
13610         * po/sv.po: Update Swedish translation from translation project.
13612         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13613         in sed expression.
13615 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13617         [BZ #16917]
13618         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13619         errno if the TIOCGPTN ioctl fails with an error different than
13620         EINVAL.
13621         * login/tst-ptsname.c: New file.
13622         * login/Makefile (tests): Add tst-ptsname.
13624         [BZ #16943]
13625         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13626         and prlimit64.
13628 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13630         [BZ #16849]
13631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13632         herrno to return EAI_AGAIN.
13634 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13636         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13637         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13638         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13639         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13640         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13641         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13642         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13643         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13644         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13645         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13646         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13647         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13648         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13649         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13650         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13651         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13652         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13653         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13654         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13655         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13656         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13657         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13658         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13659         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13660         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13661         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13662         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13663         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13664         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13665         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13667         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13669         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13671         Moved ...
13672         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13674         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13676         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13677         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13678         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13679         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13680         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13682         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13684         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13686         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13688         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13690         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13692         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13694         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13696         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13698         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13700         Moved ...
13701         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13702         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13703         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13705         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13706         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13707         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13708         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13709         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13711         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13713         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13714         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13715         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13717         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13719         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13721         Moved ...
13722         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13723         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13724         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13726         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13727         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13728         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13729         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13730         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13731         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13732         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13734         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13736         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13737         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13738         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13739         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13740         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13741         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13742         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13743         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13744         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13745         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13746         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13748         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13749         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13750         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13751         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13752         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13754         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13756         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13758         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13759         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13761         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13762         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13763         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13764         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13765         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13767         Moved ...
13768         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13770         Moved ...
13771         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13772         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13773         Moved ...
13774         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13775         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13776         Moved ...
13777         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13779         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13781         Moved ...
13782         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13783         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13784         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13786         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13788         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13790         Moved ...
13791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13793         Moved ...
13794         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13795         ... here.
13796         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13797         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13798         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13799         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13800         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13801         Moved ...
13802         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13803         ... here.
13804         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13805         Moved ...
13806         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13807         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13808         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13809         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13810         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13812         Moved ...
13813         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13815         Moved ...
13816         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13817         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13818         Moved ...
13819         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13820         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13821         Moved ...
13822         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13823         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13824         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13825         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13826         Moved ...
13827         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13828         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13829         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13830         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13831         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13832         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13833         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13835         Moved ...
13836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13838         Moved ...
13839         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13840         ... here.
13841         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13842         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13844         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13845         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13846         Moved ...
13847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13848         ... here.
13849         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13850         Moved ...
13851         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13852         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13853         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13854         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13855         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13856         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13858         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13859         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13860         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13861         Moved ...
13862         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13864         Moved ...
13865         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13866         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13867         Moved ...
13868         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13870         Moved ...
13871         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13872         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13873         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13874         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13875         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13876         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13877         Moved ...
13878         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13879         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13880         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13881         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13882         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13884         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13885         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13886         Moved ...
13887         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13888         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13889         Moved ...
13890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13891         ... here.
13892         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13893         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13894         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13895         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13896         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13897         Moved ...
13898         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13899         ... here.
13900         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13901         Moved ...
13902         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13903         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13904         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13905         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13906         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13907         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13908         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13909         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13910         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13911         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13912         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13914         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13915         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13917         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13918         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13920         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13921         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13922         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13924         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13926         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13928         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13929         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13930         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13931         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13932         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13933         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13934         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13936         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13937         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13938         Moved ...
13939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13941         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13943         Moved ...
13944         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13945         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13946         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13948         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13950         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13951         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13952         Moved ...
13953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13955         Moved ...
13956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13959         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13960         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13961         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13962         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13963         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13964         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13965         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13966         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13967         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13968         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13969         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13970         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13971         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13972         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13974         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13975         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13976         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13977         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13978         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13980         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13981         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13982         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13983         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13984         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13985         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13986         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13987         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13988         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13989         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13991         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13992         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13994         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13995         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13996         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13997         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13998         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13999         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14000         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14001         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14002         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14003         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14004         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14005         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14006         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14007         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14009         Update #include.
14010         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14011         Likewise.
14012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14013         Likewise.
14014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14015         Likewise.
14016         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14017         Likewise.
14018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14019         Likewise.
14020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14021         Likewise.
14022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14023         Likewise.
14024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14025         Likewise.
14026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14027         Likewise.
14028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
14033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14034         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14036         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14037         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14038         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14039         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14040         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14041         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14042         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14044         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14045         that was previously under [RESET_PID].
14046         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14047         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14048         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14050         * sysdeps/i386/nptl/Implies: New file.
14051         * sysdeps/x86_64/nptl/Implies: New file.
14052         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14053         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14054         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14055         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14057         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14058         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14059         (__libc_vfork): New strong alias.
14060         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14061         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14063         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14064         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14065         (__libc_vfork): New strong alias.
14066         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14067         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14069         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14070         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14071         (__libc_vfork): New strong alias.
14072         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14073         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14074         * nptl/pt-vfork.c: New file.
14075         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14076         (libpthread: GLIBC_2.20): New version set (empty).
14078 2014-05-14  Will Newton  <will.newton@linaro.org>
14080         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14081         rather than #if.
14083 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14085         [BZ #16564]
14086         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14087         arguments with exponent 65 or above.
14088         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14089         arguments 0x1p113L or above.
14090         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14091         to arguments 0x1p107L or above.
14092         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14093         positive arguments with exponent 65 or above.
14094         * math/auto-libm-test-in: Add more tests of log1p.
14095         * math/auto-libm-test-out: Regenerated.
14097         [BZ #16928]
14098         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14099         non-finite arguments is +0.
14100         * math/s_cacosf.c (__cacosf): Likewise.
14101         * math/s_cacosl.c (__cacosl): Likewise.
14102         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14103         * sysdeps/i386/fpu/libm-test-ulps: Update.
14104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14106         [BZ #16927]
14107         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14108         value.
14109         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14110         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14111         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14112         for explicit high bit of mantissa when testing for argument equal
14113         to 1.
14114         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14115         * sysdeps/i386/fpu/libm-test-ulps: Update.
14116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14118         [BZ #16516]
14119         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14120         (__erf): Scale by 16 instead of 8 in potentially underflowing
14121         case.  Ensure exception if result actually underflows.
14122         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14123         (__erff): Scale by 16 instead of 8 in potentially underflowing
14124         case.  Ensure exception if result actually underflows.
14125         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14126         (efx8): Remove variable.
14127         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14128         case.  Ensure exception if result actually underflows.
14129         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14130         (efx8): Remove variable.
14131         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14132         case.  Ensure exception if result actually underflows.
14133         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14134         (efx8): Remove variable.
14135         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14136         case.  Ensure exception if result actually underflows.
14137         * math/auto-libm-test-in: Add more tests of erf.
14138         * math/auto-libm-test-out: Regenerated.
14140 2014-05-14  Andreas Schwab  <schwab@suse.de>
14142         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14143         Remove code conditionalized on USE___THREAD.
14145         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14146         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14147         not definedness.
14149 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14151         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14152         Define unconditionally.
14153         (__ASSUME_O_CLOEXEC): Likewise.
14154         (__ASSUME_SOCK_CLOEXEC): Likewise.
14155         (__ASSUME_IN_NONBLOCK): Likewise.
14156         (__ASSUME_PIPE2): Likewise.
14157         (__ASSUME_EVENTFD2): Likewise.
14158         (__ASSUME_SIGNALFD4): Likewise.
14159         (__ASSUME_DUP3): Likewise.
14160         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14161         (__ASSUME_DUP3): Do not define.
14162         (__ASSUME_EVENTFD2): Likewise.
14163         (__ASSUME_IN_NONBLOCK): Likewise.
14164         (__ASSUME_O_CLOEXEC): Likewise.
14165         (__ASSUME_PIPE2): Likewise.
14166         (__ASSUME_SIGNALFD4): Likewise.
14167         (__ASSUME_SOCK_CLOEXEC): Likewise.
14168         (__ASSUME_UTIMES): Undefine.
14169         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14170         (__ASSUME_UTIMES): Do not define.
14171         (__ASSUME_O_CLOEXEC): Likewise.
14172         (__ASSUME_SOCK_CLOEXEC): Likewise.
14173         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14174         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14175         0x020621].
14176         (__ASSUME_PIPE2): Likewise.
14177         (__ASSUME_EVENTFD2): Likewise.
14178         (__ASSUME_SIGNALFD4): Likewise.
14179         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14180         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14181         Do not define.
14182         (__ASSUME_EVENTFD2): Likewise.
14183         (__ASSUME_SIGNALFD4): Likewise.
14184         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14185         (__ASSUME_32BITUIDS): Likewise.
14186         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14187         (__ASSUME_IPC64): Likewise.
14188         (__ASSUME_ST_INO_64_BIT): Likewise.
14189         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14190         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14191         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14192         (__ASSUME_UTIMES): Do not define.
14193         (__ASSUME_PSELECT): Likewise.
14194         (__ASSUME_PPOLL): Likewise.
14195         (__ASSUME_O_CLOEXEC): Likewise.
14196         (__ASSUME_SOCK_CLOEXEC): Likewise.
14197         (__ASSUME_IN_NONBLOCK): Likewise.
14198         (__ASSUME_PIPE2): Likewise.
14199         (__ASSUME_EVENTFD2): Likewise.
14200         (__ASSUME_SIGNALFD4): Likewise.
14201         (__ASSUME_DUP3): Likewise.
14202         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14203         (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
14221         Likewise.
14222         (__ASSUME_UTIMES): Likewise.
14223         (__ASSUME_EVENTFD2): Likewise.
14224         (__ASSUME_SIGNALFD4): Likewise.
14225         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14226         (__ASSUME_O_CLOEXEC): Likewise.
14227         (__ASSUME_SOCK_CLOEXEC): Likewise.
14228         (__ASSUME_IN_NONBLOCK): Likewise.
14229         (__ASSUME_PIPE2): Likewise.
14230         (__ASSUME_EVENTFD2): Likewise.
14231         (__ASSUME_SIGNALFD4): Likewise.
14232         (__ASSUME_DUP3): Likewise.
14233         (__ASSUME_UTIMES): Undefine.
14235         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14236         feclearexcept.  Remove symbol versioning code.
14237         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14238         symbol versioning code.
14239         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14240         symbol versioning code.
14241         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14242         feupdateenv.  Remove symbol versioning code.
14243         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14244         fegetexceptflag.  Remove symbol versioning code.
14245         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14246         fesetexceptflag.  Remove symbol versioning code.
14247         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14248         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14249         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14250         (__posix_fadvise64_l32): Remove prototype.
14251         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14252         code.
14254 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14256         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14257         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14258         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14259         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14261 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14263         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14264         current working directory
14266 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14268         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14269         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14270         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14271         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14272         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14273         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14274         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14275         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14276         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14277         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14278         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14279         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14280         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14281         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14282         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14283         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14284         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14285         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14286         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14287         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14288         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14289         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14290         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14291         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14292         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14293         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14294         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14295         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14296         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14297         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14298         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14299         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14300         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14301         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14302         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14303         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14304         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14305         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14306         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14307         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14308         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14309         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14311         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14312         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14314         * sysdeps/unix/sysv/linux/arm/Makefile
14315         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14316         Add rt-aeabi_unwind_cpp_pr1.
14317         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14318         Add nptl-aeabi_unwind_cpp_pr1.
14319         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14320         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14321         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14322         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14323         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14324         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14326         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14327         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14328         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14329         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14331         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14332         Deconditionalize the code that was previously under [RESET_PID].
14333         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14335         * sysdeps/generic/exit-thread.h: New file.
14336         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14337         * include/unistd.h (__exit_thread): Remove declaration.
14338         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14339         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14340         * csu/libc-start.c: Include <exit-thread.h>.
14341         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14342         * nptl/pthread_create.c: Include <exit-thread.h>.
14343         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14344         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14345         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14346         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14347         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14348         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14349         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14350         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14351         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14352         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14353         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14354         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14355         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14356         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14357         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14358         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14359         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14361 2014-05-13  Andreas Schwab  <schwab@suse.de>
14363         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14365 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14367         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14368         (__ASSUME_UTIMES): Do not condition on kernel version.
14369         (__ASSUME_PSELECT): Define unconditionally.
14370         (__ASSUME_PPOLL): Likewise.
14371         (__ASSUME_ATFCTS): Likewise.
14372         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14373         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14374         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14375         (__ASSUME_UTIMENSAT): Define unconditionally.
14376         (__ASSUME_PRIVATE_FUTEX): Likewise.
14377         (__ASSUME_FALLOCATE): Likewise.
14378         (__ASSUME_O_CLOEXEC): Likewise.
14379         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14380         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14381         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14382         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14383         (__ASSUME_IN_NONBLOCK): Likewise.
14384         (__ASSUME_PIPE2): Likewise.
14385         (__ASSUME_EVENTFD2): Likewise.
14386         (__ASSUME_SIGNALFD4): Likewise.
14387         (__ASSUME_DUP3): Likewise.
14388         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14389         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14390         (__ASSUME_AT_RANDOM): Likewise.
14391         (__ASSUME_PREADV): Likewise.
14392         (__ASSUME_PWRITEV): Likewise.
14393         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14394         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14395         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14396         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14397         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14398         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14399         (__ASSUME_O_CLOEXEC): Define unconditionally.
14400         (__ASSUME_PSELECT): Do not undefine conditionally.
14401         (__ASSUME_PPOLL): Likewise.
14402         (__ASSUME_ATFCTS): Likewise.
14403         (__ASSUME_SET_ROBUST_LIST): Likewise.
14404         (__ASSUME_UTIMENSAT): Likewise.
14405         (__ASSUME_FDATASYNC): Define unconditionally.
14406         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14407         (__ASSUME_SIGFRAME_V2): Likewise.
14408         )__ASSUME_EVENTFD2): Likewise.
14409         (__ASSUME_SIGNALFD4): Likewise.
14410         (__ASSUME_PSELECT): Do not undefine conditionally.
14411         (__ASSUME_PPOLL): Likewise.
14412         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14413         (__ASSUME_PSELECT): Define unconditionally.
14414         (__ASSUME_PPOLL): Likewise.
14415         (__ASSUME_O_CLOEXEC): Likewise.
14416         (__ASSUME_SOCK_CLOEXEC): Likewise.
14417         (__ASSUME_IN_NONBLOCK): Likewise.
14418         (__ASSUME_PIPE2): Likewise.
14419         (__ASSUME_EVENTFD2): Likewise.
14420         (__ASSUME_SIGNALFD4): Likewise.
14421         (__ASSUME_DUP3): Likewise.
14422         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14423         (__ASSUME_O_CLOEXEC): Likewise.
14424         (__ASSUME_SOCK_CLOEXEC): Likewise.
14425         (__ASSUME_IN_NONBLOCK): Likewise.
14426         (__ASSUME_PIPE2): Likewise.
14427         (__ASSUME_EVENTFD2): Likewise.
14428         (__ASSUME_SIGNALFD4): Likewise.
14429         (__ASSUME_DUP3): Likewise.
14430         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14431         (__ASSUME_EVENTFD2): Likewise.
14432         (__ASSUME_SIGNALFD4): Likewise.
14433         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14435 2014-05-12  Andreas Schwab  <schwab@suse.de>
14437         [BZ #16932]
14438         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14439         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14440         than maximum RPC packet size.
14441         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14442         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14443         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14444         (_nss_nis_getservbyport_r): Likewise.
14446 2014-05-12  Will Newton  <will.newton@linaro.org>
14448         * malloc/Makefile (tests): Add tst-mallopt.
14449         * malloc/tst-mallopt.c: New file.
14451 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14453         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14454         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14456 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14458         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14459         (tst-tlsmod6.so): Likewise.
14461 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14463         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14465 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #16064]
14468         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14469         and <dl-procinfo.h>.
14470         (__fegetenv): Save SSE state in envp->__eip if supported.
14471         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14472         envp->__eip if supported.
14473         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14474         and <dl-procinfo.h>.
14475         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14476         __data_offset and __data_selector in environment to 0.  Set SSE
14477         state if supported.
14478         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14479         test-fenv-sse.
14480         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14481         -mfpmath=sse.
14482         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14484 2014-05-09  Will Newton  <will.newton@linaro.org>
14486         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14487         and libc_relro_required for ARM.
14488         * sysdeps/arm/preconfigure: Regenerate.
14490 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14491             Stefan Liebler  <stli@linux.vnet.ibm.com>
14493         * config.make.in (enable-lock-elision): New Makefile variable.
14494         * configure.ac: Likewise.
14495         * configure: Regenerate.
14496         * sysdeps/s390/configure.ac:
14497         Add check for gcc transactions support.
14498         * sysdeps/s390/configure: Regenerate.
14499         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14500         Build elision files if enabled.
14501         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14502         Add lock elision support for s390.
14503         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14504         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14505         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14506         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14507         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14508         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14510         Likewise.
14511         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14512         Likewise.
14513         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14514         Likewise.
14515         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14516         Likewise.
14517         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14518         (__lll_timedlock_elision, __lll_lock_elision)
14519         (__lll_unlock_elision, __lll_trylock_elision)
14520         (lll_timedlock_elision, lll_lock_elision)
14521         (lll_unlock_elision, lll_trylock_elision): Add.
14522         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14523         (pthread_mutex_t): Add lock elision support for s390.
14525 2014-05-14  Wilco  <wdijkstr@arm.com>
14527         * sysdeps/arm/fclrexcpt.c: Cleanup.
14528         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14529         * sysdeps/arm/feenablxcpt.c: Cleanup.
14530         * sysdeps/arm/fegetenv.c: Cleanup.
14531         * sysdeps/arm/fegetexcept.c: Cleanup.
14532         * sysdeps/arm/fegetround.c: Cleanup.
14533         * sysdeps/arm/feholdexcpt.c: Cleanup.
14534         * sysdeps/arm/fesetenv.c: Cleanup.
14535         * sysdeps/arm/fesetround.c: Cleanup.
14536         * sysdeps/arm/feupdateenv.c: Cleanup.
14537         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14538         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14539         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14540         * sysdeps/arm/ftestexcept.c: Cleanup.
14541         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14542         * sysdeps/arm/setfpucw.c: Cleanup.
14544 2014-05-09  Will Newton  <will.newton@linaro.org>
14546         * sysdeps/arm/armv7/strcmp.S: New file.
14547         * NEWS: Mention addition of ARMv7 optimized strcmp.
14549 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14551         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14552         look for %.ac rather than %.in.
14554         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14555         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14556         * sysdeps/mach/hurd/configure: Regenerated.
14557         * sysdeps/unix/sysv/linux/configure: Regenerated.
14559         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14561 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14563         [BZ# 16922]
14564         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14565         (LONG_SUB): Ditto.
14566         (PTR_SUB): Ditto.
14568 2014-05-07  Andreas Schwab  <schwab@suse.de>
14570         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14571         when skipping over non-matching result from nscd.
14573 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14575         [BZ #16876]
14576         * nptl/sockperf.c (client): Check socket return value.
14578         [BZ #16877]
14579         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14580         nscd security class.
14582 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14584         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14585         * sysdeps/arm/unwind.h: ... here.
14587 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14589         [BZ# 16916]
14590         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14591         Define.
14593 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14595         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14596         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14597         multiarch strncpy for PPC64.
14598         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14599         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14600         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14601         multiarch optimizations.
14602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14603         (__libc_ifunc_impl_list): Likewise.
14604         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14605         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14606         multiarch stpncpy for PPC64.
14607         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14608         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14610 2014-05-06  Andreas Schwab  <schwab@suse.de>
14612         [BZ #16912]
14613         * gmon/mcount.c (_MCOUNT_DECL): Use
14614         atomic_compare_and_exchange_bool_acq instead of
14615         catomic_compare_and_exchange_bool_acq.
14617 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14619         * elf/Makefile (others, install-bin): Remove pldd.
14620         (pldd-modules): Variable removed.
14621         ($(objpfx)pldd): Target removed.
14622         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14623         (others, install-bin): Append pldd here.
14624         ($(objpfx)pldd): New target.
14626         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14627         to 0, so the first #if test emitted later doesn't see it undefined.
14628         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14629         * sysdeps/gnu/errlist.c: Regenerated.
14631 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14633         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14634         [libc_hidden_builtin_def]: Define to empty value.
14635         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14636         [libc_hidden_builtin_def]: Likewise.
14637         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14638         [libc_hidden_builtin_def]: Likewise.
14639         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14640         [libc_hidden_builtin_def]: Likewise.
14641         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14642         __redirect_memcpy and define ifunc as default hidden symbol.
14643         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14644         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14646 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14648         * locale/iso-4217.def: Reintroduce XDR currency.
14650 2014-05-04  Allan McRae  <allan@archlinux.org>
14652         * po/eo.po: Update Esperanto translation from translation project.
14654 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14656         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14657         and FEATURE_INDEX_MAX to 1.
14658         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14660 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14662         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14663         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14664         * iconvdata/big5.c (ONE_DIRECTION): Define.
14665         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14666         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14667         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14668         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14669         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14670         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14671         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14672         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14673         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14674         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14675         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14676         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14677         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14678         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14679         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14680         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14681         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14682         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14683         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14684         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14685         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14686         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14687         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14688         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14689         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14690         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14691         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14692         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14693         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14694         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14695         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14696         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14697         * iconvdata/johab.c (ONE_DIRECTION): Define.
14698         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14699         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14700         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14701         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14702         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14703         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14704         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14705         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14706         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14707         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14709 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14711         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14712         (_IO_JUMPS_OFFSET): Define to 0.
14714         * nptl/sysdeps/pthread/bits/libc-lock.h
14715         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14716         (__libc_lock_define_initialized_recursive): Always define using
14717         initializer.  Modern compilers treat uninitialized (implicit zero) and
14718         explicit zero initializers the same (i.e. put the datum in bss).
14720 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14722         * nscd/nscd-client.h: Include <string.h>.
14724 2014-05-01  David S. Miller  <davem@davemloft.net>
14726         [BZ #16885]
14727         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14728         multiple zero bytes exist at the end of a string.
14729         Reported by Aurelien Jarno <aurelien@aurel32.net>
14731         * string/test-strcmp.c (check): Add explicit test for situations where
14732         there are multiple zero bytes after the first.
14734 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14736         [BZ #16890]
14737         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14738         when compiling wprintf.
14739         * stdio-common/tstdiomisc.c (t3): New function.
14740         (main): Call it.
14742 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14744         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14745         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14746         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14747         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14749 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14751         * stdlib/longlong.h: Updated from GCC.
14753 2014-05-01  Will Newton  <will.newton@linaro.org>
14754             Bernard Ogden  <bernie.ogden@linaro.org>
14756         * NEWS: Update fixed bug list.
14758         [BZ #15119]
14759         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14761 2014-04-30  David S. Miller  <davem@davemloft.net>
14763         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14764         (libc_feholdexcept_setround_sparc_ctx): New function.
14765         (libc_fesetenv_sparc_ctx): Likewise.
14766         (libc_feupdateenv_sparc_ctx): Likewise.
14767         (libc_feholdsetround_sparc_ctx): Likewise.
14768         (libc_feholdexcept_setround_ctx): Define.
14769         (libc_feholdexcept_setroundf_ctx): Likewise.
14770         (libc_feholdexcept_setroundl_ctx): Likewise.
14771         (libc_fesetenv_ctx): Likewise.
14772         (libc_fesetenvf_ctx): Likewise.
14773         (libc_fesetenvl_ctx): Likewise.
14774         (libc_feupdateenv_ctx): Likewise.
14775         (libc_feupdateenvf_ctx): Likewise.
14776         (libc_feupdateenvl_ctx): Likewise.
14777         (libc_feresetround_ctx): Likewise.
14778         (libc_feresetroundf_ctx): Likewise.
14779         (libc_feresetroundl_ctx): Likewise.
14780         (libc_feholdsetround_ctx): Likewise.
14781         (libc_feholdsetroundf_ctx): Likewise.
14782         (libc_feholdsetroundl_ctx): Likewise.
14784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14785         with __USE_GNU instead of XOPEN cpp guards.
14787         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14788         0.
14790         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14791         with XOPEN cpp guards.
14793 2014-04-30  Julian Brown  <julian@codesourcery.com>
14795         [BZ #16888]
14796         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14797         handling.
14799 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14801         [BZ #9894]
14802         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14803         Change to 2.6.32.
14804         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14805         * sysdeps/unix/sysv/linux/configure: Regenerated.
14806         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14807         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14808         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14809         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14810         * README: Update reference to required Linux kernel version.
14811         * manual/install.texi (Linux): Update reference to required Linux
14812         kernel headers version.
14813         * INSTALL: Regenerated.
14815         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14816         header inclusion.
14817         [POSIX] (limits.h): Likewise.
14818         [POSIX] (math.h): Likewise.
14819         [POSIX] (sys/wait.h): Likewise.
14820         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14821         function.
14822         [POSIX] (stddef.h): Do not allow header inclusion.
14824 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14826         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14828 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14830         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14831         Return immediately after lll_futex_wake.
14833 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14835         [BZ #16791]
14836         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14837         structure.
14838         (datahead_init_pos): Call datahead_init_common early.
14839         (datahead_init_neg): Likewise.
14841         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14842         datahead_init_neg): New functions.
14843         * nscd/aicache.c (addhstaiX): Use them.
14844         * nscd/grpcache.c (cache_addgr): Likewise.
14845         * nscd/hstcache.c (cache_addhst): Likewise.
14846         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14847         * nscd/netgroupcache.c (do_notfound): Likewise.
14848         (addgetnetgrentX): Likewise.
14849         (addinnetgrX): Likewise.
14850         * nscd/pwdcache.c (cache_addpw): Likewise.
14851         * nscd/servicescache.c (cache_addserv): Likewise.
14853 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14854             Atsushi Onoe  <atsushi@onoe.org>
14856         [BZ #14308]
14857         [BZ #12994]
14858         [BZ #13651]
14859         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14860         one response is valid.
14861         * resolv/res_send.c (send_dg): Check for validity of other
14862         response if the current response is a referral.
14864 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14866         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14868 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14870         [BZ #16823]
14871         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14872         Always divide by positive zero when computing -Inf result.
14873         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14874         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14876 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14878         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14879         FPSCR if value do not change.
14880         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14881         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14882         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14883         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14884         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14885         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14886         function.
14888 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14890         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14891         * sysdeps/unix/sysv/linux/hppa: Move directory from
14892         ports/systeps/unix/sysv/linux/hppa.
14893         * README: Update listing for hppa-*-linux-gnu.
14895 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14897         [BZ #16754]
14898         * manual/stdio.texi (Hook functions): Fix types of stream hook
14899         functions.
14900         [BZ #16854]
14901         * socket/sys/socket.h: Fix typo in comment.
14903 2014-04-28  Wilco  <wdijkstr@arm.com>
14905         * sysdeps/arm/fenv_private.h: New file.
14906         * sysdeps/arm/math_private.h: New file.
14907         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14909 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14911         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14912         with __int128_t.
14913         (La_x86_64_retval): Likewise.
14915 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14917         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14918         fpsr if value didn't change.
14919         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14920         to fpcr if value didn't change.
14921         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14922         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14923         fpsr or fpcr if value didn't change.
14924         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14925         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14926         fpcr if value didn't change.
14927         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14928         to fpsr if value didn't change.
14930 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14932         * nptl/tst-sem3.c: Use test-skeleton.c
14933         (main): Rename to do_test.  Use return instead of
14934         exit.
14935         * nptl/tst-sem4.c: Use test-skeleton.c
14936         (main): Rename to do_test.
14938 2014-04-22  David S. Miller  <davem@davemloft.net>
14940         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14941         (struct sigaction): New struct member __glibc_reserved0, change
14942         type of sa_flags to int.
14944 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14946         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14947         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14949 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14951         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14952         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14954 2014-04-22  Will Newton  <will.newton@linaro.org>
14955             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14957         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14958         (__longjmp): Add longjmp and longjmp_target SystemTap
14959         probes.
14960         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14961         (__sigsetjmp): Add setjmp SystemTap probe.
14963 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14965         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14966         match manual order.
14968 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14970         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14972         * sysdeps/powerpc/fpu/fenv_private.h
14973         (libc_feholdexcept_setroundl_ctx): Define to
14974         libc_feholdexcept_setround_ppc_ctx.
14975         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14976         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14977         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14978         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14980 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14982         * sysdeps/aarch64/math-tests.h: New file.
14984 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14986         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14987         New.
14988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14989         Check and set bit_AVX2_Usable.
14990         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14991         macro.
14992         (bit_AVX2): Likewise.
14993         (index_AVX2_Usable): Likewise.
14994         (CPUID_AVX2): Likewise.
14995         (HAS_AVX2): Likewise.
14997 2014-04-17  Will Newton  <will.newton@linaro.org>
14999         * manual/setjmp.texi (System V contexts): Add note that
15000         calling setcontext on a context created by a call to a
15001         signal handler is undefined.  Update text to note that
15002         setcontext from a signal handler is possible but not
15003         recommended.
15005         [BZ #16629]
15006         * stdlib/tst-setcontext.c: Include signal.h.
15007         (main): Check that the signal stack before and
15008         after swapcontext is the same.
15010         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15011         Re-implement to restore registers in user code and avoid
15012         rt_sigreturn system call.
15014 2014-04-17  Wilco  <wdijkstr@arm.com>
15016         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15017         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15018         * math/test-fenv.c: Skip exception trap tests on targets which only
15019         support non-stop mode.
15021 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
15022             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15024         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15025         (libc_feholdsetround_aarch64_ctx)
15026         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15027         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15028         (libc_feresetround_ctx, libc_feresetroundf_ctx)
15029         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15030         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15031         (libc_feresetround_noexl_ctx): Define.
15033 2014-04-16  Richard Henderson  <rth@redhat.com>
15035         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15037         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15038         unwind tables.
15040         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15041         const from the non-libc, non-ldso copy.
15043         * sysdeps/alpha/libm-test-ulps: Regenerate.
15045 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15046             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15048         * sysdeps/aarch64/fpu/math_private.h: New file.
15050 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15052         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15054 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15056         [BZ #16275]
15057         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15058         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15059         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15060         Intel MPX bound registers before _dl_profile_fixup.
15061         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15062         registers after _dl_profile_fixup.  Save and restore bound
15063         registers bnd0/bnd1 when calling _dl_call_pltexit.
15064         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15065         (LR_BND_OFFSET): Likewise.
15066         (LRV_BND0_OFFSET): Likewise.
15067         (LRV_BND1_OFFSET): Likewise.
15069 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15071         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15072         to...
15073         * sysdeps/mach/hurd/i386/tls.h: ... here.
15074         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15075         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15076         fields.
15078 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15080         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15082 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15084         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15086 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15088         [BZ #14770]
15089         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15090         * sysdeps/s390/configure: Regenerate.
15092         [BZ #16824]
15093         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15094         Set round-to-nearest internally to reduce error accumulation.
15096 2014-04-16  Alan Modra  <amodra@gmail.com>
15098         [BZ #16740]
15099         [BZ #16619]
15100         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15101         * math/libm-test.inc (frexp_test_data): Add tests.
15102         * NEWS: Update fixed bug list.
15104 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15106         * benchtests/Makefile: Depend on libraries in build directory.
15107         (bench-math): Separate out math tests.
15108         (bench-pthread): Separate out pthread tests.
15109         (bench): Include math and pthread tests.
15111 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15113         [BZ #16831]
15114         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15115         _dl_debug_initialize.
15117         * configure.ac: Remove SELinux header check.
15118         * configure: Regenerate.
15119         * nscd/selinux.c (perms): Array of const char* to permission names.
15120         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15121         default policy. Call string_to_security_class and string_to_av_perm to
15122         translate strings. Enforce default policy and call avs_has_perm with
15123         results of translated strings.
15125 2014-04-13  David S. Miller  <davem@davemloft.net>
15127         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15129 2014-04-12  Allan McRae  <allan@archlinux.org>
15131         [BZ #16838]
15132         * manual/string.texi (Collation Functions): Fix qsort argument
15133         order in example.
15134         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15136 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15138         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15139         Make the test a no-op if there are no exceptions defined.
15141 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15143         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15144         enable-hardcoded-path-in-tests
15146 2014-04-11  Will Newton  <will.newton@linaro.org>
15148         * benchtests/Makefile (extra-objs): Add json-lib.o.
15149         (bench-func): Tidy up JSON output.
15150         * benchtests/bench-skeleton.c: Include json-lib.h.
15151         (main): Use JSON library functions to do output of
15152         benchmark results.
15153         * benchtests/bench-timing-type.c (main): Output the
15154         timing type simply, leaving formatting to the user.
15155         * benchtests/json-lib.c: New file.
15156         * benchtests/json-lib.h: Likewise.
15158 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15160         [BZ #15215]
15161         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15162         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15163         memory barriers.  Add comments.
15164         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15165         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15166         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15167         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15168         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15169         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15171 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15173         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15174         * sysdeps/s390/s390-64/configure.ac: ... this ...
15175         * sysdeps/s390/configure.ac: ... to here.
15176         * sysdeps/s390/s390-32/configure: Delete file.
15177         * sysdeps/s390/s390-64/configure: Delete file.
15178         * sysdeps/s390/configure: Regenerate.
15180 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15182         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15184 2014-04-11  Will Newton  <will.newton@linaro.org>
15186         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15187         to zero if it is not defined elsewhere.  (mtrim): Test
15188         the value of MALLOC_DEBUG with #if rather than #ifdef.
15190 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15192         * benchtests/pthread_once-inputs: New file.
15193         * benchtests/pthread_once-source.c: New file.
15194         * benchtests/README: Update documentation.
15196 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15197             H.J. Lu  <hongjiu.lu@intel.com>
15199         [BZ #16275]
15200         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15201         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15202         * sysdeps/x86_64/configure: Regenerated.
15203         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15204         macro.
15205         (REGISTER_SAVE_RAX): Likewise.
15206         (REGISTER_SAVE_RCX): Likewise.
15207         (REGISTER_SAVE_RDX): Likewise.
15208         (REGISTER_SAVE_RSI): Likewise.
15209         (REGISTER_SAVE_RDI): Likewise.
15210         (REGISTER_SAVE_R8): Likewise.
15211         (REGISTER_SAVE_R9): Likewise.
15212         (REGISTER_SAVE_BND0): Likewise.
15213         (REGISTER_SAVE_BND1): Likewise.
15214         (REGISTER_SAVE_BND2): Likewise.
15215         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15216         bound registers when calling _dl_fixup.
15218 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15220         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15221         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15222         of its definition.
15223         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15224         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15225         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15226         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15227         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15228         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15229         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15231 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15233         [BZ #15514]
15234         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15235         pathconf(_PC_NAME_MAX).
15237 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15239         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15240         Remove macro usage.
15241         (__PTHREAD_SPINS): Move definition to ...
15242         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15243         (__PTHREAD_SPINS): ... here.
15244         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15245         (__PTHREAD_SPIN): Likewise.
15246         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15247         (__PTHREAD_SPIN): Likewise.
15248         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15249         (__PTHREAD_SPIN): Likewise.
15250         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15251         (__PTHREAD_SPIN): Likewise.
15252         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15253         (__PTHREAD_SPIN): Likewise.
15254         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15255         (__PTHREAD_SPIN): Likewise.
15256         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15257         (__PTHREAD_SPIN): Likewise.
15258         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15259         (__PTHREAD_SPIN): Likewise.
15260         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15261         (__PTHREAD_SPIN): Likewise.
15262         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15263         (__PTHREAD_SPIN): Likewise.
15264         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15265         (__PTHREAD_SPIN): Likewise.
15266         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15267         (__PTHREAD_SPIN): Likewise.
15269         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15270         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15271         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15272         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15273         imply folder.
15274         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15275         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15276         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15277         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15278         correct imply path.
15279         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15280         strlen symbol for non multi-arch builds.
15281         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15282         missing hidden_def and weak_alias.
15284 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15286         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15288 2014-04-07  Will Newton  <will.newton@linaro.org>
15290         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15291         and contents.  [!_LIBC] Remove #ifndef and contents.
15292         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15293         * string/memccpy.c (__memccpy): Use ANSI prototype.
15294         * string/memfrob.c (memfrob): Likewise.
15295         * string/strcoll.c (STRCOLL): Likewise.
15296         * string/strlen.c (strlen): Likewise.
15297         * string/strtok.c (STRTOK): Likewise.
15298         * string/strcat.c: Remove unused #include of memcopy.h.
15299         (strcat): Use ANSI prototype.
15300         * string/strchr.c: Remove unused #include of memcopy.h.
15301         (strchr): Use ANSI prototype.
15302         * string/strcmp.c: Remove unused #include of memcopy.h.
15303         (strcmp): Use ANSI prototype.
15304         * string/strcpy.c: Remove unused #include of memcopy.h.
15305         (strcpy): Use ANSI prototype.
15307 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15309         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15310         * config.make.in (config-extra-cppflags): Set it from
15311         libc_extra_cppflags.
15312         * configure.ac (libc_extra_cflags): Make it accumulate over
15313         configure fragments.
15314         (libc_extra_cppflags): New flag.
15315         * configure. Regenerate.
15316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15317         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15318         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15321         [BZ #16815]
15322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15323         result for FE_DOWNWARD rounding mode.
15324         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15325         Likewise.
15326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15328 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15330         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15331         in function argument name.
15333 2014-04-03  David Svoboda  <svoboda@cert.org>
15335         [BZ #5666]
15336         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15337         explicitly.
15339 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15341         * elf/dl-unmap-segments.h: New file.
15342         * sysdeps/generic/ldsodefs.h
15343         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15344         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15345         * elf/dl-fptr.c: Likewise.
15346         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15347         * sysdeps/aarch64/tlsdesc.c: Likewise.
15348         * sysdeps/arm/tlsdesc.c: Likewise.
15349         * sysdeps/i386/tlsdesc.c: Likewise.
15350         * sysdeps/tile/dl-runtime.c: Likewise.
15351         * sysdeps/x86_64/tlsdesc.c: Likewise.
15352         * elf/dl-load.h: New file.
15353         * elf/dl-load.c: Include it.
15354         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15355         Macros moved to dl-load.h.
15356         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15357         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15358         Use _dl_unmap_segments in place of __munmap.
15359         Break out segment-mapping loop into ...
15360         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15362 2014-04-03  Will Newton  <will.newton@linaro.org>
15364         * elf/dl-lookup.c (do_lookup_x): Remove comment
15365         referring to nested function and move variable
15366         declarations down to before first use.
15368 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15370         [BZ #16799]
15371         [BZ #16800]
15372         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15373         with 0 numerator.
15374         * math/s_catanf.c (__catanf): Likewise.
15375         * math/s_catanh.c (__catanh): Likewise.
15376         * math/s_catanhf.c (__catanhf): Likewise.
15377         * math/s_catanhl.c (__catanhl): Likewise.
15378         * math/s_catanl.c (__catanl): Likewise.
15379         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15380         by positive zero when computing -Inf result.
15381         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15382         (catanh_test): Likewise.
15383         * sysdeps/i386/fpu/libm-test-ulps: Update.
15384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15386         [BZ #16789]
15387         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15388         instead of using underflowing value in computing result.
15389         * math/s_clog10.c (__clog10): Likewise.
15390         * math/s_clog10f.c (__clog10f): Likewise.
15391         * math/s_clog10l.c (__clog10l): Likewise.
15392         * math/s_clogf.c (__clogf): Likewise.
15393         * math/s_clogl.c (__clogl): Likewise.
15394         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15395         (clog10_test): Likewise.
15396         * sysdeps/i386/fpu/libm-test-ulps: Update.
15397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15399 2014-04-02  Alan Modra  <amodra@gmail.com>
15401         [BZ #16739]
15402         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15403         output when value is near a power of two.  Use int64_t for lx and
15404         remove casts.  Use decimal rather than hex exponent constants.
15405         Don't use long double multiplication when double will suffice.
15406         * math/libm-test.inc (nextafter_test_data): Add tests.
15407         * NEWS: Add 16739 and 16786 to bug list.
15409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15411         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15413 2014-04-01  Will Newton  <will.newton@linaro.org>
15415         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15416         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15418 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15420         [BZ #13347]
15421         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15422         * nptl/tst-setuid2.c: New file.
15423         * nptl/Makefile (xtests): Add tst-setuid2.
15425 2014-04-01  Alan Modra  <amodra@gmail.com>
15427         [BZ #16786]
15428         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15430 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15432         [BZ #6803]
15433         [BZ #6804]
15434         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15435         set errno as appropriate.
15436         * math/w_scalbf.c (__scalbf): Likewise.
15437         * math/w_scalbl.c (__scalbl): Likewise.
15438         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15439         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15440         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15441         Add more NaN tests.
15443         [BZ #16349]
15444         * math/w_atan2.c: Include <errno.h>.
15445         (__atan2): Set errno for result underflowing to zero.
15446         * math/w_atan2f.c: Include <errno.h>.
15447         (__atan2f): Set errno for result underflowing to zero.
15448         * math/w_atan2l.c: Include <errno.h>.
15449         (__atan2l): Set errno for result underflowing to zero.
15450         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15451         tests.
15452         * math/auto-libm-test-out: Regenerated.
15454 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15456         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15457         Encode instruction correctly in little endian.
15458         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15459         Likewise.
15460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15461         Likewise.
15462         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15463         Likewise.
15464         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15465         Likewise.
15467 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15469         [BZ #9894]
15470         * sysdeps/unix/sysv/linux/kernel-features.h
15471         [__sparc__ && !__arch64__ && !__sparc_v9__]
15472         (__ASSUME_SET_ROBUST_LIST): Do not define.
15473         [__sparc__ && !__arch64__ && !__sparc_v9__]
15474         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15475         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15476         Likewise.
15477         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15478         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15479         (__ASSUME_REQUEUE_PI): Likewise.
15480         (__ASSUME_SET_ROBUST_LIST): Likewise.
15481         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15482         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15483         Undefine.
15484         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15485         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15486         Likewise.
15487         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15488         Likewise.
15489         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15490         Likewise.
15491         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15492         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15493         Undefine.
15494         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15495         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15496         Likewise.
15498         [BZ #16648]
15499         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15500         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15501         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15503 2014-03-31  Will Newton  <will.newton@linaro.org>
15505         * benchtests/Makefile (bench): Add ffs and ffsll to list
15506         of tests.
15507         * benchtests/ffs-inputs: New file.
15508         * benchtests/ffsll-inputs: Likewise.
15510 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15512         [BZ #16770]
15513         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15514         too large before casting to int.
15515         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15516         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15517         * math/libm-test.inc (scalb_test_data): Add more tests.
15519 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15521         * benchtests/Makefile (DETAILED_OPT): New make option.
15522         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15523         set.
15524         * benchtests/bench-skeleton.c: Include stdbool.h.
15525         (main): Store and print timings per input.
15526         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15527         member to each argument value.
15528         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15529         (_print_arg_data): Initialize per-input timing to 0.
15531         * benchtests/Makefile (timing-type): New binary.
15532         (bench-clean): Also remove bench-timing-type.
15533         (bench): New target for timing-type.
15534         (bench-func): Print output in JSON format.
15535         * benchtests/bench-skeleton.c (main): Print output in JSON
15536         format.
15537         * benchtests/bench-timing-type.c: New file.
15538         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15539         (TIMING_PRINT_STATS): Remove.
15540         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15541         name separately.
15543         * benchtests/bench-modf.c: Remove.
15544         * benchtests/modf-inputs: New inputs file.
15546 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15548         [BZ #16362]
15549         * math/s_clog10.c (M_PI_LOG10E): New macro.
15550         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15551         imaginary parts are 0.
15552         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15553         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15554         imaginary parts are 0.
15555         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15556         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15557         imaginary parts are 0.
15558         * math/libm-test.inc (clog10_test_data): Update expected results
15559         for when real and imaginary parts are 0.
15561 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15563         * elf/dl-load.c: Finish conversion of __builtin_expect into
15564         __glibc_{un}likely.
15566 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15568         [BZ #16348]
15569         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15570         1+x for argument with exponent below -67.
15571         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15572         Likewise.
15573         * math/auto-libm-test-in: Add more tests of exp.
15574         * math/auto-libm-test-out: Regenerated.
15576 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15578         [BZ #16759]
15579         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15580         (nscd_getnetgrent): Use it.
15582         [BZ #16760]
15583         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15584         of stpcpy.
15586 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15588         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15589         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15590         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15591         (lll_robust_unlock): Remove out of line section. Use cfi
15592         intrinsics.
15593         (LLL_STUB_UNWIND_INFO*): Remove.
15594         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15595         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15596         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15597         (lll_robust_unlock): Remove out of line section. Use cfi
15598         intrinsics.
15599         (LLL_STUB_UNWIND_INFO*): Remove.
15601 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15603         [BZ #16758]
15604         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15605         blank values.
15607 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15609         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15611 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15613         [BZ #16198]
15614         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15615         fnstenv.
15616         * math/test-fenv-preserve.c: New file.
15617         * math/Makefile (tests): Add test-fenv-preserve.
15619 2014-03-26  Will Newton <will.newton@linaro.org>
15621         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15623 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15625         * scripts/versionlist.awk: Partition the version sets and emit all
15626         GLIBC_* (sorted) before all others (sorted).
15628 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15630         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15631         GLIBC_2.2.5 version.
15633 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15635         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15636         calls.
15638         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15639         previous change.
15641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15643 2014-03-25  Andreas Schwab  <schwab@suse.de>
15645         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15646         label to be used after in6ailist is initialized.
15648 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15650         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15651         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15653 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15655         [BZ #16357]
15656         [BZ #16599]
15657         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15658         min_plus_half.
15659         (fp_formats): Update initializers.
15660         (init_fp_formats): Initialize new field.
15661         (output_for_one_input_case): Allow underflow for results up to
15662         min_plus_half.
15663         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15664         * math/auto-libm-test-in: Don't mark some underflows from asin and
15665         atanh as spurious.
15666         * math/auto-libm-test-out: Regenerated.
15667         * sysdeps/i386/fpu/libm-test-ulps: Update.
15668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15670 2014-03-25  Andreas Schwab  <schwab@suse.de>
15672         * libio/Makefile (tst-ftell-partial-wide-ENV)
15673         (tst-ftell-active-handler-ENV): Define.
15675 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15677         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15679 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15681         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15683 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15685         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15686         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15687         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15689 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15691         [BZ #16634]
15692         * elf/dl-load.c (open_verify): Add mode parameter.
15693         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15694         (open_path): Change from boolean 'secure' to complete flag 'mode'
15695         (_dl_map_object): Adjust.
15696         * elf/Makefile (tests): Add tst-dlopen-aout.
15697         * elf/tst-dlopen-aout.c: New test.
15699 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15701         [BZ #16714]
15702         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15703         (struct stat): Rename member pad0 to __glibc_reserved0.
15705         [BZ #16712]
15706         * sysdeps/s390/s390-32/bits/wordsize.h
15707         (__WORDSIZE32_SIZE_ULONG): New define.
15708         * sysdeps/s390/s390-64/bits/wordsize.h
15709         (__WORDSIZE32_SIZE_ULONG): Likewise.
15710         * sysdeps/generic/stdint.h (SIZE_MAX):
15711         Define as UL if __WORDSIZE32_SIZE_ULONG.
15713         [BZ #16713]
15714         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15715         (__glibc_reserved0): New variable.
15716         (sa_flags): Change type to int.
15718         * posix/Makefile (before-compile): Use += before-compile instead
15719         of a :=.
15721         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15722         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15724 2014-03-20  Andreas Schwab  <schwab@suse.de>
15726         [BZ #16743]
15727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15728         non-matching result from nscd.
15730 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15732         * scripts/bench.py: Moved to ...
15733         * benchtests/scripts/bench.py: ... here.
15734         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15736 2014-03-24  Andreas Schwab  <schwab@suse.de>
15738         [BZ #16002]
15739         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15740         alloca_account and account alloca use for struct in6ailist.
15742 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15744         [BZ #16284]
15745         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15746         rounding mode to recompute results that overflow to infinity or
15747         underflow to zero.
15748         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15749         bug 16284.
15750         * math/auto-libm-test-out: Regenerated.
15751         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15752         (ccosh_test): Likewise.
15753         (csin_test_data): Use plus_oflow.
15754         (csin_test): Use ALL_RM_TEST.
15755         (csinh_test_data): Use plus_oflow.
15756         (csinh_test): Use ALL_RM_TEST.
15757         * sysdeps/i386/fpu/libm-test-ulps: Update.
15758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15760 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15762         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15763         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15764         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15766         [BZ #16731]
15767         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15768         when x - 1 is zero.
15769         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15770         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15771         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15772         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15773         argument is 1.
15774         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15775         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15776         zero.
15777         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15778         * sysdeps/i386/fpu/libm-test-ulps: Update.
15779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15781 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15783         * scripts/bench.pl: Remove file.
15784         * scripts/bench.py: New benchmark script.
15785         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15786         * benchtests/README: Mention python dependency.
15787         * scripts/pylintrc: New file.
15788         * scripts/pylint: New file.
15790         * bits/mathdef.h: Use #ifdef instead of #if.
15791         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15792         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15793         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15794         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15795         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15796         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15798 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15799             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15801         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15803         and strpbrk-ppc64 objects.
15804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15805         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15806         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15807         multiarch strpbrk for POWER7.
15808         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15809         multiarch strpbrk for PPC64.
15810         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15811         ifunc selector.
15812         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15813         strpbrk for POWER7.
15815 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15817         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15818         (atan_test): Likewise.
15819         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15820         (atanh_test): Use ALL_RM_TEST.
15821         (atan2_test_data): Likewise.
15822         (cabs_test): Likewise.
15823         (cacosh_test): Likewise.
15824         (carg_test): Likewise.
15825         (casin_test): Likewise.
15826         (casinh_test): Likewise.
15827         (cbrt_test): Likewise.
15828         (csqrt_test): Likewise.
15829         (erf_test): Likewise.
15830         (erfc_test): Likewise.
15831         (pow10_test): Likewise.
15832         (exp2_test): Likewise.
15833         (hypot_test): Likewise.
15834         (j0_test): Likewise.
15835         (j1_test): Likewise.
15836         (lgamma_test): Likewise.
15837         (gamma_test): Likewise.
15838         (sincos_test): Likewise.
15839         (tanh_test): Likewise.
15840         (y0_test): Likewise.
15841         (y1_test): Likewise.
15842         * sysdeps/i386/fpu/libm-test-ulps: Update.
15843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15845 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15847         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15849         and strcspn-ppc64 objects.
15850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15851         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15852         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15853         multiarch strcspn for POWER7.
15854         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15855         multiarch strcspn for PPC64.
15856         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15857         ifunc selector.
15858         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15859         strcspn for POWER7.
15861 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15863         * math/gen-libm-test.pl (generate_testfile): Expect only function
15864         name as argument to AUTO_TESTS_* and pass results for all rounding
15865         modes to parse_args.
15866         (parse_auto_input): Separate inputs of automatic tests from
15867         outputs before storing in %auto_tests.
15868         * math/libm-test.inc (acos_test_data): Update call to
15869         AUTO_TESTS_f_f.
15870         (acos_test): Use ALL_RM_TEST.
15871         (acos_tonearest_test_data): Remove.
15872         (acos_test_tonearest): Likewise.
15873         (acos_towardzero_test_data): Likewise.
15874         (acos_test_towardzero): Likewise.
15875         (acos_downward_test_data): Likewise.
15876         (acos_test_downward): Likewise.
15877         (acos_upward_test_data): Likewise.
15878         (acos_test_upward): Likewise.
15879         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15880         (asin_test_data): Likewise.
15881         (asin_test): Use ALL_RM_TEST.
15882         (asin_tonearest_test_data): Remove.
15883         (asin_test_tonearest): Likewise.
15884         (asin_towardzero_test_data): Likewise.
15885         (asin_test_towardzero): Likewise.
15886         (asin_downward_test_data): Likewise.
15887         (asin_test_downward): Likewise.
15888         (asin_upward_test_data): Likewise.
15889         (asin_test_upward): Likewise.
15890         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15891         (atan_test_data): Likewise.
15892         (atanh_test_data): Likewise.
15893         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15894         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15895         (carg_test_data): Likewise.
15896         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15897         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15898         (ccosh_test_data): Likewise.
15899         (cexp_test_data): Likewise.
15900         (clog_test_data): Likewise.
15901         (clog10_test_data): Likewise.
15902         (cos_test_data): Update call to AUTO_TESTS_f_f.
15903         (cos_test): Use ALL_RM_TEST.
15904         (cos_tonearest_test_data): Remove.
15905         (cos_test_tonearest): Likewise.
15906         (cos_towardzero_test_data): Likewise.
15907         (cos_test_towardzero): Likewise.
15908         (cos_downward_test_data): Likewise.
15909         (cos_test_downward): Likewise.
15910         (cos_upward_test_data): Likewise.
15911         (cos_test_upward): Likewise.
15912         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15913         (cosh_test): Use ALL_RM_TEST.
15914         (cosh_tonearest_test_data): Remove.
15915         (cosh_test_tonearest): Likewise.
15916         (cosh_towardzero_test_data): Likewise.
15917         (cosh_test_towardzero): Likewise.
15918         (cosh_downward_test_data): Likewise.
15919         (cosh_test_downward): Likewise.
15920         (cosh_upward_test_data): Likewise.
15921         (cosh_test_upward): Likewise.
15922         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15923         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15924         (ctan_test_data): Likewise.
15925         (ctan_test): Use ALL_RM_TEST.
15926         (ctan_tonearest_test_data): Remove.
15927         (ctan_test_tonearest): Likewise.
15928         (ctan_towardzero_test_data): Likewise.
15929         (ctan_test_towardzero): Likewise.
15930         (ctan_downward_test_data): Likewise.
15931         (ctan_test_downward): Likewise.
15932         (ctan_upward_test_data): Likewise.
15933         (ctan_test_upward): Likewise.
15934         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15935         (ctanh_test): Use ALL_RM_TEST.
15936         (ctanh_tonearest_test_data): Remove.
15937         (ctanh_test_tonearest): Likewise.
15938         (ctanh_towardzero_test_data): Likewise.
15939         (ctanh_test_towardzero): Likewise.
15940         (ctanh_downward_test_data): Likewise.
15941         (ctanh_test_downward): Likewise.
15942         (ctanh_upward_test_data): Likewise.
15943         (ctanh_test_upward): Likewise.
15944         (erf_test_data): Update call to AUTO_TESTS_f_f.
15945         (erfc_test_data): Likewise.
15946         (exp_test_data): Likewise.
15947         (exp_test): Use ALL_RM_TEST.
15948         (exp_tonearest_test_data): Remove.
15949         (exp_test_tonearest): Likewise.
15950         (exp_towardzero_test_data): Likewise.
15951         (exp_test_towardzero): Likewise.
15952         (exp_downward_test_data): Likewise.
15953         (exp_test_downward): Likewise.
15954         (exp_upward_test_data): Likewise.
15955         (exp_test_upward): Likewise.
15956         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15957         (exp10_test): Use ALL_RM_TEST.
15958         (exp10_tonearest_test_data): Remove.
15959         (exp10_test_tonearest): Likewise.
15960         (exp10_towardzero_test_data): Likewise.
15961         (exp10_test_towardzero): Likewise.
15962         (exp10_downward_test_data): Likewise.
15963         (exp10_test_downward): Likewise.
15964         (exp10_upward_test_data): Likewise.
15965         (exp10_test_upward): Likewise.
15966         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15967         (expm1_test_data): Likewise.
15968         (expm1_test): Use ALL_RM_TEST.
15969         (expm1_tonearest_test_data): Remove.
15970         (expm1_test_tonearest): Likewise.
15971         (expm1_towardzero_test_data): Likewise.
15972         (expm1_test_towardzero): Likewise.
15973         (expm1_downward_test_data): Likewise.
15974         (expm1_test_downward): Likewise.
15975         (expm1_upward_test_data): Likewise.
15976         (expm1_test_upward): Likewise.
15977         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15978         (fma_test): Use ALL_RM_TEST.
15979         (fma_towardzero_test_data): Remove.
15980         (fma_test_towardzero): Likewise.
15981         (fma_downward_test_data): Likewise.
15982         (fma_test_downward): Likewise.
15983         (fma_upward_test_data): Likewise.
15984         (fma_test_upward): Likewise.
15985         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15986         (j0_test_data): Update call to AUTO_TESTS_f_f.
15987         (j1_test_data): Likewise.
15988         (jn_test_data): Update call to AUTO_TESTS_if_f.
15989         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15990         (log_test_data): Update call to AUTO_TESTS_f_f.
15991         (log10_test_data): Likewise.
15992         (log1p_test_data): Likewise.
15993         (log2_test_data): Likewise.
15994         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15995         (pow_tonearest_test_data): Likewise.
15996         (sin_test_data): Update call to AUTO_TESTS_f_f.
15997         (sin_test): Use ALL_RM_TEST.
15998         (sin_tonearest_test_data): Remove.
15999         (sin_test_tonearest): Likewise.
16000         (sin_towardzero_test_data): Likewise.
16001         (sin_test_towardzero): Likewise.
16002         (sin_downward_test_data): Likewise.
16003         (sin_test_downward): Likewise.
16004         (sin_upward_test_data): Likewise.
16005         (sin_test_upward): Likewise.
16006         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16007         (sinh_test_data): Update call to AUTO_TESTS_f_f.
16008         (sinh_test): Use ALL_RM_TEST.
16009         (sinh_tonearest_test_data): Remove.
16010         (sinh_test_tonearest): Likewise.
16011         (sinh_towardzero_test_data): Likewise.
16012         (sinh_test_towardzero): Likewise.
16013         (sinh_downward_test_data): Likewise.
16014         (sinh_test_downward): Likewise.
16015         (sinh_upward_test_data): Likewise.
16016         (sinh_test_upward): Likewise.
16017         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16018         (sqrt_test): Use ALL_RM_TEST.
16019         (sqrt_tonearest_test_data): Remove.
16020         (sqrt_test_tonearest): Likewise.
16021         (sqrt_towardzero_test_data): Likewise.
16022         (sqrt_test_towardzero): Likewise.
16023         (sqrt_downward_test_data): Likewise.
16024         (sqrt_test_downward): Likewise.
16025         (sqrt_upward_test_data): Likewise.
16026         (sqrt_test_upward): Likewise.
16027         (tan_test_data): Update call to AUTO_TESTS_f_f.
16028         (tan_test): Use ALL_RM_TEST.
16029         (tan_tonearest_test_data): Remove.
16030         (tan_test_tonearest): Likewise.
16031         (tan_towardzero_test_data): Likewise.
16032         (tan_test_towardzero): Likewise.
16033         (tan_downward_test_data): Likewise.
16034         (tan_test_downward): Likewise.
16035         (tan_upward_test_data): Likewise.
16036         (tan_test_upward): Likewise.
16037         (tanh_test_data): Update call to AUTO_TESTS_f_f.
16038         (tgamma_test_data): Likewise.
16039         (y0_test_data): Likewise.
16040         (y1_test_data): Likewise.
16041         (yn_test_data): Update call to AUTO_TESTS_if_f.
16042         (main): Do not call removed functions.
16044 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16046         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16047         (ldexp_test_data): Remove.
16048         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16049         scalbn_test_data.
16050         (scalb_test): Use ALL_RM_TEST.
16052 2014-03-19  Andreas Schwab  <schwab@suse.de>
16054         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16056 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16058         [BZ #16649]
16059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16060         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16061         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16062         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16063         (__ASSUME_PREADV): Undefine.
16064         (__ASSUME_PWRITEV): Likewise.
16066 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16068         * bits/mman-linux.h: Add comment about non-Linux use.
16069         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16070         bits/mman-linux.h resting place.
16072         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16073         * bits/mman-linux.h: ... here.
16075 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16077         * conform/conformtest.pl: Add standard definition when calling C
16078         preprocessor on data files.
16079         (checknamespace): Remove unused variable.
16081 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16083         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16084         minus_oflow, plus_uflow and minus_uflow in expected results.
16085         * math/libm-test.inc (scalbn_test_data): Add more tests of
16086         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16087         minus_uflow.
16088         (scalbn_test): Use ALL_RM_TEST.
16089         (scalbln_test_data): Add more tests of negative arguments.  Use
16090         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16091         (scalbln_test): Use ALL_RM_TEST.
16093 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16095         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16097 2014-03-18  Will Newton  <will.newton@linaro.org>
16099         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16100         inaccurate comment.
16102 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16104         * Makerules [!subdir] (check-abi): Exit with error status if a
16105         test failed.
16107 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16109         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16110         for rint.  Include results for all rounding modes.
16111         (nearbyint_test): Use ALL_RM_TEST.
16112         (rint_test_data): Include all tests used for nearbyint.
16114 2014-03-17  Will Newton  <will.newton@linaro.org>
16116         * nptl/sysdeps/pthread/pthread.h: Revert previous
16117         change.
16119         * sysdeps/generic/ldsodefs.h: Revert previous
16120         change.
16122         * libio/genops.c: Revert previous change.
16123         * libio/libioP.h: Likewise.
16124         * stdio-common/vfprintf.c: Likewise.
16126         * sysdeps/generic/math_private.h: Revert previous
16127         change.
16129         * sysdeps/generic/math_private.h: Check whether
16130         HAVE_RM_CTX is defined with #ifdef rather
16131         than #if.
16133         * argp/argp-fmtstream.h: Check whether
16134         __STRICT_ANSI__ is defined with #ifdef rather
16135         than #if.
16136         * argp/argp.h: Likewise.
16138         * libio/genops.c: Check whether
16139         _IO_JUMPS_OFFSET is defined with #ifdef rather
16140         than #if.
16141         * libio/libioP.h: Likewise.
16142         * stdio-common/vfprintf.c: Likewise.
16144         * sysdeps/generic/ldsodefs.h: Check whether
16145         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16146         than #if.
16148         * nptl/sysdeps/pthread/pthread.h: Check
16149         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16150         its value.
16152 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16154         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16155         setting O_APPEND.
16156         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16157         test case.
16159         [BZ #16680]
16160         * libio/fileops.c (_IO_file_open): Seek to end of file but
16161         don't cache the offset.
16162         (get_file_offset): Remove function.
16163         (do_ftell): Use cached offset when available.
16164         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16165         don't cache the offset.
16166         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16167         case.
16168         (do_one_test): Call it.
16169         (do_ftell_test): Fix up expected old offset for a+ mode.
16170         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16171         available.
16173         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16174         up test status with function return status.
16175         (do_write_test): Likewise.
16176         (do_append_test): Likewise.
16178         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16179         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16180         Remove.
16182 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16184         * math/gen-libm-test.pl (parse_args): Handle results specified for
16185         each rounding mode separately.
16186         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16187         tests and results from lrint_tonearest_test_data,
16188         lrint_towardzero_test_data, lrint_downward_test_data and
16189         lrint_upward_test_data.
16190         (lrint_test): Use ALL_RM_TEST.
16191         (lrint_tonearest_test_data): Remove.
16192         (lrint_test_tonearest): Likewise.
16193         (lrint_towardzero_test_data): Likewise.
16194         (lrint_test_towardzero): Likewise.
16195         (lrint_downward_test_data): Likewise.
16196         (lrint_test_downward): Likewise.
16197         (lrint_upward_test_data): Likewise.
16198         (lrint_test_upward): Likewise.
16199         (llrint_test_data): Merge in per-rounding-mode tests and results
16200         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16201         llrint_downward_test_data and llrint_upward_test_data.
16202         (llrint_test): Use ALL_RM_TEST.
16203         (llrint_tonearest_test_data): Remove.
16204         (llrint_test_tonearest): Likewise.
16205         (llrint_towardzero_test_data): Likewise.
16206         (llrint_test_towardzero): Likewise.
16207         (llrint_downward_test_data): Likewise.
16208         (llrint_test_downward): Likewise.
16209         (llrint_upward_test_data): Likewise.
16210         (llrint_test_upward): Likewise.
16211         (rint_test_data): Merge in per-rounding-mode tests and results
16212         from rint_tonearest_test_data, rint_towardzero_test_data,
16213         rint_downward_test_data and rint_upward_test_data.  Add
16214         per-rounding-mode results for tests not in those arrays.
16215         (rint_test): Use ALL_RM_TEST.
16216         (rint_tonearest_test_data): Remove.
16217         (rint_test_tonearest): Likewise.
16218         (rint_towardzero_test_data): Likewise.
16219         (rint_test_towardzero): Likewise.
16220         (rint_downward_test_data): Likewise.
16221         (rint_test_downward): Likewise.
16222         (rint_upward_test_data): Likewise.
16223         (rint_test_upward): Likewise.
16224         (main): Don't call removed functions.
16226 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16228         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16229         "Compiled on ..." crapola.  It is anti-useful.
16231 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16233         * scripts/evaluate-test.sh: Handle fourth argument to determine
16234         whether test run should stop on failure.
16235         * Makeconfig (stop-on-test-failure): New variable.
16236         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16237         $(stop-on-test-failure).
16238         * Makefile (tests): Give a summary of results from testing and
16239         exit with failure status if they include an ERROR or FAIL.
16240         (xtests): Likewise.
16241         * manual/install.texi (Configuring and compiling): Mention
16242         stop-on-test-failure=y.
16243         * INSTALL: Regenerated.
16245 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16247         * scripts/versionlist.awk: New file.
16248         * Makerules [$(build-shared) = yes]
16249         (postclean-generated): Add Versions.def, not Versions.def.v and
16250         Versions.def.v.i.
16251         ($(common-objpfx)Versions.def.v.i): Target removed.
16252         ($(common-objpfx)Versions.def): New target.
16253         ($(common-objpfx)Versions.all): Depend on that rather that
16254         $(common-objpfx)Versions.def.v.
16255         * Versions.def: File removed.
16257         * Makeconfig (+gccwarn): Add -Wundef.
16258         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16259         a dl-sysdep.h breaking its contract.
16260         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16261         * include/stackinfo.h: New file.
16262         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16263         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16264         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16265         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16266         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16267         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16268         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16269         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16270         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16271         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16272         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16273         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16274         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16275         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16276         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16278 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16280         [BZ #16707]
16281         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16282         implementation.
16283         * math/libm-test.inc (round_test_data): Add more tests.
16285         [BZ #16706]
16286         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16287         implementation.
16288         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16290         [BZ #16701]
16291         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16292         implementation.
16293         * math/libm-test.inc (ceil_test_data): Add more tests.
16295         * math/libm-test.inc (trunc_test_data): Add more tests related to
16296         BZ#16414.
16298 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16300         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16301         with #if rather than #ifdef.
16302         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16304 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16306         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16307         first.  Disable AVX-512 GCC support if assembler doesn't support
16308         it.
16309         * sysdeps/x86_64/configure: Regenerated.
16311 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16313         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16314         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16315         (__old_pthread_attr_setstack): Likewise.
16316         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16317         [!_STACK_GROWS_DOWN]: Likewise.
16319 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16321         * config.make.in (have-bash2): Delete.
16322         * configure.ac (libc_cv_have_bash2): Delete.
16323         * configure: Regenerate.
16324         * elf/Makefile (common-ldd-rewrite): Rename to ...
16325         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16326         (sh-ldd-rewrite): Delete.
16327         (bash-ldd-rewrite): Delete.
16328         (have-bash2): Delete checks.
16329         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16330         ldd-rewrite.
16332         * config.make.in (have-ksh): Delete.
16333         (KSH): Delete.
16334         * configure.ac (libc_cv_have_ksh): Delete.
16335         * configure: Regenerate.
16337         * elf/Makefile: Delete $(have-ksh) check.
16338         ($(objpfx)sotruss): Change KSH to BASH.
16339         * elf/sotruss.ksh: Rename to ...
16340         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16341         function style to match POSIX.  Drop ksh vim mode setting.
16343         * manual/time.texi (Specifying the Time Zone with TZ): Change
16344         Tuesday to Thursday.
16346         * debug/tst-longjmp_chk2.c: Update header comment.
16347         (stackoverflow_handler): Add comment.  Call assert on pass value.
16349 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16351         [BZ #16194]
16352         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16353         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16354         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16355         (La_x86_64_vector): Add zmm.
16356         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16357         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16358         ($(objpfx)tst-audit10): New target.
16359         ($(objpfx)tst-audit10.out): Likewise.
16360         (tst-audit10-ENV): New.
16361         (AVX512-CFLAGS): Likewise.
16362         (CFLAGS-tst-audit10.c): Likewise.
16363         (CFLAGS-tst-auditmod10a.c): Likewise.
16364         (CFLAGS-tst-auditmod10b.c): Likewise.
16365         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16366         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16367         * sysdeps/x86_64/configure: Regenerated.
16368         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16369         AVX-512 zmm register support.
16370         (_dl_x86_64_save_sse): Likewise.
16371         (_dl_x86_64_restore_sse): Likewise.
16372         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16373         size vector registers.
16374         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16375         (ZMM_SIZE): Likewise.
16376         * sysdeps/x86_64/tst-audit10.c: New file.
16377         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16378         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16380 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16382         * configure.ac (HAVE_EHDR_START): New check.
16383         * configure: Regenerated.
16384         * config.h.in (HAVE_EHDR_START): New #undef.
16385         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16386         assuming the lowest-addressed segment maps the start of the file.
16388 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16390         * INSTALL: Regenerated.
16392 2014-03-13  Will Newton  <will.newton@linaro.org>
16394         * manual/setjmp.texi (System V contexts): Improve
16395         clarity and grammar of documentation.
16397 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16399         [BZ #16381]
16400         * elf/Makefile (tests): Add tst-pie2.
16401         (tests-pie): Add tst-pie2.
16402         * elf/tst-pie2.c: New file.
16403         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16404         for ET_EXEC.
16405         * elf/rtld.c (map_doit): Load executable as lt_executable.
16406         (dl_main): Likewise.
16408 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16410         [BZ #16642]
16411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16412         (__ASSUME_PSELECT): Undefine.
16414 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16416         [BZ #16689]
16417         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16418         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16419         static build.
16420         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16421         selector for static builds.
16423 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16425         [BZ #16695]
16426         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16427         key in the buffer.
16429 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16431         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16432         IFUNC selector for static builds.
16434 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16436         * sysdeps/mips/math_private.h [__mips_hard_float]
16437         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16438         libc_feresetround_mips_ctx.
16439         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16440         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16441         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16443         [BZ #16677]
16444         * math/s_nextafter.c (__nextafter): Do not return value from
16445         overflowing computation.
16446         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16447         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16448         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16449         Likewise.
16450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16451         Likewise.
16452         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16453         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16455 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16457         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16458         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16459         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16460         the new mov targetting sp.
16462 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16464         [BZ #16683]
16465         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16466         Define it for static builds as well.
16467         (NO_BZERO_IMPL): Likewise.
16469 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16471         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16472         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16473         multiarch strspn for PPC64.
16474         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16475         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16477         (__libc_ifunc_impl_list): Likewise.
16478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16479         multiarch optimizations
16480         * string/strspn.c (strspn): Using macro to redefine symbol name.
16482 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16483             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16485         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16486         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16487         multiarch strncat for PPC64.
16488         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16489         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16491         (__libc_ifunc_impl_list): Likewise.
16492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16493         multiarch optimizations
16495 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16497         [BZ #16639]
16498         * nscd/nscd.service: Make service type forking.
16500 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16502         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16503         sign in non default rounding modes.
16504         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16506 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16508         * math/libm-test.inc (ALL_RM_TEST): New macro.
16509         (ceil_test): Use ALL_RM_TEST.
16510         (cimag_test): Likewise.
16511         (conj_test): Likewise.
16512         (copysign_test): Likewise.
16513         (cproj_test): Likewise.
16514         (creal_test): Likewise.
16515         (fabs_test): Likewise.
16516         (floor_test): Likewise.
16517         (fmax_test): Likewise.
16518         (fmin_test): Likewise.
16519         (fmod_test): Likewise.
16520         (fpclassify_test): Likewise.
16521         (frexp_test): Likewise.
16522         (ilogb_test): Likewise.
16523         (isfinite_test): Likewise.
16524         (finite_test): Likewise.
16525         (isgreater_test): Likewise.
16526         (isgreaterequal_test): Likewise.
16527         (isinf_test): Likewise.
16528         (isless_test): Likewise.
16529         (islessequal_test): Likewise.
16530         (islessgreater_test): Likewise.
16531         (isnan_test): Likewise.
16532         (isnormal_test): Likewise.
16533         (issignaling_test): Likewise.
16534         (isunordered_test): Likewise.
16535         (logb_test): Likewise.
16536         (logb_downward_test_data): Remove.
16537         (logb_test_downward): Likewise.
16538         (lround_test): Use ALL_RM_TEST.
16539         (llround_test): Likewise.
16540         (modf_test): Likewise.
16541         (nexttoward_test): Likewise.
16542         (remainder_test): Likewise.
16543         (drem_test): Likewise.
16544         (remainder_tonearest_test_data): Likewise.
16545         (remainder_test_tonearest): Likewise.
16546         (drem_test_tonearest): Likewise.
16547         (remainder_towardzero_test_data): Likewise.
16548         (remainder_test_towardzero): Likewise.
16549         (drem_test_towardzero): Likewise.
16550         (remainder_downward_test_data): Likewise.
16551         (remainder_test_downward): Likewise.
16552         (drem_test_downward): Likewise.
16553         (remainder_upward_test_data): Likewise.
16554         (remainder_test_upward): Likewise.
16555         (drem_test_upward): Likewise.
16556         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16557         (round_test): Use ALL_RM_TEST.
16558         (signbit_test): Likewise.
16559         (trunc_test): Likewise.
16560         (significand_test): Likewise.
16561         (main): Don't call removed functions.
16563 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16565         [BZ #16674]
16566         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16567         || __USE_XOPEN2K8].
16568         (ILL_ILLOPN): Likewise.
16569         (ILL_ILLADR): Likewise.
16570         (ILL_ILLTRP): Likewise.
16571         (ILL_PRVOPC): Likewise.
16572         (ILL_PRVREG): Likewise.
16573         (ILL_COPROC): Likewise.
16574         (ILL_BADSTK): Likewise.
16575         (FPE_INTDIV): Likewise.
16576         (FPE_INTOVF): Likewise.
16577         (FPE_FLTDIV): Likewise.
16578         (FPE_FLTOVF): Likewise.
16579         (FPE_FLTUND): Likewise.
16580         (FPE_FLTRES): Likewise.
16581         (FPE_FLTINV): Likewise.
16582         (FPE_FLTSUB): Likewise.
16583         (SEGV_MAPERR): Likewise.
16584         (SEGV_ACCERR): Likewise.
16585         (BUS_ADRALN): Likewise.
16586         (BUS_ADRERR): Likewise.
16587         (BUS_OBJERR): Likewise.
16588         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16589         (TRAP_TRACE): Likewise.
16590         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16591         __USE_XOPEN2K8].
16592         (CLD_KILLED): Likewise.
16593         (CLD_DUMPED): Likewise.
16594         (CLD_TRAPPED): Likewise.
16595         (CLD_STOPPED): Likewise.
16596         (CLD_CONTINUED): Likewise.
16597         (POLL_IN): Likewise.
16598         (POLL_OUT): Likewise.
16599         (POLL_MSG): Likewise.
16600         (POLL_ERR): Likewise.
16601         (POLL_PRI): Likewise.
16602         (POLL_HUP): Likewise.
16603         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16604         Likewise.
16605         (ILL_ILLOPN): Likewise.
16606         (ILL_ILLADR): Likewise.
16607         (ILL_ILLTRP): Likewise.
16608         (ILL_PRVOPC): Likewise.
16609         (ILL_PRVREG): Likewise.
16610         (ILL_COPROC): Likewise.
16611         (ILL_BADSTK): Likewise.
16612         (FPE_INTDIV): Likewise.
16613         (FPE_INTOVF): Likewise.
16614         (FPE_FLTDIV): Likewise.
16615         (FPE_FLTOVF): Likewise.
16616         (FPE_FLTUND): Likewise.
16617         (FPE_FLTRES): Likewise.
16618         (FPE_FLTINV): Likewise.
16619         (FPE_FLTSUB): Likewise.
16620         (SEGV_MAPERR): Likewise.
16621         (SEGV_ACCERR): Likewise.
16622         (BUS_ADRALN): Likewise.
16623         (BUS_ADRERR): Likewise.
16624         (BUS_OBJERR): Likewise.
16625         (BUS_MCEERR_AR): Likewise.
16626         (BUS_MCEERR_AO): Likewise.
16627         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16628         (TRAP_TRACE): Likewise.
16629         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16630         __USE_XOPEN2K8].
16631         (CLD_KILLED): Likewise.
16632         (CLD_DUMPED): Likewise.
16633         (CLD_TRAPPED): Likewise.
16634         (CLD_STOPPED): Likewise.
16635         (CLD_CONTINUED): Likewise.
16636         (POLL_IN): Likewise.
16637         (POLL_OUT): Likewise.
16638         (POLL_MSG): Likewise.
16639         (POLL_ERR): Likewise.
16640         (POLL_PRI): Likewise.
16641         (POLL_HUP): Likewise.
16642         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16643         (ILL_ILLOPN): Likewise.
16644         (ILL_ILLADR): Likewise.
16645         (ILL_ILLTRP): Likewise.
16646         (ILL_PRVOPC): Likewise.
16647         (ILL_PRVREG): Likewise.
16648         (ILL_COPROC): Likewise.
16649         (ILL_BADSTK): Likewise.
16650         (FPE_INTDIV): Likewise.
16651         (FPE_INTOVF): Likewise.
16652         (FPE_FLTDIV): Likewise.
16653         (FPE_FLTOVF): Likewise.
16654         (FPE_FLTUND): Likewise.
16655         (FPE_FLTRES): Likewise.
16656         (FPE_FLTINV): Likewise.
16657         (FPE_FLTSUB): Likewise.
16658         (SEGV_MAPERR): Likewise.
16659         (SEGV_ACCERR): Likewise.
16660         (BUS_ADRALN): Likewise.
16661         (BUS_ADRERR): Likewise.
16662         (BUS_OBJERR): Likewise.
16663         (BUS_MCEERR_AR): Likewise.
16664         (BUS_MCEERR_AO): Likewise.
16665         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16666         (TRAP_TRACE): Likewise.
16667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16668         __USE_XOPEN2K8].
16669         (CLD_KILLED): Likewise.
16670         (CLD_DUMPED): Likewise.
16671         (CLD_TRAPPED): Likewise.
16672         (CLD_STOPPED): Likewise.
16673         (CLD_CONTINUED): Likewise.
16674         (POLL_IN): Likewise.
16675         (POLL_OUT): Likewise.
16676         (POLL_MSG): Likewise.
16677         (POLL_ERR): Likewise.
16678         (POLL_PRI): Likewise.
16679         (POLL_HUP): Likewise.
16680         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16681         Likewise.
16682         (ILL_ILLOPN): Likewise.
16683         (ILL_ILLADR): Likewise.
16684         (ILL_ILLTRP): Likewise.
16685         (ILL_PRVOPC): Likewise.
16686         (ILL_PRVREG): Likewise.
16687         (ILL_COPROC): Likewise.
16688         (ILL_BADSTK): Likewise.
16689         (ILL_BADIADDR): Likewise.
16690         (ILL_BREAK): Likewise.
16691         (FPE_INTDIV): Likewise.
16692         (FPE_INTOVF): Likewise.
16693         (FPE_FLTDIV): Likewise.
16694         (FPE_FLTOVF): Likewise.
16695         (FPE_FLTUND): Likewise.
16696         (FPE_FLTRES): Likewise.
16697         (FPE_FLTINV): Likewise.
16698         (FPE_FLTSUB): Likewise.
16699         (FPE_DECOVF): Likewise.
16700         (FPE_DECDIV): Likewise.
16701         (FPE_DECERR): Likewise.
16702         (FPE_INVASC): Likewise.
16703         (FPE_INVDEC): Likewise.
16704         (SEGV_MAPERR): Likewise.
16705         (SEGV_ACCERR): Likewise.
16706         (SEGV_PSTKOVF): Likewise.
16707         (BUS_ADRALN): Likewise.
16708         (BUS_ADRERR): Likewise.
16709         (BUS_OBJERR): Likewise.
16710         (BUS_MCEERR_AR): Likewise.
16711         (BUS_MCEERR_AO): Likewise.
16712         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16713         (TRAP_TRACE): Likewise.
16714         (TRAP_BRANCH): Likewise.
16715         (TRAP_HWBKPT): Likewise.
16716         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16717         __USE_XOPEN2K8].
16718         (CLD_KILLED): Likewise.
16719         (CLD_DUMPED): Likewise.
16720         (CLD_TRAPPED): Likewise.
16721         (CLD_STOPPED): Likewise.
16722         (CLD_CONTINUED): Likewise.
16723         (POLL_IN): Likewise.
16724         (POLL_OUT): Likewise.
16725         (POLL_MSG): Likewise.
16726         (POLL_ERR): Likewise.
16727         (POLL_PRI): Likewise.
16728         (POLL_HUP): Likewise.
16729         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16730         (ILL_ILLOPN): Likewise.
16731         (ILL_ILLADR): Likewise.
16732         (ILL_ILLTRP): Likewise.
16733         (ILL_PRVOPC): Likewise.
16734         (ILL_PRVREG): Likewise.
16735         (ILL_COPROC): Likewise.
16736         (ILL_BADSTK): Likewise.
16737         (FPE_INTDIV): Likewise.
16738         (FPE_INTOVF): Likewise.
16739         (FPE_FLTDIV): Likewise.
16740         (FPE_FLTOVF): Likewise.
16741         (FPE_FLTUND): Likewise.
16742         (FPE_FLTRES): Likewise.
16743         (FPE_FLTINV): Likewise.
16744         (FPE_FLTSUB): Likewise.
16745         (SEGV_MAPERR): Likewise.
16746         (SEGV_ACCERR): Likewise.
16747         (BUS_ADRALN): Likewise.
16748         (BUS_ADRERR): Likewise.
16749         (BUS_OBJERR): Likewise.
16750         (BUS_MCEERR_AR): Likewise.
16751         (BUS_MCEERR_AO): Likewise.
16752         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16753         (TRAP_TRACE): Likewise.
16754         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16755         __USE_XOPEN2K8].
16756         (CLD_KILLED): Likewise.
16757         (CLD_DUMPED): Likewise.
16758         (CLD_TRAPPED): Likewise.
16759         (CLD_STOPPED): Likewise.
16760         (CLD_CONTINUED): Likewise.
16761         (POLL_IN): Likewise.
16762         (POLL_OUT): Likewise.
16763         (POLL_MSG): Likewise.
16764         (POLL_ERR): Likewise.
16765         (POLL_PRI): Likewise.
16766         (POLL_HUP): Likewise.
16767         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16768         (ILL_ILLOPN): Likewise.
16769         (ILL_ILLADR): Likewise.
16770         (ILL_ILLTRP): Likewise.
16771         (ILL_PRVOPC): Likewise.
16772         (ILL_PRVREG): Likewise.
16773         (ILL_COPROC): Likewise.
16774         (ILL_BADSTK): Likewise.
16775         (FPE_INTDIV): Likewise.
16776         (FPE_INTOVF): Likewise.
16777         (FPE_FLTDIV): Likewise.
16778         (FPE_FLTOVF): Likewise.
16779         (FPE_FLTUND): Likewise.
16780         (FPE_FLTRES): Likewise.
16781         (FPE_FLTINV): Likewise.
16782         (FPE_FLTSUB): Likewise.
16783         (SEGV_MAPERR): Likewise.
16784         (SEGV_ACCERR): Likewise.
16785         (BUS_ADRALN): Likewise.
16786         (BUS_ADRERR): Likewise.
16787         (BUS_OBJERR): Likewise.
16788         (BUS_MCEERR_AR): Likewise.
16789         (BUS_MCEERR_AO): Likewise.
16790         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16791         (TRAP_TRACE): Likewise.
16792         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16793         __USE_XOPEN2K8].
16794         (CLD_KILLED): Likewise.
16795         (CLD_DUMPED): Likewise.
16796         (CLD_TRAPPED): Likewise.
16797         (CLD_STOPPED): Likewise.
16798         (CLD_CONTINUED): Likewise.
16799         (POLL_IN): Likewise.
16800         (POLL_OUT): Likewise.
16801         (POLL_MSG): Likewise.
16802         (POLL_ERR): Likewise.
16803         (POLL_PRI): Likewise.
16804         (POLL_HUP): Likewise.
16805         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16806         (ILL_ILLOPN): Likewise.
16807         (ILL_ILLADR): Likewise.
16808         (ILL_ILLTRP): Likewise.
16809         (ILL_PRVOPC): Likewise.
16810         (ILL_PRVREG): Likewise.
16811         (ILL_COPROC): Likewise.
16812         (ILL_BADSTK): Likewise.
16813         (FPE_INTDIV): Likewise.
16814         (FPE_INTOVF): Likewise.
16815         (FPE_FLTDIV): Likewise.
16816         (FPE_FLTOVF): Likewise.
16817         (FPE_FLTUND): Likewise.
16818         (FPE_FLTRES): Likewise.
16819         (FPE_FLTINV): Likewise.
16820         (FPE_FLTSUB): Likewise.
16821         (SEGV_MAPERR): Likewise.
16822         (SEGV_ACCERR): Likewise.
16823         (BUS_ADRALN): Likewise.
16824         (BUS_ADRERR): Likewise.
16825         (BUS_OBJERR): Likewise.
16826         (BUS_MCEERR_AR): Likewise.
16827         (BUS_MCEERR_AO): Likewise.
16828         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16829         (TRAP_TRACE): Likewise.
16830         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16831         __USE_XOPEN2K8].
16832         (CLD_KILLED): Likewise.
16833         (CLD_DUMPED): Likewise.
16834         (CLD_TRAPPED): Likewise.
16835         (CLD_STOPPED): Likewise.
16836         (CLD_CONTINUED): Likewise.
16837         (POLL_IN): Likewise.
16838         (POLL_OUT): Likewise.
16839         (POLL_MSG): Likewise.
16840         (POLL_ERR): Likewise.
16841         (POLL_PRI): Likewise.
16842         (POLL_HUP): Likewise.
16843         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16844         (ILL_ILLOPN): Likewise.
16845         (ILL_ILLADR): Likewise.
16846         (ILL_ILLTRP): Likewise.
16847         (ILL_PRVOPC): Likewise.
16848         (ILL_PRVREG): Likewise.
16849         (ILL_COPROC): Likewise.
16850         (ILL_BADSTK): Likewise.
16851         (ILL_DBLFLT): Likewise.
16852         (ILL_HARDWALL): Likewise.
16853         (FPE_INTDIV): Likewise.
16854         (FPE_INTOVF): Likewise.
16855         (FPE_FLTDIV): Likewise.
16856         (FPE_FLTOVF): Likewise.
16857         (FPE_FLTUND): Likewise.
16858         (FPE_FLTRES): Likewise.
16859         (FPE_FLTINV): Likewise.
16860         (FPE_FLTSUB): Likewise.
16861         (SEGV_MAPERR): Likewise.
16862         (SEGV_ACCERR): Likewise.
16863         (BUS_ADRALN): Likewise.
16864         (BUS_ADRERR): Likewise.
16865         (BUS_OBJERR): Likewise.
16866         (BUS_MCEERR_AR): Likewise.
16867         (BUS_MCEERR_AO): Likewise.
16868         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16869         (TRAP_TRACE): Likewise.
16870         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16871         __USE_XOPEN2K8].
16872         (CLD_KILLED): Likewise.
16873         (CLD_DUMPED): Likewise.
16874         (CLD_TRAPPED): Likewise.
16875         (CLD_STOPPED): Likewise.
16876         (CLD_CONTINUED): Likewise.
16877         (POLL_IN): Likewise.
16878         (POLL_OUT): Likewise.
16879         (POLL_MSG): Likewise.
16880         (POLL_ERR): Likewise.
16881         (POLL_PRI): Likewise.
16882         (POLL_HUP): Likewise.
16883         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16884         (ILL_ILLOPN): Likewise.
16885         (ILL_ILLADR): Likewise.
16886         (ILL_ILLTRP): Likewise.
16887         (ILL_PRVOPC): Likewise.
16888         (ILL_PRVREG): Likewise.
16889         (ILL_COPROC): Likewise.
16890         (ILL_BADSTK): Likewise.
16891         (FPE_INTDIV): Likewise.
16892         (FPE_INTOVF): Likewise.
16893         (FPE_FLTDIV): Likewise.
16894         (FPE_FLTOVF): Likewise.
16895         (FPE_FLTUND): Likewise.
16896         (FPE_FLTRES): Likewise.
16897         (FPE_FLTINV): Likewise.
16898         (FPE_FLTSUB): Likewise.
16899         (SEGV_MAPERR): Likewise.
16900         (SEGV_ACCERR): Likewise.
16901         (BUS_ADRALN): Likewise.
16902         (BUS_ADRERR): Likewise.
16903         (BUS_OBJERR): Likewise.
16904         (BUS_MCEERR_AR): Likewise.
16905         (BUS_MCEERR_AO): Likewise.
16906         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16907         (TRAP_TRACE): Likewise.
16908         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16909         __USE_XOPEN2K8].
16910         (CLD_KILLED): Likewise.
16911         (CLD_DUMPED): Likewise.
16912         (CLD_TRAPPED): Likewise.
16913         (CLD_STOPPED): Likewise.
16914         (CLD_CONTINUED): Likewise.
16915         (POLL_IN): Likewise.
16916         (POLL_OUT): Likewise.
16917         (POLL_MSG): Likewise.
16918         (POLL_ERR): Likewise.
16919         (POLL_PRI): Likewise.
16920         (POLL_HUP): Likewise.
16921         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16922         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16924         [BZ #16670]
16925         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16926         before #include of <time.h>.
16927         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16928         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16929         (test-xfail-UNIX98/sched.h/conform): Likewise.
16931 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16933         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16934         error absence of trapping exception support.
16935         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16937 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16939         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16940         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16941         * timezone/Makefile (testdata): Move definition above include of
16942         Rules.
16943         (test-zones): New variable.
16944         (tests-special): Add zone files.
16945         (build-testdata): Use $(evaluate-test).
16947         * elf/Makefile (tests-special): Rename tests to end with .out.
16948         ($(objpfx)noload-mem): Likewise.
16949         ($(objpfx)tst-leaks1-mem): Likewise.
16950         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16951         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16952         $(objpfx)test-iconvconfig.out.
16953         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16954         set -e inside subshell and redirect output to file.
16955         * iconvdata/Makefile (generated): Rename tests to end with .out.
16956         Correct type.
16957         (tests-special): Rename tests to end with .out.
16958         ($(objpfx)mtrace-tst-loading): Likewise.
16959         * intl/Makefile (generated): Likewise.
16960         (tests-special): Likewise.
16961         ($(objpfx)mtrace-tst-gettext): Likewise.
16962         * misc/Makefile (generated): Likewise.
16963         (tests-special): Likewise.
16964         ($(objpfx)tst-error1-mem): Likewise.
16965         * nptl/Makefile (tests-special): Likewise.
16966         ($(objpfx)tst-stack3-mem): Likewise.
16967         (generated): Likewise.
16968         * posix/Makefile (generated): Likewise.
16969         (tests-special): Likewise.
16970         (xtests-special): Likewise.
16971         ($(objpfx)tst-fnmatch-mem): Likewise.
16972         ($(objpfx)bug-regex2-mem): Likewise.
16973         ($(objpfx)bug-regex14-mem): Likewise.
16974         ($(objpfx)bug-regex21-mem): Likewise.
16975         ($(objpfx)bug-regex31-mem): Likewise.
16976         ($(objpfx)tst-vfork3-mem): Likewise.
16977         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16978         ($(objpfx)tst-pcre-mem): Likewise.
16979         ($(objpfx)tst-boost-mem): Likewise.
16980         ($(objpfx)bug-ga2-mem): Likewise.
16981         ($(objpfx)bug-glob2-mem): Likewise.
16982         * resolv/Makefile (generate): Likewise.
16983         (tests-special): Likewise.
16984         (xtests-special): Likewise.
16985         (generated): Likewise.
16986         ($(objpfx)mtrace-tst-leaks): Likewise.
16987         ($(objpfx)mtrace-tst-leaks2): Likewise.
16989         * scripts/merge-test-results.sh: New file.
16990         * Makefile (tests-special-notdir): New variable.
16991         (tests): Run merge-test-results.sh.
16992         (xtests): Likewise.
16993         * Rules (tests-special-notdir): New variable.
16994         (xtests-special-notdir): Likewise.
16995         (tests): Run merge-test-results.sh
16996         (xtests): Likewise.
16998         * Makeconfig (test-xfail-name): New variable.
16999         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17000         compute variable name for expected failures.
17001         * conform/Makefile (conformtest-headers-data): New variable.
17002         (conformtest-standards): Likewise.
17003         (conformtest-headers-ISO): Likewise.
17004         (conformtest-headers-ISO99): Likewise.
17005         (conformtest-headers-ISO11): Likewise.
17006         (conformtest-headers-POSIX): Likewise.
17007         (conformtest-headers-XPG3): Likewise.
17008         (conformtest-headers-XPG4): Likewise.
17009         (conformtest-headers-UNIX98): Likewise.
17010         (conformtest-headers-XOPEN2K): Likewise.
17011         (conformtest-headers-POSIX2008): Likewise.
17012         (conformtest-headers-XOPEN2K8): Likewise.
17013         (conformtest-header-list-base): Likewise.
17014         (conformtest-header-list-tests): Likewise.
17015         (conformtest-header-base): Likewise.
17016         (conformtest-header-tests): Likewise.
17017         (tests-special): Add $(conformtest-header-list-tests).  If
17018         [$(fast-check) && !$(cross-compiling)], add
17019         $(conformtest-header-tests) instead of
17020         $(objpfx)run-conformtest.out.
17021         (generated): Add $(conformtest-header-list-base).  If
17022         [$(fast-check) && !$(cross-compiling)], add
17023         $(conformtest-header-base).  Remove previous setting.
17024         ($(conformtest-header-list-tests)): New target.
17025         (test-xfail-run-conformtest): Remove variable.
17026         ($(objpfx)run-conformtest.out): Remove target.
17027         (test-xfail-ISO11/complex.h/conform): New variable.
17028         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17029         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17030         (test-xfail-XPG3/varargs.h/conform): Likewise.
17031         (test-xfail-XPG4/varargs.h/conform): Likewise.
17032         (test-xfail-UNIX98/varargs.h/conform): Likewise.
17033         (test-xfail-XPG4/ndbm.h/conform): Likewise.
17034         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17035         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17036         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17037         (test-xfail-XPG3/fcntl.h/conform): Likewise.
17038         (test-xfail-XPG3/ftw.h/conform): Likewise.
17039         (test-xfail-XPG3/grp.h/conform): Likewise.
17040         (test-xfail-XPG3/langinfo.h/conform): Likewise.
17041         (test-xfail-XPG3/limits.h/conform): Likewise.
17042         (test-xfail-XPG3/pwd.h/conform): Likewise.
17043         (test-xfail-XPG3/search.h/conform): Likewise.
17044         (test-xfail-XPG3/signal.h/conform): Likewise.
17045         (test-xfail-XPG3/stdio.h/conform): Likewise.
17046         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17047         (test-xfail-XPG3/string.h/conform): Likewise.
17048         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17049         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17050         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17051         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17052         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17053         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17054         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17055         (test-xfail-XPG3/termios.h/conform): Likewise.
17056         (test-xfail-XPG3/time.h/conform): Likewise.
17057         (test-xfail-XPG3/unistd.h/conform): Likewise.
17058         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17059         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17060         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17061         (test-xfail-XPG4/netdb.h/conform): Likewise.
17062         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17063         (test-xfail-XPG4/signal.h/conform): Likewise.
17064         (test-xfail-XPG4/stdio.h/conform): Likewise.
17065         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17066         (test-xfail-XPG4/stropts.h/conform): Likewise.
17067         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17068         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17069         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17070         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17071         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17072         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17073         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17074         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17075         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17076         (test-xfail-XPG4/termios.h/conform): Likewise.
17077         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17078         (test-xfail-XPG4/unistd.h/conform): Likewise.
17079         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17080         (test-xfail-POSIX/sched.h/conform): Likewise.
17081         (test-xfail-POSIX/signal.h/conform): Likewise.
17082         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17083         (test-xfail-POSIX/tar.h/conform): Likewise.
17084         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17085         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17086         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17087         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17088         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17089         (test-xfail-UNIX98/sched.h/conform): Likewise.
17090         (test-xfail-UNIX98/signal.h/conform): Likewise.
17091         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17092         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17093         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17094         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17095         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17096         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17097         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17098         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17099         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17100         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17101         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17102         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17103         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17104         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17105         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17106         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17107         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17108         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17109         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17110         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17111         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17112         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17113         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17114         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17115         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17116         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17117         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17118         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17119         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17120         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17121         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17122         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17123         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17124         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17125         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17126         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17127         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17128         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17129         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17130         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17131         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17132         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17133         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17134         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17135         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17136         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17137         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17138         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17139         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17140         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17141         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17142         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17143         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17144         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17145         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17146         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17147         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17148         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17149         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17150         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17151         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17152         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17153         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17154         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17155         (conformtest-cc-flags): Likewise.
17156         ($(conformtest-header-tests): New target.
17157         * conform/check-header-lists.sh: New file.
17158         * conform/run-conformtest.sh: Remove.
17160         * conform/conformtest.pl: Allow ' and \ in values given for
17161         constants.
17162         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17163         inclusion.
17164         [POSIX] (sys/types.h): Likewise.
17165         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17166         inclusion.
17167         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17168         inclusion.
17169         * conform/data/signal.h-data (SIGIO): Remove expectation.
17170         [XPG3] (SIGBUS): Do not expect.
17171         [POSIX || XPG3] (SIGPOLL): Likewise.
17172         [POSIX || XPG3] (SIGPROF): Likewise.
17173         [POSIX || XPG3] (SIGSYS): Likewise.
17174         [XPG3] (SIGTRAP): Likewise.
17175         [POSIX || XPG3] (SIGURG): Likewise.
17176         [POSIX || XPG3] (SIGVTALRM): Likewise.
17177         [POSIX || XPG3] (SIGXCPU): Likewise.
17178         [POSIX || XPG3] (SIGXFSZ): Likewise.
17179         [POSIX] (SA_SIGINFO): Expect.
17180         [XPG3] (siginfo_t): Do not expect type or contents.
17181         [POSIX] (si_pid): Do not expect element.
17182         [POSIX] (si_uid): Likewise.
17183         [POSIX] (si_addr): Likewise.
17184         [POSIX] (si_status): Likewise.
17185         [POSIX] (si_band): Likewise.
17186         [XPG4] (si_value): Likewise.
17187         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17188         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17189         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17190         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17191         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17192         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17193         [POSIX || XPG3] (ILL_COPROC): Likewise.
17194         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17195         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17196         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17197         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17198         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17199         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17200         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17201         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17202         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17203         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17204         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17205         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17206         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17207         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17208         [POSIX || XPG3] (CLD_EXITED): Likewise.
17209         [POSIX || XPG3] (CLD_KILLED): Likewise.
17210         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17211         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17212         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17213         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17214         [POSIX || XPG3] (POLL_IN): Likewise.
17215         [POSIX || XPG3] (POLL_OUT): Likewise.
17216         [POSIX || XPG3] (POLL_MSG): Likewise.
17217         [POSIX || XPG3] (POLL_ERR): Likewise.
17218         [POSIX || XPG3] (POLL_PRI): Likewise.
17219         [POSIX || XPG3] (POLL_HUP): Likewise.
17220         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17221         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17222         (SIG*): Do not allow.
17223         [XPG3] (si_*): Likewise.
17224         [XPG3] (SI_*): Likewise.
17225         [XPG3 || XPG4] (sigev_*): Likewise.
17226         [XPG3 || XPG4] (SIGEV_*): Likewise.
17227         [XPG3 || XPG4] (sival_*): Likewise.
17228         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17229         [POSIX || XPG3] (BUS_*): Likewise.
17230         [POSIX || XPG3] (CLD_*): Likewise.
17231         [POSIX || XPG3] (FPE_*): Likewise.
17232         [POSIX || XPG3] (ILL_*): Likewise.
17233         [POSIX || XPG3] (POLL_*): Likewise.
17234         [POSIX || XPG3] (SEGV_*): Likewise.
17235         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17236         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17237         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17238         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17239         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17240         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17241         Specify type and value.
17242         (TVERSLEN): Likewise.
17243         (REGTYPE): Likewise.
17244         (AREGTYPE): Likewise.
17245         (LNKTYPE): Likewise.
17246         (SYMTYPE): Likewise.
17247         (CHRTYPE): Likewise.
17248         (BLKTYPE): Likewise.
17249         (DIRTYPE): Likewise.
17250         (FIFOTYPE): Likewise.
17251         (CONTTYPE): Likewise.
17252         (TSUID): Likewise.
17253         (TSGID): Likewise.
17254         (TSVTX): Likewise.
17255         (TUREAD): Likewise.
17256         (TUWRITE): Likewise.
17257         (TUEXEC): Likewise.
17258         (TGREAD): Likewise.
17259         (TGWRITE): Likewise.
17260         (TGEXEC): Likewise.
17261         (TOREAD): Likewise.
17262         (TOWRITE): Likewise.
17263         (TOEXEC): Likewise.
17264         [POSIX] (TSVTX): Expect constant.
17266 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17268         * Makefile (tests): Change dependencies to ....
17269         (tests-special): ... additions to this variable.
17270         (tests): Depend on $(tests-special).
17271         * Makerules (check-abi-list): New variable.
17272         (check-abi): Depend on $(check-abi-list).
17273         [$(subdir) = elf] (tests-special): Add
17274         $(objpfx)check-abi-libc.out.
17275         [$(build-shared) = yes && subdir] (tests-special): Add
17276         $(check-abi-list).
17277         [$(build-shared) = yes && subdir] (tests): Do not depend on
17278         check-abi.
17279         * Rules (tests): Depend on $(tests-special).
17280         (xtests): Depend on $(xtests-special).
17281         * catgets/Makefile (tests): Change dependencies to ....
17282         (tests-special): ... additions to this variable.
17283         * conform/Makefile (tests): Change dependencies to ....
17284         (tests-special): ... additions to this variable.
17285         * elf/Makefile (tests): Change dependencies to ....
17286         (tests-special): ... additions to this variable.
17287         * grp/Makefile (tests): Change dependencies to ....
17288         (tests-special): ... additions to this variable.
17289         * iconv/Makefile (xtests): Change dependencies to ....
17290         (xtests-special): ... additions to this variable.
17291         * iconvdata/Makefile (tests): Change dependencies to ....
17292         (tests-special): ... additions to this variable.
17293         * intl/Makefile (tests): Change dependencies to ....
17294         (tests-special): ... additions to this variable.  Also add
17295         $(objpfx)tst-gettext.out.
17296         * io/Makefile (tests): Change dependencies to ....
17297         (tests-special): ... additions to this variable.
17298         * libio/Makefile (tests): Change dependencies to ....
17299         (tests-special): ... additions to this variable.
17300         * malloc/Makefile (tests): Change dependencies to ....
17301         (tests-special): ... additions to this variable.
17302         * misc/Makefile (tests): Change dependencies to ....
17303         (tests-special): ... additions to this variable.
17304         * nptl/Makefile (tests): Change dependencies to ....
17305         (tests-special): ... additions to this variable.
17306         * nptl_db/Makefile (tests): Change dependencies to ....
17307         (tests-special): ... additions to this variable.
17308         * posix/Makefile (tests): Change dependencies to ....
17309         (tests-special): ... additions to this variable.
17310         (xtests): Change dependencies to ....
17311         (xtests-special): ... additions to this variable.
17312         * resolv/Makefile (tests): Change dependencies to ....
17313         (tests-special): ... additions to this variable.
17314         (xtests): Change dependencies to ....
17315         (xtests-special): ... additions to this variable.
17316         * stdio-common/Makefile (tests): Change dependencies to ....
17317         (tests-special): ... additions to this variable.
17318         (do-tst-unbputc): Remove target.
17319         (do-tst-printf): Likewise.
17320         * stdlib/Makefile (tests): Change dependencies to ....
17321         (tests-special): ... additions to this variable.
17322         * string/Makefile (tests): Change dependencies to ....
17323         (tests-special): ... additions to this variable.
17324         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17325         (tests-special): ... additions to this variable.
17327         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17328         whole file.
17329         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17330         whole file.
17331         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17332         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17334         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17335         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17336         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17337         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17338         * conform/data/libgen.h-data [XPG3]: Likewise.
17339         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17340         * conform/data/ndbm.h-data [XPG3]: Likewise.
17341         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17342         * conform/data/netdb.h-data [XPG3]: Likewise.
17343         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17344         * conform/data/poll.h-data [XPG3]: Likewise.
17345         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17346         * conform/data/strings.h-data [XPG3]: Likewise.
17347         * conform/data/stropts.h-data [XPG3]: Likewise.
17348         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17349         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17350         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17351         Likewise.
17352         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17353         * conform/data/sys/time.h-data [XPG3]: Likewise.
17354         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17355         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17356         * conform/data/sys/un.h-data [XPG3]: Likewise.
17357         * conform/data/syslog.h-data [XPG3]: Likewise.
17358         * conform/data/ucontext.h-data [XPG3]: Likewise.
17359         * conform/data/utmpx.h-data [XPG3]: Likewise.
17360         * conform/data/varargs.h-data [UNIX98]: Enable file.
17362         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17364         * math/libm-test.inc (struct test_f_f_data): Move expected results
17365         into structure for each rounding mode.
17366         (struct test_ff_f_data): Likewise.
17367         (struct test_ff_f_data_nexttoward): Likewise.
17368         (struct test_fi_f_data): Likewise.
17369         (struct test_fl_f_data): Likewise.
17370         (struct test_if_f_data): Likewise.
17371         (struct test_fff_f_data): Likewise.
17372         (struct test_c_f_data): Likewise.
17373         (struct test_f_f1_data): Likewise.
17374         (struct test_fF_f1_data): Likewise.
17375         (struct test_ffI_f1_data): Likewise.
17376         (struct test_c_c_data): Likewise.
17377         (struct test_cc_c_data): Likewise.
17378         (struct test_f_i_data): Likewise.
17379         (struct test_ff_i_data): Likewise.
17380         (struct test_f_l_data): Likewise.
17381         (struct test_f_L_data): Likewise.
17382         (struct test_fFF_11_data): Likewise.
17383         (RM_): New macro.
17384         (RM_FE_DOWNWARD): Likewise.
17385         (RM_FE_TONEAREST): Likewise.
17386         (RM_FE_TOWARDZERO): Likewise.
17387         (RM_FE_UPWARD): Likewise.
17388         (RUN_TEST_LOOP_f_f): Update references to expected results.
17389         (RUN_TEST_LOOP_2_f): Likewise.
17390         (RUN_TEST_LOOP_fff_f): Likewise.
17391         (RUN_TEST_LOOP_c_f): Likewise.
17392         (RUN_TEST_LOOP_f_f1): Likewise.
17393         (RUN_TEST_LOOP_fF_f1): Likewise.
17394         (RUN_TEST_LOOP_fI_f1): Likewise.
17395         (RUN_TEST_LOOP_ffI_f1): Likewise.
17396         (RUN_TEST_LOOP_c_c): Likewise.
17397         (RUN_TEST_LOOP_cc_c): Likewise.
17398         (RUN_TEST_LOOP_f_i): Likewise.
17399         (RUN_TEST_LOOP_f_i_tg): Likewise.
17400         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17401         (RUN_TEST_LOOP_f_b): Likewise.
17402         (RUN_TEST_LOOP_f_b_tg): Likewise.
17403         (RUN_TEST_LOOP_f_l): Likewise.
17404         (RUN_TEST_LOOP_f_L): Likewise.
17405         (RUN_TEST_LOOP_fFF_11): Likewise.
17406         * math/gen-libm-test.pl (parse_args): Output four copies of
17407         expected results for each test.
17409         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17410         (__ASSUME_UTIMES): Remove.
17411         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17412         (__ASSUME_UTIMES): Likewise.
17414         * math/gen-auto-libm-tests.c: Update comment on output format.
17415         (output_for_one_input_case): Generate before-rounding and
17416         after-rounding information as conditions on output flags not
17417         floating-point format.
17418         * math/auto-libm-test-out: Regenerated.
17419         * math/gen-libm-test.pl (cond_value): New function.
17420         (or_cond_value): Use cond_value.
17421         (generate_testfile): Handle conditional exceptions.
17423 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17425         * math/libm-test.inc (max_valid_error): New variable.
17426         (init_max_error): Take new argument specifying whether function
17427         results are exactly determined.  Set max_valid_error and bound
17428         other variables for errors based on this argument.
17429         (set_max_error): Do not record results above max_valid_error.
17430         (check_float_internal): Only accept errors of up to 0.5ulps if
17431         also at most max_valid_error.
17432         (START): Take new argument EXACT and pass it to init_max_error.
17433         (acos_test): Update call to START.
17434         (acos_test_tonearest): Likewise.
17435         (acos_test_towardzero): Likewise.
17436         (acos_test_downward): Likewise.
17437         (acos_test_upward): Likewise.
17438         (acosh_test): Likewise.
17439         (asin_test): Likewise.
17440         (asin_test_tonearest): Likewise.
17441         (asin_test_towardzero): Likewise.
17442         (asin_test_downward): Likewise.
17443         (asin_test_upward): Likewise.
17444         (asinh_test): Likewise.
17445         (atan_test): Likewise.
17446         (atanh_test): Likewise.
17447         (atan2_test): Likewise.
17448         (cabs_test): Likewise.
17449         (cacos_test): Likewise.
17450         (cacosh_test): Likewise.
17451         (carg_test): Likewise.
17452         (casin_test): Likewise.
17453         (casinh_test): Likewise.
17454         (catan_test): Likewise.
17455         (catanh_test): Likewise.
17456         (cbrt_test): Likewise.
17457         (ccos_test): Likewise.
17458         (ccosh_test): Likewise.
17459         (ceil_test): Likewise.
17460         (cexp_test): Likewise.
17461         (cimag_test): Likewise.
17462         (clog_test): Likewise.
17463         (clog10_test): Likewise.
17464         (conj_test): Likewise.
17465         (copysign_test): Likewise.
17466         (cos_test): Likewise.
17467         (cos_test_tonearest): Likewise.
17468         (cos_test_towardzero): Likewise.
17469         (cos_test_downward): Likewise.
17470         (cos_test_upward): Likewise.
17471         (cosh_test): Likewise.
17472         (cosh_test_tonearest): Likewise.
17473         (cosh_test_towardzero): Likewise.
17474         (cosh_test_downward): Likewise.
17475         (cosh_test_upward): Likewise.
17476         (cpow_test): Likewise.
17477         (cproj_test): Likewise.
17478         (creal_test): Likewise.
17479         (csin_test): Likewise.
17480         (csinh_test): Likewise.
17481         (csqrt_test): Likewise.
17482         (ctan_test): Likewise.
17483         (ctan_test_tonearest): Likewise.
17484         (ctan_test_towardzero): Likewise.
17485         (ctan_test_downward): Likewise.
17486         (ctan_test_upward): Likewise.
17487         (ctanh_test): Likewise.
17488         (ctanh_test_tonearest): Likewise.
17489         (ctanh_test_towardzero): Likewise.
17490         (ctanh_test_downward): Likewise.
17491         (ctanh_test_upward): Likewise.
17492         (erf_test): Likewise.
17493         (erfc_test): Likewise.
17494         (exp_test): Likewise.
17495         (exp_test_tonearest): Likewise.
17496         (exp_test_towardzero): Likewise.
17497         (exp_test_downward): Likewise.
17498         (exp_test_upward): Likewise.
17499         (exp10_test): Likewise.
17500         (exp10_test_tonearest): Likewise.
17501         (exp10_test_towardzero): Likewise.
17502         (exp10_test_downward): Likewise.
17503         (exp10_test_upward): Likewise.
17504         (pow10_test): Likewise.
17505         (exp2_test): Likewise.
17506         (expm1_test): Likewise.
17507         (expm1_test_tonearest): Likewise.
17508         (expm1_test_towardzero): Likewise.
17509         (expm1_test_downward): Likewise.
17510         (expm1_test_upward): Likewise.
17511         (fabs_test): Likewise.
17512         (fdim_test): Likewise.
17513         (floor_test): Likewise.
17514         (fma_test): Likewise.
17515         (fma_test_towardzero): Likewise.
17516         (fma_test_downward): Likewise.
17517         (fma_test_upward): Likewise.
17518         (fmax_test): Likewise.
17519         (fmin_test): Likewise.
17520         (fmod_test): Likewise.
17521         (fpclassify_test): Likewise.
17522         (frexp_test): Likewise.
17523         (hypot_test): Likewise.
17524         (ilogb_test): Likewise.
17525         (isfinite_test): Likewise.
17526         (finite_test): Likewise.
17527         (isgreater_test): Likewise.
17528         (isgreaterequal_test): Likewise.
17529         (isinf_test): Likewise.
17530         (isless_test): Likewise.
17531         (islessequal_test): Likewise.
17532         (islessgreater_test): Likewise.
17533         (isnan_test): Likewise.
17534         (isnormal_test): Likewise.
17535         (issignaling_test): Likewise.
17536         (isunordered_test): Likewise.
17537         (j0_test): Likewise.
17538         (j1_test): Likewise.
17539         (jn_test): Likewise.
17540         (ldexp_test): Likewise.
17541         (lgamma_test): Likewise.
17542         (gamma_test): Likewise.
17543         (lrint_test): Likewise.
17544         (lrint_test_tonearest): Likewise.
17545         (lrint_test_towardzero): Likewise.
17546         (lrint_test_downward): Likewise.
17547         (lrint_test_upward): Likewise.
17548         (llrint_test): Likewise.
17549         (llrint_test_tonearest): Likewise.
17550         (llrint_test_towardzero): Likewise.
17551         (llrint_test_downward): Likewise.
17552         (llrint_test_upward): Likewise.
17553         (log_test): Likewise.
17554         (log10_test): Likewise.
17555         (log1p_test): Likewise.
17556         (log2_test): Likewise.
17557         (logb_test): Likewise.
17558         (logb_test_downward): Likewise.
17559         (lround_test): Likewise.
17560         (llround_test): Likewise.
17561         (modf_test): Likewise.
17562         (nearbyint_test): Likewise.
17563         (nextafter_test): Likewise.
17564         (nexttoward_test): Likewise.
17565         (pow_test): Likewise.
17566         (pow_test_tonearest): Likewise.
17567         (pow_test_towardzero): Likewise.
17568         (pow_test_downward): Likewise.
17569         (pow_test_upward): Likewise.
17570         (remainder_test): Likewise.
17571         (drem_test): Likewise.
17572         (remainder_test_tonearest): Likewise.
17573         (drem_test_tonearest): Likewise.
17574         (remainder_test_towardzero): Likewise.
17575         (drem_test_towardzero): Likewise.
17576         (remainder_test_downward): Likewise.
17577         (drem_test_downward): Likewise.
17578         (remainder_test_upward): Likewise.
17579         (drem_test_upward): Likewise.
17580         (remquo_test): Likewise.
17581         (rint_test): Likewise.
17582         (rint_test_tonearest): Likewise.
17583         (rint_test_towardzero): Likewise.
17584         (rint_test_downward): Likewise.
17585         (rint_test_upward): Likewise.
17586         (round_test): Likewise.
17587         (scalb_test): Likewise.
17588         (scalbn_test): Likewise.
17589         (scalbln_test): Likewise.
17590         (signbit_test): Likewise.
17591         (sin_test): Likewise.
17592         (sin_test_tonearest): Likewise.
17593         (sin_test_towardzero): Likewise.
17594         (sin_test_downward): Likewise.
17595         (sin_test_upward): Likewise.
17596         (sincos_test): Likewise.
17597         (sinh_test): Likewise.
17598         (sinh_test_tonearest): Likewise.
17599         (sinh_test_towardzero): Likewise.
17600         (sinh_test_downward): Likewise.
17601         (sinh_test_upward): Likewise.
17602         (sqrt_test): Likewise.
17603         (sqrt_test_tonearest): Likewise.
17604         (sqrt_test_towardzero): Likewise.
17605         (sqrt_test_downward): Likewise.
17606         (sqrt_test_upward): Likewise.
17607         (tan_test): Likewise.
17608         (tan_test_tonearest): Likewise.
17609         (tan_test_towardzero): Likewise.
17610         (tan_test_downward): Likewise.
17611         (tan_test_upward): Likewise.
17612         (tanh_test): Likewise.
17613         (tgamma_test): Likewise.
17614         (trunc_test): Likewise.
17615         (y0_test): Likewise.
17616         (y1_test): Likewise.
17617         (yn_test): Likewise.
17618         (significand_test): Likewise.
17620         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17621         individual tests in comment.
17622         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17623         (prev_max_error): New variable.
17624         (prev_real_max_error): Likewise.
17625         (prev_imag_max_error): Likewise.
17626         (compare_ulp_data): Don't refer to test names in comment.
17627         (find_test_ulps): Remove function.
17628         (find_function_ulps): Likewise.
17629         (find_complex_function_ulps): Likewise.
17630         (init_max_error): Take function name as argument.  Look up ulps
17631         for that function.
17632         (print_ulps): Remove function.
17633         (print_max_error): Use prev_max_error instead of calling
17634         find_function_ulps.
17635         (print_complex_max_error): Use prev_real_max_error and
17636         prev_imag_max_error instead of calling find_complex_function_ulps.
17637         (check_float_internal): Take max_ulp parameter instead of calling
17638         find_test_ulps.  Don't call print_ulps.
17639         (check_float): Update call to check_float_internal.
17640         (check_complex): Update calls to check_float_internal.
17641         (START): Pass argument to init_max_error.
17642         * math/gen-libm-test.pl (%results): Don't include "kind"
17643         information.
17644         (parse_ulps): Don't handle ulps of individual tests.
17645         (print_ulps_file): Likewise.
17646         (output_ulps): Likewise.
17647         * math/README.libm-test: Update.
17648         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17649         individual tests.
17650         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17651         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17652         * sysdeps/arm/libm-test-ulps: Likewise.
17653         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17654         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17655         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17656         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17657         * sysdeps/microblaze/libm-test-ulps: Likewise.
17658         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17659         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17660         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17661         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17662         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17663         * sysdeps/sh/libm-test-ulps: Likewise.
17664         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17665         * sysdeps/tile/libm-test-ulps: Likewise.
17666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17668 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17670         * math/libm-test.inc (print_complex_max_error): Check separately
17671         whether real and imaginary errors are within allowed range and
17672         pass 0 to print_complex_function_ulps instead of value within
17673         allowed range.
17675 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17677         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17678         formatting.
17679         (get_handles_fopen): Likewise.
17680         (do_write_test): Likewise.
17682         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17684         * libio/fileops.c (do_ftell): Use cached offset when
17685         available.
17686         * libio/iofwide.c (do_ftell_wide): Likewise.
17687         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17688         _IO_file_attach.
17689         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17691         [BZ #16532]
17692         * libio/libioP.h (get_file_offset): New function.
17693         * libio/fileops.c (get_file_offset): Likewise.
17694         (do_ftell): Likewise.
17695         (_IO_new_file_seekoff): Split out ftell logic.
17696         * libio/wfileops.c (do_ftell_wide): Likewise.
17697         (_IO_wfile_seekoff): Split out ftell logic.
17698         * libio/tst-ftell-active-handler.c: New test case.
17699         * libio/Makefile (tests): Add it.
17701 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17703         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17704         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17706 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17708         [BZ #16639]
17709         * nscd/connections.c (nscd_init): Call do_exit.
17710         (start_threads): Call do_exit and notify_parent.
17711         (begin_drop_privileges): Call do_exit.
17712         (finish_drop_privileges): Likewise.
17713         * nscd/selinux.c (preserve_capabilities): Likewise.
17714         (install_real_capabilities): Likewise.
17715         (nscd_selinux_enabled): Likewise.
17716         (avc_create_thread): Likewise.
17717         (avc_alloc_lock): Likewise.
17718         (nscd_avc_init): Likewise.
17719         * nscd/nscd.c (parent_fd): New static variable.
17720         (main): Create a pipe between parent and child processes.
17721         Skip closing parent_fd.
17722         (monitor_child): New function.
17723         (do_exit): Likewise.
17724         (notify_parent): Likewise.
17725         * nscd/nscd.h (notify_parent): Likewise.
17726         (do_exit): Likewise.
17728 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17730         * malloc/malloc.c (__libc_calloc): Revert last change.
17732 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17736 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17738         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17740         implementation.
17741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17742         (__libc_ifunc_impl_list): Likewise.
17743         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17744         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17745         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17746         * string/strrchr.c: Define STRRCHR.
17748 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17750         * benchtest/bench-strtok.c (simple_strtok): Delete.
17751         (strtok_string): Use as benchmark.
17752         * string/strtok (STRTOK): New macro.
17754 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17756         * manual/threads.texi: Add header and standard comments to all
17757         functions.
17759         * elf/dl-lookup.c (check_match): New function.
17760         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17761         (do_lookup_x): Remove nested function check_match. Use non-nested
17762         function check_match.
17764 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17766         * csu/Makefile (generated, before-compile): Use += rather than =.
17767         * catgets/Makefile (generated, generated-dirs): Likewise.
17768         * debug/Makefile (generated): Likewise.
17769         * dlfcn/Makefile (generated): Likewise.
17770         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17771         * iconvdata/Makefile (before-compile, generated): Likewise.
17772         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17773         * libio/Makefile (generated): Likewise.
17774         * malloc/Makefile (generated): Likewise.
17775         * manual/Makefile (generated, generated-dirs): Likewise.
17776         * misc/Makefile (generated): Likewise.
17777         * posix/Makefile (generated): Likewise.
17778         * resolv/Makefile (generated): Likewise.
17779         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17780         * timezone/Makefile (generated, generated-dirs): Likewise.
17782         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17784 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17787         power8 implementation.
17788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17789         file: POWER8 llround ifunc implementation.
17790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17791         (__lllround): Add POWER8 implementation.
17792         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17793         POWER8 llround implementation.
17795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17796         power8 implementation.
17797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17798         file: POWER8 llrint ifunc implementation.
17799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17800         Add POWER8 implementation.
17801         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17802         POWER8 llrint implementation.
17804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17805         power8 implementation.
17806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17807         file: POWER8 finite ifunc implementation.
17808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17809         Add POWER8 implementation.
17810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17811         Likewise.
17812         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17813         POWER8 finite implementation.
17814         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17817         power8 implementation.
17818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17819         file: POWER8 isinf ifunc implementation.
17820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17821         POWER8 implementation.
17822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17823         Likewise.
17824         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17825         isinf implementation.
17826         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17828         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17829         (INIT_ARCH): Add hwcap2 initialization.
17830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17831         power8 implementation.
17832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17833         file: POWER8 isnan ifunc implementation.
17834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17835         POWER8 implementation.
17836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17837         Likewise.
17838         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17839         isnan implementation.
17840         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17842 2014-02-27  Joey Ye  <joey.ye@arm.com>
17844         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17845         (_FP_NANFRAC_Q): Set to zero.
17847 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17849         [BZ #16623]
17850         * math/auto-libm-test-in: New test inputs.
17851         * math/auto-libm-test-out: Regenerate.
17852         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17853         and DA.
17854         (__cos): Likewise.
17855         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17857 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17859         * scripts/evaluate-test.sh: Take new argument indicating whether
17860         failure is expected.
17861         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17862         indicating whether failure is expected.
17863         * conform/Makefile (test-xfail-run-conformtest): New variable.
17864         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17865         level.
17866         * posix/Makefile (test-xfail-annexc): New variable.
17867         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17869 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17871         * argp/Makefile: Include Makeconfig immediately after defining
17872         subdir.
17873         * assert/Makefile: Likewise.
17874         * benchtests/Makefile: Likewise.
17875         * catgets/Makefile: Likewise.
17876         * conform/Makefile: Likewise.
17877         * crypt/Makefile: Likewise.
17878         * csu/Makefile: Likewise.
17879         (all): Remove target.
17880         * ctype/Makefile: Include Makeconfig immediately after defining
17881         subdir.
17882         * debug/Makefile: Likewise.
17883         * dirent/Makefile: Likewise.
17884         * dlfcn/Makefile: Likewise.
17885         * gmon/Makefile: Likewise.
17886         * gnulib/Makefile: Likewise.
17887         * grp/Makefile: Likewise.
17888         * gshadow/Makefile: Likewise.
17889         * hesiod/Makefile: Likewise.
17890         * hurd/Makefile: Likewise.
17891         (all): Remove target.
17892         * iconvdata/Makefile: Include Makeconfig immediately after
17893         defining subdir.
17894         * inet/Makefile: Likewise.
17895         * intl/Makefile: Likewise.
17896         * io/Makefile: Likewise.
17897         * libio/Makefile: Likewise.
17898         (all): Remove target.
17899         * locale/Makefile: Include Makeconfig immediately after defining
17900         subdir.
17901         * login/Makefile: Likewise.
17902         * mach/Makefile: Likewise.
17903         (all): Remove target.
17904         * malloc/Makefile: Include Makeconfig immediately after defining
17905         subdir.
17906         (all): Remove target.
17907         * manual/Makefile: Include Makeconfig immediately after defining
17908         subdir.
17909         * math/Makefile: Likewise.
17910         * misc/Makefile: Likewise.
17911         * nis/Makefile: Likewise.
17912         * nss/Makefile: Likewise.
17913         * po/Makefile: Likewise.
17914         (all): Remove target.
17915         * posix/Makefile: Include Makeconfig immediately after defining
17916         subdir.
17917         * pwd/Makefile: Likewise.
17918         * resolv/Makefile: Likewise.
17919         * resource/Makefile: Likewise.
17920         * rt/Makefile: Likewise.
17921         * setjmp/Makefile: Likewise.
17922         * shadow/Makefile: Likewise.
17923         * signal/Makefile: Likewise.
17924         * socket/Makefile: Likewise.
17925         * soft-fp/Makefile: Likewise.
17926         * stdio-common/Makefile: Likewise.
17927         * stdlib/Makefile: Likewise.
17928         * streams/Makefile: Likewise.
17929         * string/Makefile: Likewise.
17930         * sunrpc/Makefile: Likewise.
17931         (all): Remove target.
17932         * sysvipc/Makefile: Include Makeconfig immediately after defining
17933         subdir.
17934         * termios/Makefile: Likewise.
17935         * time/Makefile: Likewise.
17936         * timezone/Makefile: Likewise.
17937         (all): Remove target.
17938         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17939         subdir.
17940         * wctype/Makefile: Likewise.
17942 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17944         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17945         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17946         (libc_feholdexcept_setround_mips): Ditto.
17947         (libc_feholdsetround): New.
17948         (libc_feholdsetroundf): New.
17949         (libc_feholdsetroundl): New.
17950         (libc_feupdateenv_test_mips): New.
17951         (libc_feupdateenv_test): New.
17952         (libc_feupdateenv_testf): New.
17953         (libc_feupdateenv_testl): New.
17954         (libc_feresetround): New.
17955         (libc_feresetroundf): New.
17956         (libc_feresetroundl): New.
17957         (libc_fetestexcept_mips): New.
17958         (libc_fetestexcept): New.
17959         (libc_fetestexceptf): New.
17960         (libc_fetestexceptl): New.
17961         (HAVE_RM_CTX): New.
17962         (libc_feholdexcept_setround_mips_ctx): New.
17963         (libc_feholdexcept_setround_ctx): New.
17964         (libc_feholdexcept_setroundf_ctx): New.
17965         (libc_feholdexcept_setroundl_ctx): New.
17966         (libc_fesetenv_mips_ctx): New.
17967         (libc_fesetenv_ctx): New.
17968         (libc_fesetenv_ctxf): New.
17969         (libc_fesetenv_ctxl): New.
17970         (libc_feupdateenv_mips_ctx): New.
17971         (libc_feupdateenv_ctx): New.
17972         (libc_feupdateenvf_ctx): New.
17973         (libc_feupdateenvl_ctx): New.
17974         (libc_feholdsetround_mips_ctx): New.
17975         (libc_feholdsetround_ctx): New.
17976         (libc_feholdsetroundf_ctx): New.
17977         (libc_feholdsetroundl_ctx): New.
17978         (libc_feresetround_mips_ctx): New.
17979         (libc_feresetround_ctx): New.
17980         (libc_feresetroundf_ctx): New.
17981         (libc_feresetroundl_ctx): New.
17983 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17985         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17987         * manual/ipc.texi: New file.
17988         * manual/Makefile (chapters): Add ipc.
17989         * manual/job.texi: Add "Inter-Process Communication" to next.
17990         * manual/process.texi: Add "Inter-Process Communication" to prev.
17992 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17994         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17996 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17998         * malloc/malloc.c (__libc_calloc): Simplify implementation.
18000         * manual/arith.texi: Fix spaces after sentences.
18001         * manual/charset.texi: Likewise.
18002         * manual/errno.texi: Likewise.
18003         * manual/install.texi: Likewise.
18004         * manual/llio.texi: Likewise.
18005         * manual/locale.texi: Likewise.
18006         * manual/maint.texi: Likewise.
18007         * manual/math.texi: Likewise.
18008         * manual/memory.texi: Likewise.
18009         * manual/message.texi: Likewise.
18010         * manual/probes.texi: Likewise.
18011         * manual/resource.texi: Likewise.
18012         * manual/signal.texi: Likewise.
18013         * manual/socket.texi: Likewise.
18014         * manual/stdio.texi: Likewise.
18015         * manual/string.texi: Likewise.
18016         * manual/time.texi: Likewise.
18017         * manual/users.texi: Likewise.
18019 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
18021         [BZ #16632]
18022         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18023         _DEFAULT_SOURCE is defined.
18025 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
18026             Carlos O'Donell  <carlos@redhat.com>
18028         [BZ #16613]
18029         * elf/dl-tls.c (_dl_count_modids): New function.
18030         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18031         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18032         audit library and increment generation counter.
18033         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18034         * elf/tst-audit9.c: New file.
18035         * elf/tst-auditmod9a.c: New file.
18036         * elf/tst-auditmod9b.c: New file.
18037         * elf/Makefile: Add rules to build and run tst-audit9.
18039 2014-02-25  Florian Weimer  <fweimer@redhat.com>
18041         [BZ #15347]
18042         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18044 2014-02-25  Will Newton  <will.newton@linaro.org>
18046         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18047         (__longjmp): Restore sp and lr before restoring callee
18048         saved registers.  Add longjmp and longjmp_target
18049         SystemTap probe point.
18050         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18051         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18052         Define to zero to match jmpbuf layout.
18053         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18054         (__sigsetjmp): Save sp and lr before saving callee
18055         saved registers.  Add setjmp SystemTap probe point.
18057 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18059         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18061 2014-02-24  Andreas Schwab  <schwab@suse.de>
18063         [BZ #15804]
18064         * elf/pldd.c (wait_for_ptrace_stop): New function.
18065         (main): Call it after attaching.
18067 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18069         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18070         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18071         Versions files is now verboten.
18072         * hurd/Versions (libc: GLIBC_2.0):
18073         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18074         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18075         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18076         * mach/Versions: Likewise.
18078         * csu/Versions: Remove unused %include.
18079         * resolv/Versions: Likewise.
18081 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18083         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18084         ($(objpfx)check-local-headers.out): Likewise.
18085         ($(objpfx)begin-end-check.out): Likewise.
18086         * Makerules (check-abi-%.out): Likewise.
18087         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18088         ($(objpfx)test2.cat): Likewise.
18089         ($(objpfx)de/libc.cat): Likewise.
18090         ($(objpfx)test-gencat.out): Likewise.
18091         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18092         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18093         ($(objpfx)noload-mem): Likewise.
18094         ($(objpfx)tst-pathopt.out): Likewise.
18095         ($(objpfx)tst-rtld-load-self.out): Likewise.
18096         ($(objpfx)tst-array1-cmp.out): Likewise.
18097         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18098         ($(objpfx)tst-array2-cmp.out): Likewise.
18099         ($(objpfx)tst-array3-cmp.out): Likewise.
18100         ($(objpfx)tst-array4-cmp.out): Likewise.
18101         ($(objpfx)tst-array5-cmp.out): Likewise.
18102         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18103         ($(objpfx)check-textrel.out): Likewise.
18104         ($(objpfx)check-execstack.out): Likewise.
18105         ($(objpfx)check-localplt.out): Likewise.
18106         ($(objpfx)order2-cmp.out): Likewise.
18107         ($(objpfx)tst-leaks1-mem): Likewise.
18108         ($(objpfx)tst-leaks1-static-mem): Likewise.
18109         ($(objpfx)tst-initorder-cmp.out): Likewise.
18110         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18111         ($(objpfx)tst-unused-dep.out): Likewise.
18112         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18113         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18114         * iconv/Makefile (test-iconvconfig): Likewise.
18115         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18116         ($(objpfx)iconv-test.out): Likewise.
18117         ($(objpfx)tst-tables.out): Likewise.
18118         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18119         ($(objpfx)tst-gettext.out): Likewise.
18120         ($(objpfx)tst-translit.out): Likewise.
18121         ($(objpfx)tst-gettext2.out): Likewise.
18122         ($(objpfx)tst-gettext4.out): Likewise.
18123         ($(objpfx)tst-gettext6.out): Likewise.
18124         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18125         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18126         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18127         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18128         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18129         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18130         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18131         ($(objpfx)wordexp-tst.out): Likewise.
18132         ($(objpfx)annexc.out): Likewise.
18133         ($(objpfx)tst-fnmatch-mem): Likewise.
18134         ($(objpfx)bug-regex2-mem): Likewise.
18135         ($(objpfx)bug-regex14-mem): Likewise.
18136         ($(objpfx)bug-regex21-mem): Likewise.
18137         ($(objpfx)bug-regex31-mem): Likewise.
18138         ($(objpfx)tst-vfork3-mem): Likewise.
18139         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18140         ($(objpfx)tst-pcre-mem): Likewise.
18141         ($(objpfx)tst-boost-mem): Likewise.
18142         ($(objpfx)tst-getconf.out): Likewise.
18143         ($(objpfx)bug-ga2-mem): Likewise.
18144         ($(objpfx)bug-glob2-mem): Likewise.
18145         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18146         ($(objpfx)mtrace-tst-leaks2): Likewise.
18147         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18148         ($(objpfx)tst-printf.out): Likewise.
18149         ($(objpfx)tst-setvbuf1.out): Likewise.
18150         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18151         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18152         ($(objpfx)tst-fmtmsg.out): Likewise.
18153         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18154         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18156         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18157         * bits/sigaction.h [__USE_MISC]: Likewise.
18158         * bits/waitstatus.h: Update #endif comments.
18159         * ctype/ctype.h: Likewise.
18160         * dirent/dirent.h: Likewise.
18161         [__USE_MISC]: Remove redundant conditionals.
18162         * grp/grp.h: Update #endif comments.
18163         [__USE_GNU]: Remove redundant conditionals.
18164         [__USE_MISC]: Likewise.
18165         * inet/netinet/in.h [__USE_GNU]: Likewise.
18166         * io/sys/stat.h [__USE_MISC]: Likewise.
18167         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18168         * libio/bits/stdio.h: Update #endif comments.
18169         [__USE_MISC]: Remove redundant conditionals.
18170         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18171         * libio/stdio.h: Update #endif comments.
18172         [__USE_MISC]: Remove redundant conditionals.
18173         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18174         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18175         * math/math.h: Update #else and #endif comments.
18176         [__USE_MISC]: Remove redundant conditionals.
18177         * misc/sys/uio.h: Update #endif comments.
18178         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18179         * posix/glob.h [__USE_MISC]: Likewise.
18180         * posix/sys/types.h: Update #endif comments.
18181         [__USE_MISC]: Remove redundant conditionals.
18182         * posix/sys/wait.h: Update #endif comments.
18183         [__USE_MISC]: Remove redundant conditionals.
18184         * posix/unistd.h: Update #endif comments.
18185         [__USE_MISC]: Remove redundant conditionals.
18186         * pwd/pwd.h [__USE_GNU]: Likewise.
18187         [__USE_MISC]: Likewise.
18188         * resolv/netdb.h [__USE_GNU]: Likewise.
18189         * signal/signal.h: Update #endif comments.
18190         [__USE_MISC]: Remove redundant conditionals.
18191         * stdlib/stdlib.h: Update #else and #endif comments.
18192         [__USE_MISC]: Remove redundant conditionals.
18193         [__USE_GNU]: Likewise.
18194         * string/bits/string2.h [__USE_MISC]: Likewise.
18195         * string/string.h: Update #endif comments.
18196         [__USE_MISC]: Remove redundant conditionals.
18197         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18198         Likewise.
18199         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18200         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18201         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18202         Likewise.
18203         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18204         Likewise.
18205         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18206         comments.
18207         [__USE_MISC]: Remove redundant conditionals.
18208         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18209         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18210         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18211         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18212         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18213         Likewise.
18214         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18215         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18216         Likewise.
18217         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18218         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18219         Likewise.
18220         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18221         Likewise.
18222         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18223         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18224         Likewise.
18225         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18226         Likewise.
18227         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18228         * sysdeps/x86/bits/string.h: Update #endif comments.
18229         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18230         conditionals.
18231         * time/sys/time.h: Update #endif comments.
18232         * time/time.h: Likewise.
18233         [__USE_MISC]: Remove redundant conditionals.
18235 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18237         [BZ #16600]
18238         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18240 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18242         * Versions.def (librt): Add GLIBC_2.17.
18244 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18246         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18247         synonym for _SYS_AUXV_H to allow direct inclusion.
18248         * sysdeps/sparc/bits/hwcap.h: Likewise.
18249         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18250         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18251         * sysdeps/sparc/sysdep.h: Likewise.
18253 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18255         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18257 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18259         * benchtests/bench-strrchr.c: Print length instead of position.
18261 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18263         [BZ #16611]
18264         * sysdeps/unix/sysv/linux/kernel-features.h
18265         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18266         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18267         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18268         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18269         Likewise.
18270         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18271         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18272         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18273         (__ASSUME_SENDMMSG): Define instead of using previous
18274         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18275         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18276         (__ASSUME_SENDMMSG_SYSCALL): Define.
18277         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18278         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18279         Likewise.
18280         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18281         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18282         Likewise.
18283         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18284         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18285         Likewise.
18286         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18287         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18288         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18289         [__ASSUME_SENDMMSG]: Change conditionals to
18290         [__ASSUME_SENDMMSG_SOCKETCALL].
18291         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18292         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18293         Define.
18294         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18295         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18296         Likewise.
18297         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18298         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18299         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18300         [!__ASSUME_SENDMMSG]: Change conditional to
18301         [!__ASSUME_SENDMMSG_SOCKETCALL].
18302         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18303         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18304         Define.
18306         [BZ #16610]
18307         * sysdeps/unix/sysv/linux/kernel-features.h
18308         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18309         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18310         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18311         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18312         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18313         [__i386__ || __sparc__]
18314         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18315         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18316         (__ASSUME_RECVMMSG): Define instead of using previous
18317         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18318         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18319         (__ASSUME_RECVMMSG_SYSCALL): Define.
18320         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18321         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18322         Likewise.
18323         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18324         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18325         Likewise.
18326         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18327         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18328         Likewise.
18329         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18330         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18331         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18332         [__ASSUME_RECVMMSG]: Change condition to
18333         [__ASSUME_RECVMMSG_SOCKETCALL].
18334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18335         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18336         Define.
18337         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18339         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18340         Likewise.
18341         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18342         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18343         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18344         [!__ASSUME_RECVMMSG]: Change condition to
18345         [!__ASSUME_RECVMMSG_SOCKETCALL].
18346         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18347         (__ASSUME_RECVMMSG_SYSCALL): Define.
18349         [BZ #16609]
18350         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18351         __powerpc__ || __s390__ || __sh__ || __sparc__]
18352         (__ASSUME_SOCKETCALL): Define.
18353         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18354         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18355         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18356         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18357         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18358         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18359         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18360         (__ASSUME_ACCEPT4): Define instead of using previous
18361         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18362         __powerpc__ || __sparc__ || __s390__)] condition.
18363         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18364         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18365         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18366         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18367         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18368         [!__ASSUME_ACCEPT4]: Change condition to
18369         [!__ASSUME_ACCEPT4_SOCKETCALL].
18370         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18371         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18372         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18374         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18375         __ASSUME_ACCEPT4_SYSCALL.
18376         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18377         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18378         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18379         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18380         __ASSUME_ACCEPT4_SYSCALL.
18381         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18382         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18383         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18384         [__ASSUME_ACCEPT4]: Change condition to
18385         [__ASSUME_ACCEPT4_SOCKETCALL].
18386         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18387         (__ASSUME_SOCKETCALL): Define.
18388         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18390         (__ASSUME_SOCKETCALL): Define.
18391         (__ASSUME_ACCEPT4): Remove.
18392         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18393         Define.
18394         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18395         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18396         Likewise.
18397         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18398         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18400         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18401         macro.
18402         (HWCAP_ARM_LPAE): Likewise.
18403         (HWCAP_ARM_EVTSTRM): Likewise.
18404         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18405         Add vpfd32, lpae and evtstrm.
18406         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18407         Increase to 22.
18409 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18411         * math/auto-libm-test-in: Add tests of clog10.
18412         * math/auto-libm-test-out: Regenerated.
18413         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18414         * sysdeps/i386/fpu/libm-test-ulps: Update.
18415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18417 2014-02-18  Andreas Schwab  <schwab@suse.de>
18419         [BZ #16574]
18420         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18421         Store non-zero if the second buffer was newly allocated.
18422         (send_dg): Likewise.
18423         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18424         to send_vc and send_dg.
18425         (res_nsend): Pass NULL for ansp2_malloced.
18426         * resolv/res_query.c (__libc_res_nquery): Add parameter
18427         answerp2_malloced and pass it down to __libc_res_nsend.
18428         (res_nquery): Pass additional NULL to __libc_res_nquery.
18429         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18430         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18431         second answer buffer if answerp2_malloced was set.
18432         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18433         (__libc_res_nquerydomain): Add parameter
18434         answerp2_malloced and pass it down to __libc_res_nquery.
18435         (res_nquerydomain): Pass additional NULL to
18436         __libc_res_nquerydomain.
18437         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18438         additional NULL to __libc_res_nsend and __libc_res_nquery.
18439         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18440         additional NULL to __libc_res_nsearch.
18441         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18442         parameter of __libc_res_nsearch to check for separately allocated
18443         second buffer.
18444         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18445         __libc_res_nquery.
18446         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18447         additional NULL to __libc_res_nquery.
18448         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18449         __libc_res_nsearch.
18450         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18451         * include/resolv.h: Update prototypes of __libc_res_nquery,
18452         __libc_res_nsearch, __libc_res_nsend.
18454 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18456         * math/auto-libm-test-in: Add tests of fma.
18457         * math/auto-libm-test-out: Regenerated.
18458         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18459         (fma_towardzero_test_data): Likewise.
18460         (fma_downward_test_data): Likewise.
18461         (fma_upward_test_data): Likewise.
18462         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18463         mpc_mode.
18464         (rounding_modes): Add values for new field.
18465         (func_calc_method): Add value mpfr_fff_f.
18466         (func_calc_desc): Add mpfr_fff_f union field.
18467         (test_function): Add field exact_args.
18468         (FUNC): Add macro argument EXACT_ARGS.
18469         (FUNC_mpfr_f_f): Update call to FUNC.
18470         (FUNC_mpfr_f_f): Likewise.
18471         (FUNC_mpfr_ff_f): Likewise.
18472         (FUNC_mpfr_if_f): Likewise.
18473         (FUNC_mpc_c_f): Likewise.
18474         (FUNC_mpc_c_c): Likewise.
18475         (test_functions): Add fma.  Update calls to FUNC.
18476         (handle_input_arg): Add argument exact_args.
18477         (add_test): Update call to handle_input_arg.
18478         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18479         (output_for_one_input_case): Update call to calc_generic_results.
18480         Recalculate exact zero results in each rounding mode.
18482         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18483         non-negative before setting low bit.
18484         * math/auto-libm-test-in: Mark one asin test possibly having
18485         spurious underflow.
18486         * math/auto-libm-test-out: Regenerated.
18487         * sysdeps/i386/fpu/libm-test-ulps: Update.
18488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18490 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18492         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18493         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18494         ports/sysdeps/unix/sysv/linux/microblaze.
18495         * README: Add missing listing for microblaze*-*-linux-gnu.
18497 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18499         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18500         duplicate code
18502 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18504         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18505         * sysdeps/unix/sysv/linux/ia64: Move directory from
18506         ports/sysdeps/unix/sysv/linux/ia64.
18507         * README: Update listing for ia64-*-linux-gnu.
18509 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18510             Joseph Myers  <joseph@codesourcery.com>
18512         * Makeconfig (test-name): New variable.
18513         (evaluate-test): Likewise.
18514         * Makerules (do-test-clean): Remove .test-result files.
18515         (common-mostlyclean): Likewise.
18516         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18517         * scripts/evaluate-test.sh: New file.
18519 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18521         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18522         separate $(objpfx)tst-fopenloc-cmp.out and
18523         $(objpfx)tst-fopenloc-mem.out targets.
18524         (tests): Update dependencies.
18525         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18526         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18527         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18528         (tst-rxspencer-no-utf8-ARGS): New variable.
18529         (tst-rxspencer-no-utf8-ENV): Likewise.
18530         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18531         instead of $(objpfx)tst-rxspencer-mem.
18532         ($(objpfx)tst-rxspencer-mem): Change target to
18533         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18534         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18535         * posix/tst-rxspencer-no-utf8.c: New file.
18537         * elf/Makefile ($(objpfx)order.out): Remove rule.
18538         [$(run-built-tests) = yes] (tests): Depend on
18539         $(objpfx)order-cmp.out.
18540         ($(objpfx)order-cmp.out): New rule.
18541         [$(run-built-tests) = yes] (tests): Depend on
18542         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18543         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18544         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18545         $(objpfx)tst-array5-static-cmp.out.
18546         ($(objpfx)tst-array1.out): Remove rule.
18547         ($(objpfx)tst-array1-cmp.out): New rule.
18548         ($(objpfx)tst-array1-static.out): Remove rule.
18549         ($(objpfx)tst-array1-static-cmp.out): New rule.
18550         ($(objpfx)tst-array2.out): Remove rule.
18551         ($(objpfx)tst-array2-cmp.out): New rule.
18552         ($(objpfx)tst-array3.out): Remove rule.
18553         ($(objpfx)tst-array3-cmp.out): New rule.
18554         ($(objpfx)tst-array4.out): Remove rule.
18555         ($(objpfx)tst-array4-cmp.out): New rule.
18556         ($(objpfx)tst-array5.out): Remove rule.
18557         ($(objpfx)tst-array5-cmp.out): New rule.
18558         ($(objpfx)tst-array5-static.out): Remove rule.
18559         ($(objpfx)tst-array5-static-cmp.out): New rule.
18560         [$(run-built-tests) = yes] (tests): Depend on
18561         $(objpfx)order2-cmp.out.
18562         ($(objpfx)order2.out): Remove rule.
18563         ($(objpfx)order2-cmp.out): New rule.
18564         ($(objpfx)tst-initorder.out): Remove rule.
18565         [$(run-built-tests) = yes] (tests): Depend on
18566         $(objpfx)tst-initorder-cmp.out.
18567         ($(objpfx)tst-initorder-cmp.out): New rule.
18568         ($(objpfx)tst-initorder2.out): Remove rule.
18569         [$(run-built-tests) = yes] (tests): Depend on
18570         $(objpfx)tst-initorder2-cmp.out.
18571         ($(objpfx)tst-initorder2-cmp.out): New rule.
18572         [$(run-built-tests) = yes] (tests): Depend on
18573         $(objpfx)tst-unused-dep-cmp.out.
18574         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18575         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18576         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18577         on $(objpfx)tst-setvbuf1-cmp.out.
18578         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18579         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18580         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18581         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18582         ($(objpfx)tst-svc.out): Remove rule.
18583         ($(objpfx)tst-svc-cmp.out): New rule.
18585 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18587         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18588         * ctype/ctype.h [__USE_MISC]: Likewise.
18589         * dirent/dirent.h [__USE_MISC]: Likewise.
18590         * grp/grp.h [__USE_MISC]: Likewise.
18591         * io/fcntl.h [__USE_MISC]: Likewise.
18592         * io/sys/stat.h [__USE_MISC]: Likewise.
18593         * libio/stdio.h [__USE_MISC]: Likewise.
18594         * posix/unistd.h [__USE_MISC]: Likewise.
18595         * pwd/pwd.h [__USE_MISC]: Likewise.
18596         * stdlib.h [__USE_MISC]: Likewise.
18597         * string/bits/string2.h [__USE_MISC]: Likewise.
18598         * string/string.h [__USE_MISC]: Likewise.
18599         * time/time.h [__USE_MISC]: Likewise.
18601 2014-02-13  Andreas Schwab  <schwab@suse.de>
18603         [BZ #16574]
18604         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18605         second answer buffer if it was separately allocated.
18607 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18609         * sysdeps/mips/math-tests.h: Include <features.h>.
18610         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18611         (ROUNDING_TESTS_long_double): Do not define.
18612         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18613         (EXCEPTION_TESTS_long_double): Likewise.
18614         * sysdeps/mips/mips64/libm-test-ulps: Update.
18616         * include/features.h (__USE_BSD): Remove macro definitions.
18617         (__USE_SVID): Likewise.
18618         (_BSD_SOURCE): Likewise.
18619         (_SVID_SOURCE): Likewise.
18620         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18621         from definition of _DEFAULT_SOURCE.
18622         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18623         [_DEFAULT_SOURCE].
18624         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18625         * bits/mman.h [__USE_BSD]: Likewise.
18626         * bits/termios.h [__USE_BSD]: Likewise.
18627         * bits/waitstatus.h [__USE_BSD]: Likewise.
18628         * ctype/ctype.h [__USE_SVID]: Likewise.
18629         * dirent/dirent.h [__USE_BSD]: Likewise.
18630         * grp/grp.h [__USE_SVID]: Likewise.
18631         [__USE_BSD]: Likewise.
18632         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18633         * io/fcntl.h [__USE_BSD]: Likewise.
18634         * io/ftw.h [__USE_BSD]: Likewise.
18635         * io/sys/stat.h [__USE_BSD]: Likewise.
18636         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18637         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18638         * libio/stdio.h [__USE_SVID]: Likewise.
18639         [__USE_BSD]: Likewise.
18640         * math/math.h [__USE_SVID]: Likewise.
18641         [__USE_BSD]: Likewise.
18642         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18643         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18644         * misc/search.h [__USE_SVID]: Likewise.
18645         * misc/sys/mman.h [__USE_BSD]: Likewise.
18646         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18647         * misc/sys/uio.h [__USE_BSD]: Likewise.
18648         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18649         * posix/glob.h [__USE_BSD]: Likewise.
18650         * posix/regex.h [__USE_BSD]: Likewise.
18651         * posix/sys/types.h [__USE_BSD]: Likewise.
18652         [__USE_SVID]: Likewise.
18653         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18654         * posix/sys/wait.h [__USE_BSD]: Likewise.
18655         [__USE_SVID]: Likewise.
18656         * posix/unistd.h [__USE_BSD]: Likewise.
18657         [__USE_SVID]: Likewise.
18658         * pwd/pwd.h [__USE_SVID]: Likewise.
18659         * resolv/netdb.h [__USE_BSD]: Likewise.
18660         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18661         * signal/signal.h [__USE_BSD]: Likewise.
18662         [__USE_SVID]: Likewise.
18663         * socket/sys/socket.h [__USE_BSD]: Likewise.
18664         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18665         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18666         [__USE_SVID]: Likewise.
18667         * string/bits/string2.h [__USE_BSD]: Likewise.
18668         [__USE_SVID]: Likewise.
18669         * string/bits/string3.h [__USE_BSD]: Likewise.
18670         * string/endian.h [__USE_BSD]: Likewise.
18671         * string/string.h [__USE_SVID]: Likewise.
18672         [__USE_BSD]: Likewise.
18673         * string/strings.h [__USE_BSD]: Likewise.
18674         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18675         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18676         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18677         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18678         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18679         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18680         Likewise.
18681         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18682         Likewise.
18683         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18684         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18685         Likewise.
18686         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18687         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18688         Likewise.
18689         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18690         Likewise.
18691         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18692         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18693         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18694         Likewise.
18695         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18696         Likewise.
18697         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18698         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18699         * termios/termios.h [__USE_BSD]: Likewise.
18700         * time/sys/time.h [__USE_BSD]: Likewise.
18701         * time/time.h [__USE_BSD]: Likewise.
18702         [__USE_SVID]: Likewise.
18704         * Makefile (subdir_targets): Remove subdir_lint.out.
18706         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18707         (do-tst-printf): Likewise.
18708         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18709         $(objpfx)tst-printf.out.
18711         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18713         * Makerules (check-abi-%): Change target to
18714         $(objpfx)check-abi-%.out.
18715         (check-abi target): Update dependencies.
18716         (check-abi-pattern variable): Redirect output of diff to $@.
18717         (check-abi variable): Likewise.
18718         * elf/Makefile (check-abi): Update dependencies.
18720         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18721         unused.
18722         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18723         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18724         subnormal range.
18725         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18726         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18727         value has largest subnormal exponent.
18728         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18729         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18730         * sysdeps/aarch64/soft-fp/sfp-machine.h
18731         (_FP_TININESS_AFTER_ROUNDING): New macro.
18732         * sysdeps/alpha/soft-fp/sfp-machine.h
18733         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18734         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18735         Likewise.
18736         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18737         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18738         * sysdeps/mips/soft-fp/sfp-machine.h
18739         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18740         * sysdeps/powerpc/soft-fp/sfp-machine.h
18741         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18742         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18743         Likewise.
18744         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18745         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18746         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18747         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18748         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18749         Likewise.
18751 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18753         [BZ #16545]
18754         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18755         model 1.
18757 2014-02-12  Richard Henderson  <rth@redhat.com>
18759         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18760         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18761         * sysdeps/unix/sysv/linux/alpha: Move directory from
18762         ports/sysdeps/unix/sysv/linux/alpha.
18763         * README: Update listing for alpha-*-linux-gnu.
18765 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18767         * include/features.h: Update comment documenting feature test
18768         macros.
18769         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18770         _DEFAULT_SOURCE.
18771         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18772         (_SVID_SOURCE): Likewise.
18773         (_DEFAULT_SOURCE): Update description of default features.
18774         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18775         with _GNU_SOURCE.
18776         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18777         (S_ISVTX): Likewise.
18778         * manual/math.texi (Mathematical Constants): Likewise.
18779         * manual/signal.texi (Interrupted Primitives): Likewise.
18780         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18781         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18782         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18783         Don't refer to _SVID_SOURCE in warning text.
18785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18787         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18788         already defined.
18789         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18790         * sysdeps/mips/dl-lookup.c: Remove.
18791         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18793 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18795         [BZ #16447]
18796         * math/auto-libm-test-in: Add testcase for expl.
18797         * math/auto-libm-test-out: Regenerate.
18798         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18799         calculation of unsafe.
18800         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18802 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18804         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18805         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18806         ports/sysdeps/unix/sysv/linux/aarch64.
18807         * README: Update listing for aarch64*-*-linux-gnu.
18809 2014-02-11  Will Newton  <will.newton@linaro.org>
18811         * manual/probes.texi (Mathematical Function Probes): Use
18812         "triggered" instead of "hit".
18814         * manual/probes.texi (Internal Probes): Add documentation
18815         of setjmp, longjmp and longjmp_target probes.
18817         * include/stap-probe.h: Add comment about probe argument
18818         format.
18820         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18821         definition.  (tr_where, tr_freehook, tr_mallochook,
18822         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18824 2014-02-11  David S. Miller  <davem@davemloft.net>
18826         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18827         processing int_tests.
18829 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18831         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18832         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18833         * sysdeps/unix/sysv/linux/mips: Move directory from
18834         ports/sysdeps/unix/sysv/linux/mips.
18835         * README: Update listing for mips-*-linux-gnu and
18836         mips64-*-linux-gnu.
18838 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18840         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18841         * sysdeps/unix/sysv/linux/m68k: Move directory from
18842         ports/sysdeps/unix/sysv/linux/m68k.
18843         * README: Update listing for m68k-*-linux-gnu.
18845 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18847         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18848         * sysdeps/unix/sysv/linux/generic: Move directory from
18849         ports/sysdeps/unix/sysv/linux/generic.
18850         * sysdeps/unix/sysv/linux/tile: Move directory from
18851         ports/sysdeps/unix/sysv/linux/tile.
18852         * README: Update listing for tile*-*-linux-gnu.
18854 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18856         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18857         __builtin_expect.
18858         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18859         * catgets/open_catalog.c (__open_catalog): Likewise.
18860         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18861         * debug/confstr_chk.c: Likewise.
18862         * debug/fread_chk.c (__fread_chk): Likewise.
18863         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18864         * debug/getgroups_chk.c: Likewise.
18865         * debug/mbsnrtowcs_chk.c: Likewise.
18866         * debug/mbsrtowcs_chk.c: Likewise.
18867         * debug/mbstowcs_chk.c: Likewise.
18868         * debug/memcpy_chk.c: Likewise.
18869         * debug/memmove_chk.c: Likewise.
18870         * debug/mempcpy_chk.c: Likewise.
18871         * debug/memset_chk.c: Likewise.
18872         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18873         * debug/strcat_chk.c (__strcat_chk): Likewise.
18874         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18875         * debug/strncat_chk.c (__strncat_chk): Likewise.
18876         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18877         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18878         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18879         * debug/wcpncpy_chk.c: Likewise.
18880         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18881         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18882         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18883         * debug/wcsncpy_chk.c: Likewise.
18884         * debug/wcsnrtombs_chk.c: Likewise.
18885         * debug/wcsrtombs_chk.c: Likewise.
18886         * debug/wcstombs_chk.c: Likewise.
18887         * debug/wmemcpy_chk.c: Likewise.
18888         * debug/wmemmove_chk.c: Likewise.
18889         * debug/wmempcpy_chk.c: Likewise.
18890         * debug/wmemset_chk.c: Likewise.
18891         * dirent/scandirat.c (SCANDIRAT): Likewise.
18892         * dlfcn/dladdr1.c (dladdr1): Likewise.
18893         * dlfcn/dladdr.c (dladdr): Likewise.
18894         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18895         * dlfcn/dlerror.c (__dlerror): Likewise.
18896         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18897         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18898         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18899         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18900         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18901         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18902         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18903         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18904         Likewise.
18905         * elf/dl-conflict.c: Likewise.
18906         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18907         * elf/dl-dst.h: Likewise.
18908         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18909         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18910         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18911         * elf/dl-init.c (call_init, _dl_init): Likewise.
18912         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18913         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18914         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18915         Likewise.
18916         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18917         Likewise.
18918         * elf/dl-minimal.c (__libc_memalign): Likewise.
18919         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18920         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18921         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18922         * elf/dl-sym.c (do_sym): Likewise.
18923         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18924         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18925         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18926         * elf/dl-writev.h (_dl_writev): Likewise.
18927         * elf/ldconfig.c (search_dir): Likewise.
18928         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18929         (dl_main): Likewise.
18930         * elf/setup-vdso.h (setup_vdso): Likewise.
18931         * grp/compat-initgroups.c (compat_call): Likewise.
18932         * grp/fgetgrent.c (fgetgrent): Likewise.
18933         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18934         * grp/putgrent.c (putgrent): Likewise.
18935         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18936         Likewise.
18937         * hurd/hurdinit.c: Likewise.
18938         * iconvdata/8bit-gap.c (struct): Likewise.
18939         * iconvdata/ansi_x3.110.c : Likewise.
18940         * iconvdata/big5.c : Likewise.
18941         * iconvdata/big5hkscs.c : Likewise.
18942         * iconvdata/cp1255.c: Likewise.
18943         * iconvdata/cp1258.c : Likewise.
18944         * iconvdata/cp932.c : Likewise.
18945         * iconvdata/euc-cn.c: Likewise.
18946         * iconvdata/euc-jisx0213.c : Likewise.
18947         * iconvdata/euc-jp.c: Likewise.
18948         * iconvdata/euc-jp-ms.c : Likewise.
18949         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18950         * iconvdata/gb18030.c : Likewise.
18951         * iconvdata/gbbig5.c (const): Likewise.
18952         * iconvdata/gbgbk.c: Likewise.
18953         * iconvdata/gbk.c : Likewise.
18954         * iconvdata/ibm1364.c : Likewise.
18955         * iconvdata/ibm930.c : Likewise.
18956         * iconvdata/ibm932.c: Likewise.
18957         * iconvdata/ibm933.c : Likewise.
18958         * iconvdata/ibm935.c : Likewise.
18959         * iconvdata/ibm937.c : Likewise.
18960         * iconvdata/ibm939.c : Likewise.
18961         * iconvdata/ibm943.c: Likewise.
18962         * iconvdata/iso_11548-1.c: Likewise.
18963         * iconvdata/iso-2022-cn.c : Likewise.
18964         * iconvdata/iso-2022-cn-ext.c : Likewise.
18965         * iconvdata/iso-2022-jp-3.c: Likewise.
18966         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18967         * iconvdata/iso-2022-kr.c : Likewise.
18968         * iconvdata/iso646.c (gconv_end): Likewise.
18969         * iconvdata/iso_6937-2.c : Likewise.
18970         * iconvdata/iso_6937.c : Likewise.
18971         * iconvdata/iso8859-1.c: Likewise.
18972         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18973         * iconvdata/shift_jisx0213.c : Likewise.
18974         * iconvdata/sjis.c : Likewise.
18975         * iconvdata/t.61.c : Likewise.
18976         * iconvdata/tcvn5712-1.c : Likewise.
18977         * iconvdata/tscii.c: Likewise.
18978         * iconvdata/uhc.c : Likewise.
18979         * iconvdata/unicode.c (gconv_end): Likewise.
18980         * iconvdata/utf-16.c (gconv_end): Likewise.
18981         * iconvdata/utf-32.c (gconv_end): Likewise.
18982         * iconvdata/utf-7.c (base64): Likewise.
18983         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18984         * iconv/gconv_close.c (__gconv_close): Likewise.
18985         * iconv/gconv_open.c (__gconv_open): Likewise.
18986         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18987         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18988         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18989         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18990         (ucs4le_internal_loop_single): Likewise.
18991         * iconv/iconv.c (iconv): Likewise.
18992         * iconv/iconv_close.c: Likewise.
18993         * iconv/loop.c (SINGLE): Likewise.
18994         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18995         * include/atomic.h: Likewise.
18996         * inet/inet6_option.c (option_alloc): Likewise.
18997         * intl/bindtextdom.c (set_binding_values): Likewise.
18998         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18999         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19000         * intl/localealias.c (read_alias_file): Likewise.
19001         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19002         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19003         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
19004         * libio/fmemopen.c (fmemopen): Likewise.
19005         * libio/iofgets.c (_IO_fgets): Likewise.
19006         * libio/iofgets_u.c (fgets_unlocked): Likewise.
19007         * libio/iofgetws.c (fgetws): Likewise.
19008         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19009         * libio/iogetdelim.c (_IO_getdelim): Likewise.
19010         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19011         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
19012         * locale/findlocale.c (_nl_find_locale): Likewise.
19013         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19014         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19015         Likewise.
19016         * locale/setlocale.c (setlocale): Likewise.
19017         * login/programs/pt_chown.c (main): Likewise.
19018         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19019         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
19020         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19021         (mmap, mmap64, mremap, munmap): Likewise.
19022         * math/e_exp2l.c: Likewise.
19023         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19024         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19025         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19026         * math/s_catan.c (__catan): Likewise.
19027         * math/s_catanf.c (__catanf): Likewise.
19028         * math/s_catanh.c (__catanh): Likewise.
19029         * math/s_catanhf.c (__catanhf): Likewise.
19030         * math/s_catanhl.c (__catanhl): Likewise.
19031         * math/s_catanl.c (__catanl): Likewise.
19032         * math/s_ccosh.c (__ccosh): Likewise.
19033         * math/s_ccoshf.c (__ccoshf): Likewise.
19034         * math/s_ccoshl.c (__ccoshl): Likewise.
19035         * math/s_cexp.c (__cexp): Likewise.
19036         * math/s_cexpf.c (__cexpf): Likewise.
19037         * math/s_cexpl.c (__cexpl): Likewise.
19038         * math/s_clog10.c (__clog10): Likewise.
19039         * math/s_clog10f.c (__clog10f): Likewise.
19040         * math/s_clog10l.c (__clog10l): Likewise.
19041         * math/s_clog.c (__clog): Likewise.
19042         * math/s_clogf.c (__clogf): Likewise.
19043         * math/s_clogl.c (__clogl): Likewise.
19044         * math/s_csin.c (__csin): Likewise.
19045         * math/s_csinf.c (__csinf): Likewise.
19046         * math/s_csinh.c (__csinh): Likewise.
19047         * math/s_csinhf.c (__csinhf): Likewise.
19048         * math/s_csinhl.c (__csinhl): Likewise.
19049         * math/s_csinl.c (__csinl): Likewise.
19050         * math/s_csqrt.c (__csqrt): Likewise.
19051         * math/s_csqrtf.c (__csqrtf): Likewise.
19052         * math/s_csqrtl.c (__csqrtl): Likewise.
19053         * math/s_ctan.c (__ctan): Likewise.
19054         * math/s_ctanf.c (__ctanf): Likewise.
19055         * math/s_ctanh.c (__ctanh): Likewise.
19056         * math/s_ctanhf.c (__ctanhf): Likewise.
19057         * math/s_ctanhl.c (__ctanhl): Likewise.
19058         * math/s_ctanl.c (__ctanl): Likewise.
19059         * math/w_pow.c: Likewise.
19060         * math/w_powf.c: Likewise.
19061         * math/w_powl.c: Likewise.
19062         * math/w_scalb.c (sysv_scalb): Likewise.
19063         * math/w_scalbf.c (sysv_scalbf): Likewise.
19064         * math/w_scalbl.c (sysv_scalbl): Likewise.
19065         * misc/error.c (error_tail): Likewise.
19066         * misc/pselect.c (__pselect): Likewise.
19067         * nis/nis_callback.c (__nis_create_callback): Likewise.
19068         * nis/nis_call.c (__nisfind_server): Likewise.
19069         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19070         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19071         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19072         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19073         * nis/nis_lookup.c (nis_lookup): Likewise.
19074         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19075         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19076         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19077         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19078         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19079         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19080         * nis/nss_compat/compat-initgroups.c (add_group)
19081         (internal_getgrent_r): Likewise.
19082         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19083         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19084         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19085         (internal_getspnam_r): Likewise.
19086         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19087         (_nss_nis_getaliasbyname_r): Likewise.
19088         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19089         (_nss_nis_getntohost_r): Likewise.
19090         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19091         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19092         (_nss_nis_getgrgid_r): Likewise.
19093         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19094         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19095         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19096         (_nss_nis_gethostbyname4_r): Likewise.
19097         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19098         (initgroups_netid): Likewise.
19099         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19100         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19101         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19102         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19103         (_nss_nis_getprotobynumber_r): Likewise.
19104         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19105         (_nss_nis_getsecretkey): Likewise.
19106         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19107         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19108         (_nss_nis_getpwuid_r): Likewise.
19109         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19110         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19111         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19112         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19113         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19114         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19115         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19116         Likewise.
19117         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19118         (_nss_nisplus_getntohost_r): Likewise.
19119         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19120         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19121         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19122         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19123         Likewise.
19124         * nis/nss_nisplus/nisplus-initgroups.c
19125         (_nss_nisplus_initgroups_dyn): Likewise.
19126         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19127         (_nss_nisplus_getnetbyaddr_r): Likewise.
19128         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19129         (_nss_nisplus_getprotobynumber_r): Likewise.
19130         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19131         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19132         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19133         Likewise.
19134         * nis/nss_nisplus/nisplus-service.c
19135         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19136         (_nss_nisplus_getservbyport_r): Likewise.
19137         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19138         (_nss_nisplus_getspnam_r): Likewise.
19139         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19140         Likewise.
19141         * nscd/aicache.c (addhstaiX): Likewise.
19142         * nscd/cache.c (cache_search, prune_cache): Likewise.
19143         * nscd/connections.c (register_traced_file, send_ro_fd)
19144         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19145         (main_loop_epoll): Likewise.
19146         * nscd/grpcache.c (addgrbyX): Likewise.
19147         * nscd/hstcache.c (addhstbyX): Likewise.
19148         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19149         * nscd/mem.c (gc, mempool_alloc): Likewise.
19150         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19151         (addinnetgrX): Likewise.
19152         * nscd/nscd-client.h (__nscd_acquire_maplock)
19153         (__nscd_drop_map_ref): Likewise.
19154         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19155         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19156         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19157         Likewise.
19158         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19159         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19160         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19161         (__nscd_get_map_ref): Likewise.
19162         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19163         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19164         Likewise.
19165         * nscd/pwdcache.c (addpwbyX): Likewise.
19166         * nscd/selinux.c (preserve_capabilities): Likewise.
19167         * nscd/servicescache.c (addservbyX): Likewise.
19168         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19169         * posix/fnmatch.c (fnmatch): Likewise.
19170         * posix/getopt.c (_getopt_internal_r): Likewise.
19171         * posix/glob.c (glob, glob_in_dir): Likewise.
19172         * posix/wordexp.c (exec_comm_child): Likewise.
19173         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19174         (getanswer_r, gaih_getanswer_slice): Likewise.
19175         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19176         * resolv/res_init.c: Likewise.
19177         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19178         * resolv/res_query.c (__libc_res_nquery): Likewise.
19179         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19180         Likewise.
19181         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19182         * stdio-common/perror.c (perror): Likewise.
19183         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19184         * stdio-common/tmpnam.c (tmpnam): Likewise.
19185         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19186         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19187         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19188         Likewise.
19189         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19190         * stdlib/putenv.c (putenv): Likewise.
19191         * stdlib/setenv.c (__add_to_environ): Likewise.
19192         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19193         * stdlib/strtol_l.c (INTERNAL): Likewise.
19194         * string/memmem.c (memmem): Likewise.
19195         * string/strerror.c (strerror): Likewise.
19196         * string/strnlen.c (__strnlen): Likewise.
19197         * string/test-memmem.c (simple_memmem): Likewise.
19198         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19199         * sunrpc/pm_getport.c (__get_socket): Likewise.
19200         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19201         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19202         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19203         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19204         Likewise.
19205         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19206         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19207         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19208         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19209         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19210         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19211         Likewise.
19212         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19213         Likewise.
19214         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19215         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19216         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19217         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19218         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19219         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19220         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19221         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19222         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19223         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19224         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19225         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19226         Likewise.
19227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19228         Likewise.
19229         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19230         Likewise.
19231         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19232         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19233         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19234         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19235         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19236         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19237         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19238         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19239         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19240         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19241         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19243         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19244         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19246         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19247         Likewise.
19248         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19249         Likewise.
19250         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19251         Likewise.
19252         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19253         Likewise.
19254         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19255         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19256         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19257         Likewise.
19258         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19259         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19260         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19261         * sysdeps/posix/sleep.c: Likewise.
19262         * sysdeps/posix/tempname.c: Likewise.
19263         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19264         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19265         Likewise.
19266         * sysdeps/powerpc/powerpc32/dl-machine.h
19267         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19268         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19269         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19270         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19271         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19272         Likewise.
19273         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19274         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19275         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19276         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19277         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19278         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19279         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19280         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19281         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19282         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19283         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19284         (elf_machine_lazy_rel): Likewise.
19285         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19286         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19287         (elf_machine_lazy_rel): Likewise.
19288         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19289         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19290         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19291         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19292         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19293         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19294         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19295         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19296         Likewise.
19297         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19298         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19299         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19300         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19301         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19302         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19303         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19304         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19305         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19306         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19307         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19308         Likewise.
19309         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19310         (__posix_fallocate64_l64): Likewise.
19311         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19312         (posix_fallocate): Likewise.
19313         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19314         Likewise.
19315         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19316         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19317         (getifaddrs_internal): Likewise.
19318         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19319         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19320         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19321         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19322         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19323         (__posix_fallocate64_l64): Likewise.
19324         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19325         Likewise.
19326         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19327         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19328         (__get_clockfreq): Likewise.
19329         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19330         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19331         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19332         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19333         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19334         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19335         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19336         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19337         Likewise.
19338         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19339         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19340         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19341         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19342         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19343         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19344         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19345         Likewise.
19346         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19347         (posix_fallocate): Likewise.
19348         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19349         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19350         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19351         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19352         (elf_machine_rela, elf_machine_rela_relative)
19353         (elf_machine_lazy_rel): Likewise.
19354         * time/asctime.c (asctime_internal): Likewise.
19355         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19356         * time/tzset.c (__tzset_parse_tz): Likewise.
19357         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19358         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19359         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19360         * wcsmbs/wcsmbsload.h: Likewise.
19362         [BZ #15894]
19363         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19365         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19366         (arena_get2): Remove THREAD_STATS conditionals.
19367         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19368         (__malloc_stats, int): Likewise.
19370 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19372         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19373         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19375         * manual/setjmp.texi: Fix typos/grammar errors.
19377         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19378         Only return early when n is <= 0.  Delete unused return statement.
19380         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19381         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19382         * debug/tst-longjmp_chk3.c: New file.
19384         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19385         (test_main): Replace code with set_fortify_handler call.
19386         * debug/test-strcpy_chk.c: Likewise.
19387         * debug/tst-chk1.c: Likewise.
19388         * debug/tst-longjmp_chk.c: Likewise.
19389         * test-skeleton.c: Include fcntl.h & paths.h
19390         (set_fortify_handler): Define.
19392         * debug/tst-longjmp_chk.c: Add header comment and include
19393         ../test-skeleton.c.
19394         (do_test): Mark static.
19395         (TEST_FUNCTION): Define.
19397         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19398         (IP_PMTUDISC_INTERFACE): Likewise.
19399         (IP_MULTICAST_IF): Likewise.
19400         (IP_MULTICAST_TTL): Likewise.
19401         (IP_MULTICAST_LOOP): Likewise.
19402         (IP_ADD_MEMBERSHIP): Likewise.
19403         (IP_DROP_MEMBERSHIP): Likewise.
19404         (IP_UNBLOCK_SOURCE): Likewise.
19405         (IP_BLOCK_SOURCE): Likewise.
19406         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19407         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19408         (IP_MSFILTER): Likewise.
19409         (MCAST_JOIN_GROUP): Likewise.
19410         (MCAST_BLOCK_SOURCE): Likewise.
19411         (MCAST_UNBLOCK_SOURCE): Likewise.
19412         (MCAST_LEAVE_GROUP): Likewise.
19413         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19414         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19415         (MCAST_MSFILTER): Likewise.
19416         (IP_MULTICAST_ALL): Likewise.
19417         (IP_UNICAST_IF): Likewise.
19419         * timezone/Makefile: Delete $(have-ksh) check.
19420         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19421         * timezone/tzselect.ksh: Add +x mode bits.
19423         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19424         (ANON_INODE_FS_MAGIC): Likewise.
19425         (BDEVFS_MAGIC): Likewise.
19426         (BINFMTFS_MAGIC): Likewise.
19427         (BTRFS_TEST_MAGIC): Likewise.
19428         (CRAMFS_MAGIC_WEND): Likewise.
19429         (DEBUGFS_MAGIC): Likewise.
19430         (ECRYPTFS_SUPER_MAGIC): Likewise.
19431         (EXT3_SUPER_MAGIC): Likewise.
19432         (EXT4_SUPER_MAGIC): Likewise.
19433         (FUTEXFS_SUPER_MAGIC): Likewise.
19434         (HOSTFS_SUPER_MAGIC): Likewise.
19435         (HUGETLBFS_MAGIC): Likewise.
19436         (MINIX3_SUPER_MAGIC): Likewise.
19437         (MTD_INODE_FS_MAGIC): Likewise.
19438         (NILFS_SUPER_MAGIC): Likewise.
19439         (OPENPROM_SUPER_MAGIC): Likewise.
19440         (PIPEFS_MAGIC): Likewise.
19441         (PSTOREFS_MAGIC): Likewise.
19442         (QNX6_SUPER_MAGIC): Likewise.
19443         (RAMFS_MAGIC): Likewise.
19444         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19445         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19446         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19447         (SECURITYFS_MAGIC): Likewise.
19448         (SELINUX_MAGIC): Likewise.
19449         (SMACK_MAGIC): Likewise.
19450         (SOCKFS_MAGIC): Likewise.
19451         (SQUASHFS_MAGIC): Likewise.
19452         (STACK_END_MAGIC): Likewise.
19453         (TMPFS_MAGIC): Likewise.
19454         (USBDEVICE_SUPER_MAGIC): Likewise.
19455         (V9FS_MAGIC): Likewise.
19456         (XENFS_SUPER_MAGIC): Likewise.
19457         (CRAMFS_MAGIC): Fix typo in comment.
19458         (EXT2_SUPER_MAGIC): Update comment.
19459         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19461 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19463         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19464         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19465         * sysdeps/unix/sysv/linux/arm: Move directory from
19466         ports/sysdeps/unix/sysv/linux/arm.
19467         * README: Update listing for arm-*-linux-gnueabi.
19469         * README: Remove mention of am33.
19471 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19473         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19474         than the comma operator, to avoid "rhs of comma has no effect"
19475         compiler warnings.
19476         (__sigfillset, __sigandset, __sigorset): Likewise.
19477         * include/signal.h (__sigemptyset): Likewise.
19478         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19480 2014-02-07  Allan McRae  <allan@archlinux.org>
19482         * version.h (RELEASE): Set to "development".
19483         (VERSION): Set to "2.19.90"
19484         * NEWS: Add 2.20 section.
19486 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19488         [BZ #16529]
19489         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19491 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19493         * manual/contrib.texi: Update entry for Carlos O'Donell,
19494         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19496 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19498         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19500         * sysdeps/unix/sysv/linux/kernel-features.h
19501         [__LINUX_KERNEL_VERSION >= 0x020621]
19502         (__ASSUME_PROC_PID_TASK_COMM): Define.
19504 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19506         [BZ #16398]
19507         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19508         conversion when destination buffer does not have enough space.
19509         * libio/tst-ftell-partial-wide.c: New test case.
19510         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19512         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19513         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19514         Leonard and Allan McRae.
19516 2014-02-04  David S. Miller  <davem@davemloft.net>
19518         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19519         32-bit.
19521 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19524         New file
19525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19526         New file
19527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19528         New file.
19529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19530         New file.
19531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19532         New file.
19533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19534         New file.
19535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19536         New file.
19537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19538         New file.
19539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19540         New file.
19541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19542         New file.
19543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19544         New file.
19545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19546         New file.
19547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19548         New file.
19550 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19552         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19553         * shlib-versions: Likewise.
19555 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19556             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19558         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19559         (abilist-pattern): New variable, set to %-le.abilist.
19561         * Makerules (abilist-pattern): New variable.
19562         (vpath): Use $(abilist-pattern) in place of %.abilist.
19563         (check-abi-% pattern rule): Likewise.
19564         (check-abi, update-abi): Likewise.
19566 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19568         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19570 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19572         * manual/startup.texi: Add next, previous, and top entries for
19573         the `Program Arguments' and `Environment Variables' nodes.
19575 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19577         * manual/macros.texi: Add comments before MTASC-safety macros.
19579         * manual/users.texi: Document MTASC-safety properties.
19581         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19582         (pthread_getspecific, pthread_setspecific): Format with
19583         @deftypefun, and add @safety note.
19584         * manual/signal.texi: Move comments that analyze the above
19585         functions to their home place.
19587 2014-02-03  Allan McRae  <allan@archlinux.org>
19589         * po/sl.po: Update Slovenian translation from translation project.
19591 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19593         * manual/time.texi (timegm): Add missing blank after @c.
19594         Reported by Joseph Myers <joseph@codesourcery.com>.
19596 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19598         * manual/check-safety.sh: New.
19599         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19601         * manual/terminal.texi: Document MTASC-safety properties.
19603         * manual/filesys.texi: Document MTASC-safety properties.
19605         * manual/errno.texi: Document MTASC-safety properties.
19607         * manual/intro.texi: Document safety identifiers and
19608         conditionals.
19610         * manual/string.texi (wcstok): Fix prototype.
19611         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19613         * manual/time.texi: Document MTASC-safety properties.
19615         * manual/string.texi: Document MTASC-safety properties.
19617         * manual/threads.texi: Document MTASC-safety properties.
19619         * manual/stdio.texi: Document MTASC-safety properties.
19621         * manual/syslog.texi: Document MTASC-safety properties.
19623         * manual/sysinfo.texi: Document MTASC-safety properties.
19625         * manual/startup.texi: Document MTASC-safety properties.
19627         * manual/socket.texi: Document MTASC-safety properties.
19629         * manual/signal.texi: Document MTASC-safety properties.
19631 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19633         * manual/setjmp.texi: Document MTASC-safety properties.
19635         * manual/search.texi: Document MTASC-safety properties.
19637         * manual/resource.texi: Document MTASC-safety properties.
19639         * manual/process.texi: Document MTASC-safety properties.
19641         * manual/platform.texi: Document MTASC-safety properties.
19643         * manual/pipe.texi: Document MTASC-safety properties.
19645         * manual/pattern.texi: Document MTASC-safety properties.
19647         * manual/message.texi: Document MTASC-safety properties.
19649         [BZ #12751]
19650         * manual/memory.texi: Document MTASC-safety properties.
19652         * manual/math.texi: Document MTASC-safety properties.
19654         * manual/locale.texi: Document MTASC-safety properties.
19656         * manual/llio.texi: Document MTASC-safety properties.
19658         * manual/libdl.texi: New.
19660         * manual/lang.texi: Document MTASC-safety properties.
19662         * manual/job.texi: Document MTASC-safety properties.
19664         * manual/getopt.texi: Document MTASC-safety properties.
19666         * manual/ctype.texi: Document MTASC-safety properties.
19668 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19670         [BZ #16046]
19671         * csu/libc-tls.c (static_map): Remove variable.
19672         (__libc_setup_tls): Use main executable's link map for TLS data.
19673         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19674         casing for LM_ID_BASE and GL(dl_nns).
19675         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19676         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19677         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19678         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19679         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19680         member.
19681         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19682         l_phnum members.
19684 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19686         * manual/debug.texi: Document MTASC-safety properties.
19688 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19690         [BZ #16510]
19691         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19692         of __x86_64__ when disabling x87 inline functions.
19694 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19696         * manual/charset.texi: Document MTASC-safety properties.
19698         * manual/crypt.texi: Document MTASC-safety properties.
19700         * manual/conf.texi: Document MTASC-safety properties.
19702         * manual/arith.texi: Document MTASC-safety properties.
19704         * manual/argp.texi: Document MTASC-safety properties.
19706         * manual/macros.texi: Introduce macros to document multi
19707         thread, asynchronous signal and asynchronous cancellation
19708         safety properties.
19709         * manual/intro.texi: Introduce the properties themselves.
19711 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19713         * sysdeps/sh/sh4/Makefile: New file.
19715 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19717         * math/gen-libm-test.pl ($srcdir): New variable.
19718         ($auto_input): Use it.
19720 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19722         [BZ #16506]
19723         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19724         access beyond array bounds when parsing netgroups file.
19726         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19727         the old buffer before realloc.
19729 2014-01-27  Allan McRae  <allan@archlinux.org>
19731         * po/fr.po: Update French translation from translation project.
19733 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19735         * sysdeps/sh/libm-test-ulps: Regenerate.
19737 2014-01-24  David S. Miller  <davem@davemloft.net>
19739         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19741 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19743         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19744         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19746 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19748         [BZ #16474]
19749         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19750         string pointers after reallocation.
19752 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19754         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19755         __SH4A__ instead of __SH_FPU_ANY__.
19757 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19759         * sysdeps/sh/fpu_control.h: New file.
19760         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19761         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19762         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19763         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19764         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19765         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19766         * sysdeps/sh/sys/ucontext.h: Remove.
19767         * sysdeps/sh/sys: Remove directory.
19769 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19771         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19772         s390/sys/ucontext.h.
19773         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19774         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19776 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19778         [BZ #15605]
19779         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19781 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19783         [BZ#16431]
19784         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19785         Adjust the vDSO correctly for internal calls.
19786         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19788 2014-01-20  Allan McRae  <allan@archlinux.org>
19790         * po/ca.po: Update Catalan translation from translation project.
19792 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19794         * sysdeps/s390/sotruss-lib.c: New file.
19796 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19798         [BZ#16430]
19799         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19800         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19801         local calls issues by not having a PLT stub required for IFUNC calls.
19802         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19804 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19806         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19807         * math/test-fpucw-static.c: Likewise.
19809 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19811         [BZ #16453]
19812         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19814 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19816         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19817         implementation for powerpc.
19819 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19821         [BZ #14782]
19822         * sysdeps/posix/system.c (__libc_system): Do not enable
19823         asynchronous cancellation.
19825 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19827         [BZ #16427]
19828         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19829         handling only for numbers special also in the IEEE case.
19831 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19833         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19835 2014-01-11  Allan McRae  <allan@archlinux.org>
19837         * po/bg.po: Update Bulgarian translation from translation project.
19839         * po/de.po: Update German translation from translation project.
19841 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19843         * sysdeps/generic/gcc-compat.h: New file.
19845 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19847         * benchtests/asin-inputs: Correct slow inputs.
19848         * benchtests/acos-inputs: Likewise.
19850 2014-01-10  Allan McRae  <allan@archlinux.org>
19852         * po:sv.po: Update Swedish translation from translation project.
19854         * po/vi.po: Update Vietnamese translation from translation project.
19856         * po/eo.po: Update Esperanto translation from translation project.
19858         * po/cs.po: Update Czech translation from translation project.
19860         * po/nl.po: Update Dutch translation from translation project.
19862         * po/pl.po: Update Polish translation from translation project.
19864         * po/ru.po: Update Russian translation from translation project.
19866         * po/uk.po: Update Ukrainian translation from translation project.
19868 2014-01-08  Brooks Moses  <bmoses@google.com>
19870         * elf/dl-load.c: Fix comment typo.
19872 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19874         * po/header.pot: Rename to...
19875         * po/pot.header: ... this.
19876         * po/Makefile: Use pot.header.
19878 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19879             Maxim Kuvyrkov  <maxim@kugelworks.com>
19881         [BZ #16394]
19882         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19883         SRC and DEST against LEN.
19885 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19887         [BZ #16414]
19888         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19889         implementation.
19890         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19892 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19896 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19898         [BZ #16408]
19899         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19900         for large positive arguments.
19902 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19904         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19906         * math/auto-libm-test-in: Mark various tests with
19907         xfail-rounding:ldbl-128ibm.
19908         * math/auto-libm-test-out: Regenerated.
19910         [BZ #16407]
19911         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19912         Increase overflow threshold.
19914 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19916         [BZ #14286]
19917         * stdio-common/vfprintf.c: Check for integer overflow.
19919 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19921         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19922         the first argument and return value of __tls_get_addr_internal.
19924 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19926         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19927         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19929 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19931         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19932         * sysdeps/s390/rtld-global-offsets.sym: New file.
19933         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19934         GLIBC_2.19 symbol.
19935         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19936         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19937         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19938         ... this.
19939         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19940         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19941         ... this.
19942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19943         Regenerate.
19944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19945         Regenerate.
19946         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19947         halfs of GPRs for high_gprs contexts.
19948         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19949         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19950         field.
19951         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19952         uc_flags field.
19953         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19954         64 bit versions:
19955         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19956         for high GPRs (uc_high_gprs) and for future extensions
19957         (__reserved).
19958         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19959         for future extensions (__reserved).
19960         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19961         64 bit versions:
19962         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19963         SC_HIGHGPRS offset definition.
19964         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19965         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19967         * Versions.def: Add GLIBC_2.19 for libpthread.
19968         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19969         siglongjmp for libpthread with GLIBC_2.19 symver.
19970         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19971         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19972         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19973         * sysdeps/s390/__longjmp.c: New file.
19974         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19975         * sysdeps/s390/longjmp.c: New file.
19976         * sysdeps/s390/setjmp.S: New file.
19977         * sysdeps/s390/sigjmp.S: New file.
19978         * sysdeps/s390/v1-longjmp.c: New file.
19979         * sysdeps/s390/v1-setjmp.h: New file.
19980         * sysdeps/s390/v1-sigjmp.c: New file.
19981         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19982         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19983         GLIBC_2.19 version.
19984         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19985         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19986         versioned symbols for ____longjmp_chk.
19987         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19988         Likewise.
19989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19990         Regenerate.
19991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19992         Regenerate.
19993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19994         Regenerate.
19995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19996         Regenerate.
19997         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19998         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19999         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20000         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20001         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20002         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20003         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20004         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20005         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20006         * sysdeps/s390/rtld-__longjmp.c: New file.
20007         * sysdeps/s390/rtld-setjmp.S: New file.
20009 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
20011         [BZ #16400]
20012         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20013         Return -__logl (x) for small positive arguments without evaluating
20014         a polynomial.
20016 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
20018         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20019         Rename to ...
20020         (__ptrace_peeksiginfo_args): ... this.
20021         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20023         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20025 2014-01-06  Allan McRae  <allan@archlinux.org>
20027         * inet/netinet/in.h: Fix typo in comment.
20029 2014-01-05  Andreas Jaeger  <aj@suse.de>
20031         * sysdeps/i386/fpu/libm-test-ulps: Update.
20033 2014-01-05  Allan McRae  <allan@archlinux.org>
20035         * po/libc.pot: Regenerated.
20037         * malloc/memusagestat.c: Fix gettext call formatting.
20039 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
20041         * nscd/nscd.c: Improve usage() output.
20043 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20045         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20046         * sysdeps/unix/sysv/linux/configure: Regenerated.
20047         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20048         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20050 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20052         [BZ #16390]
20053         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20054         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20056 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20058         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20059         extra tokens at end of #undef directive.
20060         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20061         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20062         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20064 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20066         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20068         * math/auto-libm-test-in: Mark various tests with
20069         xfail-rounding:ldbl-128ibm.
20070         * math/auto-libm-test-out: Regenerated.
20072 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20074         [BZ #16386]
20075         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20076         numbers with subnormal high part when calculating exponent.
20078         [BZ #16385]
20079         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20080         fabs.
20082         [BZ #16384]
20083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20084         M_LN2l.
20085         (__ieee754_acoshl): Use __log1pl not __log1p.
20087 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20089         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20090         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20091         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20092         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20093         (reused_arena, arena_get2): Convert to GNU style.
20094         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20095         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20096         (memalign_check, __malloc_set_state): Likewise.
20097         * malloc/mallocbug.c (main): Likewise.
20098         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20099         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20100         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20101         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20102         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20103         (__posix_memalign, malloc_info): Likewise.
20104         * malloc/malloc.h: Likewise.
20105         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20106         (mallochook, memalignhook, reallochook, mabort): Likewise.
20107         * malloc/mcheck.h: Likewise.
20108         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20109         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20110         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20111         * malloc/morecore.c (__default_morecore): Likewise.
20112         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20113         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20114         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20115         (print_and_abort): Likewise.
20116         * malloc/obstack.h: Likewise.
20117         * malloc/set-freeres.c (__libc_freeres): Likewise.
20118         * malloc/tst-mallocstate.c (main): Likewise.
20119         * malloc/tst-mtrace.c (main): Likewise.
20120         * malloc/tst-realloc.c (do_test): Likewise.
20122 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20124         [BZ #16366]
20125         * nscd/netgroupcache.c (do_notfound): New function.
20126         (addgetnetgrentX): Use it.
20128         [BZ # 16365]
20129         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20130         NSS_STATUS_NOTFOUND.
20132 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20134         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20137 2014-01-01  Allan McRae  <allan@archlinux.org>
20139         * scripts/update-copyrights: Update configure input file suffix.
20141         * NEWS: Update copyright year.
20142         * catgets/gencat.c: Likewise.
20143         * csu/version.c: Likewise.
20144         * debug/catchsegv.sh: Likewise.
20145         * debug/pcprofiledump.c: Likewise.
20146         * debug/xtrace.sh: Likewise.
20147         * elf/ldconfig.c: Likewise.
20148         * elf/ldd.bash.in: Likewise.
20149         * elf/pldd.c: Likewise.
20150         * elf/sotruss.ksh: Likewise.
20151         * elf/sprof.c: Likewise.
20152         * iconv/iconv_prog.c: Likewise.
20153         * iconv/iconvconfig.c: Likewise.
20154         * locale/programs/locale.c: Likewise.
20155         * locale/programs/localedef.c: Likewise.
20156         * login/programs/pt_chown.c: Likewise.
20157         * malloc/memusage.sh: Likewise.
20158         * malloc/memusagestat.c: Likewise.
20159         * malloc/mtrace.pl: Likewise.
20160         * manual/libc.texinfo: Likewise.
20161         * nscd/nscd.c: Likewise.
20162         * nss/getent.c: Likewise.
20163         * nss/makedb.c: Likewise.
20164         * posix/getconf.c: Likewise.
20165         * scripts/test-installation.pl: Likewise.
20167         * All files with FSF copyright notices: Update copyright dates
20168         using scripts/update-copyrights.
20169         * intl/plural.c: Regenerated.
20170         * locale/programs/charmap-kw.h: Likewise.
20171         * locale/programs/locfile-kw.h: Likewise.
20173 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20175         * sysdeps/unix/sysv/linux/configure: Regenerated.
20176         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20177         the linux/fanotify.h header.
20178         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20179         HAVE_LINUX_FANOTIFY_H is defined.
20181 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20183         * benchtests/cos-inputs: New inputs.
20184         * benchtests/sin-inputs: Likewise.
20186         * benchtests/atan-inputs: New inputs. Fix name of multiple
20187         precision fallback inputs.
20189         * benchtests/atanh-inputs: New inputs.
20190         * benchtests/tanh-inputs: Likewise.
20192         * benchtests/acosh-inputs: New inputs.
20193         * benchtests/asinh-inputs: Likewise.
20195         * benchtests/cosh-inputs: New inputs.
20196         * benchtests/sinh-inputs: Likewise.
20198         * benchtests/acos-inputs: Add more inputs.
20199         * benchtests/asin-inputs: Likewise.
20201 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20203         [BZ #16375]
20204         * manual/arith.texi: Fix spelling.
20205         * manual/charset.texi: Likewise.
20206         * manual/errno.texi: Likewise.
20207         * manual/filesys.texi: Likewise.
20208         * manual/lang.texi: Likewise.
20209         * manual/llio.texi: Likewise.
20210         * manual/locale.texi: Likewise.
20211         * manual/message.texi: Likewise.
20212         * manual/resource.texi: Likewise.
20213         * manual/search.texi: Likewise.
20214         * manual/setjmp.texi: Likewise.
20215         * manual/stdio.texi: Likewise.
20216         * manual/string.texi: Likewise.
20217         * manual/sysinfo.texi: Likewise.
20218         * manual/time.texi: Likewise.
20220 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20222         * po/sl.po: New file.
20224 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20226         * .gitignore: Add core/.gdbinit/.gdb_history.
20228 2013-12-27  Allan McRae  <allan@archlinux.org>
20230         [BZ #16369]
20231         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20232         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20234 2013-12-24  Brooks Moses  <bmoses@google.com>
20236         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20237         all compilers that claim C++98 compliance, not just GCC.
20238         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20239         Likewise.
20241 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20243         * NEWS: Restore accidentally deleted bug-fix entries.
20245 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20246             Ondřej Bílka  <neleai@seznam.cz>
20248         [BZ #15073]
20249         * malloc/malloc.c (_int_free): Perform sanity check only if we
20250         have_lock.
20252 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20254         [BZ #12986]
20255         * manual/stdio.texi (String Input Conversions): Clarify that character
20256         classes are not supported.
20258 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20262 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20264         [BZ #16337]
20265         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20266         Calculate results for small negative arguments directly rather
20267         than using reflection formula with special underflow handling.
20269         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20270         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20271         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20272         (fchflags): Likewise.
20273         (revoke): Likewise.
20274         (setlogin): Likewise.
20275         (sigaltstack): Likewise.
20276         (wait4): Likewise.
20277         (sigblock): Remove.
20278         (sigsetmask): Likewise.
20279         (wait3): Likewise.
20280         (waitpid): Likewise.
20281         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20282         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20283         file.
20284         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20285         * sysdeps/unix/bsd/Makefile: ... here.
20286         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20287         * sysdeps/unix/bsd/Versions: ... here.
20288         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20289         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20290         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20291         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20292         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20293         * sysdeps/unix/bsd/sigblock.c: ... here.
20294         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20295         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20296         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20297         * sysdeps/unix/bsd/sigvec.c: ... here.
20298         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20299         * sysdeps/unix/bsd/tcdrain.c: ... here.
20300         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20301         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20302         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20303         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20304         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20305         * sysdeps/unix/bsd/wait.c: ... here.
20306         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20307         * sysdeps/unix/bsd/wait3.c: ... here.
20308         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20309         * sysdeps/unix/bsd/waitpid.c: ... here.
20311 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20313         [BZ #16356]
20314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20315         round-to-nearest for [!USE_AS_EXPM1L].
20316         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20317         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20318         more tests of exp and exp10.  Expect some exp10 tests to miss
20319         exceptions or fail in directed rounding modes.
20320         * math/auto-libm-test-out: Regenerated.
20321         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20322         (exp10_test_tonearest): New function.
20323         (exp10_towardzero_test_data): New array.
20324         (exp10_test_towardzero): New function.
20325         (exp10_downward_test_data): New array.
20326         (exp10_test_downward): New function.
20327         (exp10_upward_test_data): New array.
20328         (exp10_test_upward): New function.
20329         (main): Call the new functions.
20330         * sysdeps/i386/fpu/libm-test-ulps: Update.
20331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20333 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20335         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20336         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20337         * math/auto-libm-test-out: Regenerated.
20338         * math/libm-test.inc (acosh_test_data): Add more tests.
20339         (atanh_test_data): Likewise.
20340         (ceil_test_data): Likewise.
20341         (copysign_test_data): Likewise.
20342         * sysdeps/i386/fpu/libm-test-ulps: Update.
20343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345         * timezone/checktab.awk: Update from tzcode 2013i.
20346         * timezone/private.h: Likewise.
20347         * timezone/scheck.c: Likewise.
20348         * timezone/tzfile.h: Likewise.
20349         * timezone/tzselect.ksh: Likewise.
20350         * timezone/zdump.c: Likewise.
20351         * timezone/zic.c: Likewise.
20353         * math/auto-libm-test-in: Add tests of cpow.
20354         * math/auto-libm-test-out: Regenerated.
20355         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20356         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20357         mpc_cc_c.
20358         (func_calc_desc): Add mpc_cc_c union field.
20359         (test_functions): Add cpow.
20360         (special_fill_2pi): New function.
20361         (special_real_inputs): Add 2pi.
20362         (calc_generic_results): Handle mpc_cc_c.
20363         * sysdeps/i386/fpu/libm-test-ulps: Update.
20364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20366         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20367         csqrt, ctan and ctanh.
20368         * math/auto-libm-test-out: Regenerated.
20369         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20370         (TEST_COND_x86): Likewise.
20371         (ccos_test_data): Use AUTO_TESTS_c_c.
20372         (ccosh_test_data): Likewise.
20373         (cexp_test_data): Likewise.
20374         (clog_test_data): Likewise.
20375         (csqrt_test_data): Likewise.
20376         (ctan_test_data): Likewise.
20377         (ctan_tonearest_test_data): Likewise.
20378         (ctan_towardzero_test_data): Likewise.
20379         (ctan_downward_test_data): Likewise.
20380         (ctan_upward_test_data): Likewise.
20381         (ctanh_test_data): Likewise.
20382         (ctanh_tonearest_test_data): Likewise.
20383         (ctanh_towardzero_test_data): Likewise.
20384         (ctanh_downward_test_data): Likewise.
20385         (ctanh_upward_test_data): Likewise.
20386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20387         mpc_c_c.
20388         (func_calc_desc): Add mpc_c_c union field.
20389         (FUNC_mpc_c_c): New macro.
20390         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20391         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20392         ctanh.
20393         (special_fill_min_subnorm_p120): New function.
20394         (special_real_inputs): Add min_subnorm_p120.
20395         (calc_generic_results): Handle mpc_c_c.
20396         * sysdeps/i386/fpu/libm-test-ulps: Update.
20397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20399 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20401         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20402         (do_sin_slow): New functions.
20403         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20404         (cslow2, csloww1, csloww2): Use the new functions.
20406         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20407         Use M to change sign of result instead of X.  Assume X is
20408         positive.
20409         (csloww1): Likewise.
20410         (__sin): Adjust.
20411         (__cos): Adjust.
20413         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20414         arguments A and DA.
20415         (__sin): Adjust.
20416         (__cos): Likewise.
20418         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20419         (__cos): Likewise.
20420         (sloww1): Don't adjust sign of DX.
20421         (csloww1): Likewise.
20422         (sloww2): Use X directly and don't adjust sign of DX.
20423         (csloww2): Likewise.
20425 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20427         * math/auto-libm-test-in: Add tests of cabs and carg.
20428         * math/auto-libm-test-out: Regenerated.
20429         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20430         (carg_test_data): Likewise.
20431         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20432         mpc_c_f.
20433         (func_calc_desc): Add mpc_c_f union field.
20434         (test_functions): Add cabs and carg.
20435         (calc_generic_results): Handle mpc_c_f.
20437         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20438         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20439         as a macro and a compat symbol.
20440         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20441         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20442         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20443         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20444         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20445         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20446         not use .hidden.
20447         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20448         Likewise.
20449         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20450         Likewise.
20451         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20452         Likewise.
20453         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20454         Likewise.
20455         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20456         Likewise.
20457         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20458         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20459         from GLIBC_2.3.2.
20461 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20465 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20467         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20468         trailing whitespace removed.
20469         * scripts/config.guess: Update to version 2013-11-29.
20470         * scripts/config.sub: Update to version 2013-10-01.
20472         * math/auto-libm-test-in: Add tests of sincos.
20473         * math/auto-libm-test-out: Regenerated.
20474         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20475         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20476         mpfr_f_11.
20477         (func_calc_desc): Add mpfr_f_11 union field.
20478         (test_functions): Add sincos.
20479         (calc_generic_results): Handle mpfr_f_11.
20480         * sysdeps/i386/fpu/libm-test-ulps: Update.
20481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20483 2013-12-19  Andreas Schwab  <schwab@suse.de>
20485         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20486         CALL_MCOUNT.
20487         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20488         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20489         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20491 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20493         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20494         * sysdeps/i386/fpu/libm-test-ulps: Update.
20495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20497         [BZ #16293]
20498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20499         round-to-nearest mode when using frndint.
20500         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20501         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20502         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20503         Likewise.
20504         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20505         sinh test to fail.
20506         * math/auto-libm-test-out: Regenerated.
20507         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20508         (TEST_COND_x86): Likewise.
20509         (expm1_tonearest_test_data): New array.
20510         (expm1_test_tonearest): New function.
20511         (expm1_towardzero_test_data): New array.
20512         (expm1_test_towardzero): New function.
20513         (expm1_downward_test_data): New array.
20514         (expm1_test_downward): New function.
20515         (expm1_upward_test_data): New array.
20516         (expm1_test_upward): New function.
20517         (main): Run the new test functions.
20518         * sysdeps/i386/fpu/libm-test-ulps: Update.
20519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20521         * include/features.h: Update comment documenting feature test
20522         macros.  Mention _DEFAULT_SOURCE in comment.
20523         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20524         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20525         _BSD_SOURCE and _SVID_SOURCE.
20526         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20527         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20528         !_SVID_SOURCE]: Likewise.
20529         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20530         (__USE_POSIX_IMPLICITLY): Define.
20531         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20532         (_POSIX_SOURCE): Undefine and redefine.
20533         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20534         (_POSIX_C_SOURCE): Likewise.
20535         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20536         (Feature Test Macros): Update documentation of default features.
20538 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20540         * benchtests/Makefile: Add bench-strtok.
20541         * benchtests/bench-strtok.c: New file: strtok benchtest.
20543 2013-12-19  Allan McRae  <allan@archlinux.org>
20545         * manual/install.texi: Suppress menu for plain text output.
20546         * INSTALL: Regenerated.
20548 2013-12-18  Brooks Moses  <bmoses@google.com>
20550         [BZ #15846]
20551         * misc/getauxval.c: Include errno.h.
20552         (__getauxval): Set errno to ENOENT if the requested type is not
20553         found.
20554         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20555         don't declare with __attribute_const__.
20556         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20557         * manual/startup.texi: Document that getauxval sets errno.
20559 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20561         * math/auto-libm-test-in: Add tests of jn and yn.
20562         * math/auto-libm-test-out: Regenerated.
20563         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20564         (yn_test_data): Likewise.
20565         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20566         mpfr_if_f.
20567         (func_calc_desc): Add mpfr_if_f union field.
20568         (FUNC_mpfr_if_f): New macro.
20569         (test_functions): Add jn and yn.
20570         (calc_generic_results): Assert type of second input for
20571         mpfr_ff_f.  Handle mpfr_if_f.
20572         (output_for_one_input_case): Disable all checking for arguments
20573         fitting floating-point types in case of an integer argument.
20574         * sysdeps/i386/fpu/libm-test-ulps: Update.
20575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20578         Don't expect fegetround reference in libm.so.
20580 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20582         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20583         $(config-cflags-nofma).
20585 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20587         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20588         * math/auto-libm-test-out: Regenerated.
20590         [BZ #16338]
20591         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20592         to determine exponent and adjust argument to have exponent of -1.
20593         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20594         log2.
20595         * math/auto-libm-test-out: Regenerated.
20596         * sysdeps/i386/fpu/libm-test-ulps: Update.
20597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20599 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20601         * manual/probes.texi: Remove cases when per-thread arenas are
20602         disabled.
20604 2013-12-18  Andreas Schwab  <schwab@suse.de>
20606         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20607         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20608         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20609         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20610         * sysdeps/i386/i686/multiarch/Makefile: Update.
20611         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20613 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20615         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20616         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20618 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20620         [BZ #15968]
20621         Support TZ transition times < 00:00:00.
20622         This is needed for version-3 tz-format files; it supports time
20623         stamps past 2037 for America/Godthab (the only entry in the tz
20624         database for which this change is relevant).
20625         * manual/time.texi (TZ Variable): Document transition times
20626         from -167:59:59 through -00:00:01.
20627         * time/tzset.c (tz_rule): Time of day is now signed.
20628         (__tzset_parse_tz): Parse negative time of day.
20630         Document TZ transition times >= 25:00:00.
20631         * manual/time.texi (TZ Variable): Document transition times from
20632         25:00:00 through 167:59:59.  These are already supported, and this
20633         support will help with version-3 tz-format files.
20635         * manual/time.texi (TZ Variable): Modernize North America example
20636         to reflect current (i.e., 2007-and-later) daylight saving rules.
20638         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20640 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20642         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20643         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20644         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20645         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20646         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20647         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20648         * sysdeps/unix/bsd/clock.c: Likewise.
20649         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20650         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20651         * sysdeps/unix/bsd/init-posix.c: Likewise.
20652         * sysdeps/unix/bsd/poll.c: Likewise.
20653         * sysdeps/unix/bsd/ptsname.c: Likewise.
20654         * sysdeps/unix/bsd/seekdir.c: Likewise.
20655         * sysdeps/unix/bsd/setegid.c: Likewise.
20656         * sysdeps/unix/bsd/seteuid.c: Likewise.
20657         * sysdeps/unix/bsd/setgid.c: Likewise.
20658         * sysdeps/unix/bsd/setrgid.c: Likewise.
20659         * sysdeps/unix/bsd/setruid.c: Likewise.
20660         * sysdeps/unix/bsd/setsid.c: Likewise.
20661         * sysdeps/unix/bsd/setuid.c: Likewise.
20662         * sysdeps/unix/bsd/sigaction.c: Likewise.
20663         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20664         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20665         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20666         * sysdeps/unix/bsd/telldir.c: Likewise.
20667         * sysdeps/unix/bsd/times.c: Likewise.
20668         * sysdeps/unix/bsd/usleep.c: Likewise.
20670         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20671         ($(objpfx)libbsd-compat.a): Remove rule.
20673         * include/features.h (__FAVOR_BSD): Do not define.
20674         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20675         features conflicting with POSIX.
20676         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20677         (_BSD_SOURCE): Remove description of not being a subset of other
20678         feature test macros.
20679         * manual/job.texi (getpgrp): Do not document BSD version.
20680         (getpgid): Do not document by reference to BSD getpgrp.
20681         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20682         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20683         * signal/signal.h [__FAVOR_BSD]: Likewise.
20684         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20685         instead of making contents conditional on [__FAVOR_BSD].
20686         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20688 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20692 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20694         [BZ #16314]
20695         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20696         values below 2**-450, not 2**-500.
20697         * math/auto-libm-test-in: Don't allow spurious underflow from
20698         hypot.
20699         * math/auto-libm-test-out: Regenerated.
20701         [BZ #16316]
20702         [BZ #16330]
20703         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20704         values of ha and hb and sort them after adjusting subnormal
20705         arguments.
20706         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20707         Likewise.
20708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20709         values of ea and eb and sort them after adjusting subnormal
20710         arguments.
20711         * math/auto-libm-test-in: Do not expect some hypot tests of
20712         subnormals to fail.  Add more hypot tests.
20713         * math/auto-libm-test-out: Regenerated.
20715 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20717         [BZ #13304]
20718         * sysdeps/sh/s_fma.c: New file.
20719         * sysdeps/sh/s_fmaf.c: New file.
20720         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20721         version.
20722         * sysdeps/sh/Implies: Add sh/soft-fp.
20724 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20726         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20727         level of indirection to members `objname', `errstring', `malloced'.
20728         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20729         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20730         it as the __longjmp argument (just pass 1 instead).
20731         (_dl_catch_error): Initialize C with argument pointers and address of
20732         volatile local ERRCODE rather than copying values out of C at return.
20734 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20736         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20737         * math/auto-libm-test-out: Regenerated.
20738         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20739         (hypot_test_data): Likewise.
20740         (pow_test_data): Likewise.
20741         (pow_tonearest_test_data): Likewise.
20742         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20743         mpfr_ff_f.
20744         (func_calc_desc): Add mpfr_ff_f union field.
20745         (FUNC_mpfr_ff_f): New macro.
20746         (test_functions): Add atan2, hypot and pow.
20747         (special_fill_min): New function.
20748         (special_fill_minus_min): Likewise.
20749         (special_fill_min_subnorm): Likewise.
20750         (special_fill_minus_min_subnorm): Likewise.
20751         (special_real_inputs): Add min, -min, min_subnorm and
20752         -min_subnorm.
20753         (calc_generic_results): Handle mpfr_ff_f.
20754         * sysdeps/i386/fpu/libm-test-ulps: Update.
20755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20757 2013-12-16  Will Newton  <will.newton@linaro.org>
20759         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20760         (Aligned Memory Blocks): Add documentation for aligned_alloc
20761         and suggest it as an alternative to posix_memalign.
20762         (Hooks for Malloc): Document __memalign_hook is also called
20763         for aligned_alloc.  (Summary of Malloc): Add summary for
20764         aligned alloc.  Document __memalign_hook is also called
20765         for aligned_alloc.
20767 2013-12-16  Will Newton  <will.newton@linaro.org>
20769         * manual/memory.texi (Malloc Examples): Clarify default
20770         alignment documentation.  Suggest posix_memalign rather
20771         than memalign or valloc.
20772         (Aligned Memory Blocks): Remove suggestion to use memalign
20773         or valloc.  Remove obsolete comment about BSD.
20774         Document memalign errno values and mark the function obsolete.
20775         Document posix_memalign returned error codes.  Mark valloc
20776         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20777         called for posix_memalign and valloc.
20778         (Summary of Malloc): Add posix_memalign to function summary.
20779         __memalign_hook is also called for posix_memalign and valloc.
20781 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20783         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20784         TAYLOR_SIN.
20785         (__sin): Adjust.
20786         (__cos): Likewise.
20787         (sloww): Use mynumber union.  Expand ternary operator into
20788         if-else statements.
20789         (cslow): use mynumber union.
20791 2013-12-16  Allan McRae  <allan@archlinux.org>
20793         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20794         * configure: Regenerated.
20796         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20798         [BZ #14120]
20799         * configure.ac: Added --enable-maintainer-mode. Check for
20800         autoconf when enabled.
20801         * configure: Regenerated.
20803         * nscd/nscd.service: New file.
20804         * nscd/nscd.tmpfiles: New file.
20806 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20808         [BZ #12100]
20809         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20810         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20811         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20812         (strstr): Add __strstr_sse2_unaligned ifunc.
20813         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20814         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20815         (strcasestr): Remove __strcasestr_sse42 ifunc.
20816         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20820 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20822         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20823         * sysdeps/sh/bits/fenv.h: ... here.
20824         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20826 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20828         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20831         hypotf multiarch implementations.
20832         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20833         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20834         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20835         multiarch hypot for PPC64.
20836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20837         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20838         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20839         multiarch hypotf for PPC64.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20842         modff multiarch implementations.
20843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20846         multiarch modf for PPC64.
20847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20850         multiarch modff for PPC64.
20852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20853         and logl multiarch implementations.
20854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20857         multiarch logb for PPC64.
20858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20861         multiarch logb for PPC64.
20862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20865         multiarch logb for PPC64.
20867         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20868         isinff multiarch implementation.
20869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20870         file.
20871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20873         multiarch isinf for PPC64.
20874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20875         file.
20876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20877         multiarch isinff for PPC64.
20879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20880         finitef multiarch implementation.
20881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20882         file.
20883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20885         multiarch finite for PPC64.
20886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20887         file.
20888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20889         multiarch finitef for PPC64.
20891         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20892         lrint multiarch implementation.
20893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20894         file.
20895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20897         multiarch llrint for PPC64.
20898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20899         multiarch lrint for PPC64.
20901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20902         copysignf multiarch implementation.
20903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20904         file.
20905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20906         file.
20907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20908         multiarch copysign for PPC64.
20909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20910         multiarch copysignf for PPC64.
20912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20913         multiarch implementation.
20914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20915         file.
20916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20917         file.
20918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20919         file.
20920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20921         file.
20922         multiarch llround for PPC64.
20923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20924         multiarch trunc for PPC64.
20925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20926         multiarch truncf for PPC64.
20928         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20929         multiarch implementation.
20930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20931         file.
20932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20933         file.
20934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20935         file.
20936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20937         file.
20938         multiarch llround for PPC64.
20939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20940         multiarch round for PPC64.
20941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20942         multiarch roundf for PPC64.
20944         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20945         multiarch implementation.
20946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20947         file.
20948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20949         file.
20950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20951         file.
20952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20953         file.
20954         multiarch llround for PPC64.
20955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20956         multiarch floor for PPC64.
20957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20958         multiarch floorf for PPC64.
20960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20961         multiarch implementation.
20962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20963         file.
20964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20965         file.
20966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20967         file.
20968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20969         file.
20970         multiarch llround for PPC64.
20971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20972         multiarch ceil for PPC64.
20973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20974         multiarch ceilf for PPC64.
20976         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20977         multiarch implementation.
20978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20979         file.
20980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20981         file.
20982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20983         file.
20984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20985         multiarch llround for PPC64.
20986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20987         multiarch lround for PPC64.
20989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20990         multiarch implementation.
20991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20994         file.
20995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20997         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20998         multiarch isnan for PPC64.
20999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21000         multiarch isnanf for PPC64.
21002         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21003         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21004         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21005         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21006         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21009         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21010         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21011         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21012         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21015         multiarch implementations.
21016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21017         (__libc_ifunc_impl_list): Likewise.
21018         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21021         multiarch stpcpy for PPC64.
21023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21024         multiarch implementations.
21025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21026         (__libc_ifunc_impl_list): Likewise.
21027         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21028         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21029         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21030         multiarch strcpy for PPC64.
21032         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21033         redefine function name.
21034         (_wordcopy_fwd_dest_aligned): Likewise.
21035         (_wordcopy_bwd_aligned): Likewise.
21036         (_wordcopy_bwd_dest_aligned): Likewise.
21037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21038         multiarch implementations.
21039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21040         (__libc_ifunc_impl_list): Likewise.
21041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21042         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21043         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21044         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21045         multiarch wcscpy for PPC64.
21047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21048         multiarch implementations.
21049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21050         (__libc_ifunc_impl_list): Likewise.
21051         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21052         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21053         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21054         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21055         multiarch wcscpy for PPC64.
21057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21058         multiarch implementations.
21059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21060         (__libc_ifunc_impl_list): Likewise.
21061         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21062         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21063         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21064         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21065         multiarch wcsrchr for PPC64.
21067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21068         multiarch implementations.
21069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21070         (__libc_ifunc_impl_list): Likewise.
21071         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21072         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21073         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21074         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21075         multiarch wcschr for PPC64.
21077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21078         multiarch implementations.
21079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21080         (__libc_ifunc_impl_list): Likewise.
21081         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21082         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21083         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21084         multiarch strchrnul for PPC64.
21086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21087         implementations.
21088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21089         (__libc_ifunc_impl_list): Likewise.
21090         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21091         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21092         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21093         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21094         strchr for PPC64.
21096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21097         implementations.
21098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21099         (__libc_ifunc_impl_list): Likewise.
21100         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21101         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21102         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21103         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21104         strncmp for PPC64.
21106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21107         multiarch implementations.
21108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21109         (__libc_ifunc_impl_list): Likewise.
21110         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21111         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21112         strncasecmp for PPC64.
21113         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21114         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21115         multiarch strncasecmp_l for PPC64.
21117         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21118         multiarch implementations.
21119         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21120         (__libc_ifunc_impl_list): Likewise.
21121         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21122         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21123         multiarch strcasecmp for PPC64.
21124         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21125         file.
21126         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21127         multiarch strcasecmp_l for PPC64.
21129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21130         implementations.
21131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21132         (__libc_ifunc_impl_list): Likewise.
21133         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21134         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21135         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21136         strnlen for PPC64.
21138         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21139         implementations.
21140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21141         (__libc_ifunc_impl_list): Likewise.
21142         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21143         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21144         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21145         strlen for PPC64.
21147         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21148         implementations.
21149         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21150         (__libc_ifunc_impl_list): Likewise.
21151         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21152         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21153         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21154         rawmemrchr for PPC64.
21156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21157         implementation.
21158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21159         (__libc_ifunc_impl_list): Likewise.
21160         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21161         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21162         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21163         memrchr for PPC64.
21165         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21166         implementation.
21167         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21168         (__libc_ifunc_impl_list): Likewise.
21169         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21170         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21171         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21172         memchr for PPC64.
21174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21175         implementation.
21176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21177         (__libc_ifunc_impl_list): Likewise.
21178         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21179         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21180         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21181         mempcpy for PPC64.
21183         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21184         avoid cretion of __bzero symbol.
21185         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21186         Likewise.
21187         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21188         Likewise.
21189         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21190         Likewise.
21191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21192         multiarch implementations.
21193         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21194         (__libc_ifunc_impl_list): Likewise.
21195         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21196         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21197         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21198         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21199         bzero for PPC32.
21200         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21201         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21202         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21203         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21204         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21205         memset for PPC64.
21206         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21208         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21209         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21210         implementations.
21211         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21212         (__libc_ifunc_impl_list): Likewise.
21213         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21214         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21215         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21216         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21217         memcmp for PPC64.
21219         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21220         multiarch for POWER/PPC64.
21221         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21222         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21223         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21224         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21225         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21226         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21227         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21228         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21229         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21230         memcpy for PPC64.
21232         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21233         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21234         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21235         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21236         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21237         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21238         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21239         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21240         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21241         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21242         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21243         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21244         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21245         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21246         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21255 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21257         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21259 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21261         * benchtests/Makefile (bench): Add exp2 and log2.
21262         (LDLIBS-bench-exp2): Add -lm.
21263         (LDLIBS-bench-log2): Likewise.
21264         * benchtests/exp2-inputs: New inputs file.
21265         * benchtests/log2-inputs: New inputs file.
21266         * benchtests/log-inputs: Add new inputs.
21267         * benchtests/tan-inputs: Likewise.
21269 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21271         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21272         definition...
21273         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21274         (csloww2): ... from here.
21276         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21277         instead of structures.
21278         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21279         (POLYNOMIAL): Likewise.
21280         (TAYLOR_SLOW): Likewise.
21281         (__sin): Likewise.
21282         (__cos): Likewise.
21283         (slow1): Likewise.
21284         (slow2): Likewise.
21285         (sloww): Likewise.
21286         (sloww1); Likewise.
21287         (sloww2): Likewise.
21288         (bsloww1): Likewise.
21289         (bsloww2): Likewise.
21290         (cslow2): Likewise.
21291         (csloww): Likewise.
21292         (csloww1): Likewise.
21293         (csloww2): Likewise.
21295 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21297         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21298         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21299         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21300         * malloc/hooks.c (realloc_check): Likewise.
21302         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21303         * malloc/arena.c: Remove PER_THREAD conditional.
21304         [!PER_THREAD]: Remove code.
21305         (ptmalloc_unlock_all2): Likewise.
21306         (ptmalloc_init): Likewise.
21307         (_int_new_arena): Likewise.
21308         (arena_get2): Likewise.
21309         * malloc/hooks.c (__malloc_get_state): Likewise.
21310         (__malloc_set_state): Likewise.
21311         * malloc/malloc.c: Likewise.
21312         (struct malloc_state): Likewise.
21313         (struct malloc_par): Likewise.
21314         (__libc_realloc): Likewise.
21315         (__libc_mallopt): Likewise.
21317 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21319         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21321 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21323         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21324         macro to a function.  Check for zero perturb_byte.
21325         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21327         * malloc/malloc.c: (force_reg): Remove.
21328         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21329         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21330         force_reg by atomic_forced_read.
21331         * malloc/arena.c (ptmalloc_init): Likewise.
21332         * malloc/hooks.c (top_check): Likewise.
21334 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21338 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21340         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21342 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21344         * math/auto-libm-test-in: Add tests of lgamma.
21345         * math/auto-libm-test-out: Regenerated.
21346         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21347         (M_LOG_2_SQRT_PIl): Likewise.
21348         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21349         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21350         mpfr_f_f1.
21351         (func_calc_desc): Add mpfr_f_f1 union field.
21352         (ARGS1): New macro.
21353         (ARGS2): Likewise.
21354         (ARGS3): Likewise.
21355         (ARGS4): Likewise.
21356         (RET1): Likewise.
21357         (RET2): Likewise.
21358         (CALC): Likewise.
21359         (FUNC): Likewise.
21360         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21361         (test_functions): Add lgamma.
21362         (calc_generic_results): Handle mpfr_f_f1.
21363         * sysdeps/i386/fpu/libm-test-ulps: Update.
21364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21366 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21368         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21369         __mpn_add_n for PowerPC64/POWER7.
21370         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21371         __mpn_sub_n for PowerPC64/POWER7.
21373         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21374         __mpn_addmul_1 for PowerPC64.
21375         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21376         __mpn_submul_1 for PowerPC64.
21377         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21378         for PowerPC64.
21379         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21380         for PowerPC64.
21382 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21384         [BZ #15089]
21385         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21387 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21389         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21391         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21392         add multiarch folders.
21393         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21394         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21395         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21396         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21397         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21398         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21399         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21400         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21401         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21402         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21403         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21412         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21414         New file.
21415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21416         New file.
21417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21418         multiarch __ieee754_hypot for PowerPC32.
21419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21420         New file.
21421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21422         New file.
21423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21424         multiarch __ieee754_hypotf for PowerPC32.
21426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21427         long_double_symbol only if __logbl is defined.
21428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21429         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21431         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21432         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21433         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21434         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21435         path for implementation.
21436         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21437         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21439         logb, and logbl multiarch implementations for PowerPC32.
21440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21441         file.
21442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21443         file.
21444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21445         multiarch logb for PowerPC32.
21446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21447         file.
21448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21449         file.
21450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21451         multiarch logbf for PowerPC32.
21452         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21454         file.
21455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21456         multiarch logbl implementation for PowerPC32.
21458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21459         and modff multiarch implementations.
21460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21461         New file.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21463         New file.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21465         multiarch modf for PowerPC32.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21467         New file.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21469         New file.
21470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21471         multiarch modff for PowerPC32.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21474         and lrintf multiarch implementations.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21476         New file.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21478         New file.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21480         multiarch lrint for PowerPC32.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21482         file: multiarch lrintf for PowerPC32.
21484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21485         and lroundf multiarch implementations.
21486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21487         New file.
21488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21489         New file.
21490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21491         New file.
21492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21493         multiarch lround for PowerPC32.
21494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21495         file: multiarch lroundf for PowerPC32.
21497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21498         copysign and copysignf multiarch implementations.
21499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21500         New file.
21501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21502         New file.
21503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21504         file: multiarch copysign for PowerPC32.
21505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21506         file: multiarch copysignf for PowerPC32.
21508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21509         and truncf multiarch implementations.
21510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21511         New file.
21512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21513         file.
21514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21515         multiarch trunc for PowerPC32.
21516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21517         New file.
21518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21519         New file.
21520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21521         multiarch truncf for PowerPC32.
21523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21524         and roundf multiarch implementations.
21525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21526         New file.
21527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21528         file.
21529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21530         multiarch round for PowerPC32.
21531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21532         New file.
21533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21534         New file.
21535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21536         multiarch roundf for PowerPC32.
21538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21539         and floorf multiarch implementations.
21540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21541         New file.
21542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21543         file.
21544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21545         multiarch floor for PowerPC32.
21546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21547         New file.
21548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21549         New file.
21550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21551         multiarch floorf for PowerPC32.
21553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21554         and ceilf multiarch implementations.
21555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21556         New file.
21557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21558         file.
21559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21560         multiarch ceil for PowerPC32.
21561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21562         New file.
21563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21564         file.
21565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21566         multiarch ceilf for PowerPC32.
21568         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21569         is defined.
21570         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21571         FINITEF is defined.
21572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21573         and finitef multiarch implementations.
21574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21575         New file.
21576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21577         file.
21578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21579         multiarch finite for PowerPC32.
21580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21581         New file.
21582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21583         file: multiarch finitef for PowerPC32.
21585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21586         and isinff multiarch implementations.
21587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21588         file.
21589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21590         file.
21591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21592         multiarch isinf for PowerPC32.
21593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21594         New file.
21595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21596         multiarch isinff for PowerPC32.
21598         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21599         alias when __isnan is defined.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21601         and isnanf multiarch implementations.
21602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21603         file.
21604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21605         file.
21606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21607         file.
21608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21609         file.
21610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21611         multiarch isnan for PowerPC32.
21612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21613         New file.
21614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21615         New file.
21616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21617         multiarch isnanf for PowerPC32.
21619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21620         and sqrtf multiarch implementations.
21621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21622         file.
21623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21624         file.
21625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21626         multiarch sqrt for PowerPC32.
21627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21628         file.
21629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21630         file.
21631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21632         multiarch sqrtf for PowerPC32.
21634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21635         and llroundf multiarch implementations.
21636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21637         New file.
21638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21639         New file.
21640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21641         New file.
21642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21643         file: multiarch llround for PowerPC32.
21644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21645         file: multiarch llroundf for PowerPC32.
21647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21648         multiarch PowerPC32 fpu implementations.
21649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21650         New file.
21651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21652         New file.
21653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21654         multiarch llrint for PowerPC32.
21655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21656         New file.
21657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21658         New file.
21659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21660         file.
21662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21664         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21665         file.
21666         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21667         file.
21668         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21669         file.
21670         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21671         multiarch wordcopy for PPC32.
21672         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21673         wordcopy objects.
21674         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21675         (__libc_ifunc_impl_list): Likewise.
21676         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21677         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21678         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21679         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21680         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21681         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21683         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21684         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21685         file.
21686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21687         file.
21688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21689         file.
21690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21691         multiarch wcscpy for PPC32.
21692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21693         multiarch objects.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21695         (__libc_ifunc_impl_list): Likewise.
21696         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21697         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21698         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21699         sysdeps/powerpc/power6/wcscpy.c.
21701         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21702         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21703         file.
21704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21705         file.
21706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21707         file.
21708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21709         multiarch wcsrchr for PPC32.
21710         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21711         multiarch objects.
21712         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21713         (__libc_ifunc_impl_list): Likewise.
21714         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21715         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21716         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21717         sysdeps/powerpc/power6/wcsrchr.c.
21719         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21720         file.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21722         file.
21723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21725         multiarch wcschr for PPc32.
21726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21727         multiarch objects.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21729         (__libc_ifunc_impl_list): Likewise.
21730         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21731         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21732         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21733         sysdeps/powerpc/power6/wcschr.c.
21735         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21736         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21737         file.
21738         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21739         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21740         file: multiarch strchr for PPC32.
21741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21742         multiarch objects.
21743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21744         (__libc_ifunc_impl_list): Likewise.
21746         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21747         name.
21748         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21749         file.
21750         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21751         file.
21752         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21753         multiarch strchrnul for PPC32.
21754         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21755         multiarch objects.
21756         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21757         (__libc_ifunc_impl_list): Likewise.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21760         file.
21761         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21762         multiarch strncasecmp for PPC32.
21763         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21764         file.
21765         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21766         multiarch strncasecmp_l for PPC32.
21767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21768         strncasecmp multiarch objects.
21769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21770         (__libc_ifunc_impl_list): Likewise.
21772         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21773         file.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21775         multiarch strncasecmp for PPC32.
21776         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21777         New file.
21778         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21779         multiarch strcasecmp_l for PPC32.
21780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21781         multiarch objects.
21782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21783         (__libc_ifunc_impl_list): Likewise.
21785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21786         file.
21787         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21788         file.
21789         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21790         multiarch strncmp for PPC32.
21791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21792         multiarch objects.
21793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21794         (__libc_ifunc_impl_list): Likewise.
21796         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21797         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21798         file.
21799         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21801         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21802         multiarch objects.
21803         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21804         (__libc_ifunc_impl_list): Likewise.
21806         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21807         file.
21808         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21809         file.
21810         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21812         multiarch objects.
21813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21814         (__libc_ifunc_impl_list): Likewise.
21816         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21817         file.
21818         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21819         file.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21821         multiarch rawmemchr for PPC32.
21822         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21823         multiarch objects.
21824         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21825         (__libc_ifunc_impl_list): Likewise.
21827         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21828         file.
21829         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21830         file.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21832         file: memrchr multiarch for PPC32.
21833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21834         multiarch objects.
21835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21836         (__libc_ifunc_impl_list): Likewise.
21838         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21839         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21840         file.
21841         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21842         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21843         multiarch memchr for PPC32.
21844         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21845         multiarch objects.
21846         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21847         (__libc_ifunc_impl_list): Likewise.
21849         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21850         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21851         file.
21852         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21853         file.
21854         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21855         file: multiarch mempcpy for PPC32.
21856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21857         multiarch objects.
21858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21859         (__libc_ifunc_impl_list): Likewise.
21861         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21862         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21863         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21864         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21865         multiarch bzero for PPC32.
21866         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21867         file.
21868         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21869         file.
21870         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21871         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21872         file: multiarch memset for PPC32.
21873         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21874         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21875         memset multiarch objects.
21876         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21877         (__libc_ifunc_impl_list): Likewise.
21879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21880         file.
21881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21882         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21883         memcmp for PPC32.
21884         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21886         multiarch objects.
21887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21888         (__libc_ifunc_impl_list): Likewise.
21890         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21891         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21892         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21893         file.
21894         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21895         file.
21896         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21897         file.
21898         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21899         multiarch memcpy for PPC32.
21900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21901         multiarch objects.
21902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21903         (__libc_ifunc_impl_list): Likewise.
21905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21906         support multiarch for POWER/PPC32.
21907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21908         Likewise.
21909         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21911         Implies file to make multiarch folder appers before the fpu and
21912         default folder for power4 configuration.
21914 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21916         * scripts/bench.pl: Append volatile keyword to type.
21918 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21920         * sysdeps/sh/sotruss-lib.c: New file.
21921         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21923 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21927 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21929         [BZ #6810]
21930         * math/w_tgamma.c: Include <errno.h>.
21931         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21932         * math/w_tgammaf.c: Include <errno.h>.
21933         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21934         * math/w_tgammal.c: Include <errno.h>.
21935         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21936         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21937         underflow.  Add more tgamma tests.
21938         * math/auto-libm-test-out: Regenerated.
21939         * sysdeps/i386/fpu/libm-test-ulps: Update.
21940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21942         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21943         sin, sinh, tan, tanh, tgamma, y0 and y1.
21944         * math/auto-libm-test-out: Regenerated.
21945         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21946         (TEST_COND_x86): Likewise.
21947         (M_E2l): Remove macro.
21948         (M_E3l): Likewise.
21949         (M_2_SQRT_PIl): Likewise.
21950         (M_SQRT_PIl): Likewise.
21951         (M_1_DIV_El): Likewise.
21952         (log_test_data): Use AUTO_TESTS_f_f.
21953         (log10_test_data): Likewise.
21954         (log1p_test_data): Likewise.
21955         (log2_test_data): Likewise.
21956         (sin_test_data): Likewise.
21957         (sin_tonearest_test_data): Likewise.
21958         (sin_towardzero_test_data): Likewise.
21959         (sin_downward_test_data): Likewise.
21960         (sin_upward_test_data): Likewise.
21961         (sinh_test_data): Likewise.
21962         (sinh_tonearest_test_data): Likewise.
21963         (sinh_towardzero_test_data): Likewise.
21964         (sinh_downward_test_data): Likewise.
21965         (sinh_upward_test_data): Likewise.
21966         (tan_test_data): Likewise.
21967         (tan_tonearest_test_data): Likewise.
21968         (tan_towardzero_test_data): Likewise.
21969         (tan_downward_test_data): Likewise.
21970         (tan_upward_test_data): Likewise.
21971         (tanh_test_data): Likewise.
21972         (tgamma_test_data): Likewise.
21973         (y0_test_data): Likewise.
21974         (y1_test_data): Likewise.
21975         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21976         (special_real_inputs): Add pi/4.
21977         * sysdeps/i386/fpu/libm-test-ulps: Update.
21978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21980 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21982         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21983         "longjmp_target" static probes.
21984         (__longjmp): Rename to __longjmp_symbol.
21985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21986         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21987         on which longjmp to generate.
21988         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21989         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21990         probe.
21991         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21992         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21993         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21994         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21995         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21996         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21998         __longjmp_symbol based on which __longjmp to generate.
21999         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22000         probe.
22001         (setjmp): Rename to setjmp_symbol.
22002         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22003         (_setjmp): Rename to _setjmp_symbol.
22004         (__sigsetjmp): Rename to __sigsetjmp_symbol.
22005         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22006         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22007         which setjmp to generate.
22008         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22009         "longjmp_target" static probes.
22011 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22013         * benchtests/README: Add note about output arguments.
22014         * benchtests/bench-sincos.c: Remove file.
22015         * benchtests/sincos-inputs: New file.
22016         * scripts/bench.pl: Identify output arguments and define
22017         static variables for them.
22019         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22021         [BZ #15941]
22022         * Makefile (INSTALL): Add install-plain.texi as the primary
22023         dependency.
22024         * manual/install-plain.texi: New file.
22025         * manual/install.texi: Include node directive only for
22026         non-plaintext output.
22028 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
22030         * stdlib/longlong.h: Update from GCC.
22032         [BZ #6807]
22033         [BZ #15901]
22034         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22035         * math/w_j0f.c (y0f): Likewise.
22036         * math/w_j0l.c (__y0l): Likewise.
22037         * math/w_j1.c (y1): Likewise.
22038         * math/w_j1f.c (y1f): Likewise.
22039         * math/w_j1l.c (__y1l): Likewise
22040         * math/w_jn.c (yn): Likewise.
22041         * math/w_jnf.c (ynf): Likewise.
22042         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22043         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22044         value for Bessel function domain errors outside _SVID_ mode.
22045         Adjust sign of return value for yn (negative integer, 0).
22046         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22047         by zero in return for negative x and set sign appropriately for
22048         negative n.
22049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22050         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22051         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22052         expectations in error cases.
22053         (y1_test_data): Likewise.
22054         (yn_test_data): Likewise.
22055         * sysdeps/i386/fpu/libm-test-ulps: Update.
22056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22058 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22060         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22061         "64" to "64-v1".  Add "64-v2".
22062         (abi-64-options): Rename to ...
22063         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22064         (abi-64-condition): Rename to ...
22065         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22066         (abi-64-ld-soname): Rename to ...
22067         (abi-64-v1-ld-soname): ... this.
22068         (abi-64-v2-options): Define.
22069         (abi-64-v2-condition): Likewise.
22070         (abi-64-v2-ld-soname): Likewise.
22071         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22072         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22077 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22078             Alan Modra  <amodra@gmail.com>
22080         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22081         New versions for use with the ELFv2 ABI.
22082         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22083         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22084         declaration.
22085         (struct La_ppc64v2_retval): Likewise.
22086         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22087         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22088         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22089         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22090         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22091         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22092         Do not save or restore CR.
22093         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22094         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22095         return values for ELFv2 ABI.  Fix location of FPR return registers.
22096         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22097         updated values for _CALL_ELF == 2.
22098         (La_regs, La_retval, int_retval): Likewise.
22100 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22102         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22103         (FRAME_MIN_SIZE_PARM): Likewise.
22104         (FRAME_BACKCHAIN): Likewise.
22105         (FRAME_CR_SAVE): Likewise.
22106         (FRAME_LR_SAVE): Likewise.
22107         (FRAME_TOC_SAVE): Likewise.
22108         (FRAME_PARM_SAVE): Likewise.
22109         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22110         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22111         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22112         (call_mcount_parm_offset): New macro.
22113         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22114         (PROF): Use symbolic stack frame offsets.
22115         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22116         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22117         Redefine in terms of FRAME_MIN_SIZE.
22118         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22119         (_dl_profile_resolve): Likewise.  Update comment.
22120         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22121         symbols stack frame offsets.
22122         (__sigsetjmp): Likewise.
22123         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22124         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22125         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22126         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22129         (FRAME_BACKCHAIN): Remove.
22130         (FRAME_CR_SAVE): Likewise.
22131         (FRAME_LR_SAVE): Likewise.
22132         (FRAME_COMPILER_DW): Likewise.
22133         (FRAME_LINKER_DW): Likewise.
22134         (FRAME_TOC_SAVE): Likewise.
22135         (FRAME_PARM_SAVE): Likewise.
22136         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22137         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22138         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22140         (CHECK_SP): Use symbolic stack frame offsets.
22141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22142         zone" instead of caller's parameter save area for temp storage.
22143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22144         Likewise.  Also, use symbolic stack frame offsets.
22145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22146         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22147         our own stack frame instead of the caller's.
22148         (__socket): Use symbolic stack frame offsets.
22150 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22151             Alan Modra  <amodra@gmail.com>
22153         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22154         Define.
22155         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22156         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22157         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22158         New function.
22159         (elf_machine_fixup_plt): Call it.
22160         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22161         reloc arguments.
22162         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22164         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22165         r2 before calling target.
22167 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22168             Alan Modra  <amodra@gmail.com>
22170         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22171         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22172         versions of macros to support ELFv2 ABI.
22173         (LOCALENTRY): New macro.
22174         (ENTRY, EALIGN): Use it.
22175         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22176         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22177         fall through into ENTRY entry point.
22178         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22179         Only define if _CALL_ELF != 2.
22181         (elf_machine_matches_host): Verify ABI version matches.
22182         (RTLD_START): Use LOCALENTRY.
22183         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22184         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22185         (PLT_ENTRY_WORDS): New macro.
22186         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22187         (elf_machine_runtime_setup): Support ELFv2 ABI.
22188         (elf_machine_fixup_plt): Likewise.
22189         (elf_machine_plt_conflict): Likewise.
22190         (resolve_ifunc): Likewise.
22191         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22192         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22193         Likewise.
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22195         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22197         (makecontext): Support ELFv2 ABI.
22198         * elf/elf.h (EF_PPC64_ABI): Define.
22200 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22202         * sysdeps/powerpc/powerpc64/sysdep.h
22203         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22204         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22205         (ENTRY) [ASSEMBLER]: ... but instead here ...
22206         (EALIGN) [ASSEMBLER]: ... and here.
22207         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22208         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22209         (ENTRY_2) [!ASSEMBLER]: Use it.
22210         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22211         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22212         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22213         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22214         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22216         Use PPC64_LOAD_FUNCPTR.
22218         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22220 2013-12-04  Alan Modra  <amodra@gmail.com>
22222         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22223         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22224         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22225         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22228         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22229         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22230         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22231         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22232         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22234 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22237         (__makecontext): Fix incorrect CFI when backtracing out of
22238         context created via makecontext.
22239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22240         (__setcontext): Fix incorrect CFI during switch to new context.
22241         (__novec_setcontext): Likewise.
22243 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22245         [BZ #4772]
22246         * time/strptime_l.c (__strptime_internal): Allow modifiers
22247         in strptime.
22248         * time/tst-strptime.c (day_tests): Add testcase.
22250 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22252         * scripts/bench.pl: Skip over blank lines.
22254 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22256         [BZ #926]
22257         * manual/time.texi (Calendar Time): Clarify what timezone functions
22258         use.
22260 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22264 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22266         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22267         implementation.
22268         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22269         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22270         * debug/memset_chk.c (__memset_chk): Likewise.
22271         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22272         * debug/strncpy_chk.c: Likewise.
22274 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22276         [BZ #15268]
22277         [BZ #15425]
22278         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22279         (__ieee754_exp): For possibly underflowing results, check size of
22280         result and force underflow exception if required.
22281         * math/auto-libm-test-in: Add more tests of exp.
22282         * math/auto-libm-test-out: Regenerated.
22283         * sysdeps/i386/fpu/libm-test-ulps: Update.
22284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22286         [BZ #16283]
22287         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22288         * math/w_exp2f.c (__exp2f): Likewise.
22289         * math/w_exp2l.c (__exp2l): Likewise.
22290         * math/auto-libm-test-in: Do not allow missing errno on exp2
22291         underflow.
22292         * math/auto-libm-test-out: Regenerated.
22294 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22296         [BZ #16274]
22297         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22298         handle filename validation.
22299         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22300         (do_open): Delete.
22302 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #6786]
22305         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22306         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22307         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22308         <float.h>.
22309         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22310         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22311         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22313         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22314         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22315         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22316         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22317         Add more erfc tests.
22318         * math/auto-libm-test-out: Regenerated.
22319         * sysdeps/i386/fpu/libm-test-ulps: Update.
22320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22322         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22323         exp2, expm1, j0 and j1.
22324         * math/auto-libm-test-out: Regenerated.
22325         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22326         (erfc_test_data): Likewise.
22327         (exp_test_data): Likewise.
22328         (exp_tonearest_test_data): Likewise.
22329         (exp_towardzero_test_data): Likewise.
22330         (exp_downward_test_data): Likewise.
22331         (exp_upward_test_data): Likewise.
22332         (exp10_test_data): Likewise.
22333         (exp2_test_data): Likewise.
22334         (expm1_test_data): Likewise.
22335         (j0_test_data): Likewise.
22336         (j1_test_data): Likewise.
22337         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22338         (input_flag_type): Add flag_xfail_rounding.
22339         (input_flags): Add xfail-rounding.
22340         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22341         (output_for_one_input_case): Handle flag_xfail_rounding.
22342         * sysdeps/i386/fpu/libm-test-ulps: Update.
22343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22345 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22347         [BZ #16289]
22348         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22349         division by 0.
22351 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22353         [BZ #16195]
22354         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22355         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22356         (STAP_PROBE0): New macro.
22357         (STAP_PROBE1): Likewise.
22358         (STAP_PROBE2): Likewise.
22359         (STAP_PROBE3): Likewise.
22360         (STAP_PROBE4): Likewise.
22362 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22364         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22366 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22368         * benchtests/Makefile (bench): Add sqrt.
22369         (LDLIBS-bench-sqrt): New.
22370         * benchtests/sqrt-input: New.
22372 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22374         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22375         (GAIH_EAI): Likewise.
22376         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22377         (gaih_inet): Likewise.
22378         (getaddrinfo): Don't use GAIH_EAI.
22380         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22381         (struct gaih): Remove definition.
22383 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22385         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22386         Use HERRNOP directly.
22388 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22392 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22394         * math/gen-auto-libm-tests.c (test_functions): Add more
22395         single-argument functions.
22396         (special_fill_pi_2): New function.
22397         (special_fill_minus_pi_2): Likewise.
22398         (special_fill_pi_6): Likewise.
22399         (special_fill_minus_pi_6): Likewise.
22400         (special_fill_pi_3): Likewise.
22401         (special_fill_2pi_3): Likewise.
22402         (special_fill_e): Likewise.
22403         (special_fill_1_e): Likewise.
22404         (special_fill_e_minus_1): Likewise.
22405         (special_real_inputs): Add more special inputs.
22406         (output_for_one_input_case): Do not require ERANGE on underflow to
22407         zero if round-to-nearest result does not underflow to zero, unless
22408         exact results required.
22409         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22410         atan, atanh, cbrt, cos and cosh.
22411         * math/auto-libm-test-out: Regenerated.
22412         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22413         (acos_tonearest_test_data): Likewise.
22414         (acos_towardzero_test_data): Likewise.
22415         (acos_downward_test_data): Likewise.
22416         (acos_upward_test_data): Likewise.
22417         (acosh_test_data): Likewise.
22418         (asin_test_data): Likewise.
22419         (asin_tonearest_test_data): Likewise.
22420         (asin_towardzero_test_data): Likewise.
22421         (asin_upward_test_data): Likewise.
22422         (asinh_test_data): Likewise.
22423         (atan_test_data): Likewise.
22424         (atanh_test_data): Likewise.
22425         (cbrt_test_data): Likewise.
22426         (cos_test_data): Likewise.
22427         (cos_tonearest_test_data): Likewise.
22428         (cos_towardzero_test_data): Likewise.
22429         (cos_downward_test_data): Likewise.
22430         (cos_upward_test_data): Likewise.
22431         (cosh_test_data): Likewise.
22432         (cosh_tonearest_test_data): Likewise.
22433         (cosh_towardzero_test_data): Likewise.
22434         (cosh_downward_test_data): Likewise.
22435         (cosh_upward_test_data): Likewise.
22436         * sysdeps/i386/fpu/libm-test-ulps: Update.
22437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22439 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22441         [BZ #6787]
22442         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22443         * math/w_exp10f.c (__exp10f): Likewise.
22444         * math/w_exp10l.c (__exp10l): Likewise.
22445         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22446         errno settings in existing tests.
22448         [BZ #14032]
22449         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22450         precision control set to double precision.
22451         * sysdeps/i386/fpu/w_sqrt.c: New file.
22452         * math/auto-libm-test-in: Add more tests.
22453         * math/auto-libm-test-out: Update.
22455         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22456         (sqrt_test_tonearest): New function.
22457         (sqrt_towardzero_test_data): New variable.
22458         (sqrt_test_towardzero): New function.
22459         (sqrt_downward_test_data): New variable.
22460         (sqrt_test_downward): New function.
22461         (sqrt_upward_test_data): New variable.
22462         (sqrt_test_upward): New function.
22463         (main): Call the new functions.
22465         * math/gen-auto-libm-tests.c: New file.
22466         * math/auto-libm-test-in: Likewise.
22467         * math/auto-libm-test-out: New generated file.
22468         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22469         variables.
22470         (%beautify): Add generated representations of zero.
22471         (top level): Set $auto_input and call parse_auto_input.
22472         (beautify): Remove trailing "f" from hex float constants.
22473         (parse_args): Handle XFAIL_TEST.
22474         (convert_condition): New function.
22475         (or_value): Likewise.
22476         (or_cond_value): Likewise.
22477         (generate_testfile): Handle AUTO_TESTS_* lines.
22478         (parse_auto_input): New function.
22479         * math/libm-test.inc (XFAIL_TEST): New macro.
22480         (ERRNO_UNCHANGED): Update value.
22481         (ERRNO_EDOM): Likewise.
22482         (ERRNO_ERANGE): Likewise.
22483         (IGNORE_RESULT): Likewise.
22484         (TEST_COND_flt_32): New macro.
22485         (TEST_COND_dbl_64): Likewise.
22486         (TEST_COND_ldbl_96_intel): Likewise.
22487         (TEST_COND_ldbl_96_m68k): Likewise.
22488         (TEST_COND_ldbl_128): Likewise.
22489         (TEST_COND_ldbl_128ibm): Likewise.
22490         (TEST_COND_long32): Likewise.
22491         (TEST_COND_long64): Likewise.
22492         (TEST_COND_before_rounding): Likewise.
22493         (TEST_COND_after_rounding): Likewise.
22494         (enable_test): Handle XFAIL_TEST flag.
22495         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22496         with finite results.
22497         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22498         auto-libm-test-out.
22500 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22501             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22503         [BZ #16214]
22504         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22505         __tls_get_addr_internal instead of __tls_get_offset in order to
22506         avoid GOT pointer dependency.  Make rtld export
22507         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22508         __tls_get_addr since we are a __tls_get_offset platform.
22509         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22510         GOT pointer being set up before.
22511         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22513 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22515         * manual/math.texi (Errors in Math Functions): Document accuracy
22516         goals.
22518         [BZ #15004]
22519         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22520         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22521         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22522         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22523         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22524         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22525         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22526         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22527         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22528         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22529         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22530         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22531         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22533         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22534         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22536         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22537         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22538         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22539         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22540         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22541         Likewise.
22542         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22543         Likewise.
22544         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22545         Likewise.
22546         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22547         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22548         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22549         atomic-feupdateenv and flt-rounds.
22550         * sysdeps/powerpc/nofpu/Versions (libc): Add
22551         __atomic_feholdexcept, __atomic_feclearexcept,
22552         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22553         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22554         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22555         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22556         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22557         here.
22558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22559         Update.
22561         * manual/arith.texi (FP Exceptions): Document that exceptions may
22562         not be raised when matherr is used.
22563         (Math Error Reporting): Document overflow in directed rounding
22564         modes.  Document that errno may not be set when finite values are
22565         returned on overflow.  Document intent to set errno on underflow
22566         only for underflow to zero.
22568         [BZ #16271]
22569         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22570         round-to-nearest then adjust result for other rounding modes.
22571         * include/fenv.h (fegetround): Use libm_hidden_proto.
22572         * math/fegetround.c (fegetround): Use libm_hidden_def.
22573         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22574         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22575         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22576         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22577         Likewise.
22578         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22579         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22580         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22581         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22583 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22585         [BZ #16077]
22586         * nss/Versions (libnss_files): Add
22587         _nss_files_gethostbyname3_r.
22588         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22589         New function.
22590         (HOST_DB_LOOKUP): Remove macro.
22591         (_nss_files_gethostbyname_r): Implement function without the
22592         HOST_DB_LOOKUP macro.
22593         (_nss_files_gethostbyname2_r): Likewise.
22595 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22597         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22599 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22601         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22602         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22603         warning.
22605 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22607         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22608         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22609         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22610         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22611         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22612         __fe_nomask_env_priv and attribute_hidden.
22613         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22614         (libc_feupdateenv_test_ppc): Likewise.
22615         (libc_feresetround_ppc): Likewise.
22616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22617         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22618         compat_symbol macro.
22619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22620         (__fe_nomask_env): Likewise.
22621         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22623 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22625         * string/Makefile: Remove ifunc tests.
22626         * string/test-string.h: Define TEST_IFUNC.
22627         * string/test-bcopy-ifunc.c: Remove.
22628         * string/test-bzero-ifunc.c: Likewise.
22629         * string/test-memccpy-ifunc.c: Likewise.
22630         * string/test-memchr-ifunc.c: Likewise.
22631         * string/test-memcmp-ifunc.c: Likewise.
22632         * string/test-memcpy-ifunc.c: Likewise.
22633         * string/test-memmem-ifunc.c: Likewise.
22634         * string/test-memmove-ifunc.c: Likewise.
22635         * string/test-mempcpy-ifunc.c: Likewise.
22636         * string/test-memrchr-ifunc.c: Likewise.
22637         * string/test-memset-ifunc.c: Likewise.
22638         * string/test-rawmemchr-ifunc.c: Likewise.
22639         * string/test-stpcpy-ifunc.c: Likewise.
22640         * string/test-stpncpy-ifunc.c: Likewise.
22641         * string/test-strcasecmp-ifunc.c: Likewise.
22642         * string/test-strcasestr-ifunc.c: Likewise.
22643         * string/test-strcat-ifunc.c: Likewise.
22644         * string/test-strchr-ifunc.c: Likewise.
22645         * string/test-strchrnul-ifunc.c: Likewise.
22646         * string/test-strcmp-ifunc.c: Likewise.
22647         * string/test-strcpy-ifunc.c: Likewise.
22648         * string/test-strcspn-ifunc.c: Likewise.
22649         * string/test-strlen-ifunc.c: Likewise.
22650         * string/test-strncasecmp-ifunc.c: Likewise.
22651         * string/test-strncat-ifunc.c: Likewise.
22652         * string/test-strncmp-ifunc.c: Likewise.
22653         * string/test-strncpy-ifunc.c: Likewise.
22654         * string/test-strnlen-ifunc.c: Likewise.
22655         * string/test-strpbrk-ifunc.c: Likewise.
22656         * string/test-strrchr-ifunc.c: Likewise.
22657         * string/test-strspn-ifunc.c: Likewise.
22658         * string/test-strstr-ifunc.c: Likewise.
22660 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22662         * benchtests/Makefile: Remove ifunc tests.
22663         * benchtests/bench-string.h: Define TEST_IFUNC.
22664         * benchtests/bench-bcopy-ifunc.c: Remove.
22665         * benchtests/bench-bzero-ifunc.c: Likewise.
22666         * benchtests/bench-memccpy-ifunc.c: Likewise.
22667         * benchtests/bench-memchr-ifunc.c: Likewise.
22668         * benchtests/bench-memcmp-ifunc.c: Likewise.
22669         * benchtests/bench-memcpy-ifunc.c: Likewise.
22670         * benchtests/bench-memmem-ifunc.c: Likewise.
22671         * benchtests/bench-memmove-ifunc.c: Likewise.
22672         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22673         * benchtests/bench-memrchr-ifunc.c: Likewise.
22674         * benchtests/bench-memset-ifunc.c: Likewise.
22675         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22676         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22677         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22678         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22679         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22680         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22681         * benchtests/bench-strcat-ifunc.c: Likewise.
22682         * benchtests/bench-strchr-ifunc.c: Likewise.
22683         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22684         * benchtests/bench-strcmp-ifunc.c: Likewise.
22685         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22686         * benchtests/bench-strcpy-ifunc.c: Likewise.
22687         * benchtests/bench-strcspn-ifunc.c: Likewise.
22688         * benchtests/bench-strlen-ifunc.c: Likewise.
22689         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22690         * benchtests/bench-strncat-ifunc.c: Likewise.
22691         * benchtests/bench-strncmp-ifunc.c: Likewise.
22692         * benchtests/bench-strncpy-ifunc.c: Likewise.
22693         * benchtests/bench-strnlen-ifunc.c: Likewise.
22694         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22695         * benchtests/bench-strrchr-ifunc.c: Likewise.
22696         * benchtests/bench-strsep-ifunc.c: Likewise.
22697         * benchtests/bench-strspn-ifunc.c: Likewise.
22698         * benchtests/bench-strstr-ifunc.c: Likewise.
22700 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22702         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22704 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22706         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22707         * rt/aio.h: Likewise.
22708         * sysdeps/gnu/bits/utmp.h: Likewise.
22709         * sysdeps/gnu/bits/utmpx.h: Likewise.
22710         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22711         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22712         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22713         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22714         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22715         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22716         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22717         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22718         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22719         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22720         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22721         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22722         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22724         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22725         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22726         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22727         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22728         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22729         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22730         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22731         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22732         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22733         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22734         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22735         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22736         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22737         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22738         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22739         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22740         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22741         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22742         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22743         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22744         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22745         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22746         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22747         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22748         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22749         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22750         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22751         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22753 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22755         [BZ #16245]
22756         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22757         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22759 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22761         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22762         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22763         Likewise.
22765 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22767         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22768         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22769         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22770         (__fesetround): Remove define.
22771         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22772         rounding and exceptions handling.
22773         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22774         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22775         (__fe_nomask_env): Likewise.
22776         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22777         __fegetround instead of fegetround.
22778         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22779         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22781 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22783         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22784         it's there.
22786         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22788 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22790         [BZ #11157]
22791         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22792         (encrypt_r): Likewise.
22793         * malloc/obstack.h (obstack_free): Likewise.
22794         * posix/unistd.h (encrypt): Likewise.
22796 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22798         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22799         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22800         DL_CALL_DT_FINI() that call the functions directly.
22801         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22802         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22803         * elf/dl-fini.c: Likewise.
22805 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22807         * malloc/hooks.c (memalign_check): Add alignment rounding.
22808         * malloc/malloc.c (_mid_memalign): New function.
22809         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22810         Implement by calling _mid_memalign.
22811         * manual/probes.texi (Memory Allocation Probes): Remove
22812         memory_valloc_retry and memory_pvalloc_retry.
22814 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22816         * locale/programs/locarchive.c (open_archive): Add const
22817         qualifier to ARCHIVEFNAME and copy default fname to
22818         DEFAULT_FNAME.
22820         [BZ #15601]
22821         * libio/tst-widetext.input: Rename Oriya to Odia.
22822         * locale/iso-639.def: Likewise.
22824         * manual/probes.texi (Mathematical Function Probes): Add
22825         documentation for sin, cos, asin and acos probes.
22826         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22827         (__sin32): Add slowasin probe.
22828         (__cos32): Add slowacos probe.
22829         (__mpsin): Add slowsin probe.
22830         (__mpcos): Add slowcos probe.
22832 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #15483]
22835         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22836         thread-local __sim_exceptions_thread and global
22837         __sim_exceptions_global.
22838         (__sim_disabled_exceptions): Change to thread-local
22839         __sim_disabled_exceptions_thread and global
22840         __sim_disabled_exceptions_global.
22841         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22842         and global __sim_round_mode_global.
22843         (__simulate_exceptions): Use thread-local floating-point state and
22844         set global state from it as needed.
22845         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22846         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22847         __sim_round_mode_thread.
22848         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22849         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22850         and global __sim_exceptions_global.
22851         (__sim_disabled_exceptions): Change to thread-local
22852         __sim_disabled_exceptions_thread and global
22853         __sim_disabled_exceptions_global.
22854         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22855         and global __sim_round_mode_global.
22856         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22857         (SIM_SET_GLOBAL): Likewise.
22858         * sysdeps/powerpc/soft-fp/sfp-machine.h
22859         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22860         __sim_round_mode_thread.
22861         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22862         __sim_disabled_exceptions_thread.
22863         (__sim_exceptions): Change to __sim_exceptions_thread.
22864         (__sim_disabled_exceptions): Change to
22865         __sim_disabled_exceptions_thread.
22866         (__sim_round_mode): Change to __sim_round_mode_thread.
22867         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22868         thread-local floating-point state and set global state from it as
22869         needed.
22870         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22871         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22872         (__sim_disabled_exceptions): Remove extern declaration.
22873         (feenableexcept): Use thread-local floating-point state and set
22874         global state from it as needed.
22875         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22876         extern declaration.
22877         (__sim_disabled_exceptions): Likewise.
22878         (__sim_round_mode): Likewise.
22879         (__fegetenv): Use thread-local floating-point state.
22880         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22881         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22882         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22883         floating-point state and set global state from it as needed.
22884         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22885         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22886         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22887         Likewise.
22888         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22889         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22890         Likewise.
22891         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22892         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22893         Use __sim_round_mode_thread.
22894         * math/test-fenv-tls.c: New file.
22895         * math/Makefile (tests): Add test-fenv-tls.
22896         ($(objpfx)test-fenv-tls): Depend on
22897         $(common-objpfx)nptl/libpthread.so.
22899 2013-11-19  Andreas Schwab  <schwab@suse.de>
22901         * locale/programs/locale.c (show_info): Decode wordarray elements.
22902         * locale/categories.def (LC_MONETARY): Add element for
22903         _NL_MONETARY_CRNCYSTR.
22904         * locale/C-monetary.c (conversion_rate): New variable.
22905         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22906         element.
22908 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22910         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22911         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22913 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22915         * elf/Makefile (tst-auxv): New test.
22916         * elf/tst-auxv.c: New
22917         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22919 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22921         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22922         (hidden_proto): Caller changed.
22923         (hidden_tls_proto): New macro.
22924         (libc_hidden_tls_proto): Likewise.
22925         (rtld_hidden_tls_proto): Likewise.
22926         (libm_hidden_tls_proto): Likewise.
22927         (libresolv_hidden_tls_proto): Likewise.
22928         (librt_hidden_tls_proto): Likewise.
22929         (libdl_hidden_tls_proto): Likewise.
22930         (libnss_files_hidden_tls_proto): Likewise.
22931         (libnsl_hidden_tls_proto): Likewise.
22932         (libnss_nisplus_hidden_tls_proto): Likewise.
22933         (libutil_hidden_tls_proto): Likewise.
22935 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22937         [BZ #10253]
22938         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22939         (decompose_rpath): Defer expansion to fillin_rpath.
22940         (_dl_init_paths): Pass linkmap to fillin_rpath.
22942 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22944         * benchtests/Makefile: Add strsep.
22945         * benchtests/bench-strsep.c: New file: strsep benchtest.
22946         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22948 2013-11-18  Andreas Schwab  <schwab@suse.de>
22950         * locale/programs/locale.c (show_info) [case byte]: Check for
22951         '\377' instead of '\177'.
22952         * locale/C-monetary.c (not_available): Always use "\377".
22953         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22954         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22955         detect unavailable sign_posn locale elements.
22956         * locale/localeconv.c (__localeconv): For grouping and
22957         mon_grouping handle "\177" and "\377" like no grouping.
22958         (INT_ELEM): New macro.  Use it to set all numeric members.
22959         * locale/programs/ld-monetary.c (monetary_read)
22960         <tok_mon_grouping>: Normalize single -1 to the empty string.
22961         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22962         Likewise.
22964 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22966         [BZ #16055]
22967         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22968         when we match (nil).
22969         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22971 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22973         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22974         (NO_TEST_INLINE): Update value.
22975         (ERRNO_UNCHANGED): Likewise.
22976         (ERRNO_EDOM): Likewise.
22977         (ERRNO_ERANGE): Likewise.
22978         (IGNORE_RESULT): Likewise.
22979         (check_float_internal): Check signs of NaN results if
22980         TEST_NAN_SIGN used.
22981         (check_complex): Pass TEST_NAN_SIGN flag through to second
22982         check_float_internal call.
22983         (copysign_test_data): Add tests with quiet NaNs as second
22984         argument.  Use TEST_NAN_SIGN.
22985         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22986         TEST_NAN_SIGN.
22987         (signbit_test_data): Add tests of quiet NaN argument.
22988         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22990         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22991         $ignore_result.
22992         (parse_args): Handle function results specified as IGNORE.
22993         * math/libm-test.inc (IGNORE_RESULT): New macro.
22994         (check_float_internal): Do not check numerical result if flag
22995         IGNORE_RESULT set.
22996         (check_complex): Pass through IGNORE_RESULT to second
22997         check_float_internal call.
22998         (check_int): Do not check numerical result if flag IGNORE_RESULT
22999         set.
23000         (check_long): Likewise.
23001         (check_bool): Likewise.
23002         (check_longlong): Likewise.
23003         (lrint_test_data): Add tests of infinite and NaN arguments.
23004         (lrint_tonearest_test_data): Likewise.
23005         (lrint_towardzero_test_data): Likewise.
23006         (lrint_downward_test_data): Likewise.
23007         (lrint_upward_test_data): Likewise.
23008         (llrint_test_data): Likewise.
23009         (llrint_tonearest_test_data): Likewise.
23010         (llrint_towardzero_test_data): Likewise.
23011         (llrint_downward_test_data): Likewise.
23012         (llrint_upward_test_data): Likewise.
23013         (lround_test_data): Likewise.
23014         (llround_test_data): Likewise.
23016         * math/libm-test.inc (NO_TEST_INLINE): New macro.
23017         (ERRNO_UNCHANGED): Update value.
23018         (ERRNO_EDOM): Likewise.
23019         (ERRNO_ERANGE): Likewise.
23020         (NO_TEST_INLINE_FLOAT): New macro.
23021         (NO_TEST_INLINE_DOUBLE): Likewise.
23022         (enable_test): New function.
23023         (RUN_TEST_f_f): Check enable_test before running test.
23024         (RUN_TEST_2_f): Likewise.
23025         (RUN_TEST_fff_f): Likewise.
23026         (RUN_TEST_c_f): Likewise.
23027         (RUN_TEST_f_f1): Likewise.
23028         (RUN_TEST_fF_f1): Likewise.
23029         (RUN_TEST_fI_f1): Likewise.
23030         (RUN_TEST_ffI_f1): Likewise.
23031         (RUN_TEST_c_c): Likewise.
23032         (RUN_TEST_cc_c): Likewise.
23033         (RUN_TEST_f_i): Likewise.
23034         (RUN_TEST_f_i_tg): Likewise.
23035         (RUN_TEST_ff_i_tg): Likewise.
23036         (RUN_TEST_f_b): Likewise.
23037         (RUN_TEST_f_b_tg): Likewise.
23038         (RUN_TEST_f_l): Likewise.
23039         (RUN_TEST_f_L): Likewise.
23040         (RUN_TEST_fFF_11): Likewise.
23041         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23042         conditionals.
23043         (cosh_test_data): Likewise.
23044         (exp_test_data): Likewise.
23045         (expm1_test_data): Likewise.
23046         (hypot_test_data): Likewise.
23047         (pow_test_data): Likewise.
23048         (sinh_test_data): Likewise.
23049         (tanh_test_data): Likewise.
23050         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23051         flags argument.
23053         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23054         tests with quiet NaN input and output.
23055         (acosh_test_data): Likewise.
23056         (asin_test_data): Likewise.
23057         (asinh_test_data): Likewise.
23058         (atan_test_data): Likewise.
23059         (atanh_test_data): Likewise.
23060         (atan2_test_data): Likewise.
23061         (cbrt_test_data): Likewise.
23062         (cos_test_data): Likewise.
23063         (cosh_test_data): Likewise.
23064         (erf_test_data): Likewise.
23065         (erfc_test_data): Likewise.
23066         (exp_test_data): Likewise.
23067         (exp10_test_data): Likewise.
23068         (exp2_test_data): Likewise.
23069         (expm1_test_data): Likewise.
23070         (hypot_test_data): Likewise.
23071         (j0_test_data): Likewise.
23072         (j1_test_data): Likewise.
23073         (jn_test_data): Likewise.
23074         (lgamma_test_data): Likewise.
23075         (log_test_data): Likewise.
23076         (log10_test_data): Likewise.
23077         (log1p_test_data): Likewise.
23078         (log2_test_data): Likewise.
23079         (pow_test_data): Likewise.
23080         (scalb_test_data): Likewise.
23081         (sin_test_data): Likewise.
23082         (sincos_test_data): Likewise.
23083         (sinh_test_data): Likewise.
23084         (tan_test_data): Likewise.
23085         (tanh_test_data): Likewise.
23086         (tgamma_test_data): Likewise.
23087         (y0_test_data): Likewise.
23088         (y1_test_data): Likewise.
23089         (yn_test_data): Likewise.
23091         [BZ #16167]
23092         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23093         argument being NaN and avoid computations with second argument in
23094         that case.
23095         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23096         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23097         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23099 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23101         * locale/iso-639.def: Add Chitwani Tharu (the).
23103 2013-11-14  Andreas Schwab  <schwab@suse.de>
23105         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23106         word instead of empty string.
23108 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23111         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23113         (__fe_nomask_env): Likewise.
23115 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23117         * benchtests/bench-timing.h: Include time.h.
23119 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23121         [BZ #15997]
23122         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23123         to 3.4.0 for x32.
23124         * sysdeps/unix/sysv/linux/configure: Regenerated.
23126 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23128         [BZ #16151]
23129         * stdlib/strtod_l.c (round_and_return): Do not consider
23130         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23131         exponent one less than half the least subnormal exponent.
23132         * stdlib/test-strtod-round-data: Add more tests.
23133         * stdlib/tst-strtod-round.c (tests): Regenerated.
23135 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23137         [BZ #14143]
23138         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23139         (__fe_mask_env): Likewise.
23140         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23141         libm_hidden_proto and add function prototype.
23142         (__fe_mask_env): Add function prototype.
23143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23144         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23146         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23148         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23150 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23152         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23153         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23155 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23157         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23158         of htab_find_slot().
23160 2013-11-11  David S. Miller  <davem@davemloft.net>
23162         [BZ #16150]
23163         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23164         symbol in the non-vis3 case in static builds.
23165         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23166         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23167         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23168         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23170 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23172         [BZ #387]
23173         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23174         it is empty.
23176 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23178         * benchtests/Makefile: Add bench-strtod.
23179         * benchtests/bench-strtod.c: New file: strtod benchtest
23181 2013-11-11  Andreas Schwab  <schwab@suse.de>
23183         [BZ #16153]
23184         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23185         terminating NUL in key length.
23187 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23189         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23190         Add artificial ODP entry for vDSO symbol for PPC64.
23191         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23192         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23194 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23196         [BZ #15374]
23197         * nss/getent.c (services_keys): Recognize services starting with digit.
23199 2013-11-06  David S. Miller  <davem@davemloft.net>
23201         [BZ #15985]
23202         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23203         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23205 2013-11-06  Will Newton  <will.newton@linaro.org>
23207         * manual/memory.texi (Malloc Examples): Remove register
23208         keyword from examples.
23210 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23212         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23214 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23216         [BZ #6981]
23217         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23218         depending on [__GCC_IEC_559 > 0].
23219         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23220         depending on [__GCC_IEC_559_COMPLEX > 0].
23222 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23224         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23225         to iso-639.def.
23227 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23229         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23231 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23233         [BZ #16112]
23234         * malloc/malloc (malloc_info): Do not handle first bin as
23235         special case.
23237 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23239         * locale/iso-639.def: Add Central Nahuatl (nhn).
23241 2013-11-01  Bruno Haible  <bruno@clisp.org>
23243         [BZ #7003]
23244         * manual/math.texi (BSD Random): Specify range upper bound as
23245         in POSIX.
23247 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23249         * locale/iso-639.def: Add Meadow Mari (mhr).
23251 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23253         [BZ #14752], [BZ #15763]
23254         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23255         Validate name.
23256         * rt/tst_shm.c: Add test for escaping directory.
23258 2013-10-31  Andreas Schwab  <schwab@suse.de>
23260         [BZ #15917]
23261         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23262         followed by 'x' as part of digit sequence.
23263         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23265 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23267         [BZ #16037]
23268         * configure.ac: allow GNU Make 4.0 and greater.
23269         * configure: Regenerated.
23271 2013-10-30  Will Newton  <will.newton@linaro.org>
23273         [BZ #16038]
23274         * malloc/hooks.c (memalign_check): Limit alignment to the
23275         maximum representable power of two.
23276         * malloc/malloc.c (__libc_memalign): Likewise.
23277         * malloc/tst-memalign.c (do_test): Add test for very
23278         large alignment values.
23279         * malloc/tst-posix_memalign.c (do_test): Likewise.
23281 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23283         [BZ #11087]
23284         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23285         (munmap_chunk): Likewise.
23286         (mremap_chunk): Likewise.
23288 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23290         [BZ #15799]
23291         * stdlib/div.c (div): Remove obsolete code.
23292         * stdlib/ldiv.c (ldiv): Likewise.
23293         * stdlib/lldiv.c (lldiv): Likewise.
23295 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23297         [BZ #16071]
23298         * nss/nss_files/files-XXX.c (get_contents_ret): New
23299         enumerator.
23300         (get_contents): New function.
23301         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23303 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23305         * configure.in: Moved to ...
23306         * configure.ac: ... here. Change reference to configure.in
23307         to configure.ac.
23308         * sysdeps/arm/preconfigure.ac: ... here.
23309         configure.in to configure.ac.
23310         * sysdeps/gnu/configure.in: Moved to ...
23311         * sysdeps/gnu/configure.ac: ... here.
23312         * sysdeps/i386/configure.in: Moved to ...
23313         * sysdeps/i386/configure.ac: ... here.
23314         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23315         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23316         * sysdeps/mach/configure.in: Moved to ...
23317         * sysdeps/mach/configure.ac: ... here.
23318         * sysdeps/mach/hurd/configure.in: Moved to ...
23319         * sysdeps/mach/hurd/configure.ac: ... here.
23320         * sysdeps/powerpc/configure.in: Moved to ...
23321         * sysdeps/powerpc/configure.ac: ... here.
23322         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23323         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23324         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23325         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23326         * sysdeps/s390/s390-32/configure.in: Moved to ...
23327         * sysdeps/s390/s390-32/configure.ac: ... here.
23328         * sysdeps/s390/s390-64/configure.in: Moved to ...
23329         * sysdeps/s390/s390-64/configure.ac: ... here.
23330         * sysdeps/sh/configure.in: Moved to ...
23331         * sysdeps/sh/configure.ac: ... here.
23332         * sysdeps/sparc/configure.in: Moved to ...
23333         * sysdeps/sparc/configure.ac: ... here.
23334         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23335         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23336         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23337         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23338         * sysdeps/x86_64/configure.in: Moved to ...
23339         * sysdeps/x86_64/configure.ac: ... here.
23340         * sysdeps/x86_64/preconfigure.in: Moved to ...
23341         * sysdeps/x86_64/preconfigure.ac: ... here.
23342         * aclocal.m4: Change reference to configure.in to configure.ac.
23343         * config.h.in: Likewise.
23344         * manual/install.texi: Likewise.
23345         * manual/maint.texi: Likewise.
23346         * Makefile: Likewise.
23347         * malloc/Makefile: Likewise.
23348         * nscd/Makefile: Likewise.
23349         * Makeconfig: Change reference to configure.in and
23350         preconfigure.in to configure.ac and preconfigure.ac
23351         respectively.
23352         * INSTALL: Regenerated.
23353         * configure: Likewise.
23354         * sysdeps/gnu/configure: Likewise.
23355         * sysdeps/i386/configure: Likewise.
23356         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23357         * sysdeps/mach/configure: Likewise.
23358         * sysdeps/mach/hurd/configure: Likewise.
23359         * sysdeps/powerpc/configure: Likewise.
23360         * sysdeps/powerpc/powerpc32/configure: Likewise.
23361         * sysdeps/powerpc/powerpc64/configure: Likewise.
23362         * sysdeps/s390/s390-32/configure: Likewise.
23363         * sysdeps/s390/s390-64/configure: Likewise.
23364         * sysdeps/sh/configure: Likewise.
23365         * sysdeps/sparc/configure: Likewise.
23366         * sysdeps/unix/sysv/linux/configure: Likewise.
23367         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23368         * sysdeps/x86_64/configure: Likewise.
23369         * sysdeps/x86_64/preconfigure: Likewise.
23371 2013-10-29  Andreas Schwab  <schwab@suse.de>
23373         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23375 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23377         * benchtests/pow-inputs: Add new inputs.
23379         * benchtests/exp-inputs: Add new inputs.
23381         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23382         conditional check for return value.
23383         (__cos32): Likewise.
23385 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23387         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23388         to provide a boost for large inputs with word alignment.
23389         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23390         implementation based on optimized PPC64 strcpy.
23391         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23392         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23393         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23394         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23396 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23398         [BZ #2801]
23399         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23401 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23403         [BZ #14876]
23404         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23405         * time/tst-strptime.c (day_tests): Add testcase.
23407 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23409         [BZ #14029]
23410         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23412 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23414         [BZ #16074]
23415         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23416         MAP_FAILED on error.
23418 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23420         [BZ #16072]
23421         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23422         heap for large requests.
23424 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23426         [BZ #9954]
23427         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23428         result if the result has no associated interface.
23429         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23430         interface for all 127.X.Y.Z addresses.
23432 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23434         * locale/iso-639.def: Add Ligurian (lij)
23436 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23438         [BZ #15825]
23439         * sunrpc/rpc_main.c: Document rpcgen -5.
23441 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23443         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23445 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23447         [BZ #10278]
23448         * posix/glob.c: Match only directories when trailing slash is present.
23449         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23450         (main): Add testcase.
23452 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23454         [BZ #15670]
23455         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23457 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23459         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23460         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23461         AUTH_DES and cindex for FIPS 140-2.
23462         (DES Encryption): Add cindex FIPS 46-3.
23464         * locale/locarchive.h (struct locarhandle): Add fname.
23465         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23466         if an optional argument was specified to --list-archive,
23467         otherwise NULL.
23468         * locale/programs/locarchive.c (show_archive_content): Take new
23469         argument fname and pass it via ah.fname to open_archive.
23470         * locale/programs/localedef.h: Update decl.
23471         (open_archive): If AH->fname is non-null, open that file
23472         rather than the default file name, and don't ignore ENOENT.
23473         (create_archive): Set AH.fname to NULL.
23474         (delete_locales_from_archive): Likewise.
23475         (add_locales_to_archive): Likewise.
23476         * locale/programs/locfile.c (write_all_categories): Likewise.
23478 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23479             Aldy Hernandez  <aldyh@redhat.com>
23481         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23482         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23483         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23484         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23485         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23487         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23488         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23489         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23490         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23491         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23492         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23493         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23494         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23495         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23496         Likewise.
23497         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23498         Likewise.
23499         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23500         Likewise.
23501         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23502         Likewise.
23503         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23504         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23505         Likewise.
23506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23507         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23508         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23509         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23510         Likewise.
23511         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23512         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23513         * sysdeps/powerpc/preconfigure: Likewise.
23514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23515         Likewise.
23516         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23517         Replace contents of file by #include of <fenv_libc.h>.
23518         * sysdeps/powerpc/soft-fp/sfp-machine.h
23519         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23520         and <sys/prctl.h>.
23521         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23522         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23523         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23524         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23525         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23526         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23527         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23528         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23529         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23530         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23531         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23532         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23534         Allow copysignl PLT reference to be missing.
23536 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23537             Joseph Myers  <joseph@codesourcery.com
23539         [BZ #15948]
23540         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23541         single character.
23542         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23544 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23546         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23547         * elf/tst-tls1.c: Likewise.
23548         * elf/tst-tls10.h: Likewise.
23549         * elf/tst-tls14.c: Likewise.
23550         * elf/tst-tls2.c: Likewise.
23551         * elf/tst-tls3.c: Likewise.
23552         * elf/tst-tls4.c: Likewise.
23553         * elf/tst-tls5.c: Likewise.
23554         * elf/tst-tls6.c: Likewise.
23555         * elf/tst-tls7.c: Likewise.
23556         * elf/tst-tls8.c: Likewise.
23557         * elf/tst-tls9.c: Likewise.
23558         * elf/tst-tlsmod1.c: Likewise.
23559         * elf/tst-tlsmod13.c: Likewise.
23560         * elf/tst-tlsmod13a.c: Likewise.
23561         * elf/tst-tlsmod14a.c: Likewise.
23562         * elf/tst-tlsmod16a.c: Likewise.
23563         * elf/tst-tlsmod16b.c: Likewise.
23564         * elf/tst-tlsmod2.c: Likewise.
23565         * elf/tst-tlsmod3.c: Likewise.
23566         * elf/tst-tlsmod4.c: Likewise.
23567         * elf/tst-tlsmod5.c: Likewise.
23568         * elf/tst-tlsmod6.c: Likewise.
23570 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23572         [BZ #12486]
23573         * malloc/malloc.c: remove checks for statistics.
23575 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23577         [BZ #15277]
23578         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23579         * inet/tst-network.c: Add testcase.
23581 2013-10-17  Andreas Schwab  <schwab@suse.de>
23583         [BZ #15218]
23584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23585         to determine canonical name.
23587 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23589         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23590         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23592         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23594         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23595         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23596         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23597         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23598         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23599         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23600         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23601         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23604         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23605         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23606         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23607         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23608         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23611         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23612         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23613         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23614         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23615         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23616         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23617         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23618         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23619         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23621         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23622         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23623         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23624         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23625         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23626         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23627         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23628         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23629         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23630         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23631         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23632         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23633         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23634         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23635         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23636         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23637         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23638         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23639         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23640         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23641         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23642         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23643         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23644         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23645         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23646         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23648 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23650         [BZ #16041]
23651         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23652         make result into a quiet NaN.
23654 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23656         * soft-fp/adddf3.c: Fix horizontal whitespace.
23657         * soft-fp/addsf3.c: Likewise.
23658         * soft-fp/addtf3.c: Likewise.
23659         * soft-fp/divdf3.c: Likewise.
23660         * soft-fp/divsf3.c: Likewise.
23661         * soft-fp/divtf3.c: Likewise.
23662         * soft-fp/double.h: Likewise.
23663         * soft-fp/eqdf2.c: Likewise.
23664         * soft-fp/eqsf2.c: Likewise.
23665         * soft-fp/eqtf2.c: Likewise.
23666         * soft-fp/extenddftf2.c: Likewise.
23667         * soft-fp/extended.h: Likewise.
23668         * soft-fp/extendsfdf2.c: Likewise.
23669         * soft-fp/extendsftf2.c: Likewise.
23670         * soft-fp/extendxftf2.c: Likewise.
23671         * soft-fp/fixdfdi.c: Likewise.
23672         * soft-fp/fixdfsi.c: Likewise.
23673         * soft-fp/fixdfti.c: Likewise.
23674         * soft-fp/fixsfdi.c: Likewise.
23675         * soft-fp/fixsfsi.c: Likewise.
23676         * soft-fp/fixsfti.c: Likewise.
23677         * soft-fp/fixtfdi.c: Likewise.
23678         * soft-fp/fixtfsi.c: Likewise.
23679         * soft-fp/fixtfti.c: Likewise.
23680         * soft-fp/fixunsdfdi.c: Likewise.
23681         * soft-fp/fixunsdfsi.c: Likewise.
23682         * soft-fp/fixunsdfti.c: Likewise.
23683         * soft-fp/fixunssfdi.c: Likewise.
23684         * soft-fp/fixunssfsi.c: Likewise.
23685         * soft-fp/fixunssfti.c: Likewise.
23686         * soft-fp/fixunstfdi.c: Likewise.
23687         * soft-fp/fixunstfsi.c: Likewise.
23688         * soft-fp/fixunstfti.c: Likewise.
23689         * soft-fp/floatdidf.c: Likewise.
23690         * soft-fp/floatdisf.c: Likewise.
23691         * soft-fp/floatditf.c: Likewise.
23692         * soft-fp/floatsidf.c: Likewise.
23693         * soft-fp/floatsisf.c: Likewise.
23694         * soft-fp/floatsitf.c: Likewise.
23695         * soft-fp/floattidf.c: Likewise.
23696         * soft-fp/floattisf.c: Likewise.
23697         * soft-fp/floattitf.c: Likewise.
23698         * soft-fp/floatundidf.c: Likewise.
23699         * soft-fp/floatundisf.c: Likewise.
23700         * soft-fp/floatunditf.c: Likewise.
23701         * soft-fp/floatunsidf.c: Likewise.
23702         * soft-fp/floatunsisf.c: Likewise.
23703         * soft-fp/floatunsitf.c: Likewise.
23704         * soft-fp/floatuntidf.c: Likewise.
23705         * soft-fp/floatuntisf.c: Likewise.
23706         * soft-fp/floatuntitf.c: Likewise.
23707         * soft-fp/fmadf4.c: Likewise.
23708         * soft-fp/fmasf4.c: Likewise.
23709         * soft-fp/fmatf4.c: Likewise.
23710         * soft-fp/gedf2.c: Likewise.
23711         * soft-fp/gesf2.c: Likewise.
23712         * soft-fp/getf2.c: Likewise.
23713         * soft-fp/ledf2.c: Likewise.
23714         * soft-fp/lesf2.c: Likewise.
23715         * soft-fp/letf2.c: Likewise.
23716         * soft-fp/muldf3.c: Likewise.
23717         * soft-fp/mulsf3.c: Likewise.
23718         * soft-fp/multf3.c: Likewise.
23719         * soft-fp/negdf2.c: Likewise.
23720         * soft-fp/negsf2.c: Likewise.
23721         * soft-fp/negtf2.c: Likewise.
23722         * soft-fp/op-1.h: Likewise.
23723         * soft-fp/op-2.h: Likewise.
23724         * soft-fp/op-4.h: Likewise.
23725         * soft-fp/op-8.h: Likewise.
23726         * soft-fp/op-common.h: Likewise.
23727         * soft-fp/quad.h: Likewise.
23728         * soft-fp/single.h: Likewise.
23729         * soft-fp/soft-fp.h: Likewise.
23730         * soft-fp/sqrtdf2.c: Likewise.
23731         * soft-fp/sqrtsf2.c: Likewise.
23732         * soft-fp/sqrttf2.c: Likewise.
23733         * soft-fp/subdf3.c: Likewise.
23734         * soft-fp/subsf3.c: Likewise.
23735         * soft-fp/subtf3.c: Likewise.
23736         * soft-fp/truncdfsf2.c: Likewise.
23737         * soft-fp/trunctfdf2.c: Likewise.
23738         * soft-fp/trunctfsf2.c: Likewise.
23739         * soft-fp/trunctfxf2.c: Likewise.
23740         * soft-fp/unorddf2.c: Likewise.
23741         * soft-fp/unordsf2.c: Likewise.
23742         * soft-fp/unordtf2.c: Likewise.
23744 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23746         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23747         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23749 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23751         * elf/dl-libc.c: Clear initfini list after freeing.
23753 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23755         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23756         * soft-fp/addsf3.c: Likewise.
23757         * soft-fp/addtf3.c: Likewise.
23758         * soft-fp/divdf3.c: Likewise.
23759         * soft-fp/divsf3.c: Likewise.
23760         * soft-fp/divtf3.c: Likewise.
23761         * soft-fp/double.h: Likewise.
23762         * soft-fp/eqdf2.c: Likewise.
23763         * soft-fp/eqsf2.c: Likewise.
23764         * soft-fp/eqtf2.c: Likewise.
23765         * soft-fp/extenddftf2.c: Likewise.
23766         * soft-fp/extended.h: Likewise.
23767         * soft-fp/extendsfdf2.c: Likewise.
23768         * soft-fp/extendsftf2.c: Likewise.
23769         * soft-fp/extendxftf2.c: Likewise.
23770         * soft-fp/fixdfdi.c: Likewise.
23771         * soft-fp/fixdfsi.c: Likewise.
23772         * soft-fp/fixdfti.c: Likewise.
23773         * soft-fp/fixsfdi.c: Likewise.
23774         * soft-fp/fixsfsi.c: Likewise.
23775         * soft-fp/fixsfti.c: Likewise.
23776         * soft-fp/fixtfdi.c: Likewise.
23777         * soft-fp/fixtfsi.c: Likewise.
23778         * soft-fp/fixtfti.c: Likewise.
23779         * soft-fp/fixunsdfdi.c: Likewise.
23780         * soft-fp/fixunsdfsi.c: Likewise.
23781         * soft-fp/fixunsdfti.c: Likewise.
23782         * soft-fp/fixunssfdi.c: Likewise.
23783         * soft-fp/fixunssfsi.c: Likewise.
23784         * soft-fp/fixunssfti.c: Likewise.
23785         * soft-fp/fixunstfdi.c: Likewise.
23786         * soft-fp/fixunstfsi.c: Likewise.
23787         * soft-fp/fixunstfti.c: Likewise.
23788         * soft-fp/floatdidf.c: Likewise.
23789         * soft-fp/floatdisf.c: Likewise.
23790         * soft-fp/floatditf.c: Likewise.
23791         * soft-fp/floatsidf.c: Likewise.
23792         * soft-fp/floatsisf.c: Likewise.
23793         * soft-fp/floatsitf.c: Likewise.
23794         * soft-fp/floattidf.c: Likewise.
23795         * soft-fp/floattisf.c: Likewise.
23796         * soft-fp/floattitf.c: Likewise.
23797         * soft-fp/floatundidf.c: Likewise.
23798         * soft-fp/floatundisf.c: Likewise.
23799         * soft-fp/floatunsidf.c: Likewise.
23800         * soft-fp/floatunsisf.c: Likewise.
23801         * soft-fp/floatuntidf.c: Likewise.
23802         * soft-fp/floatuntisf.c: Likewise.
23803         * soft-fp/floatuntitf.c: Likewise.
23804         * soft-fp/fmadf4.c: Likewise.
23805         * soft-fp/fmasf4.c: Likewise.
23806         * soft-fp/fmatf4.c: Likewise.
23807         * soft-fp/gedf2.c: Likewise.
23808         * soft-fp/gesf2.c: Likewise.
23809         * soft-fp/getf2.c: Likewise.
23810         * soft-fp/ledf2.c: Likewise.
23811         * soft-fp/lesf2.c: Likewise.
23812         * soft-fp/letf2.c: Likewise.
23813         * soft-fp/muldf3.c: Likewise.
23814         * soft-fp/mulsf3.c: Likewise.
23815         * soft-fp/multf3.c: Likewise.
23816         * soft-fp/negdf2.c: Likewise.
23817         * soft-fp/negsf2.c: Likewise.
23818         * soft-fp/negtf2.c: Likewise.
23819         * soft-fp/op-1.h: Likewise.
23820         * soft-fp/op-2.h: Likewise.
23821         * soft-fp/op-4.h: Likewise.
23822         * soft-fp/op-8.h: Likewise.
23823         * soft-fp/op-common.h: Likewise.
23824         * soft-fp/quad.h: Likewise.
23825         * soft-fp/single.h: Likewise.
23826         * soft-fp/soft-fp.h: Likewise.
23827         * soft-fp/sqrtdf2.c: Likewise.
23828         * soft-fp/sqrtsf2.c: Likewise.
23829         * soft-fp/sqrttf2.c: Likewise.
23830         * soft-fp/subdf3.c: Likewise.
23831         * soft-fp/subsf3.c: Likewise.
23832         * soft-fp/subtf3.c: Likewise.
23833         * soft-fp/truncdfsf2.c: Likewise.
23834         * soft-fp/trunctfdf2.c: Likewise.
23835         * soft-fp/trunctfsf2.c: Likewise.
23836         * soft-fp/trunctfxf2.c: Likewise.
23837         * soft-fp/unorddf2.c: Likewise.
23838         * soft-fp/unordsf2.c: Likewise.
23839         * soft-fp/unordtf2.c: Likewise.
23841 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23843         [BZ #15672]
23844         * misc/error.c (error_tail): Fix possible buffer overflow.
23846 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23848         [BZ #13028]
23849         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23850         address.
23852 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23854         [BZ #832]
23855         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23856         testing pipefail option.
23858 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23860         * soft-fp/double.h: Indent preprocessor directives inside #if.
23861         * soft-fp/extended.h: Likewise.
23862         * soft-fp/op-2.h: Likewise.
23863         * soft-fp/op-4.h: Likewise.
23864         * soft-fp/op-common.h: Likewise.
23865         * soft-fp/quad.h: Likewise.
23866         * soft-fp/single.h: Likewise.
23867         * soft-fp/soft-fp.h: Likewise.
23869 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23871         * iconv/iconv_prog.c: Fix typos.
23872         * stdio-common/psiginfo-data.h: Likewise.
23874 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23876         [BZ #15764]
23877         * locale/setlocale.c: Fix typo.
23879 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23881         [BZ #16036]
23882         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23883         signaling NaN arguments.
23884         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23885         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23887         [BZ #14910]
23888         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23889         unordered operands.
23890         * soft-fp/gesf2.c (__gesf2): Likewise.
23891         * soft-fp/getf2.c (__getf2): Likewise.
23892         * soft-fp/ledf2.c (__ledf2): Likewise.
23893         * soft-fp/lesf2.c (__lesf2): Likewise.
23894         * soft-fp/letf2.c (__letf2): Likewise.
23896         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23897         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23898         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23899         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23900         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23901         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23902         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23903         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23904         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23905         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23906         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23907         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23908         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23909         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23910         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23911         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23912         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23913         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23914         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23915         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23916         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23917         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23918         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23919         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23920         * soft-fp/floattidf.c (__floattidf): Likewise.
23921         * soft-fp/floattisf.c (__floattisf): Likewise.
23922         * soft-fp/floattitf.c (__floattitf): Likewise.
23923         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23924         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23925         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23926         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23927         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23928         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23929         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23930         * soft-fp/gesf2.c (__gesf2): Likewise.
23931         * soft-fp/getf2.c (__getf2): Likewise.
23932         * soft-fp/ledf2.c (__ledf2): Likewise.
23933         * soft-fp/lesf2.c (__lesf2): Likewise.
23934         * soft-fp/letf2.c (__letf2): Likewise.
23936         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23937         Undefine and redefine.
23938         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23939         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23940         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23941         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23942         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23943         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23944         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23945         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23946         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23947         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23948         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23949         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23950         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23951         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23952         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23954         [BZ #16032]
23955         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23956         without decrementing exponent if mantissa >= that for the
23957         denominator, not >.
23958         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23959         denominator, not >.  Decrement exponent in < case instead of
23960         incrementing in >= case.
23961         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23962         without decrementing exponent if mantissa >= that for the
23963         denominator, not >.
23965         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23966         computing saturated result for unsigned overflow.
23968 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23969             Jeff Law  <law@redhat.com>
23971         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23972         (atan2Mp): Add systemtap probe marker.
23973         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23974         (__ieee754_log): Add systemtap probe marker.
23975         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23976         (atanMp): Add systemtap probe marker.
23977         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23978         (tanMp): Add systemtap probe marker.
23979         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23980         (__slowexp): Add systemtap probe marker.
23981         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23982         (__slowpow): Add systemtap probe marker.
23983         * manual/probes.texi: Document probes.
23985 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23987         [BZ #15362]
23988         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23989         written.
23990         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23991         written.
23992         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23993         written to buffer but not flushed.
23994         * libio/iofwrite_u.c:  Likewise.
23995         * libio/iopadn.c:  Return bytes returned even if EOF was
23996         encountered.
23997         * libio/iowpadn.c:  Likewise.
23998         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23999         if _IO_padn does not write the whole buffer.
24000         [!COMPILE_WPRINTF] (PAD): Likewise.
24002 2013-10-10  David S. Miller  <davem@davemloft.net>
24004         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24005         directory block.
24007 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24009         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
24010         instead of FSF address.
24011         * soft-fp/fixdfti.c: Likewise.
24012         * soft-fp/fixsfti.c: Likewise.
24013         * soft-fp/fixtfti.c: Likewise.
24014         * soft-fp/fixunsdfti.c: Likewise.
24015         * soft-fp/fixunssfti.c: Likewise.
24016         * soft-fp/fixunstfti.c: Likewise.
24017         * soft-fp/floattidf.c: Likewise.
24018         * soft-fp/floattisf.c: Likewise.
24019         * soft-fp/floattitf.c: Likewise.
24020         * soft-fp/floatuntidf.c: Likewise.
24021         * soft-fp/floatuntisf.c: Likewise.
24022         * soft-fp/floatuntitf.c: Likewise.
24023         * soft-fp/trunctfxf2.c: Likewise.
24025         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
24026         * soft-fp/fixdfti.c: Likewise.
24027         * soft-fp/fixsfti.c: Likewise.
24028         * soft-fp/fixtfti.c: Likewise.
24029         * soft-fp/fixunsdfti.c: Likewise.
24030         * soft-fp/fixunssfti.c: Likewise.
24031         * soft-fp/fixunstfti.c: Likewise.
24032         * soft-fp/floattidf.c: Likewise.
24033         * soft-fp/floattisf.c: Likewise.
24034         * soft-fp/floattitf.c: Likewise.
24035         * soft-fp/floatuntidf.c: Likewise.
24036         * soft-fp/floatuntisf.c: Likewise.
24037         * soft-fp/floatuntitf.c: Likewise.
24038         * soft-fp/trunctfxf2.c: Likewise.
24040 2013-10-10  David S. Miller  <davem@davemloft.net>
24042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24044 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24046         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24047         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24048         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24049         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24050         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24051         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24052         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24054         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24055         for NaNs before doing comparisons on argument.
24056         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24057         Likewise.
24059 2013-10-10  Will Newton  <will.newton@linaro.org>
24061         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24062         passed to _int_memalign does not overflow.
24064 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24066         * scripts/bench.pl: Add include-sources directive.
24067         * benchtests/README: Update documentation.
24069 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24071         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24072         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24073         instead of FP_INIT_ROUNDMODE.
24074         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24075         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24077         [BZ #16034]
24078         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24079         copy class of input value.
24080         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24081         not handle exceptions.
24082         * soft-fp/negsf2.c (__negsf2): Likewise.
24083         * soft-fp/negtf2.c (__negtf2): Likewise.
24084         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24086 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24088         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24089         semicolon.  From Linux kernel.
24091 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24093         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24095 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24097         [BZ #156]
24098         * manual/socket.texi: Added statement about buffer
24099         for gethostbyname2_r.
24101 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24103         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24104         Use .p2align directive instead, throughout.
24105         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24106         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24107         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24108         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24109         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24110         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24111         * sysdeps/x86_64/strchr.S: Likewise.
24112         * sysdeps/x86_64/strrchr.S: Likewise.
24114 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24116         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24118         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24120         * sysdeps/generic/math_private.h (__mpsin1): Remove
24121         declaration.
24122         (__mpcos1): Likewise.
24123         (__mpsin): New argument __range_reduce.
24124         (__mpcos): Likewise.
24125         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24126         (slow): Use __mpsin and __mpcos.
24127         (slow1): Likewise.
24128         (slow2): Likewise.
24129         (sloww): Likewise.
24130         (sloww1): Likewise.
24131         (sloww2): Likewise.
24132         (bsloww): Likewise.
24133         (bsloww1): Likewise.
24134         (bsloww2): Likewise.
24135         (cslow2): Likewise.
24136         (csloww): Likewise.
24137         (csloww1): Likewise.
24138         (csloww2): Likewise.
24139         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24140         range_reduce.  Merge in __mpsin1.
24141         (__mpcos): Likewise.
24142         (__mpsin1): Remove.
24143         (__mpcos1): Likewise.
24145 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24147         * locale/loadlocale.c (_nl_intern_locale_data): Use
24148         LOCFILE_ALIGNED_P.
24149         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24150         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24151         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24152         obstack data is appropriately aligned.
24153         (obstack_int32_grow_fast): Likewise.
24154         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24155         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24156         (add_locale_uint32_array): Likewise.
24158 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24160         * benchtests/Makefile: Remove ARGLIST and RET variables.
24161         ($(objpfx)bench-%.c): Pass only function name to the script.
24162         * benchtests/README: Update documentation.
24163         * benchtests/acos-inputs: Add new directives.
24164         * benchtests/acosh-inputs: Likewise.
24165         * benchtests/asin-inputs: Likewise.
24166         * benchtests/asinh-inputs: Likewise.
24167         * benchtests/atan-inputs: Likewise.
24168         * benchtests/atanh-inputs: Likewise.
24169         * benchtests/cos-inputs: Likewise.
24170         * benchtests/cosh-inputs: Likewise.
24171         * benchtests/exp-inputs: Likewise.
24172         * benchtests/log-inputs: Likewise.
24173         * benchtests/pow-inputs: Likewise.
24174         * benchtests/rint-inputs: Likewise.
24175         * benchtests/sin-inputs: Likewise.
24176         * benchtests/sinh-inputs: Likewise.
24177         * benchtests/tan-inputs: Likewise.
24178         * benchtests/tanh-inputs: Likewise.
24179         * scripts/bench.pl: Add support for new directives.
24181 2013-10-07  Alan Modra  <amodra@gmail.com>
24183         * README: Fix careless merge.
24185 2013-10-05  Alan Modra  <amodra@gmail.com>
24187         * NEWS: Mention powerpc64le support and bugs fixed.
24188         * README: Both big-endian and little-endian powerpc64 supported.
24190 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24192         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24193         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24194         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24195         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24197 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24199         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24200         match prototype.
24202 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24204         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24205         Move -mhard-float appending from
24206         ports/sysdeps/powerpc/powerpc32/Makefile.
24207         [$(with-fp) = yes] (ASFLAGS): Likewise.
24208         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24209         * sysdeps/powerpc/nofpu: Move directory from
24210         ports/sysdeps/powerpc/nofpu.
24211         * sysdeps/powerpc/soft-fp: Move directory from
24212         ports/sysdeps/powerpc/soft-fp.
24213         * sysdeps/powerpc/powerpc32/405: Move directory from
24214         ports/sysdeps/powerpc/powerpc32/405.
24215         * sysdeps/powerpc/powerpc32/440: Move directory from
24216         ports/sysdeps/powerpc/powerpc32/440.
24217         * sysdeps/powerpc/powerpc32/464: Move directory from
24218         ports/sysdeps/powerpc/powerpc32/464.
24219         * sysdeps/powerpc/powerpc32/476: Move directory from
24220         ports/sysdeps/powerpc/powerpc32/476.
24221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24222         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24224         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24226         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24228         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24230         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24231         * README: Update for powerpc-*-linux-gnu software floating point
24232         support in libc.
24234         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24235         case to powerpc/powerpc32*.
24236         * sysdeps/unix/sysv/linux/configure: Regenerated.
24238         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24239         (_FPU_MASK_OM): Define as 0x04.
24240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24242         0x00c10080.
24243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24244         0x0000003c.
24245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24248         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24249         getcontext_e500.
24250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24251         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24252         setcontext_e500.
24253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24254         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24255         and setcontext_e500.
24257 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24259         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24261 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24263         * manual/threads.texi (Default Thread Attributes): Fix typo.
24265 2013-10-04  Will Newton  <will.newton@linaro.org>
24267         * malloc/Makefile: Add tst-memalign.
24268         * malloc/tst-memalign.c: New file.
24270         * malloc/tst-posix_memalign.c: Add comments.
24271         (do_test): Add comments and call free on all potentially
24272         allocated pointers. Add space after cast.
24274         * malloc/tst-pvalloc.c: Add comments.
24275         (do_test): Add comments and call free on all potentially
24276         allocated pointers. Remove duplicate check for NULL pointer.
24277         Add space after cast.
24279         * malloc/tst-valloc.c: Add comments.
24280         (do_test): Add comments and call free on all potentially
24281         allocated pointers. Remove duplicate check for NULL pointer.
24282         Add space after cast.
24284 2013-10-04  Alan Modra  <amodra@gmail.com>
24286         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24287         Use stdint types in rather than __attribute__((mode())).
24288         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24290 2013-10-04  Alan Modra  <amodra@gmail.com>
24292         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24293         Correct handling of unaligned relocs for little-endian.
24294         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24296 2013-10-04  Alan Modra  <amodra@gmail.com>
24298         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24299         * configure: Regenerate.
24300         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24301         * shlib-versions: Likewise.
24303 2013-10-04  Alan Modra  <amodra@gmail.com>
24305         * string/tester.c (test_memrchr): Increment reported test cycle.
24307 2013-10-04  Alan Modra  <amodra@gmail.com>
24309         * string/test-memcpy.c (do_one_test): When reporting errors, print
24310         string address and don't overrun end of string.
24312 2013-10-04  Alan Modra  <amodra@gmail.com>
24314         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24315         insrdi.  Make better use of reg selection to speed exit slightly.
24316         Schedule entry path a little better.  Remove useless "are we done"
24317         checks on entry to main loop.  Handle wrapping around zero address.
24318         Correct main loop count.  Handle single left-over word from main
24319         loop inline rather than by using loop_small.  Remove extra word
24320         case in loop_small caused by wrong loop count.  Add little-endian
24321         support.
24322         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24323         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24324         cache hint.
24325         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24326         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24327         support.  Avoid rlwimi.
24328         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24330 2013-10-04  Alan Modra  <amodra@gmail.com>
24332         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24333         insrdi.  Formatting.
24334         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24335         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24336         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24337         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24338         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24339         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24341 2013-10-04  Alan Modra  <amodra@gmail.com>
24343         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24344         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24345         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24346         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24347         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24348         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24349         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24350         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24351         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24352         use of regs.  Use power7 mtocrf.  Tidy function tails.
24354 2013-10-04  Alan Modra  <amodra@gmail.com>
24356         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24357         Formatting.  Consistently use rXXX register defines or rN defines.
24358         Use early exit labels that avoid restoring unused non-volatile regs.
24359         Make cr field use more consistent with rWORDn compares.  Rename
24360         regs used as shift registers for unaligned loop, using rN defines
24361         for short lifetime/multiple use regs.
24362         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24363         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24364         addi 1,1,64 to pop stack frame.  Simplify return value code.
24365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24367 2013-10-04  Alan Modra  <amodra@gmail.com>
24369         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24370         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24371         rather than rlwimi.
24372         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24373         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24374         little-endian support.  Correct typos.
24375         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24376         rather than rlwimi.
24377         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24378         in loop and entry code to keep "and." results.
24379         (strchr): Add little-endian support.  Comment.  Move cntlzd
24380         earlier in tail.
24381         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24383 2013-10-04  Alan Modra  <amodra@gmail.com>
24385         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24386         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24387         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24388         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24390 2013-10-04  Alan Modra  <amodra@gmail.com>
24392         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24393         (rTMP): Define as r11.
24394         (strcmp): Add little-endian support.  Optimise tail.
24395         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24396         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24397         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24398         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24399         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24401         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24403 2013-10-04  Alan Modra  <amodra@gmail.com>
24405         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24406         little-endian support.  Remove unnecessary "are we done" tests.
24407         Handle "s" wrapping around zero and extremely large "size".
24408         Correct main loop count.  Handle single left-over word from main
24409         loop inline rather than by using small_loop.  Correct comments.
24410         Delete "zero" tail, use "end_max" instead.
24411         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24413 2013-10-04  Alan Modra  <amodra@gmail.com>
24415         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24416         support.  Don't branch over align.
24417         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24418         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24419         support.  Rearrange tmp reg use to suit.  Comment.
24420         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24422 2013-10-04  Alan Modra  <amodra@gmail.com>
24424         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24426 2013-10-04  Alan Modra  <amodra@gmail.com>
24428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24429         conditional form of branch and link when obtaining pc.
24430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24432 2013-10-04  Alan Modra  <amodra@gmail.com>
24434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24435         HIWORD/LOWORD.
24436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24439 2013-10-04  Alan Modra  <amodra@gmail.com>
24441         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24442         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24443         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24444         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24445         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24446         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24447         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24448         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24449         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24450         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24452 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24453             Alistair Popple <alistair@ozlabs.au.ibm.com>
24454             Alan Modra <amodra@gmail.com>
24456         [BZ #15723]
24457         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24458         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24459         _dl_hwcap access for little-endian.
24460         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24461         destroy vmx regs when saving unaligned.
24462         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24463         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24464         destroy vmx regs when saving unaligned.
24466 2013-10-04  Alan Modra  <amodra@gmail.com>
24468         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24469         Don't use a union to pack hi/low value.
24471 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24473         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24474         for little-endian.
24475         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24476         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24477         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24478         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24479         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24481 2013-10-04  Alan Modra  <amodra@gmail.com>
24483         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24484         constants to usual value for .cst8 section, and remove redundant
24485         high address load.
24486         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24487         constant for 0x1p52.  Load little-endian words of double from
24488         correct stack offsets.
24490 2013-10-04  Alan Modra  <amodra@gmail.com>
24492         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24493         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24494         words of double from correct stack offsets.
24495         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24496         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24497         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24498         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24499         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24500         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24501         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24502         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24503         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24504         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24505         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24506         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24507         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24508         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24509         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24510         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24511         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24513 2013-10-04  Alan Modra  <amodra@gmail.com>
24515         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24516         64-bit int/double union.
24517         (_FPU_SETCW): Likewise.
24518         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24519         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24521 2013-10-04  Alan Modra  <amodra@gmail.com>
24523         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24524         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24526 2013-10-04  Alan Modra  <amodra@gmail.com>
24528         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24529         use vector int constants.
24530         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24532 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24534         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24535         array with long long.
24536         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24537         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24538         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24539         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24540         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24541         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24542         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24543         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24544         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24545         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24546         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24547         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24548         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24550 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24552         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24553         (__signbit): Likewise.  Correct for little-endian.
24554         (__signbitl): Call __signbit.
24555         (lrint): Correct for little-endian.
24556         (lrintf): Call lrint.
24558 2013-10-04  Alan Modra  <amodra@gmail.com>
24560         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24561         union 32-bit int array member with 64-bit int array.
24562         (t515, tm256): Double rather than long double.
24563         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24565 2013-10-04  Alan Modra  <amodra@gmail.com>
24567         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24568         Delete.
24569         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24571         version of math_ldbl.h.
24573 2013-10-04  Alan Modra  <amodra@gmail.com>
24575         [BZ #15734], [BZ #15735]
24576         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24577         all uses of ieee875 long double macros and unions.  Simplify test
24578         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24579         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24580         normalize after ldbl_extract_mantissa, and don't add hidden bit
24581         already handled.  Don't treat low word of ieee854 mantissa like
24582         low word of IBM long double and mask off bit when testing for
24583         zero.
24584         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24585         all uses of ieee875 long double macros and unions.  Simplify tests
24586         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24587         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24588         two1022, instead use their values.  Recognise that tests for large
24589         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24591         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24592         test for 0.0L and nan.  Correct negation.
24593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24594         ieee875 long double macros and unions.  Correct output for large
24595         magnitude x.  Correct absolute value calculation.
24596         (__erfcl): Likewise.
24597         * math/libm-test.inc: Add tests for errors discovered in IBM long
24598         double versions of fmodl, remainderl, erfl and erfcl.
24600 2013-10-04  Alan Modra  <amodra@gmail.com>
24602         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24603         all uses of ieee854 long double macros and unions.  Simplify tests
24604         for long doubles that are fully specified by the high double.
24605         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24606         Likewise.
24607         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24608         Remove dead code too.
24609         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24610         (__ieee754_ynl): Likewise.
24611         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24612         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24614         Remove dead code too.
24615         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24616         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24617         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24619         Simplify.
24620         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24621         Simplify.
24622         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24623         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24625         Comment on variable precision.
24626         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24627         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24628         Likewise.
24629         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24630         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24631         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24632         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24633         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24635 2013-10-04  Alan Modra  <amodra@gmail.com>
24637         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24638         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24639         all uses of ieee854 long double macros and unions.
24640         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24641         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24642         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24643         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24644         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24645         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24646         Likewise.
24647         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24648         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24649         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24650         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24651         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24652         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24653         Simplify sign and nan test too.
24654         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24655         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24656         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24657         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24658         Likewise.
24659         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24660         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24661         Likewise.
24662         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24663         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24664         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24665         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24666         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24669 2013-10-04  Alan Modra  <amodra@gmail.com>
24671         * stdio-common/printf_size.c (__printf_size): Don't use
24672         union ieee854_long_double in fpnum union.
24673         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24674         signbit macro to retrieve sign from long double.
24675         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24676         retrieve sign from long double.
24677         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24678         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24679         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24680         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24681         * math/test-misc.c (main): Don't use union ieee854_long_double.
24683 2013-10-04  Alan Modra  <amodra@gmail.com>
24685         [BZ #15680]
24686         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24687         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24688         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24689         calculation.  Remove unnecessary test for denormal exponent.
24690         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24691         Correct handling of denormals.  Avoid undefined shift behaviour.
24692         Correct normalisation of low mantissa when low double is denormal.
24693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24694         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24695         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24696         Correct normalisation of low mantissa.  Test for overflow of high
24697         mantissa and normalise.
24698         (ldbl_nearbyint): Use more readable constant for two52.
24699         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24700         (__mpn_construct_long_double): Fix test for overflow of high
24701         mantissa and correct normalisation.  Avoid undefined shift.
24703 2013-10-04  Alan Modra  <amodra@gmail.com>
24705         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24706         (union ibm_extended_long_double): Define as an array of ieee754_double.
24707         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24708         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24709         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24710         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24712         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24714         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24715         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24716         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24717         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24719 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24721         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24722         page size instead of calling getpagesize.
24724         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24725         (LOCFILE_ALIGN_MASK): Likewise.
24726         (LOCFILE_ALIGN_UP): Likewise.
24727         (LOCFILE_ALIGNED_P): Likewise.
24728         * locale/programs/ld-collate.c (collate_output): Use the new
24729         macros instead of __alignof__ (int32_t).
24730         * locale/weight.h (findidx): Likewise.
24732 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24734         [BZ #431]
24735         * manual/string.texi: Fix strncat and wcsncat.
24737 2013-10-03  Brooks Moses  <bmoses@google.com>
24739         [BZ #15915]
24740         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24741         * Makerules: ...here, and adjust associated comments.
24743 2013-10-02  Will Newton  <will.newton@linaro.org>
24745         * malloc/Makefile: Add tst-pvalloc.
24746         * malloc/tst-pvalloc.c: New file.
24748 2013-10-02  Will Newton  <will.newton@linaro.org>
24750         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24751         improve test coverage.
24753 2013-10-02  Will Newton  <will.newton@linaro.org>
24755         * malloc/Makefile: Add tst-posix_memalign.
24756         * malloc/tst-posix_memalign.c: New file.
24758 2013-10-01  Eric Blake  <eblake@redhat.com>
24760         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24761         Use __THROWNL rather than __THROW on static functions.
24763 2013-09-30  Petr Machata  <pmachata@redhat.com>
24765         * elf/elf.h (R_AARCH64_ABS16): New macro.
24766         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24767         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24768         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24769         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24770         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24771         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24772         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24773         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24774         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24775         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24776         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24777         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24778         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24779         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24780         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24781         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24782         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24783         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24784         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24785         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24786         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24787         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24788         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24789         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24790         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24791         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24792         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24793         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24794         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24795         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24796         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24797         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24798         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24799         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24800         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24801         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24802         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24803         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24804         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24805         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24806         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24807         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24808         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24809         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24810         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24811         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24812         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24813         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24814         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24815         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24816         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24817         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24818         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24819         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24820         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24821         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24822         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24823         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24824         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24825         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24826         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24827         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24828         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24829         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24830         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24831         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24832         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24833         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24834         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24835         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24836         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24837         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24838         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24839         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24840         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24841         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24842         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24843         (R_AARCH64_TLSDESC_LDR): Likewise.
24844         (R_AARCH64_TLSDESC_ADD): Likewise.
24845         (R_AARCH64_TLSDESC_CALL): Likewise.
24847 2013-09-30  Andreas Schwab  <schwab@suse.de>
24849         [BZ #15048]
24850         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24851         the nss database lookup.
24852         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24853         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24855 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24857         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24859 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24861         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24862         ${Bash-specific parameter/pattern/string} parameter expansion.
24863         * sysdeps/unix/make-syscalls.sh: Likewise.
24865 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24867         * sysdeps/sh/stackguard-macros.h: New file.
24869 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24873         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24874         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24875         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24876         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24878 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24880         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24881         Fix thread ID register.
24883 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24885         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24886         [POSIX || UNIX98]: Require rather than permitting all symbols from
24887         <time.h>.
24888         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24889         element of struct sched_param.
24890         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24891         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24892         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24893         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24894         constant.
24896 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24898         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24899         argument calculation.
24901 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24903         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24904         Expect macro.
24905         [POSIX] (pthread_attr_t): Do not require type.
24906         [POSIX] (pthread_cond_t): Likewise.
24907         [POSIX] (pthread_condattr_t): Likewise.
24908         [POSIX] (pthread_key_t): Likewise.
24909         [POSIX] (pthread_mutex_t): Likewise.
24910         [POSIX] (pthread_mutexattr_t): Likewise.
24911         [POSIX] (pthread_once_t): Likewise.
24912         [POSIX] (pthread_t): Likewise.
24913         [POSIX-based standards] (pthread_atfork): Expect function.
24915 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24916             Richard Sandiford  <richard@codesourcery.com>
24918         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24919         (swap_endianness_p): New extern variable.
24920         (set_big_endian): New inline function.
24921         (maybe_swap_uint32): Likewise.
24922         (maybe_swap_uint32_array): Likewise.
24923         (maybe_swap_uint32_obstack): Likewise.
24924         * locale/programs/locfile.c: Include <stdbool.h>.
24925         (swap_endianness_p): New variable.
24926         (add_locale_uint32): Call maybe_swap_uint32.
24927         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24928         (write_locale_data): Call maybe_swap_uint32_array.
24929         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24930         maybe_swap_uint32.
24931         (obstack_int32_grow_fast): Likewise.
24932         (output_weightwc): Call maybe_swap_uint32_obstack.
24933         (collate_output): Likewise.
24934         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24935         (OPT_LITTLE_ENDIAN): Likewise.
24936         (options): Add --little-endian and --big-endian options.
24937         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24938         * locale/programs/locarchive.c: Include "locfile.h".
24939         (GET): New macro.
24940         (SET): Likewise.
24941         (INC): Likewise.
24942         (create_archive): Use the new macros to access fields of
24943         structures directly mapped from or written to locale archives.
24944         (oldlocrecentcmp): Likewise.
24945         (enlarge_archive): Likewise.
24946         (insert_name): Likewise.
24947         (add_alias): Likewise.
24948         (add_locale): Likewise.
24949         (delete_locales_from_archive): Likewise.
24950         (show_archive_content): Likewise.
24951         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24952         locale data.
24954 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24956         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24957         http://www.gnu.org/doc/freemanuals.texi.
24958         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24960 2013-09-24  Will Newton  <will.newton@linaro.org>
24962         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24963         macro.
24965 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24967         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24968         unsigned char.
24970 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24972         * manual/threads.texi (POSIX Threads): Fix a typo.
24974 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24976         [BZ #14547]
24977         * string/tst-strcoll-overflow.c: New test case.
24978         * string/Makefile (xtests): Add tst-strcoll-overflow.
24979         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24980         cache if string sizes may cause integer overflow.
24982         [BZ #14547]
24983         * string/strcoll_l.c (coll_seq): New members rule, idx,
24984         save_idx and back_us.
24985         (get_next_seq_nocache): New function.
24986         (do_compare_nocache): New function.
24987         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24988         when malloc fails.
24990 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24992         [BZ #15754]
24993         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24994         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24995         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24997         [BZ #15754]
24998         * elf/Makefile (tests): Add tst-ptrguard1.
24999         (tests-static): Add tst-ptrguard1-static.
25000         (tst-ptrguard1-ARGS): Define.
25001         (tst-ptrguard1-static-ARGS): Define.
25002         * elf/tst-ptrguard1.c: New file.
25003         * elf/tst-ptrguard1-static.c: New file.
25004         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25005         * sysdeps/i386/stackguard-macros.h: Likewise.
25006         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25007         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25008         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25009         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25010         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25011         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25013 2013-09-23  Hector Marco  <hecmargi@upv.es>
25014             Ismael Ripoll  <iripoll@disca.upv.es>
25015             Carlos O'Donell  <carlos@redhat.com>
25017         [BZ #15754]
25018         * sysdeps/generic/stackguard-macros.h: Define
25019         __pointer_chk_guard_local and POINTER_CHK_GUARD.
25020         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25021         Define __pointer_chk_guard_local.
25022         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25023         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25025 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
25027         [BZ #15859]
25028         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25030 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
25032         * include/string.h (__ffs): Declare as hidden.
25033         * string/ffs.c (__ffs): Define as hidden.
25034         * sysdeps/i386/ffs.c (__ffs): Likewise.
25035         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25036         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25037         * sysdeps/s390/ffs.c (__ffs): Likewise.
25038         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25040 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25042         * NEWS: Mention malloc probes.
25044         * malloc/arena.c (new_heap): New memory_heap_new probe.
25045         (grow_heap): New memory_heap_more probe.
25046         (shrink_heap): New memory_heap_less probe.
25047         (heap_trim): New memory_heap_free probe.
25048         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25049         (systrim): New memory_sbrk_less probe.
25050         * manual/probes.texi: Document them.
25052         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25053         * manual/probes.texi: Document it.
25055         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25056         (__libc_realloc): Add memory_realloc_retry probe.
25057         (__libc_memalign): Add memory_memalign_retry probe.
25058         (__libc_valloc): Add memory_valloc_retry probe.
25059         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25060         (__libc_calloc): Add memory_calloc_retry probe.
25061         * manual/probes.texi: Document them.
25063         * malloc/arena.c (get_free_list): Add probe
25064         memory_arena_reuse_free_list.
25065         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25066         and memory_arena_reuse.
25067         (arena_get2) [!PER_THREAD]: Likewise.
25068         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25069         memory_arena_reuse_realloc.
25070         * manual/probes.texi: Document them.
25072         * malloc/malloc.c (__libc_free): Add
25073         memory_mallopt_free_dyn_thresholds probe.
25074         (__libc_mallopt): Add multiple memory_mallopt probes.
25075         * manual/probes.texi: Document them.
25077         * malloc/malloc.c: Include stap-probe.h.
25078         (__libc_mallopt): Add memory_mallopt probe.
25079         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25080         * manual/probes.texi: New.
25081         * manual/Makefile (chapters): Add probes.
25082         * manual/threads.texi: Set next node.
25084 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25086         [BZ #15963, #13985]
25087         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25088         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25089         Add `Chinese' to `nan' entry name.
25091 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25093         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25094         (POLYNOMIAL): Likewise.
25095         (TAYLOR_SINCOS): Likewise.
25096         (TAYLOR_SLOW): Likewise.
25097         (__sin): Use TAYLOR_SINCOS.
25098         (__cos): Likewise.
25099         (slow): Use TAYLOR_SLOW.
25100         (sloww): Likewise.
25101         (bsloww): Likewise.
25102         (csloww): Likewise.
25104 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25106         * stdlib/strtod_l.c: Fix buffer overrun.
25108 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25110         * benchtests/Makefile (bench): Add sincos.
25111         * benchtests/bench-sincos.c: New file.
25113         * math/libm-test.inc (cos_test_data): New test inputs.
25114         (sin_test_data): Likewise.
25116         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25117         macro.
25118         (__sin): Use it.
25119         (__cos): Likewise.
25120         (slow1): Likewise.
25121         (slow2): Likewise.
25122         (sloww1): Likewise.
25123         (sloww2): Likewise.
25124         (bsloww1): Likewise.
25125         (bsloww2): Likewise.
25126         (cslow2): Likewise.
25127         (csloww1): Likewise.
25128         (csloww2): Likewise.
25130         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25131         function.
25132         (__sin): Use it.
25133         (__cos): Likewise.
25135         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25136         gotos.
25137         (__cos): Likewise.
25139 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25141         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25142         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25143         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25144         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25145         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25146         * elf/cache.c (print_entry): Handle the new cache flags.
25148 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25149             Aldy Hernandez  <aldyh@redhat.com>
25151         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25152         Change condition to [_SOFT_FLOAT].
25153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25159         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25160         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25161         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25162         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25165         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25167         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25168         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25169         declaration.
25171 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25173         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25174         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25175         (__longjmp): Use LOAD_GP to load saved GPRs.
25176         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25177         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25178         (__sigsetjmp): Use SAVE_GP to save GPRs.
25180         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25181         Do not append -msoft-float.
25182         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25184 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25186         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25188 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25190         [BZ #15966]
25191         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25192         (_FPU_GETCW): Use initial "__" on variable and field names but not
25193         on macro parameter name.
25194         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25195         parentheses around reference to macro parameter.
25197 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25199         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25200         prototype.
25201         (ctype_startup): Use uint32_t in cast and sizeof for
25202         ctype->charnames.
25204 2013-09-11  Jia Liu  <proljc@gmail.com>
25206         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25207         __daddr_t_defined.
25208         [__FreeBSD__]: Likewise.
25210 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25213         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25214         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25215         (strchr): Remove __strchr_sse42 ifunc selection.
25216         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25217         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25219 2013-09-11  Will Newton  <will.newton@linaro.org>
25221         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25222         parameter to RES. Remove hardcoded 1000 value.
25223         * benchtests/bench-skeleton.c (main): Pass RES parameter
25224         to TIMING_INIT and multiply result by 1000.
25226 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25230 2013-09-11  Andreas Schwab  <schwab@suse.de>
25232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25233         if not defined.
25234         (O_TMPFILE) [__USE_GNU]: Define.
25235         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25236         Define.
25238 2013-09-11  Will Newton  <will.newton@linaro.org>
25240         [BZ #15857]
25241         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25242         does not overflow.
25244 2013-09-11  Will Newton  <will.newton@linaro.org>
25246         [BZ #15856]
25247         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25248         does not overflow.
25250 2013-09-11  Will Newton  <will.newton@linaro.org>
25252         [BZ #15855]
25253         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25254         does not overflow.
25256 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25258         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25259         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25260         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25261         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25262         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25264 2013-09-10  Allan McRae  <allan@archlinux.org>
25266         [BZ #15748]
25267         * manual/arith.texi (Parsing of Floats): Clarify
25268         cross-reference.
25270         [BZ #15849]
25271         * manual/install.texi (Running make install): Mention
25272         --enable-pt-chown.
25273         * INSTALL: Regenerated.
25275 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25277         * csu/init-first.c (_init): Remove the !SHARED condition around
25278         FPU control word initialization.
25279         * elf/dl-support.c (_dl_fpu_control): New variable.
25280         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25281         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25282         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25283         * math/test-fpucw-static.c: New file.
25284         * math/test-fpucw-ieee.c: New file.
25285         * math/test-fpucw-ieee-static.c: New file.
25286         * math/Makefile (tests): Add `test-fpucw-ieee' and
25287         `$(tests-static)'.
25288         (tests-static): New variable.
25289         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25290         dependency to...
25291         [($(build-shared),yes)]
25292         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25293         ... this.
25294         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25295         New dependency.
25297 2013-09-09  Allan McRae  <allan@archlinux.org>
25299         [BZ #15939]
25300         * manual/string.texi (Collation Functions): Fix typo in
25301         strcoll example.
25302         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25304         [BZ #15893]
25305         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25307         [BZ #15892]
25308         * libio/memstream.c (open_memstream): Fix memory leak.
25309         * libio/wmemstream.c (open_wmemstream): Likewise.
25311         [BZ #15895]
25312         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25314 2013-09-09  Will Newton  <will.newton@linaro.org>
25316         * malloc/Makefile: Add tst-realloc to tests.
25317         * malloc/tst-realloc.c: New file.
25319 2013-09-09  Allan McRae  <allan@archlinux.org>
25321         [BZ #15844]
25322         * COPYING: Update from GNU website to fix FSF address.
25323         * COPYING.LIB: Likewise.
25325 2013-09-06  David S. Miller  <davem@davemloft.net>
25327         * po/zh_TW.po: Update Chinese (traditional) translation from
25328         translation project.
25330 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25331             Joseph Myers  <joseph@codesourcery.com>
25333         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25334         "localeinfo.h".
25335         (obstack_chunk_alloc): New macro.
25336         (obstack_chunk_free): Likewise.
25337         (record_offset): New function.
25338         (init_locale_data): Likewise.
25339         (align_locale_data): Likewise.
25340         (add_locale_empty): Likewise.
25341         (add_locale_raw_data): Likewise.
25342         (add_locale_raw_obstack): Likewise.
25343         (add_locale_string): Likewise.
25344         (add_locale_wstring): Likewise.
25345         (add_locale_uint32): Likewise.
25346         (add_locale_uint32_array): Likewise.
25347         (add_locale_char): Likewise.
25348         (start_locale_structure): Likewise.
25349         (end_locale_structure): Likewise.
25350         (start_locale_prelude): Likewise.
25351         (end_locale_prelude): Likewise.
25352         (write_locale_data): Take locale_file structure rather than an
25353         iovec.
25354         * locale/programs/locfile.h: Include "obstack.h".
25355         (struct locale_file): Change to store locale file contents instead
25356         of header.
25357         (init_locale_data): New prototype.
25358         (align_locale_data): Likewise.
25359         (add_locale_empty): Likewise.
25360         (add_locale_raw_data): Likewise.
25361         (add_locale_raw_obstack): Likewise.
25362         (add_locale_string): Likewise.
25363         (add_locale_wstring): Likewise.
25364         (add_locale_uint32): Likewise.
25365         (add_locale_uint32_array): Likewise.
25366         (add_locale_char): Likewise.
25367         (start_locale_structure): Likewise.
25368         (end_locale_structure): Likewise.
25369         (start_locale_prelude): Likewise.
25370         (end_locale_prelude): Likewise.
25371         (write_locale_data): Update prototype.
25372         * locale/programs/3level.h (struct TABLE): Remove result field.
25373         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25374         Use new locale_file interface.
25375         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25376         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25377         * locale/programs/ld-address.c (address_output): Use new
25378         locale_file interface.
25379         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25380         NO_ADD_LOCALE.
25381         (collate_finish): Don't call collseq_table_finalize.
25382         (collate_output): Use new locale_file interface.
25383         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25384         in file.
25385         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25386         (TABLE): Move defines earlier in file.
25387         (ELEMENT): Likewise.
25388         (DEFAULT): Likewise.
25389         (wctrans_table_add): Move macro and inline function earlier in
25390         file.
25391         (struct wctype_table): Move type earlier in file.
25392         (add_locale_wctype_table): New static prototype.
25393         (struct locale_ctype_t): Use logical types instead of struct iovec
25394         pointers for members.
25395         (ctype_output): Use new locale_file interface.
25396         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25397         new locale_file interface.
25398         (allocate_arrays): Update for use of new locale_file interface.
25399         * locale/programs/ld-identification.c (identification_output): Use
25400         new locale_file interface.
25401         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25402         * locale/programs/ld-messages.c (messages_output): Likewise.
25403         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25404         * locale/programs/ld-name.c (name_output): Likewise.
25405         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25406         * locale/programs/ld-paper.c (paper_output): Likewise.
25407         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25408         * locale/programs/ld-time.c (time_output): Likewise.
25410 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25412         * benchtests/Makefile: Add memrchr benchmark.
25413         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25414         benchmark as memrchr.
25415         * benchtests/bench-memrchr-ifunc.c: New file.
25416         * benchtests/bench-memrchr.c: New file.
25418 2013-09-06   Will Newton  <will.newton@linaro.org>
25420         * benchtests/Makefile (string-bench): Add memcpy.
25422 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25423             Cong Wang  <amwang@redhat.com>
25425         [BZ #15850]
25426         * sysdeps/unix/sysv/linux/bits/in.h
25427         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25428         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25429         before __USE_KERNEL_IPV6_DEFS uses.
25430         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25431         IPPROTO_BEETPH.
25432         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25433         sockaddr_in6, or ipv6_mreq.
25435 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25437         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25438         memory access for final bytes in some large inputs.
25439         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25441 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25443         * string/test-memrchr.c: New file.
25444         * string/test-memrchr-ifunc.c: New file.
25445         * string/Makefile: Add new memrchr testcase.
25447 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25449         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25450         fanotify_init returns EPERM.
25452 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25454         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25455         errors.
25456         (top level): Treat second token from macro or constant entries for
25457         allowed headers as allowed.
25458         * include/complex.h: Condition internal declarations on
25459         [!_ISOMAC].
25460         * include/fenv.h: Condition include of <stdbool.h> and internal
25461         declarations on [!_ISOMAC].
25463 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25465         [BZ #15923]
25466         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25468 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25470         * configure.in (--enable-versioning): Remove configure option.
25471         (libc_cv_asm_symver_directive): Remove configure test.
25472         (libc_cv_ld_version_script_option): Likewise.
25473         (VERSIONING): Remove variable and AC_SUBST.
25474         (DO_VERSIONING): Remove AC_DEFINE.
25475         * configure: Regenerated.
25476         * config.h.in (DO_VERSIONING): Remove macro.
25477         * Makerules [$(versioning) = yes]: Change conditionals to
25478         [$(build-shared) = yes].
25479         * config.make.in (versioning): Remove variable.
25480         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25481         [$(build-shared) = yes].
25482         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25483         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25484         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25485         [$(build-shared) = yes].
25486         * extra-lib.mk [$(versioning) = yes]: Likewise.
25487         * hurd/Makefile [$(versioning) = yes]: Likewise.
25488         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25489         [SHARED].
25490         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25491         [SHARED].
25492         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25493         [SHARED && !NO_HIDDEN].
25494         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25495         [SHARED].
25496         [SHARED && DO_VERSIONING]: Likewise..
25497         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25498         [$(build-shared) = yes].
25499         * manual/install.texi (--disable-versioning): Remove
25500         documentation.
25501         * INSTALL: Regenerated.
25502         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25503         to [SHARED].
25504         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25505         [$(build-shared) = yes].
25506         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25507         * sysdeps/i386/i686/multiarch/strstr-c.c
25508         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25509         [SHARED && !NO_HIDDEN].
25510         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25511         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25512         * sysdeps/powerpc/powerpc32/dl-machine.c
25513         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25514         * sysdeps/powerpc/powerpc32/sysdep.h
25515         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25516         to [SHARED && PIC && !NO_HIDDEN].
25517         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25518         conditional to [SHARED].
25520 2013-09-04   Will Newton  <will.newton@linaro.org>
25522         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25523         * benchtests/bench-string.h: Include bench-timing.h instead
25524         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25525         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25526         call to HP_TIMING_DIFF_INIT.
25527         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25528         instead of hp-timing.h macros.
25529         * benchtests/bench-memchr.c: Likewise.
25530         * benchtests/bench-memcmp.c: Likewise.
25531         * benchtests/bench-memcpy.c: Likewise.
25532         * benchtests/bench-memmem.c: Likewise.
25533         * benchtests/bench-memmove.c: Likewise.
25534         * benchtests/bench-memset.c: Likewise.
25535         * benchtests/bench-rawmemchr.c: Likewise.
25536         * benchtests/bench-strcasecmp.c: Likewise.
25537         * benchtests/bench-strcasestr.c: Likewise.
25538         * benchtests/bench-strcat.c: Likewise.
25539         * benchtests/bench-strchr.c: Likewise.
25540         * benchtests/bench-strcmp.c: Likewise.
25541         * benchtests/bench-strcpy.c: Likewise.
25542         * benchtests/bench-strcpy_chk.c: Likewise.
25543         * benchtests/bench-strlen.c: Likewise.
25544         * benchtests/bench-strncasecmp.c: Likewise.
25545         * benchtests/bench-strncat.c: Likewise.
25546         * benchtests/bench-strncmp.c: Likewise.
25547         * benchtests/bench-strncpy.c: Likewise.
25548         * benchtests/bench-strnlen.c: Likewise.
25549         * benchtests/bench-strpbrk.c: Likewise.
25550         * benchtests/bench-strrchr.c: Likewise.
25551         * benchtests/bench-strspn.c: Likewise.
25552         * benchtests/bench-strstr.c: Likewise.
25554 2013-09-04  Will Newton  <will.newton@linaro.org>
25556         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25558 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25560         [BZ #15427]
25561         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25562         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25563         * math/libm-test.inc (lgamma_test_data): Add more tests.
25564         * sysdeps/i386/fpu/libm-test-ulps: Update.
25565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25567 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25569         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25570         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25571         Add ifunc.
25572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25573         Add strcmp-sse2-unaligned
25574         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25576 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25578         * Versions.def (libc): Add GLIBC_2.19.
25580 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25582         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25583         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25585 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25587         [BZ #14155]
25588         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25589         intermediate calculations in recurrence.
25590         (__ieee754_ynf): Likewise.
25591         * math/libm-test.inc (jn_test_data): Do not allow spurious
25592         underflow exception.  Add more tests.
25593         (yn_test_data): Add more tests.
25594         * sysdeps/i386/fpu/libm-test-ulps: Update.
25595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25597 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25599         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25601 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25603         * csu/init-first.c: Fix then/than typos.
25604         * locale/programs/ld-collate.c: Likewise.
25605         * locale/programs/linereader.h: Likewise.
25606         * manual/charset.texi: Likewise.
25607         * manual/filesys.texi: Likewise.
25608         * manual/stdio.texi: Likewise.
25609         * manual/string.texi: Likewise.
25610         * stdlib/fmtmsg.c: Likewise.
25611         * sysdeps/i386/stpncpy.S: Likewise.
25612         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25613         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25615         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25617 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25619         * elf/dl-open.c: Fix typos.
25620         * iconvdata/gbbig5.c: Likewise.
25621         * iconvdata/iso-2022-jp.c: Likewise.
25622         * iconv/gconv_int.h: Likewise.
25623         * iconv/loop.c: Likewise.
25624         * nis/rpcsvc/nis.h: Likewise.
25625         * resolv/ns_name.c: Likewise.
25626         * stdio-common/vfscanf.c: Likewise.
25627         * streams/stropts.h: Likewise.
25628         * sunrpc/rpc_thread.c: Likewise.
25629         * sysdeps/i386/strpbrk.S: Likewise.
25630         * sysdeps/ieee754/k_standard.c: Likewise.
25631         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25633         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25634         * sysdeps/mach/hurd/profil.c: Likewise.
25635         * sysdeps/s390/dl-procinfo.h: Likewise.
25636         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25637         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25638         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25639         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25640         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25642 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25644         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25647 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25649         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25650         aix specific files.
25651         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25652         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25653         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25654         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25655         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25656         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25657         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25658         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25660 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25661             Roland McGrath  <roland@hack.frob.com>
25663         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25664         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25666 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25668         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25669         __executable_start symbol instead of _start.
25671 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25673         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25674         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25675         Move macros to...
25676         * sysdeps/gnu/ldsodefs.h: ... this new file.
25678         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25679         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25680         instead of ELFOSABI_LINUX.
25682         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25683         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25684         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25685         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25686         Likewise.
25687         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25688         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25689         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25690         Likewise.
25691         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25692         (ibm_extended_long_double): Add ieee_nan member.
25693         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25694         (do_test): New function.
25696         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25697         TEST_TRUNC.
25698         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25699         functions, renamed from truncdfsf_test, trunctfsf_test,
25700         trunctfdf_test.
25701         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25702         functions.
25703         (do_test): Run all these.
25705 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25707         * argp/argp-help.c: Fix typos.
25708         * argp/argp-parse.c: Likewise.
25709         * debug/backtracesyms.c: Likewise.
25710         * elf/elf.h: Likewise.
25711         * malloc/malloc.c: Likewise.
25712         * nis/nis_print.c: Likewise.
25713         * resolv/res_comp.c: Likewise.
25714         * stdlib/stdlib.h: Likewise.
25715         * sunrpc/clnt_tcp.c: Likewise.
25716         * sunrpc/clnt_udp.c: Likewise.
25717         * sunrpc/clnt_unix.c: Likewise.
25718         * sysdeps/unix/bsd/ptsname.c: Likewise.
25719         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25720         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25722         Likewise.
25723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25724         Likewise.
25725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25726         Likewise.
25727         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25729 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25731         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25732         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25734 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25736         [BZ #15897]
25737         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25738         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25739         ($(objpfx)bug-dl-leaf): New rule.
25740         ($(objpfx)bug-dl-leaf.so): Likewise.
25741         ($(objpfx)bug-dl-leaf.out): Likewise.
25742         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25743         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25744         * dlfcn/bug-dl-leaf.c: New test.
25745         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25746         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25747         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25748         (dlclose): Likewise.
25749         (dlmopen): Likewise.
25751 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25753         * include/netdb.h [!_ISOMAC]:
25754         Don't include <tls.h>.
25755         (h_errno, __libc_h_errno): Move declaration and macros out of
25756         [_LIBC_REENTRANT].
25758         * include/resolv.h [_RESOLV_H_]:
25759         Don't include <tls.h>.
25760         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25761         * resolv/res_libc.c: Don't include <tls.h>.
25762         (_res): Use __attribute__ ((nocommon)) in place of
25763         __attribute__ ((section (".bss"))).
25765         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25766         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25768         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25770         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25771         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25773         * resolv/res_mkquery.c: Include <sys/time.h>.
25775         * inet/ifreq.c: Moved to ...
25776         * sysdeps/unix/ifreq.c: ... here.
25777         * inet/ifreq.c: New file, true stub version.
25779         * socket/sa_len.c: New file.
25780         * socket/Makefile (aux): Add it.
25781         * sysdeps/unix/sysv/linux/Makefile
25782         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25783         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25784         and #include <socket/sa_len.c>.
25785         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25786         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25788         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25789         * bits/socket.h: ... here.
25791         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25792         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25793         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25795 2013-08-27  Andreas Schwab  <schwab@suse.de>
25797         [BZ #15736]
25798         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25799         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25800         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25801         * string/test-strcasecmp.c (test_main): Run tests in several
25802         locales.
25803         * string/test-strncasecmp.c (test_main): Likewise.
25805         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25806         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25807         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25808         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25809         (__strncasecmp_ssse3) [PIC]: Likewise.
25811 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25813         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25815         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25816         instead of explicitly declaring xdecrypt.
25817         * nis/nss_nis/nis-publickey.c: Likewise.
25819 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25821         [BZ #15890]
25822         * nscd/aicache.c: Include res_hconf.h.
25823         (addhstaiX): Initialize res_hconf.
25825 2013-08-26  Andreas Schwab  <schwab@suse.de>
25827         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25828         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25830 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25832         * nscd/aicache.c (addhstaiX): Fix indentation.
25834 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25836         * configure.ac: Quote $build_pt_chown test.
25837         * configure: Regenerated.
25839 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25841         [BZ #15532]
25842         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25843         * math/s_cexpf.c (__cexpf): Likewise.
25844         * math/s_cexpl.c (__cexpl): Likewise.
25845         * math/libm-test.inc (cexp_test_data): Correct expected return
25846         value for NaN + i0.  Add another test.
25848 2013-08-22  David S. Miller  <davem@davemloft.net>
25850         * po/ca.po: Update Catalan translation from translation project.
25851         * po/uk.po: Add Ukrainian translations from translation project.
25853 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25855         [BZ #15797]
25856         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25857         is infinite, not alongside NaN test.
25858         * math/s_fdimf.c (__fdimf): Likewise.
25859         * math/s_fdiml.c (__fdiml): Likewise.
25860         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25861         errno is unchanged.
25863 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25865         * argp/argp-help.c: Fix typos.
25866         * crypt/speeds.c: Likewise.
25867         * csu/check_fds.c: Likewise.
25868         * elf/dl-load.c: Likewise.
25869         * elf/dl-open.c: Likewise.
25870         * elf/reldep3.c: Likewise.
25871         * elf/reldep.c: Likewise.
25872         * elf/sprof.c: Likewise.
25873         * iconv/iconv_charmap.c: Likewise.
25874         * iconv/skeleton.c: Likewise.
25875         * iconv/strtab.c: Likewise.
25876         * io/lockf64.c: Likewise.
25877         * libio/libioP.h: Likewise.
25878         * resolv/gai_notify.c: Likewise.
25879         * resolv/ns_name.c: Likewise.
25880         * resolv/ns_samedomain.c: Likewise.
25881         * resolv/res_send.c: Likewise.
25882         * stdlib/random.c: Likewise.
25883         * sunrpc/rpc/xdr.h: Likewise.
25884         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25885         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25886         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25887         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25888         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25889         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25890         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25891         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25892         * sysdeps/mach/hurd/check_fds.c: Likewise.
25893         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25894         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25895         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25896         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25897         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25898         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25899         * sysdeps/pthread/aio_notify.c: Likewise.
25900         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25901         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25902         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25903         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25904         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25906 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25908         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25909         version if bit_Slow_SSE4_2 is set.
25910         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25911         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25913 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25915         [BZ #15867]
25916         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25917         trampoline stack frame information.
25918         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25919         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25920         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25921         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25922         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25923         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25924         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25925         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25926         sa_flags value.
25927         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25928         interrupting a syscall and set with option SA_SIGINFO.
25930 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25932         [BZ #15531]
25933         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25934         argument is infinite.
25935         * math/s_cprojf.c (__cprojf): Likewise.
25936         * math/s_cprojl.c (__cprojl): Likewise.
25937         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25938         * math/libm-test.inc (cproj_test_data): Add more tests.
25940         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25942         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25943         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25944         size.  Use __ffs to determine corresponding shift.
25946 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25947             Roland McGrath  <roland@hack.frob.com>
25949         * Makefile (INSTALL): Remove trailing blank lines from output of
25950         makeinfo.
25952 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25954         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25955         Align 32 bit compat elf_greg to 8 bytes.
25957 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25959         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25961 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25963         * string/strcoll_l.c (coll_seq): New structure.
25964         (get_next_seq_cached): New function.
25965         (get_next_seq): New function.
25966         (do_compare): New function.
25967         (STRCOLL): Use GNU style definition.  Simplify implementation
25968         by using get_next_seq, get_next_seq_cached and do_compare.
25970 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25972         [BZ #14699]
25973         CVE-2013-4237
25974         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25975         member.
25976         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25977         member.
25978         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25979         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25980         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25981         conditional.
25982         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25983         GETDENTS_64BIT_ALIGNED.
25984         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25985         * manual/filesys.texi (Reading/Closing Directory): Document
25986         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25987         strongly.
25988         * manual/conf.texi (Limits for Files): Add portability note to
25989         NAME_MAX, PATH_MAX.
25990         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25992 2013-08-13  Andreas Schwab  <schwab@suse.de>
25994         [BZ #15749]
25995         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25996         of fabs.
25997         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25998         LDBL_MAX_EXP >= 16384]: Add tests for it.
26000 2013-08-12  David S. Miller  <davem@davemloft.net>
26002         * version.h (RELEASE): Set to "development".
26003         (VERSION): Set to "2.18.90".
26004         * NEWS: Add 2.19 section.
26006 2013-08-03  David S. Miller  <davem@davemloft.net>
26008         * po/ko.po: Update Korean translation from translation project.
26010 2013-08-01  David S. Miller  <davem@davemloft.net>
26012         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
26013         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26014         Bilka.
26016 2013-07-30  David S. Miller  <davem@davemloft.net>
26018         * po/fr.po: Update French translation from translation project.
26020 2013-07-28  David S. Miller  <davem@davemloft.net>
26022         * po/cs.po: Update Czech translation from translation project.
26024         * po/sv.po: Update Swedish translation from translation project.
26026 2013-07-27  David S. Miller  <davem@davemloft.net>
26028         * po/eo.po: Update Esperanto translation from translation project.
26030         * po/vi.po: Update Vietnamese translation from translation project.
26032         * po/de.po: Update German translation from translation project.
26034 2013-07-26  David S. Miller  <davem@davemloft.net>
26036         * po/bg.po: Update Bulgarian translation from translation project.
26038         * po/nl.po: Update Dutch translation from translation project.
26039         * po/pl.po: Update Polish translation from translation project.
26040         * po/ru.po: Update Russian translation from translation project.
26042 2013-07-24  David S. Miller  <davem@davemloft.net>
26044         * po/libc.pot: Update.
26046 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26048         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26049         variable page size.
26050         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26051         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26052         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26054 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26056         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26058 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26059             Andreas Schwab  <schwab@suse.de>
26060             Roland McGrath  <roland@hack.frob.com>
26061             Joseph Myers  <joseph@codesourcery.com>
26062             Carlos O'Donell  <carlos@redhat.com>
26064         [BZ #15755]
26065         * config.h.in: Define HAVE_PT_CHOWN.
26066         * config.make.in (build-pt-chown): New variable.
26067         * configure.in (--enable-pt_chown): New configure option.
26068         * configure: Regenerate.
26069         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26070         build-pt-chown is enabled.
26071         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26072         pt_chown to fix pty ownership.
26073         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26074         CLOSE_ALL_FDS.
26075         * manual/install.texi (Configuring and compiling): Mention
26076         --enable-pt_chown. Add @findex for grantpt.
26077         * INSTALL: Regenerate.
26079 2013-07-20  David S. Miller  <davem@davemloft.net>
26081         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26082         difference between 32-bit and 64-bit.
26084 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26086         [BZ #15711]
26087         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26088         Avoid system header dependency with -ffreestanding.
26089         ($(objpfx)bits/syscall%d): Likewise.
26091 2013-07-13  David S. Miller  <davem@davemloft.net>
26093         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26094         underflows from atanl/atan2l due to bug 15319.
26095         (casinh_test_data): Likewise.
26097 2013-07-07  David S. Miller  <davem@davemloft.net>
26099         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26101 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26103         * sysdeps/i386/fpu/libm-test-ulps: Update.
26104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26106 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26108         * configure.in (--enable-lock-elision): Fix message text.
26109         * INSTALL: Regenerate.
26110         * configure: Regenerate.
26112 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26116 2013-07-03  Andreas Jaeger  <aj@suse.de>
26118         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26119         define.
26120         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26121         (ptrace_peeksiginfo_args): Add.
26122         (__ptrace_peeksiginfo_flags): Add.
26123         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26124         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26125         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26127 2013-07-03  Allan McRae  <allan@archlinux.org>
26129         * sysdeps/i386/fpu/libm-test-ulps: Update.
26131 2013-07-02  David S. Miller  <davem@davemloft.net>
26133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26135 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26139 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26141         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26144 2013-07-02  Andi Kleen <ak@linux.intel.com>
26146         * config.h.in (ENABLE_LOCK_ELISION): Add.
26147         * configure.in (--enable-lock-elision): Add option.
26148         * manual/install.texi: Document --enable lock elision.
26149         * configure: Regenerate
26150         * INSTALL: Regenerate.
26152 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26154         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26155         SSE4.2 strcasecmp for libc.a.
26156         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26158 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26160         [BZ #13304]
26161         * soft-fp/op-common.h (_FP_FMA): New macro.
26162         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26163         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26164         (_FP_MUL_MEAT_1_imm): ... here.
26165         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26166         (_FP_MUL_MEAT_1_wide): ... here.
26167         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26168         (_FP_MUL_MEAT_1_hard): ... here.
26169         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26170         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26171         (_FP_MUL_MEAT_2_wide): ... here.
26172         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26173         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26174         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26175         (_FP_MUL_MEAT_2_gmp): ... here.
26176         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26177         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26178         (_FP_MUL_MEAT_4_wide): ... here.
26179         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26180         (_FP_MUL_MEAT_4_gmp): ... here.
26181         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26182         (_FP_WFRACBITS_DW_S): Likewise.
26183         (_FP_WFRACXBITS_DW_S): Likewise.
26184         (_FP_HIGHBIT_DW_S): Likewise.
26185         (FP_FMA_S): Likewise.
26186         (_FP_FRAC_HIGH_DW_S): Likewise.
26187         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26188         (_FP_WFRACBITS_DW_D): Likewise.
26189         (_FP_WFRACXBITS_DW_D): Likewise.
26190         (_FP_HIGHBIT_DW_D): Likewise.
26191         (FP_FMA_D): Likewise.
26192         (_FP_FRAC_HIGH_DW_D): Likewise.
26193         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26194         (_FP_WFRACBITS_DW_E): Likewise.
26195         (_FP_WFRACXBITS_DW_E): Likewise.
26196         (_FP_HIGHBIT_DW_E): Likewise.
26197         (FP_FMA_E): Likewise.
26198         (_FP_FRAC_HIGH_DW_E): Likewise.
26199         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26200         (_FP_WFRACBITS_DW_Q): Likewise.
26201         (_FP_WFRACXBITS_DW_Q): Likewise.
26202         (_FP_HIGHBIT_DW_Q): Likewise.
26203         (FP_FMA_Q): Likewise.
26204         (_FP_FRAC_HIGH_DW_Q): Likewise.
26205         * soft-fp/fmasf4.c: New file.
26206         * soft-fp/fmadf4.c: Likewise.
26207         * soft-fp/fmatf4.c: Likewise.
26209 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26212         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26213         Silvermont.
26214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26215         macro.
26216         (index_Slow_SSE4_2): Likewise.
26217         (index_Prefer_PMINUB_for_stringop): Likewise.
26218         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26219         bit_Slow_SSE4_2 is set.
26220         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26221         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26223 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26225         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26226         rtld_global._dl_hwcap2.
26227         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26228         POWER8.
26229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26230         POWER8 feature descriptions defined in _dl_hwcap2.
26231         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26232         string handling for POWER8 feature bits.
26233         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26234         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26235         _dl_powerpc_cap_flags.
26236         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26237         * sysdeps/powerpc/rtld-global-offsets.sym
26238         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26239         _dl_hwcap2 in the rtld_global_ro structure.
26241 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26243         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26244         hardware capabilities in support of AT_HWCAP2.
26245         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26246         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26247         GLRO(dl_hwcap2).
26248         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26249         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26250         explicitly the unknown a_type display mechanism is used.
26251         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26252         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26253         struct member.
26254         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26255         to macro prototype for AT_HWCAP2 support.
26256         * sysdeps/i386/dl-procinfo.h: Likewise.
26257         * sysdeps/s390/dl-procinfo.h: Likewise.
26258         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26259         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26260         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26261         return -1 for unknown a_type display fallback.
26262         * sysdeps/sparc/dl-procinfo.h: Likewise.
26263         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26264         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26266 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26268         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26269         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26271 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26273         [BZ #12492]
26274         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26275         mprotect making __stack_prot writable.
26277 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26278             Joseph Myers  <joseph@codesourcery.com>
26280         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26281         as being properly aligned.
26283 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26285         * dlfcn/modstatic5.c: New file.
26286         * dlfcn/tststatic5.c: New file.
26287         * dlfcn/Makefile (tests): Add tststatic5.
26288         (tests-static): Likewise.
26289         (modules-names): Add modstatic5.
26290         (tststatic5-ENV): New variable.
26291         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26293         [BZ #15022]
26294         * elf/dl-support.c (_dl_main_map): New variable.
26295         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26296         (_dl_nns, _dl_load_adds): Set to 1.
26297         (_dl_initial_searchlist): Refer to _dl_main_map.
26298         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26299         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26300         call to _dl_get_origin.
26301         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26302         around call_map.
26303         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26304         * dlfcn/modstatic3.c: New file.
26305         * dlfcn/tststatic3.c: New file.
26306         * dlfcn/tststatic4.c: New file.
26307         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26308         (tests-static): Likewise.
26309         (modules-names): Add modstatic3.
26310         (tststatic3-ENV, tststatic4-ENV): New variables.
26311         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26312         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26314 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26316         * configure.in (CC): Require GCC version 4.4 or later.
26317         * configure: Regenerated.
26318         * manual/install.texi (Tools for Compilation): Update GCC version
26319         requirement.
26320         * INSTALL: Regenerated.
26322 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26324         [BZ #15674]
26325         * string/test-memcmp.c (check2): New.
26326         (main): Call check2.
26328         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26330 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26332         [BZ #15022]
26333         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26334         over to...
26335         (dl_open_worker) [!SHARED]: ... here.
26337 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26339         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26341 2013-06-25  Richard Henderson  <rth@redhat.com>
26343         * locale/programs/locarchive.c: Include <libc-internal.h>
26345 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26347         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26348         trailing whitespace removed.
26350 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26352         [BZ #10283]
26353         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26354         * locale/programs/locarchive.c: Include libc-mmap.h.
26355         (prepare_address_space): Take two new outputs (the mmap base and len).
26356         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26357         values.
26358         (create_archive): Declare new mmap base and len values for
26359         prepare_address_space, and store the result in ah.
26360         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26361         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26362         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26363         Declare new mmap base and len values for
26364         prepare_address_space, and store the result in new_ah.
26365         (open_archive): Declare new mmap base and len values for
26366         prepare_address_space, and store the result in ah.
26367         (close_archive): If ah->mmap_base is not NULL, use that and
26368         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26369         * sysdeps/generic/libc-mmap.h: New file.
26371 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26373         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26374         (ALIGN_UP): Likewise.
26375         (PTR_ALIGN_DOWN): Likewise.
26376         (PTR_ALIGN_UP): Likewise.
26378 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26380         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26381         entry mapped to PPC_PLATFORM_POWER8.
26382         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26383         POWER8.
26384         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26385         (_dl_string_platform): Add case for exporting platform position for
26386         POWER8.
26387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26388         search path to sysdeps/powerpc/powerpc32/power8 directory.
26389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26390         search path to sysdeps/powerpc/powerpc64/power8 directory.
26391         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26392         power7 directories.
26393         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26394         power7 directories.
26396 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26398         * INSTALL: Regenerate.
26400         * nscd/connections.c (nscd_init): Fix comment.
26402 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26404         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26406         [BZ #15667]
26407         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26408         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26410 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26412         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26413         DL_DST_REQ_STATIC.
26414         (DL_DST_REQ_STATIC): Remove macro.
26416 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26418         [BZ #7006]
26419         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26420         with a shift of 0 bits.
26422 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26424         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26425         $(tststatic-ENV).
26427 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26429         [BZ #15655]
26430         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26432 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26434         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26435         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26436         accepts -fno-tree-loop-distribute-patterns.
26437         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26438         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26439         recursive call.
26440         * string/memset.c (memset): Likewise.
26441         * string/test-memmove.c (simple_memmove): Disable loop transformation
26442         to library calls.
26443         * string/test-memset.c (simple_memset): Likewise.
26444         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26445         * benchtests/bench-memset.c (simple_memset): Likewise.
26446         * configure: Regenerated.
26448 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26450         * math/test-misc.c (main): Ignore fesetround failure when failures
26451         of subsequent rounding tests would be ignored.
26453         [BZ #15654]
26454         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26455         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26456         * math/fegetenv.c (__fegetenv): Return 0.
26457         * math/fegetexcept.c (fegetexcept): Return 0.
26458         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26459         FE_TONEAREST.
26460         * math/feholdexcpt.c (feholdexcept): Return 0.
26461         * math/fesetenv.c (__fesetenv): Return 0.
26462         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26463         argument FE_TONEAREST.
26464         * math/feupdateenv.c (__feupdateenv): Return 0.
26465         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26467 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26469         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26470         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26471         ($(objpfx)rtld-%.os rules): Use them.
26473 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26475         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26476         fields.
26478 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26480         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26481         length of target pattern, then descending length of dependency pattern.
26482         * configure.in (AWK): Require gawk 3.1.2 or newer.
26483         * manual/install.texi (Tools for Compilation): Say that we do.
26484         * configure: Regenerated.
26486         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26487         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26488         * scripts/sysd-rules.awk: ... this new script.
26489         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26490         than a glob-style pattern.
26492 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26494         * math/test-misc.c (main): Do not treat incorrectly rounded
26495         conversions as failure unless ROUNDING_TESTS passes.
26497 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26499         [BZ #15631]
26500         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26501         restore exception state around main square root computation, then
26502         check for inexactness explicitly.
26504         * math/libm-test.inc (fma_test_data): Add another test.
26506 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26508         * manual/threads.texi (Non-POSIX Extensions): New document
26509         node.  Document pthread_getattr_default_np and
26510         pthread_setattr_default_np.
26512         * Versions.def (libpthread): Add GLIBC_2.18.
26513         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26515         Likewise.
26516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26517         Likewise.
26518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26519         Likewise.
26520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26521         Likewise.
26522         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26523         Likewise.
26524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26525         Likewise.
26526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26527         Likewise.
26528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26529         Likewise.
26530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26531         Likewise.
26533 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26536         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26538 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26539             H.J. Lu  <hjl.tools@gmail.com>
26541         [BZ #15627]
26542         * sysdeps/x86_64/rtld-memset.c: Remove file.
26543         * sysdeps/x86_64/rtld-memset.S: New file.
26545 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26547         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26548         (test_in_one_mode): Take arguments for whether the rounding mode
26549         is supported for each floating-point type.
26550         (do_test): Pass new arguments to test_in_one_mode using
26551         ROUNDING_TESTS.
26553 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26555         * posix/tst-waitid.c (do_test): Distinguish different instances of
26556         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26557         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26558         before entering the kernel for waitpid.
26560 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26562         * NEWS: Fix note on clock function precision.  Text by Roland
26563         McGrath.
26565 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26567         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26568         it into place only when and if the sanity check passes.
26570 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26572         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26573         output for whether conversion result is exact.  Take argument
26574         indicating whether type is IBM long double.
26575         (round_for_all): Change need_exact field to ibm_ld.
26576         * stdlib/tst-strtod-round.c (struct exactness): New type.
26577         (struct test): Change bool ld_ok field to struct exactness exact.
26578         (TEST): Update all definitions for change to field.
26579         (tests): Regenerate array contents.
26580         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26581         field value.  Check for IBM long double here.
26582         (do_test): Update calls to test_in_one_mode.
26584 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26586         [BZ #12515]
26587         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26588         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26590 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26592         [BZ #15605]
26593         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26594         generated by the compiler on loop optimizations.
26595         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26596         general definitions.
26598 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26600         * math/bug-nextafter.c: Include <math-tests.h>.
26601         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26602         the relevant type.
26603         * math/bug-nexttoward.c: Include <math-tests.h>.
26604         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26605         the relevant type.
26606         * math/test-misc.c: Include <math-tests.h>.
26607         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26608         the relevant type.
26610 2013-06-12  Andreas Jaeger  <aj@suse.de>
26612         * po/ia.po: Update Interlingua translation from translation
26613         project.
26615 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26617         * include/fenv.h: Include stdbool.h.
26618         (struct rm_ctx): New structure.
26619         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26620         Define macro.
26621         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26622         (SET_RESTORE_ROUNDF): Likewise.
26623         (SET_RESTORE_ROUNDL): Likewise.
26624         (SET_RESTORE_ROUND_NOEX): Likewise.
26625         (SET_RESTORE_ROUND_NOEXF): Likewise.
26626         (SET_RESTORE_ROUND_NOEXL): Likewise.
26627         (SET_RESTORE_ROUND_53BIT): Likewise.
26628         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26629         (libc_feresetround_noexf_ctx): Likewise.
26630         (libc_feresetround_noexl_ctx): Likewise.
26631         (libc_feholdsetround_53bit_ctx): Likewise.
26632         (libc_feresetround_53bit_ctx): Likewise.
26633         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26634         (libc_feholdexcept_setround_sse_ctx): New function.
26635         (libc_fesetenv_sse_ctx): Likewise.
26636         (libc_feupdateenv_sse_ctx): Likewise.
26637         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26638         (libc_feholdexcept_setround_387_ctx): Likewise.
26639         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26640         (libc_feholdsetround_387_prec_ctx): Likewise.
26641         (libc_feholdsetround_387_ctx): Likewise.
26642         (libc_feholdsetround_387_53bit_ctx): Likewise.
26643         (libc_feholdsetround_sse_ctx): Likewise.
26644         (libc_feresetround_sse_ctx): Likewise.
26645         (libc_feresetround_387_ctx): Likewise.
26646         (libc_feupdateenv_387_ctx): Likewise.
26647         (libc_feholdexcept_setroundf_ctx): Define macro.
26648         (libc_fesetenvf_ctx): Likewise.
26649         (libc_feupdateenvf_ctx): Likewise.
26650         (libc_feholdsetroundf_ctx): Likewise.
26651         (libc_feresetroundf_ctx): Likewise.
26652         (libc_feholdexcept_setround_ctx): Likewise.
26653         (libc_fesetenv_ctx): Likewise.
26654         (libc_feupdateenv_ctx): Likewise.
26655         (libc_feholdsetround_ctx): Likewise.
26656         (libc_feresetround_ctx): Likewise.
26657         (libc_feholdexcept_setroundl_ctx): Likewise.
26658         (libc_feupdateenvl_ctx): Likewise.
26659         (libc_feholdsetroundl_ctx): Likewise.
26660         (libc_feresetroundl_ctx): Likewise.
26661         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26662         (libc_feresetround_53bit_ctx): Likewise.
26664 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26666         * locale/iso-639.def: Convert to UTF-8.
26668 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26670         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26671         (EXCEPTION_TESTS_double): Likewise.
26672         (EXCEPTION_TESTS_long_double): Likewise.
26673         (EXCEPTION_TESTS): Likewise.
26674         * math/libm-test.inc (test_exceptions): Only test exceptions if
26675         EXCEPTION_TESTS (FLOAT).
26677 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26679         * benchtests/Makefile (string-bench): Add strcpy_chk and
26680         stpcpy_chk.
26681         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26682         * benchtests/bench-stpcpy_chk.c: New file.
26683         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26684         * benchtests/bench-strcpy_chk.c: New file.
26685         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26686         code.
26687         (do_test): Likewise.
26689 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26691         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26692         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26693         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26694         with tabs where appropriate.
26695         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26696         dl-procinfo.h.
26697         [PPC_PLATFORM_PPC440]: Likewise.
26698         [PPC_PLATFORM_PPC464]: Likewise.
26699         [PPC_PLATFORM_PPC476]: Likewise.
26700         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26701         ppc464, and ppc476 platform strings merging from ports/
26702         dl-procinfo.h.
26704 2013-06-11  Andreas Schwab  <schwab@suse.de>
26706         [BZ #14991]
26707         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26708         (from_ucs4_idx): Regenerate.
26709         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26710         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26711         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26712         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26713         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26714         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26715         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26716         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26717         from FROM_LOOP and TO_LOOP specific macros.
26718         (BODY): Handle combining characters.
26719         * iconvdata/BIG5HKSCS.irreversible: Update.
26720         * iconvdata/BIG5HKSCS.precomposed: New file.
26721         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26722         characters.
26723         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26725 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26727         * include/sys/time.h: Fix indentation and add copyright header.
26729         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26730         (do_test): Likewise.
26731         * string/test-memchr.c (do_one_test): Likewise.
26732         (do_test): Likewise.
26733         * string/test-memcmp.c (do_one_test): Likewise.
26734         (do_test): Likewise.
26735         * string/test-memcpy.c (do_one_test): Likewise.
26736         (do_test): Likewise.
26737         * string/test-memmem.c (do_one_test): Likewise.
26738         (do_test): Likewise.
26739         (do_random_tests): Likewise.
26740         * string/test-memmove.c (do_one_test): Likewise.
26741         (do_test): Likewise.
26742         * string/test-memset.c (do_one_test): Likewise.
26743         (do_test): Likewise.
26744         * string/test-rawmemchr.c (do_one_test): Likewise.
26745         (do_test): Likewise.
26746         * string/test-strcasecmp.c (do_one_test): Likewise.
26747         (do_test): Likewise.
26748         * string/test-strcasestr.c (do_one_test): Likewise.
26749         (do_test): Likewise.
26750         * string/test-strcat.c (do_one_test): Likewise.
26751         (do_test): Likewise.
26752         * string/test-strchr.c (do_one_test): Likewise.
26753         (do_test): Likewise.
26754         * string/test-strcmp.c (do_one_test): Likewise.
26755         (do_test): Likewise.
26756         * string/test-strcpy.c (do_one_test): Likewise.
26757         (do_test): Likewise.
26758         * string/test-string.h: Likewise.
26759         (test_init): Likewise.
26760         * string/test-strlen.c (do_one_test): Likewise.
26761         (do_test): Likewise.
26762         * string/test-strncasecmp.c (do_one_test): Likewise.
26763         (do_test): Likewise.
26764         * string/test-strncat.c (do_one_test): Likewise.
26765         (do_test): Likewise.
26766         * string/test-strncmp.c (do_one_test): Likewise.
26767         (do_test_limit): Likewise.
26768         (do_test): Likewise.
26769         * string/test-strncpy.c (do_one_test): Likewise.
26770         (do_test): Likewise.
26771         * string/test-strnlen.c (do_one_test): Likewise.
26772         (do_test): Likewise.
26773         * string/test-strpbrk.c (do_one_test): Likewise.
26774         (do_test): Likewise.
26775         * string/test-strrchr.c (do_one_test): Likewise.
26776         (do_test): Likewise.
26777         * string/test-strspn.c (do_one_test): Likewise.
26778         (do_test): Likewise.
26779         * string/test-strstr.c (do_one_test): Likewise.
26780         (do_test): Likewise.
26782         * benchtests/Makefile (string-bench): Add string benchmarks.
26783         * benchtests/bench-bcopy-ifunc.c: New file.
26784         * benchtests/bench-bcopy.c: New file.
26785         * benchtests/bench-bzero-ifunc.c: New file.
26786         * benchtests/bench-bzero.c: New file.
26787         * benchtests/bench-memccpy-ifunc.c: New file.
26788         * benchtests/bench-memccpy.c: New file.
26789         * benchtests/bench-memchr-ifunc.c: New file.
26790         * benchtests/bench-memchr.c: New file.
26791         * benchtests/bench-memcmp-ifunc.c: New file.
26792         * benchtests/bench-memcmp.c: New file.
26793         * benchtests/bench-memmem-ifunc.c: New file.
26794         * benchtests/bench-memmem.c: New file.
26795         * benchtests/bench-memmove-ifunc.c: New file.
26796         * benchtests/bench-memmove.c: New file.
26797         * benchtests/bench-mempcpy-ifunc.c: New file.
26798         * benchtests/bench-mempcpy.c: New file.
26799         * benchtests/bench-memset-ifunc.c: New file.
26800         * benchtests/bench-memset.c: New file.
26801         * benchtests/bench-rawmemchr-ifunc.c: New file.
26802         * benchtests/bench-rawmemchr.c: New file.
26803         * benchtests/bench-stpcpy-ifunc.c: New file.
26804         * benchtests/bench-stpcpy.c: New file.
26805         * benchtests/bench-stpncpy-ifunc.c: New file.
26806         * benchtests/bench-stpncpy.c: New file.
26807         * benchtests/bench-strcasecmp-ifunc.c: New file.
26808         * benchtests/bench-strcasecmp.c: New file.
26809         * benchtests/bench-strcasestr-ifunc.c: New file.
26810         * benchtests/bench-strcasestr.c: New file.
26811         * benchtests/bench-strcat-ifunc.c: New file.
26812         * benchtests/bench-strcat.c: New file.
26813         * benchtests/bench-strchr-ifunc.c: New file.
26814         * benchtests/bench-strchr.c: New file.
26815         * benchtests/bench-strchrnul-ifunc.c: New file.
26816         * benchtests/bench-strchrnul.c: New file.
26817         * benchtests/bench-strcmp-ifunc.c: New file.
26818         * benchtests/bench-strcmp.c: New file.
26819         * benchtests/bench-strcpy-ifunc.c: New file.
26820         * benchtests/bench-strcpy.c: New file.
26821         * benchtests/bench-strcspn-ifunc.c: New file.
26822         * benchtests/bench-strcspn.c: New file.
26823         * benchtests/bench-strlen-ifunc.c: New file.
26824         * benchtests/bench-strlen.c: New file.
26825         * benchtests/bench-strncasecmp-ifunc.c: New file.
26826         * benchtests/bench-strncasecmp.c: New file.
26827         * benchtests/bench-strncat-ifunc.c: New file.
26828         * benchtests/bench-strncat.c: New file.
26829         * benchtests/bench-strncmp-ifunc.c: New file.
26830         * benchtests/bench-strncmp.c: New file.
26831         * benchtests/bench-strncpy-ifunc.c: New file.
26832         * benchtests/bench-strncpy.c: New file.
26833         * benchtests/bench-strnlen-ifunc.c: New file.
26834         * benchtests/bench-strnlen.c: New file.
26835         * benchtests/bench-strpbrk-ifunc.c: New file.
26836         * benchtests/bench-strpbrk.c: New file.
26837         * benchtests/bench-strrchr-ifunc.c: New file.
26838         * benchtests/bench-strrchr.c: New file.
26839         * benchtests/bench-strspn-ifunc.c: New file.
26840         * benchtests/bench-strspn.c: New file.
26841         * benchtests/bench-strstr-ifunc.c: New file.
26842         * benchtests/bench-strstr.c: New file.
26844         * benchtests/Makefile: Disable parallel execution of targets.
26845         (string-bench): Add memcpy.
26846         (benchset): New variable to store a list of benchmark sets.
26847         (bench-func): Renamed from bench.
26848         (bench-set): New target.
26849         (bench): Depend on bench-func and bench-set.
26850         * benchtests/README: Add section on benchmark sets.
26851         * benchtests/bench-memcpy-ifunc.c: New file.
26852         * benchtests/bench-memcpy.c: New file.
26853         * benchtests/bench-string.h: New file.
26855 2013-06-11  Andreas Schwab  <schwab@suse.de>
26857         [BZ #15577]
26858         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26859         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26860         values in the triple.
26861         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26862         terminator in the group key.
26864 2013-06-11  Andreas Jaeger  <aj@suse.de>
26866         * po/zh_TW.po: Update Chinese (traditional) translation from
26867         translation project.
26869 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26871         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26872         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26873         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26875         (clock_getcpuclockid): Likewise.
26876         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26877         Add weak_alias and libc_hidden_def.
26878         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26879         * rt/clock_gettime.c (clock_gettime): Rename to
26880         __clock_gettime.  Add weak_alias and libc_hidden_def.
26881         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26882         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26883         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26884         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26885         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26886         Likewise.
26887         * rt/clock_settime.c (clock_settime): Rename to
26888         __clock_settime.  Add weak_alias and libc_hidden_def.
26889         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26891 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26893         * mach/err_boot.sub: Remove trailing whitespace.
26894         * mach/err_ipc.sub: Likewise.
26895         * mach/err_mach.sub: Likewise.
26897         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26898         (ROUNDING_TESTS_double): Likewise.
26899         (ROUNDING_TESTS_long_double): Likewise.
26900         (ROUNDING_TESTS): Likewise.
26901         * math/libm-test.inc: Include <math-tests.h>.
26902         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26903         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26904         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26905         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26907 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26909         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26910         of assigning.
26912 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26914         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26915         otherwise empty TRANS lines.
26916         * sysdeps/gnu/errlist.c: Regenerated.
26918         * catgets/gencat.c (error_print): Use (void) in function
26919         definition.
26920         * crypt/crypt_util.c (__init_des): Likewise.
26921         * crypt/speeds.c (Stop): Likewise.
26922         (main): Likewise.
26923         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26924         * inet/ruserpass.c (token): Likewise.
26925         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26926         * intl/localealias.c (extend_alias_table): Likewise.
26927         * intl/plural-exp.c (init_germanic_plural): Likewise.
26928         * libio/fcloseall.c (__fcloseall): Likewise.
26929         * libio/genops.c (_IO_flush_all): Likewise.
26930         (_IO_flush_all_linebuffered): Likewise.
26931         (_IO_cleanup): Likewise.
26932         (_IO_iter_begin): Likewise.
26933         (_IO_iter_end): Likewise.
26934         (_IO_list_lock): Likewise.
26935         (_IO_list_unlock): Likewise.
26936         (_IO_list_resetlock): Likewise.
26937         * libio/getchar.c (getchar): Likewise.
26938         * libio/getchar_u.c (getchar_unlocked): Likewise.
26939         * libio/getwchar.c (getwchar): Likewise.
26940         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26941         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26942         * login/getpt.c (__getpt): Likewise.
26943         * login/tst-utmp.c (main): Likewise.
26944         * malloc/hooks.c (__malloc_check_init): Likewise.
26945         * malloc/malloc.c (__malloc_stats): Likewise.
26946         * malloc/mtrace.c (tr_break): Likewise.
26947         (mtrace): Likewise.
26948         (muntrace): Likewise.
26949         * misc/fstab.c (endfsent): Likewise.
26950         * misc/getclktck.c (__getclktck): Likewise.
26951         * misc/getdtsz.c (__getdtablesize): Likewise.
26952         * misc/gethostid.c (gethostid): Likewise.
26953         * misc/getpagesize.c (__getpagesize): Likewise.
26954         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26955         (__get_nprocs): Likewise.
26956         (__get_phys_pages): Likewise.
26957         (__get_avphys_pages): Likewise.
26958         * misc/getttyent.c (getttyent): Likewise.
26959         (setttyent): Likewise.
26960         (endttyent): Likewise.
26961         * misc/getusershell.c (getusershell): Likewise.
26962         (endusershell): Likewise.
26963         (setusershell): Likewise.
26964         (initshells): Likewise.
26965         * misc/hsearch.c (__hdestroy): Likewise.
26966         * misc/sync.c (sync): Likewise.
26967         * misc/syslog.c (closelog_internal): Likewise.
26968         (closelog): Likewise.
26969         * misc/ttyslot.c (ttyslot): Likewise.
26970         * misc/vhangup.c (vhangup): Likewise.
26971         * posix/fork.c (__fork): Likewise.
26972         * posix/getegid.c (__getegid): Likewise.
26973         * posix/geteuid.c (__geteuid): Likewise.
26974         * posix/getgid.c (__getgid): Likewise.
26975         * posix/getpid.c (__getpid): Likewise.
26976         * posix/getppid.c (__getppid): Likewise.
26977         * posix/getuid.c (__getuid): Likewise.
26978         * posix/pause.c (pause): Likewise.
26979         * posix/setpgrp.c (setpgrp): Likewise.
26980         * posix/setsid.c (__setsid): Likewise.
26981         * posix/test-vfork.c (noop): Likewise.
26982         * resolv/gethnamaddr.c (_endhtent): Likewise.
26983         (_gethtent): Likewise.
26984         (ht_endhostent): Likewise.
26985         (gethostent): Likewise.
26986         (dns_service): Likewise.
26987         * stdlib/drand48.c (drand48): Likewise.
26988         * stdlib/lrand48.c (lrand48): Likewise.
26989         * stdlib/mrand48.c (mrand48): Likewise.
26990         * stdlib/rand.c (rand): Likewise.
26991         * stdlib/random.c (__random): Likewise.
26992         * stdlib/setenv.c (clearenv): Likewise.
26993         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26994         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26995         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26996         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26997         (__get_nprocs): Likewise.
26998         (__get_phys_pages): Likewise.
26999         (__get_avphys_pages): Likewise.
27000         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27001         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27002         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27003         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27004         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27005         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27006         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27007         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27008         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27009         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27010         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27011         * sysdeps/mach/hurd/sync.c (sync): Likewise.
27012         * sysdeps/posix/clock.c (clock): Likewise.
27013         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27014         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27015         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27016         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27017         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27018         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27019         (__get_nprocs_conf): Likewise.
27020         (__get_phys_pages): Likewise.
27021         (__get_avphys_pages): Likewise.
27022         * time/clock.c (clock): Likewise.
27023         * time/tzset.c (__tzname_max): Likewise.
27025 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
27027         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27028         (__bswap_32): Do not use "register".
27029         * crypt/crypt.c (_ufc_doit_r): Likewise.
27030         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27031         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27032         * gmon/gmon.c (__monstartup): Likewise.
27033         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27034         * hurd/hurdmalloc.c (more_memory): Likewise.
27035         (malloc): Likewise.
27036         (free): Likewise.
27037         (realloc): Likewise.
27038         (malloc_fork_prepare): Likewise.
27039         (malloc_fork_parent): Likewise.
27040         (malloc_fork_child): Likewise.
27041         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27042         (_svcauth_des): Likewise.
27043         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27044         * inet/inet_net.c (inet_network): Likewise.
27045         * inet/inet_netof.c (inet_netof): Likewise.
27046         * inet/rcmd.c (__validuser2_sa): Likewise.
27047         * io/fts.c (fts_open): Likewise.
27048         (fts_load): Likewise.
27049         (fts_close): Likewise.
27050         (fts_read): Likewise.
27051         (fts_children): Likewise.
27052         (fts_build): Likewise.
27053         (fts_stat): Likewise.
27054         (fts_sort): Likewise.
27055         (fts_alloc): Likewise.
27056         (fts_lfree): Likewise.
27057         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27058         (_IO_file_xsgetn): Likewise.
27059         (_IO_file_xsgetn_mmap): Likewise.
27060         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27061         (_IO_cookie_write): Likewise.
27062         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27063         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27064         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27065         * malloc/obstack.c (_obstack_begin): Likewise.
27066         (_obstack_begin_1): Likewise.
27067         (_obstack_newchunk): Likewise.
27068         (_obstack_allocated_p): Likewise.
27069         (obstack_free): Likewise.
27070         (_obstack_memory_used): Likewise.
27071         * misc/getttyent.c (getttynam): Likewise.
27072         (getttyent): Likewise.
27073         (skip): Likewise.
27074         (value): Likewise.
27075         * misc/getusershell.c (initshells): Likewise.
27076         * misc/syslog.c (__vsyslog_chk): Likewise.
27077         * misc/ttyslot.c (ttyslot): Likewise.
27078         * nis/nis_hash.c (__nis_hash): Likewise.
27079         * posix/fnmatch_loop.c (FCT): Likewise.
27080         * posix/getconf.c (print_all): Likewise.
27081         (main): Likewise.
27082         * posix/getopt.c (exchange): Likewise.
27083         * posix/glob.c (globfree): Likewise.
27084         (prefix_array): Likewise.
27085         (__glob_pattern_type): Likewise.
27086         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27087         (NS_GET32): Likewise.
27088         (NS_PUT16): Likewise.
27089         (NS_PUT32): Likewise.
27090         * resolv/gethnamaddr.c (getanswer): Likewise.
27091         (gethostbyname2): Likewise.
27092         (gethostbyaddr): Likewise.
27093         (_gethtent): Likewise.
27094         (_gethtbyname2): Likewise.
27095         (_gethtbyaddr): Likewise.
27096         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27097         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27098         * resolv/res_init.c (__res_vinit): Likewise.
27099         (net_mask): Likewise.
27100         * resolv/res_mkquery.c (outchar): Likewise.
27101         (PRINT): Likewise.
27102         * stdio-common/printf_fp.c (outchar): Likewise.
27103         (PRINT): Likewise.
27104         * stdio-common/printf_fphex.c (outchar): Likewise.
27105         (PRINT): Likewise.
27106         * stdio-common/printf_size.c (outchar): Likewise.
27107         (PRINT): Likewise.
27108         * stdio-common/test_rdwr.c (main): Likewise.
27109         * stdio-common/tfformat.c (matches): Likewise.
27110         * stdio-common/vfprintf.c (outchar): Likewise.
27111         (printf_unknown): Likewise.
27112         (buffered_vfprintf): Likewise.
27113         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27114         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27115         (ReadFile): Likewise.
27116         * stdlib/qsort.c (SWAP): Likewise.
27117         (_quicksort): Likewise.
27118         * stdlib/setenv.c (__add_to_environ): Likewise.
27119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27120         * stdlib/strtol_l.c (__strtol_l): Likewise.
27121         * stdlib/tst-strtod.c (main): Likewise.
27122         * stdlib/tst-strtol.c (main): Likewise.
27123         * stdlib/tst-strtoll.c (main): Likewise.
27124         * string/bits/string2.h (__strcmp_cc): Likewise.
27125         (__strcmp_cg): Likewise.
27126         (__strcspn_c1): Likewise.
27127         (__strcspn_c2): Likewise.
27128         (__strcspn_c3): Likewise.
27129         (__strspn_c1): Likewise.
27130         (__strspn_c2): Likewise.
27131         (__strspn_c3): Likewise.
27132         (__strsep_1c): Likewise.
27133         (__strsep_2c): Likewise.
27134         (__strsep_3c): Likewise.
27135         * string/memccpy.c (__memccpy): Likewise.
27136         * string/stpcpy.c (__stpcpy): Likewise.
27137         * string/strcmp.c (strcmp): Likewise.
27138         * string/strrchr.c (strrchr): Likewise.
27139         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27140         Likewise.
27141         * sysdeps/mach/hurd/getcwd.c
27142         (_hurd_canonicalize_directory_name_internal): Likewise.
27143         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27144         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27145         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27146         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27147         Likewise, in both definitions.
27148         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27149         definitions.
27150         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27151         64] (__bswap_64): Likewise.
27152         * time/test_time.c (main): Likewise.
27153         * time/tzfile.c (__tzfile_read): Likewise.
27154         (__tzfile_compute): Likewise.
27155         * time/tzset.c (__tzset_parse_tz): Likewise.
27156         (tzset_internal): Likewise.
27157         (compute_change): Likewise.
27158         * wcsmbs/wcscat.c (__wcscat): Likewise.
27159         * wcsmbs/wcschr.c (wcschr): Likewise.
27160         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27161         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27162         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27163         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27164         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27165         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27166         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27167         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27168         * wcsmbs/wmemset.c (wmemset): Likewise.
27170 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27172         * scripts/config.guess: Update to version 2013-05-16.
27173         * scripts/config.sub: Update to version 2013-04-24.
27174         * scripts/install-sh: Update to version 2011-11-20.07.
27175         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27176         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27178 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27180         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27181         * elf/sln.c: Likewise.
27182         * hurd/hurd/ioctl.h: Likewise.
27183         * hurd/hurdmalloc.c: Likewise.
27184         * hurd/xattr.c: Likewise.
27185         * include/shlib-compat.h: Likewise.
27186         * inet/ruserpass.c: Likewise.
27187         * libio/iofgets_u.c: Likewise.
27188         * libio/iofgetws_u.c: Likewise.
27189         * locale/programs/ld-identification.c: Likewise.
27190         * locale/programs/ld-time.c: Likewise.
27191         * mach/msg-destroy.c: Likewise.
27192         * nss/nss_files/files-netgrp.c: Likewise.
27193         * resolv/res_data.c: Likewise.
27194         * soft-fp/op-1.h: Likewise.
27195         * soft-fp/op-2.h: Likewise.
27196         * soft-fp/op-4.h: Likewise.
27197         * soft-fp/op-common.h: Likewise.
27198         * stdio-common/printf_fphex.c: Likewise.
27199         * stdlib/strtod_l.c: Likewise.
27200         * sunrpc/rpc/clnt.h: Likewise.
27201         * sysdeps/generic/framestate.c: Likewise.
27202         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27203         * sysdeps/i386/bsd-setjmp.S: Likewise.
27204         * sysdeps/i386/__longjmp.S: Likewise.
27205         * sysdeps/i386/setjmp.S: Likewise.
27206         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27207         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27208         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27209         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27210         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27211         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27212         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27213         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27214         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27215         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27216         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27217         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27218         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27219         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27220         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27221         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27224         * sysdeps/ieee754/support.c: Likewise.
27225         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27226         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27227         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27228         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27229         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27230         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27231         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27232         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27233         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27234         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27235         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27236         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27237         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27238         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27239         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27240         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27241         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27244 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27246         * posix/transbug.c: Remove executable mode.
27248 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27250         * crypt/speeds.c: Remove trailing whitespace.
27251         * dlfcn/default.c: Likewise.
27252         * elf/ifuncdep2.c: Likewise.
27253         * elf/ifuncmain1.c: Likewise.
27254         * elf/ifuncmain1vis.c: Likewise.
27255         * elf/testobj.h: Likewise.
27256         * elf/tst-stackguard1.c: Likewise.
27257         * gmon/sys/gmon.h: Likewise.
27258         * hurd/hurdmsg.c: Likewise.
27259         * hurd/new-fd.c: Likewise.
27260         * hurd/ports-get.c: Likewise.
27261         * iconvdata/ibm1008_420.c: Likewise.
27262         * inet/tst-getni1.c: Likewise.
27263         * inet/tst-getni2.c: Likewise.
27264         * libio/ioungetc.c: Likewise.
27265         * libio/wfiledoalloc.c: Likewise.
27266         * manual/libm-err-tab.pl: Likewise.
27267         * math/w_dremf.c: Likewise.
27268         * misc/ftruncate.c: Likewise.
27269         * posix/bug-glob2.c: Likewise.
27270         * posix/tst-pcre.c: Likewise.
27271         * posix/wait4.c: Likewise.
27272         * resolv/README: Likewise.
27273         * resolv/res_debug.h: Likewise.
27274         * resolv/tst-inet_ntop.c: Likewise.
27275         * setjmp/bug269-setjmp.c: Likewise.
27276         * soft-fp/extended.h: Likewise.
27277         * soft-fp/op-1.h: Likewise.
27278         * soft-fp/op-2.h: Likewise.
27279         * soft-fp/op-4.h: Likewise.
27280         * soft-fp/op-8.h: Likewise.
27281         * soft-fp/testit.c: Likewise.
27282         * stdio-common/bug16.c: Likewise.
27283         * stdlib/random.c: Likewise.
27284         * sunrpc/rpcsvc/rquota.x: Likewise.
27285         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27286         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27287         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27288         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27289         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27290         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27291         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27292         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27293         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27294         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27295         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27296         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27297         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27298         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27299         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27300         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27301         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27302         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27303         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27304         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27305         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27306         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27307         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27308         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27309         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27310         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27311         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27312         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27313         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27314         * sysdeps/ieee754/s_lib_version.c: Likewise.
27315         * sysdeps/mach/hurd/check_fds.c: Likewise.
27316         * sysdeps/mach/hurd/getsockname.c: Likewise.
27317         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27318         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27319         * sysdeps/powerpc/bits/link.h: Likewise.
27320         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27321         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27322         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27323         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27324         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27325         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27326         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27327         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27328         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27329         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27330         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27331         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27332         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27333         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27334         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27335         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27336         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27337         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27338         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27339         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27340         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27341         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27342         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27343         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27344         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27345         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27346         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27347         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27348         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27349         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27350         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27351         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27352         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27353         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27354         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27355         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27356         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27357         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27358         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27359         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27360         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27361         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27362         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27363         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27364         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27365         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27366         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27367         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27368         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27369         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27370         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27371         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27372         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27373         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27374         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27375         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27376         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27377         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27378         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27379         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27380         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27381         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27382         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27383         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27384         * sysdeps/powerpc/sysdep.h: Likewise.
27385         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27386         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27387         * sysdeps/sh/dl-trampoline.S: Likewise.
27388         * sysdeps/sh/memset.S: Likewise.
27389         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27390         * sysdeps/sh/strlen.S: Likewise.
27391         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27392         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27393         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27394         * sysdeps/sparc/sparc32/rem.S: Likewise.
27395         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27396         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27397         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27398         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27399         * sysdeps/sparc/sparc32/urem.S: Likewise.
27400         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27401         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27402         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27403         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27404         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27405         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27406         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27407         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27408         * sysdeps/unix/bsd/times.c: Likewise.
27409         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27410         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27414         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27415         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27416         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27417         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27418         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27419         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27420         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27421         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27422         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27423         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27424         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27425         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27426         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27427         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27428         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27429         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27430         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27431         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27432         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27433         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27434         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27435         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27437         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27438         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27439         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27440         * sysdeps/x86_64/strcspn.S: Likewise.
27442 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27444         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27445         generated file.  Regenerate properly from gen-translit.pl.
27446         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27447         locale/C-translit.h.
27449 2013-06-05  Andreas Schwab  <schwab@suse.de>
27451         [BZ #15100]
27452         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27453         week as 6 instead of -1.
27454         * time/tst-strptime.c (day_tests): Add test case.
27456 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27458         * sysdeps/generic/math_private.h
27459         (libc_feholdexcept_setround_53bit): Replace with
27460         libc_feholdsetround_53bit.
27461         (libc_feupdateenv_53bit): Replace with
27462         libc_feresetround_53bit.
27463         (SET_RESTORE_ROUND_53BIT): Adjust.
27465 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27467         * string/test-strchrnul.c: Add copyright header.
27469         * posix/tst-getaddrinfo4.c: Increase test timeout.
27471 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27473         [BZ #15536]
27474         * math/libm-test.inc (MAX_EXP): Remove
27475         (MIN_EXP): Define.
27476         (ulp): Use MIN_EXP - MANT_DIG.
27477         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27479 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27481         * po/be.po: Revert last change.
27482         * po/zh_CN.po: Likewise.
27483         * po/header.pot: Likewise.
27485 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27487         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27488         link-libc-deps to empty as target-specific variable.
27489         * Makerules (link-libc-args): New variable.
27490         (libc-for-link): Likewise.
27491         (link-libc-deps): Likewise.
27492         (lib%.so): Depend on $(link-libc-deps).  Link with
27493         $(link-libc-args).
27494         (build-module): Link with $(link-libc-args).
27495         (build-module-asneeded): Likewise.
27496         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27497         list of objects.
27498         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27499         target-specific variable.
27500         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27501         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27502         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27503         libc.
27504         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27505         libc and ld.so.
27506         ($(objpfx)libpcprofile.so): Likewise.
27507         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27508         libc_nonshared.a.
27509         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27510         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27511         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27512         $(link-libc-deps).
27513         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27514         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27515         * login/Makefile ($(objpfx)libutil.so): Likewise.
27516         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27517         * math/Makefile ($(objpfx)libm.so): Likewise.
27518         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27519         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27520         variable instead of depending directly on libc.
27521         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27522         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27523         $(link-libc-deps).
27524         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27525         libc.
27526         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27527         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27528         ($(objpfx)libanl.so): Likewise.
27529         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27530         ld.so.
27531         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27532         $(link-libc-deps).
27533         * sysdeps/i386/fpu/Makefile: Remove file.
27534         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27535         ($(objpfx)libm.so): Remove dependency on ld.so.
27537 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27539         [BZ # 15553]
27540         * nis/yp_xdr.c (XDRMAXNAME): Define.
27541         (XDRMAXRECORD): Define.
27542         (xdr_domainname): Use XDRMAXNAME.
27543         (xdr_mapname): Likewise.
27544         (xdr_peername): Likewise.
27545         (xdr_keydat): Use XDRMAXRECORD.
27546         (xdr_valdat): Likewise.
27548 2013-05-30  Jeff Law  <law@redhat.com>
27550         [BZ #14256]
27551         * manual/errno.texi (ESTALE): Update to account for more than
27552         just NFS file systems.
27553         * sysdeps/gnu/errlist.c: Regenerated.
27555 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27557         [BZ #15465]
27558         * elf/Makefile (tests): Add tst-null-argv.
27559         (modules-names):  Add tst-null-argv-lib.
27560         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27561         (tst-null-argv-ENV): Set environment for tst-null-argv.
27562         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27563         (RTLD_PROGNAME): New macro.
27564         * elf/tst-null-argv.c: New test case.
27565         * elf/tst-null-argv-lib.c: Library for test case.
27566         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27567         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27568         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27569         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27570         * elf/dl-init.c (call_init): Likewise.
27571         (_dl_init): Likewise.
27572         * elf/dl-load.c (print_search_path): Likewise.
27573         (_dl_map_object): Likewise.
27574         * elf/dl-lookup.c (do_lookup_x): Likewise.
27575         (add_dependency): Likewise.
27576         (_dl_lookup_symbol_x): Likewise.
27577         (_dl_debug_bindings): Likewise.
27578         * elf/dl-open.c (_dl_show_scope): Likewise.
27579         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27580         * elf/dl-version.c (match_symbol): Likewise.
27581         (_dl_check_map_versions): Likewise.
27582         * elf/rtld.c (dl_main): Likewise.
27583         (print_unresolved): Use RTLD_PROGNAME.
27584         (print_missing_version): Likewise.
27585         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27586         (elf_machine_rela): Likewise.
27587         * sysdeps/powerpc/powerpc32/dl-machine.c
27588         (__process_machine_rela): Likewise.
27589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27590         Likewise.
27591         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27592         Likewise.
27593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27594         Likewise.
27595         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27596         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27597         Likewise.
27598         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27599         Likewise.
27600         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27602 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27604         * po/be.po: Add descriptive title.
27605         * po/zh_CN.po: Likewise.
27606         * po/header.pot: Likewise.
27608 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27610         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27611         error message.
27612         (enlarge_archive): Likewise.
27614 2013-05-28  Ben North  <ben@redfrontdoor.org>
27616         * manual/arith.texi (frexp): It is the magnitude of the return
27617         value which lies in [0.5, 1), not the return value itself.
27619 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27623 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27625         * stdio-common/bug26.c (main): Correct fscanf template.
27627         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27628         declare _dl_skip_args.
27630         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27631         Don't declare.
27633         * manual/platform.texi: Add missing @end deftypefun.
27635 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27637         [BZ #15529]
27638         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27639         bit of mantissa of 2^16382.
27640         * math/libm-test.inc (hypot_test_data): Add more tests.
27642         * math/libm-test.inc: Add drem and pow10 to list of tested
27643         functions.
27644         (pow10_test): New function.
27645         (drem_test): Likewise.
27646         (drem_test_tonearest): Likewise.
27647         (drem_test_towardzero): Likewise.
27648         (drem_test_downward): Likewise.
27649         (drem_test_upward): Likewise.
27650         (main): Call the new functions.
27652         * math/libm-test.inc (finite_test_data): Remove.
27653         (finite_test): Run tests from isfinite_test_data.
27654         (gamma_test_data): Remove.
27655         (gamma_test): Run tests from lgamma_test_data.
27656         * sysdeps/i386/fpu/libm-test-ulps: Update.
27657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27659 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27661         * manual/platform.texi: Add PowerPC PPR function set documentation.
27662         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27663         implementation.
27665 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27667         * math/libm-test.inc (MAX_EXP): Define.
27668         (ULPDIFF): Define.
27669         (ulp): New function.
27670         (check_float_internal): Use ULPDIFF.
27671         (cpow_test): Disable failing test.
27672         (check_ulp): Test ulp() implemetnation.
27673         (main): Call check_ulp before starting tests.
27675 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27677         * math/gen-libm-test.pl (generate_testfile): Do not handle
27678         START_DATA and END_DATA.
27679         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27680         END_DATA.
27681         (acos_tonearest_test_data): Likewise.
27682         (acos_towardzero_test_data): Likewise.
27683         (acos_downward_test_data): Likewise.
27684         (acos_upward_test_data): Likewise.
27685         (acosh_test_data): Likewise.
27686         (asin_test_data): Likewise.
27687         (asin_tonearest_test_data): Likewise.
27688         (asin_towardzero_test_data): Likewise.
27689         (asin_downward_test_data): Likewise.
27690         (asin_upward_test_data): Likewise.
27691         (asinh_test_data): Likewise.
27692         (atan_test_data): Likewise.
27693         (atanh_test_data): Likewise.
27694         (atan2_test_data): Likewise.
27695         (cabs_test_data): Likewise.
27696         (cacos_test_data): Likewise.
27697         (cacosh_test_data): Likewise.
27698         (carg_test_data): Likewise.
27699         (casin_test_data): Likewise.
27700         (casinh_test_data): Likewise.
27701         (catan_test_data): Likewise.
27702         (catanh_test_data): Likewise.
27703         (cbrt_test_data): Likewise.
27704         (ccos_test_data): Likewise.
27705         (ccosh_test_data): Likewise.
27706         (ceil_test_data): Likewise.
27707         (cexp_test_data): Likewise.
27708         (cimag_test_data): Likewise.
27709         (clog_test_data): Likewise.
27710         (clog10_test_data): Likewise.
27711         (conj_test_data): Likewise.
27712         (copysign_test_data): Likewise.
27713         (cos_test_data): Likewise.
27714         (cos_tonearest_test_data): Likewise.
27715         (cos_towardzero_test_data): Likewise.
27716         (cos_downward_test_data): Likewise.
27717         (cos_upward_test_data): Likewise.
27718         (cosh_test_data): Likewise.
27719         (cosh_tonearest_test_data): Likewise.
27720         (cosh_towardzero_test_data): Likewise.
27721         (cosh_downward_test_data): Likewise.
27722         (cosh_upward_test_data): Likewise.
27723         (cpow_test_data): Likewise.
27724         (cproj_test_data): Likewise.
27725         (creal_test_data): Likewise.
27726         (csin_test_data): Likewise.
27727         (csinh_test_data): Likewise.
27728         (csqrt_test_data): Likewise.
27729         (ctan_test_data): Likewise.
27730         (ctan_tonearest_test_data): Likewise.
27731         (ctan_towardzero_test_data): Likewise.
27732         (ctan_downward_test_data): Likewise.
27733         (ctan_upward_test_data): Likewise.
27734         (ctanh_test_data): Likewise.
27735         (ctanh_tonearest_test_data): Likewise.
27736         (ctanh_towardzero_test_data): Likewise.
27737         (ctanh_downward_test_data): Likewise.
27738         (ctanh_upward_test_data): Likewise.
27739         (erf_test_data): Likewise.
27740         (erfc_test_data): Likewise.
27741         (exp_test_data): Likewise.
27742         (exp_tonearest_test_data): Likewise.
27743         (exp_towardzero_test_data): Likewise.
27744         (exp_downward_test_data): Likewise.
27745         (exp_upward_test_data): Likewise.
27746         (exp10_test_data): Likewise.
27747         (exp2_test_data): Likewise.
27748         (expm1_test_data): Likewise.
27749         (fabs_test_data): Likewise.
27750         (fdim_test_data): Likewise.
27751         (finite_test_data): Likewise.
27752         (floor_test_data): Likewise.
27753         (fma_test_data): Likewise.
27754         (fma_towardzero_test_data): Likewise.
27755         (fma_downward_test_data): Likewise.
27756         (fma_upward_test_data): Likewise.
27757         (fmax_test_data): Likewise.
27758         (fmin_test_data): Likewise.
27759         (fmod_test_data): Likewise.
27760         (fpclassify_test_data): Likewise.
27761         (frexp_test_data): Likewise.
27762         (gamma_test_data): Likewise.
27763         (hypot_test_data): Likewise.
27764         (ilogb_test_data): Likewise.
27765         (isfinite_test_data): Likewise.
27766         (isgreater_test_data): Likewise.
27767         (isgreaterequal_test_data): Likewise.
27768         (isinf_test_data): Likewise.
27769         (isless_test_data): Likewise.
27770         (islessequal_test_data): Likewise.
27771         (islessgreater_test_data): Likewise.
27772         (isnan_test_data): Likewise.
27773         (isnormal_test_data): Likewise.
27774         (issignaling_test_data): Likewise.
27775         (isunordered_test_data): Likewise.
27776         (j0_test_data): Likewise.
27777         (j1_test_data): Likewise.
27778         (jn_test_data): Likewise.
27779         (ldexp_test_data): Likewise.
27780         (lgamma_test_data): Likewise.
27781         (lrint_test_data): Likewise.
27782         (lrint_tonearest_test_data): Likewise.
27783         (lrint_towardzero_test_data): Likewise.
27784         (lrint_downward_test_data): Likewise.
27785         (lrint_upward_test_data): Likewise.
27786         (llrint_test_data): Likewise.
27787         (llrint_tonearest_test_data): Likewise.
27788         (llrint_towardzero_test_data): Likewise.
27789         (llrint_downward_test_data): Likewise.
27790         (llrint_upward_test_data): Likewise.
27791         (log_test_data): Likewise.
27792         (log10_test_data): Likewise.
27793         (log1p_test_data): Likewise.
27794         (log2_test_data): Likewise.
27795         (logb_test_data): Likewise.
27796         (logb_downward_test_data): Likewise.
27797         (lround_test_data): Likewise.
27798         (llround_test_data): Likewise.
27799         (modf_test_data): Likewise.
27800         (nearbyint_test_data): Likewise.
27801         (nextafter_test_data): Likewise.
27802         (nexttoward_test_data): Likewise.
27803         (pow_test_data): Likewise.
27804         (pow_tonearest_test_data): Likewise.
27805         (pow_towardzero_test_data): Likewise.
27806         (pow_downward_test_data): Likewise.
27807         (pow_upward_test_data): Likewise.
27808         (remainder_test_data): Likewise.
27809         (remainder_tonearest_test_data): Likewise.
27810         (remainder_towardzero_test_data): Likewise.
27811         (remainder_downward_test_data): Likewise.
27812         (remainder_upward_test_data): Likewise.
27813         (remquo_test_data): Likewise.
27814         (rint_test_data): Likewise.
27815         (rint_tonearest_test_data): Likewise.
27816         (rint_towardzero_test_data): Likewise.
27817         (rint_downward_test_data): Likewise.
27818         (rint_upward_test_data): Likewise.
27819         (round_test_data): Likewise.
27820         (scalb_test_data): Likewise.
27821         (scalbn_test_data): Likewise.
27822         (scalbln_test_data): Likewise.
27823         (signbit_test_data): Likewise.
27824         (sin_test_data): Likewise.
27825         (sin_tonearest_test_data): Likewise.
27826         (sin_towardzero_test_data): Likewise.
27827         (sin_downward_test_data): Likewise.
27828         (sin_upward_test_data): Likewise.
27829         (sincos_test_data): Likewise.
27830         (sinh_test_data): Likewise.
27831         (sinh_tonearest_test_data): Likewise.
27832         (sinh_towardzero_test_data): Likewise.
27833         (sinh_downward_test_data): Likewise.
27834         (sinh_upward_test_data): Likewise.
27835         (sqrt_test_data): Likewise.
27836         (tan_test_data): Likewise.
27837         (tan_tonearest_test_data): Likewise.
27838         (tan_towardzero_test_data): Likewise.
27839         (tan_downward_test_data): Likewise.
27840         (tan_upward_test_data): Likewise.
27841         (tanh_test_data): Likewise.
27842         (tgamma_test_data): Likewise.
27843         (trunc_test_data): Likewise.
27844         (y0_test_data): Likewise.
27845         (y1_test_data): Likewise.
27846         (yn_test_data): Likewise.
27847         (significand_test_data): Likewise.
27849         * math/gen-libm-test.pl (@functions): Remove variable.
27850         (generate_testfile): Don't handle START and END lines.
27851         * math/libm-test.inc (START): New macro.
27852         (END): Likewise.
27853         (END_COMPLEX): Likewise.
27854         (acos_test): Use END macro without arguments.
27855         (acos_test_tonearest): Likewise.
27856         (acos_test_towardzero): Likewise.
27857         (acos_test_downward): Likewise.
27858         (acos_test_upward): Likewise.
27859         (acosh_test): Likewise.
27860         (asin_test): Likewise.
27861         (asin_test_tonearest): Likewise.
27862         (asin_test_towardzero): Likewise.
27863         (asin_test_downward): Likewise.
27864         (asin_test_upward): Likewise.
27865         (asinh_test): Likewise.
27866         (atan_test): Likewise.
27867         (atanh_test): Likewise.
27868         (atan2_test): Likewise.
27869         (cabs_test): Likewise.
27870         (cacos_test): Use END_COMPLEX macro without arguments.
27871         (cacosh_test): Likewise.
27872         (carg_test): Use END macro without arguments.
27873         (casin_test): Use END_COMPLEX macro without arguments.
27874         (casinh_test): Likewise.
27875         (catan_test): Likewise.
27876         (catanh_test): Likewise.
27877         (cbrt_test): Use END macro without arguments.
27878         (ccos_test): Use END_COMPLEX macro without arguments.
27879         (ccosh_test): Likewise.
27880         (ceil_test): Use END macro without arguments.
27881         (cexp_test): Use END_COMPLEX macro without arguments.
27882         (cimag_test): Use END macro without arguments.
27883         (clog_test): Use END_COMPLEX macro without arguments.
27884         (clog10_test): Likewise.
27885         (conj_test): Likewise.
27886         (copysign_test): Use END macro without arguments.
27887         (cos_test): Likewise.
27888         (cos_test_tonearest): Likewise.
27889         (cos_test_towardzero): Likewise.
27890         (cos_test_downward): Likewise.
27891         (cos_test_upward): Likewise.
27892         (cosh_test): Likewise.
27893         (cosh_test_tonearest): Likewise.
27894         (cosh_test_towardzero): Likewise.
27895         (cosh_test_downward): Likewise.
27896         (cosh_test_upward): Likewise.
27897         (cpow_test): Use END_COMPLEX macro without arguments.
27898         (cproj_test): Likewise.
27899         (creal_test): Use END macro without arguments.
27900         (csin_test): Use END_COMPLEX macro without arguments.
27901         (csinh_test): Likewise.
27902         (csqrt_test): Likewise.
27903         (ctan_test): Likewise.
27904         (ctan_test_tonearest): Likewise.
27905         (ctan_test_towardzero): Likewise.
27906         (ctan_test_downward): Likewise.
27907         (ctan_test_upward): Likewise.
27908         (ctanh_test): Likewise.
27909         (ctanh_test_tonearest): Likewise.
27910         (ctanh_test_towardzero): Likewise.
27911         (ctanh_test_downward): Likewise.
27912         (ctanh_test_upward): Likewise.
27913         (erf_test): Use END macro without arguments.
27914         (erfc_test): Likewise.
27915         (exp_test): Likewise.
27916         (exp_test_tonearest): Likewise.
27917         (exp_test_towardzero): Likewise.
27918         (exp_test_downward): Likewise.
27919         (exp_test_upward): Likewise.
27920         (exp10_test): Likewise.
27921         (exp2_test): Likewise.
27922         (expm1_test): Likewise.
27923         (fabs_test): Likewise.
27924         (fdim_test): Likewise.
27925         (finite_test): Likewise.
27926         (floor_test): Likewise.
27927         (fma_test): Likewise.
27928         (fma_test_towardzero): Likewise.
27929         (fma_test_downward): Likewise.
27930         (fma_test_upward): Likewise.
27931         (fmax_test): Likewise.
27932         (fmin_test): Likewise.
27933         (fmod_test): Likewise.
27934         (fpclassify_test): Likewise.
27935         (frexp_test): Likewise.
27936         (gamma_test): Likewise.
27937         (hypot_test): Likewise.
27938         (ilogb_test): Likewise.
27939         (isfinite_test): Likewise.
27940         (isgreater_test): Likewise.
27941         (isgreaterequal_test): Likewise.
27942         (isinf_test): Likewise.
27943         (isless_test): Likewise.
27944         (islessequal_test): Likewise.
27945         (islessgreater_test): Likewise.
27946         (isnan_test): Likewise.
27947         (isnormal_test): Likewise.
27948         (issignaling_test): Likewise.
27949         (isunordered_test): Likewise.
27950         (j0_test): Likewise.
27951         (j1_test): Likewise.
27952         (jn_test): Likewise.
27953         (ldexp_test): Likewise.
27954         (lgamma_test): Likewise.
27955         (lrint_test): Likewise.
27956         (lrint_test_tonearest): Likewise.
27957         (lrint_test_towardzero): Likewise.
27958         (lrint_test_downward): Likewise.
27959         (lrint_test_upward): Likewise.
27960         (llrint_test): Likewise.
27961         (llrint_test_tonearest): Likewise.
27962         (llrint_test_towardzero): Likewise.
27963         (llrint_test_downward): Likewise.
27964         (llrint_test_upward): Likewise.
27965         (log_test): Likewise.
27966         (log10_test): Likewise.
27967         (log1p_test): Likewise.
27968         (log2_test): Likewise.
27969         (logb_test): Likewise.
27970         (logb_test_downward): Likewise.
27971         (lround_test): Likewise.
27972         (llround_test): Likewise.
27973         (modf_test): Likewise.
27974         (nearbyint_test): Likewise.
27975         (nextafter_test): Likewise.
27976         (nexttoward_test): Likewise.
27977         (pow_test): Likewise.
27978         (pow_test_tonearest): Likewise.
27979         (pow_test_towardzero): Likewise.
27980         (pow_test_downward): Likewise.
27981         (pow_test_upward): Likewise.
27982         (remainder_test): Likewise.
27983         (remainder_test_tonearest): Likewise.
27984         (remainder_test_towardzero): Likewise.
27985         (remainder_test_downward): Likewise.
27986         (remainder_test_upward): Likewise.
27987         (remquo_test): Likewise.
27988         (rint_test): Likewise.
27989         (rint_test_tonearest): Likewise.
27990         (rint_test_towardzero): Likewise.
27991         (rint_test_downward): Likewise.
27992         (rint_test_upward): Likewise.
27993         (round_test): Likewise.
27994         (scalb_test): Likewise.
27995         (scalbn_test): Likewise.
27996         (scalbln_test): Likewise.
27997         (signbit_test): Likewise.
27998         (sin_test): Likewise.
27999         (sin_test_tonearest): Likewise.
28000         (sin_test_towardzero): Likewise.
28001         (sin_test_downward): Likewise.
28002         (sin_test_upward): Likewise.
28003         (sincos_test): Likewise.
28004         (sinh_test): Likewise.
28005         (sinh_test_tonearest): Likewise.
28006         (sinh_test_towardzero): Likewise.
28007         (sinh_test_downward): Likewise.
28008         (sinh_test_upward): Likewise.
28009         (sqrt_test): Likewise.
28010         (tan_test): Likewise.
28011         (tan_test_tonearest): Likewise.
28012         (tan_test_towardzero): Likewise.
28013         (tan_test_downward): Likewise.
28014         (tan_test_upward): Likewise.
28015         (tanh_test): Likewise.
28016         (tgamma_test): Likewise.
28017         (trunc_test): Likewise.
28018         (y0_test): Likewise.
28019         (y1_test): Likewise.
28020         (yn_test): Likewise.
28021         (significand_test): Likewise.
28023 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
28025         [BZ #15381]
28026         * libio/genops.c (_IO_no_init): Initialize wide struct info.
28028 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28030         [BZ #14894]
28031         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28032         __ppc_mdoio and __ppc_mdoom.
28033         * manual/platform.texi: Document new functions __ppc_yield,
28034         __ppc_mdoio and __ppc_mdoom.
28036 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
28038         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28039         (main): Mention "tls" pseudo-hwcap is legacy.
28040         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28042 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28044         * math/gen-libm-test.pl (parse_args): Output only string of
28045         arguments as text for test name, not full call or descriptions of
28046         tests for extra outputs.
28047         (generate_testfile): Do not pass function name to parse_args.
28048         Generate this_func variable from START.
28049         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28050         field to arg_str.
28051         (struct test_ff_f_data): Likewise.
28052         (test_ff_f_data_nexttoward): Likewise.
28053         (struct test_fi_f_data): Likewise.
28054         (struct test_fl_f_data): Likewise.
28055         (struct test_if_f_data): Likewise.
28056         (struct test_fff_f_data): Likewise.
28057         (struct test_c_f_data): Likewise.
28058         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28059         (struct test_fF_f1_data): Likewise.
28060         (struct test_ffI_f1_data): Likewise.
28061         (struct test_c_c_data): Rename test_name field to arg_str.
28062         (struct test_cc_c_data): Likewise.
28063         (struct test_f_i_data): Likewise.
28064         (struct test_ff_i_data): Likewise.
28065         (struct test_f_l_data): Likewise.
28066         (struct test_f_L_data): Likewise.
28067         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28068         and extra2_name.
28069         (COMMON_TEST_SETUP): New macro.
28070         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28071         (COMMON_TEST_CLEANUP): Likewise.
28072         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28073         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28074         macros.
28075         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28076         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28077         macros.
28078         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28079         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28080         cleanup macros.
28081         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28082         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28083         macros.
28084         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28085         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28086         macros.
28087         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28088         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28089         cleanup macros.
28090         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28091         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28092         cleanup macros.
28093         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28094         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28095         cleanup macros.
28096         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28097         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28098         macros.
28099         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28100         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28101         macros.
28102         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28103         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28104         macros.
28105         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28106         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28107         cleanup macros.
28108         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28109         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28110         cleanup macros.
28111         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28112         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28113         macros.
28114         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28115         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28116         cleanup macros.
28117         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28118         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28119         macros.
28120         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28121         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28122         macros.
28123         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28124         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28125         cleanup macros.
28126         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28128 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28130         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28131         to _sifields.sigfault.
28132         (si_addr_lsb): Define new macro.
28133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28135         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28137 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28139         [BZ #15441]
28140         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28141         returns -1.
28142         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28143         null return -1.
28144         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28145         loading the domain.
28147 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28149         * math/gen-libm-test.pl (parse_args): Do not include expected
28150         result in test name.
28151         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28152         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28153         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28154         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28155         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28158 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28160         * benchtests/Makefile: Sort function entries.
28162         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28163         tanh, asinh, acosh, atanh.
28164         * benchtests/acos-inputs: New file.
28165         * benchtests/acosh-inputs: New file.
28166         * benchtests/asin-inputs: New file.
28167         * benchtests/asinh-inputs: New file.
28168         * benchtests/atanh-inputs: New file.
28169         * benchtests/cosh-inputs: New file.
28170         * benchtests/log-inputs: New file.
28171         * benchtests/sinh-inputs: New file.
28172         * benchtests/tanh-inputs: New file.
28174 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28176         [BZ #15339]
28177         * posix/tst-getaddrinfo4.c: New test.
28178         * posix/Makefile (tests): Add it.
28180 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28182         [BZ #15339]
28183         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28184         when no services were used.
28185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28186         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28188 2013-05-21  Andreas Schwab  <schwab@suse.de>
28190         [BZ #15014]
28191         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28192         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28193         successful.
28194         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28195         redundant variable declarations and reallocation of buffer when
28196         parsing as IPv6 address.  Always set NSS status when called from
28197         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28198         buffer too small.  Correct computation of needed size.
28199         * nss/Makefile (tests): Add test-digits-dots.
28200         * nss/test-digits-dots.c: New test.
28202 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28204         * benchtests/Makefile: Remove instructions for adding
28205         benchmark tests.
28206         * benchtests/README: New file to explain how to execute and
28207         enhance the benchmark tests.
28209 2013-05-21  Andreas Schwab  <schwab@suse.de>
28211         [BZ #15493]
28212         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28213         * setjmp/tst-sigsetjmp.c: New test.
28215 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28217         * sysdeps/x86_64/memset.S (memset): New implementation.
28218         (__bzero): Likewise.
28219         (__memset_tail): New function.
28221 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28223         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28224         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28225         __memcpy_sse2_unaligned ifunc selection.
28226         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28227         Add memcpy-sse2-unaligned.S.
28228         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28229         Add: __memcpy_sse2_unaligned.
28231 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28233         [BZ #15490]
28234         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28235         math_force_eval before restoring floating-point envrionment.
28236         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28237         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28238         Likewise.
28239         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28240         <math_private.h>.
28241         (__nearbyintl): Use math_force_eval before restoring
28242         floating-point environment.
28243         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28245         * math/gen-libm-test.pl (special_functions): Remove.
28246         (parse_args): Don't handle TEST_extra.  Handle functions with no
28247         return value.
28248         * math/libm-test.inc (struct test_sincos_data): Replace with
28249         struct test_fFF_11_data.
28250         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28251         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28252         (sincos_test_data): Change element type to struct
28253         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28254         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28255         RUN_TEST_LOOP_sincos.
28256         * math/README.libm-test: Don't mention special handling of
28257         individual functions.
28258         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28259         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28260         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28261         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28262         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28265         * math/gen-libm-test.pl (get_variable): Remove function.
28266         (parse_args): Don't show pointer parameters to call in test
28267         names.  Use "extra output N" in test names for extra outputs
28268         rather than naming variables.
28270 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28272         [BZ #15488]
28273         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28274         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28275         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28276         double tests.
28277         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28278         disable.
28279         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28280         check_long_double.
28282         * math/gen-libm-test.pl (@tests): Remove variable.
28283         ($count): Likewise.
28284         (new_test): Remove function.
28285         (show_exceptions): New function.
28286         (special_functions): Use show_exceptions instead of new_test.
28287         (parse_args): Likewise.
28288         (generate_testfile): Pass only function name in generated call to
28289         print_max_error or print_complex_max_error.
28290         (get_ulps): Do not handle complex tests specially.
28291         (output_test): Rename to ...
28292         (get_all_ulps_for_test): ... this.  Return a string rather than
28293         printing to a file.  Require ulps to be present.
28294         (output_ulps): Generate arrays rather than #defines.
28295         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28296         (struct ulp_data): New type.
28297         (BUILD_COMPLEX_ULP): Remove macro.
28298         (compare_ulp_data): New function.
28299         (find_ulps): Likewise.
28300         (find_test_ulps): Likewise.
28301         (find_function_ulps): Likewise.
28302         (find_complex_function_ulps): Likewise.
28303         (print_max_error): Determine allowed ulps using
28304         find_function_ulps.
28305         (print_complex_max_error): Determine allowed ulps using
28306         find_complex_function_ulps.
28307         (check_float_internal): Determine max ulps using find_test_ulps.
28308         (check_float): Do not take max_ulp parameter.  Update call to
28309         check_float_internal.
28310         (check_complex): Likewise.
28311         (check_int): Do not take max_ulp parameter.
28312         (check_long): Likewise.
28313         (check_bool): Likewise.
28314         (check_longlong): Likewise.
28315         (struct test_f_f_data): Remove max_ulp field.
28316         (struct test_ff_f_data): Likewise.
28317         (struct test_ff_f_data_nexttoward): Likewise.
28318         (struct test_fi_f_data): Likewise.
28319         (struct test_fl_f_data): Likewise.
28320         (struct test_if_f_data): Likewise.
28321         (struct test_fff_f_data): Likewise.
28322         (struct test_c_f_data): Likewise.
28323         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28324         (struct test_fF_f1_data): Likewise.
28325         (struct test_ffI_f1_data): Likewise.
28326         (struct test_c_c_data): Remove max_ulp field.
28327         (struct test_cc_c_data): Likewise.
28328         (struct test_f_i_data): Likewise.
28329         (struct test_ff_i_data): Likewise.
28330         (struct test_f_l_data): Likewise.
28331         (struct test_f_L_data): Likewise.
28332         (struct test_sincos_data): Likewise.
28333         (RUN_TEST_f_f): Do not handle ulps.
28334         (RUN_TEST_LOOP_f_f): Likewise.
28335         (RUN_TEST_2_f): Likewise.
28336         (RUN_TEST_LOOP_2_f): Likewise.
28337         (RUN_TEST_fff_f): Likewise.
28338         (RUN_TEST_LOOP_fff_f): Likewise.
28339         (RUN_TEST_c_f): Likewise.
28340         (RUN_TEST_LOOP_c_f): Likewise.
28341         (RUN_TEST_f_f1): Likewise.
28342         (RUN_TEST_LOOP_f_f1): Likewise.
28343         (RUN_TEST_fF_f1): Likewise.
28344         (RUN_TEST_LOOP_fF_f1): Likewise.
28345         (RUN_TEST_fI_f1): Likewise.
28346         (RUN_TEST_LOOP_fI_f1): Likewise.
28347         (RUN_TEST_ffI_f1): Likewise.
28348         (RUN_TEST_LOOP_ffI_f1): Likewise.
28349         (RUN_TEST_c_c): Likewise.
28350         (RUN_TEST_LOOP_c_c): Likewise.
28351         (RUN_TEST_cc_c): Likewise.
28352         (RUN_TEST_LOOP_cc_c): Likewise.
28353         (RUN_TEST_f_i): Likewise.
28354         (RUN_TEST_LOOP_f_i): Likewise.
28355         (RUN_TEST_f_i_tg): Likewise.
28356         (RUN_TEST_LOOP_f_i_tg): Likewise.
28357         (RUN_TEST_ff_i_tg): Likewise.
28358         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28359         (RUN_TEST_f_b): Likewise.
28360         (RUN_TEST_LOOP_f_b): Likewise.
28361         (RUN_TEST_f_b_tg): Likewise.
28362         (RUN_TEST_LOOP_f_b_tg): Likewise.
28363         (RUN_TEST_f_l): Likewise.
28364         (RUN_TEST_LOOP_f_l): Likewise.
28365         (RUN_TEST_f_L): Likewise.
28366         (RUN_TEST_LOOP_f_L): Likewise.
28367         (RUN_TEST_sincos): Likewise.
28368         (RUN_TEST_LOOP_sincos): Likewise.
28370 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28372         [BZ #15480]
28373         [BZ #15485]
28374         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28375         main case of finite arguments, set rounding mode to FE_TONEAREST
28376         and discard exceptions.
28377         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28378         exceptions.
28379         (remainder_tonearest_test_data): New variable.
28380         (remainder_test_tonearest): New function.
28381         (remainder_towardzero_test_data): New variable.
28382         (remainder_test_towardzero): New function.
28383         (remainder_downward_test_data): New variable.
28384         (remainder_test_downward): New function.
28385         (remainder_upward_test_data): New variable.
28386         (remainder_test_upward): New function.
28387         (main): Call the new test functions.
28389         * math/libm-test.inc (struct test_f_f1_data): Remove field
28390         extra_init.
28391         (struct test_fF_f1_data): Likewise.
28392         (struct test_ffI_f1_data): Likewise.
28393         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28394         based on value of EXTRA_EXPECTED.
28395         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28396         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28397         EXTRA_VAR based on value of EXTRA_EXPECTED.
28398         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28399         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28400         EXTRA_VAR based on value of EXTRA_EXPECTED.
28401         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28402         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28403         EXTRA_VAR based on value of EXTRA_EXPECTED.
28404         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28405         * math/gen-libm-test.pl (parse_args): Don't output initializers
28406         for extra output values.
28408         * math/libm-test.inc (check_int): Expect result to be exactly
28409         equal to expected value and do not handle ulps.
28410         (check_long): Likewise.
28411         (check_longlong): Likewise.
28413         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28414         exceptions.
28415         (cimag_test_data): Likewise.
28416         (conj_test_data): Likewise.
28417         (copysign_test_data): Likewise.
28418         (cproj_test_data): Likewise.
28419         (creal_test_data): Likewise.
28420         (fabs_test_data): Likewise.
28421         (fdim_test_data): Likewise.
28422         (finite_test_data): Likewise.
28423         (floor_test_data): Likewise.
28424         (fmax_test_data): Likewise.
28425         (fmin_test_data): Likewise.
28426         (fmod_test_data): Likewise.
28427         (fpclassify_test_data): Likewise.
28428         (frexp_test_data): Likewise.
28429         (ilogb_test_data): Likewise.
28430         (isfinite_test_data): Likewise.
28431         (isgreater_test_data): Likewise.
28432         (isgreaterequal_test_data): Likewise.
28433         (isinf_test_data): Likewise.
28434         (isless_test_data): Likewise.
28435         (islessequal_test_data): Likewise.
28436         (islessgreater_test_data): Likewise.
28437         (isnan_test_data): Likewise.
28438         (isnormal_test_data): Likewise.
28439         (issignaling_test_data): Likewise.
28440         (isunordered_test_data): Likewise.
28441         (ldexp_test_data): Likewise.
28442         (lrint_test_data): Likewise.
28443         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28444         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28445         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28446         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28447         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28448         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28449         test input.
28450         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28451         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28452         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28453         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28454         that test input.
28455         (lrint_downward_test_data): Test for "inexact" exceptions.
28456         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28457         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28458         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28459         test input.
28460         (lrint_upward_test_data): Test for "inexact" exceptions.
28461         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28462         test input.
28463         (llrint_test_data): Test for "inexact" exceptions.
28464         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28465         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28466         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28467         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28468         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28469         (llrint_downward_test_data): Test for "inexact" exceptions.
28470         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28471         (llrint_upward_test_data): Test for "inexact" exceptions.
28472         (logb_test_data): Likewise.
28473         (logb_downward_test_data): Likewise.
28474         (nextafter_test_data): Likewise.
28475         (nexttoward_test_data): Likewise.
28476         (remainder_test_data): Likewise.
28477         (remquo_test_data): Likewise.
28478         (scalbn_test_data): Likewise.
28479         (scalbln_test_data): Likewise.
28480         (signbit_test_data): Likewise.
28481         (sqrt_test_data): Likewise.
28482         (significand_test_data): Likewise.
28484 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28486         [BZ #15424]
28487         * benchtests/bench-modf.c (struct args): Mark arg0 as
28488         volatile.
28489         * scripts/bench.pl: Mark members of struct args as volatile.
28491 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28493         [BZ # 15497]
28494         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28495         negative infinity on POWER6 or lower.
28496         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28498 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28500         [BZ #15442]
28501         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28502         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28503         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28504         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28505         (_FP_SETQNAN): New macro.
28506         (_FP_SETQNAN_SEMIRAW): Likewise.
28507         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28508         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28509         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28510         (FP_EXTEND): Use _FP_FRAC_SNANP.
28511         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28512         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28513         into account.
28514         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28515         New macro.
28516         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28517         Likewise.
28519 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28521         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28522         with DIVIDE_BY_ZERO_EXCEPTION.
28523         (gamma_test_data): Likewise.
28524         (lgamma_test_data): Likewise.
28525         (log_test_data): Likewise.
28526         (log10_test_data): Likewise.
28527         (log2_test_data): Likewise.
28528         (tgamma_test_data): Likewise.
28530         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28531         (acos_test_tonearest): Likewise.
28532         (acos_test_towardzero): Likewise.
28533         (acos_test_downward): Likewise.
28534         (acos_test_upward): Likewise.
28535         (acosh_test): Likewise.
28536         (asin_test): Likewise.
28537         (asin_test_tonearest): Likewise.
28538         (asin_test_towardzero): Likewise.
28539         (asin_test_downward): Likewise.
28540         (asin_test_upward): Likewise.
28541         (asinh_test): Likewise.
28542         (atan_test): Likewise.
28543         (atanh_test): Likewise.
28544         (atan2_test): Likewise.
28545         (cabs_test): Likewise.
28546         (cacos_test): Likewise.
28547         (cacosh_test): Likewise.
28548         (casin_test): Likewise.
28549         (casinh_test): Likewise.
28550         (catan_test): Likewise.
28551         (catanh_test): Likewise.
28552         (cbrt_test): Likewise.
28553         (ccos_test): Likewise.
28554         (ccosh_test): Likewise.
28555         (cexp_test): Likewise.
28556         (clog_test): Likewise.
28557         (clog10_test): Likewise.
28558         (cos_test): Likewise.
28559         (cos_test_tonearest): Likewise.
28560         (cos_test_towardzero): Likewise.
28561         (cos_test_downward): Likewise.
28562         (cos_test_upward): Likewise.
28563         (cosh_test): Likewise.
28564         (cosh_test_tonearest): Likewise.
28565         (cosh_test_towardzero): Likewise.
28566         (cosh_test_downward): Likewise.
28567         (cosh_test_upward): Likewise.
28568         (cpow_test): Likewise.
28569         (csin_test): Likewise.
28570         (csinh_test): Likewise.
28571         (csqrt_test): Likewise.
28572         (ctan_test): Likewise.
28573         (ctan_test_tonearest): Likewise.
28574         (ctan_test_towardzero): Likewise.
28575         (ctan_test_downward): Likewise.
28576         (ctan_test_upward): Likewise.
28577         (ctanh_test): Likewise.
28578         (ctanh_test_tonearest): Likewise.
28579         (ctanh_test_towardzero): Likewise.
28580         (ctanh_test_downward): Likewise.
28581         (ctanh_test_upward): Likewise.
28582         (erf_test): Likewise.
28583         (erfc_test): Likewise.
28584         (exp_test): Likewise.
28585         (exp_test_tonearest): Likewise.
28586         (exp_test_towardzero): Likewise.
28587         (exp_test_downward): Likewise.
28588         (exp_test_upward): Likewise.
28589         (exp10_test): Likewise.
28590         (exp2_test): Likewise.
28591         (expm1_test): Likewise.
28592         (fmod_test): Likewise.
28593         (gamma_test): Likewise.
28594         (hypot_test): Likewise.
28595         (j0_test): Likewise.
28596         (j1_test): Likewise.
28597         (jn_test): Likewise.
28598         (lgamma_test): Likewise.
28599         (log_test): Likewise.
28600         (log10_test): Likewise.
28601         (log1p_test): Likewise.
28602         (log2_test): Likewise.
28603         (logb_test_downward): Likewise.
28604         (pow_test): Likewise.
28605         (pow_test_tonearest): Likewise.
28606         (pow_test_towardzero): Likewise.
28607         (pow_test_downward): Likewise.
28608         (pow_test_upward): Likewise.
28609         (remainder_test): Likewise.
28610         (remquo_test): Likewise.
28611         (sin_test): Likewise.
28612         (sin_test_tonearest): Likewise.
28613         (sin_test_towardzero): Likewise.
28614         (sin_test_downward): Likewise.
28615         (sin_test_upward): Likewise.
28616         (sincos_test): Likewise.
28617         (sinh_test): Likewise.
28618         (sinh_test_tonearest): Likewise.
28619         (sinh_test_towardzero): Likewise.
28620         (sinh_test_downward): Likewise.
28621         (sinh_test_upward): Likewise.
28622         (sqrt_test): Likewise.
28623         (tan_test): Likewise.
28624         (tan_test_tonearest): Likewise.
28625         (tan_test_towardzero): Likewise.
28626         (tan_test_downward): Likewise.
28627         (tan_test_upward): Likewise.
28628         (tanh_test): Likewise.
28629         (tgamma_test): Likewise.
28630         (y0_test): Likewise.
28631         (y1_test): Likewise.
28632         (yn_test): Likewise.
28634         * math/gen-libm-test.pl (adjust_arg): Remove function.
28635         (special_function): Remove argument $in_func.  Only handle
28636         generating output for tables of tests, not inside functions.
28637         (parse_args): Likewise.
28638         (generate_testfile): Remove variable $in_func.  Update call to
28639         parse_args.
28640         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28641         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28642         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28643         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28644         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28645         (MAX_VALUE_INIT): Rename macro to max_value.
28646         (MIN_VALUE_INIT): Rename macro to min_value.
28647         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28648         (plus_zero): Remove variable.
28649         (minus_zero): Likewise.
28650         (plus_infty): Likewise.
28651         (minus_infty): Likewise.
28652         (qnan_value): Likewise.
28653         (max_value): Likewise.
28654         (min_value): Likewise.
28655         (min_subnorm_value): Likewise.
28657 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28659         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28660         uint64_t or uint32_t usage.
28661         * crypt/sha256-block.c: Likewise.
28662         * crypt/sha256-crypt.c: Likewise.
28663         * crypt/sha256.c: Likewise.
28664         * crypt/sha512-block.c: Likewise.
28665         * crypt/sha512-crypt.c: Likewise.
28666         * crypt/sha512.c: Likewise.
28667         * debug/backtrace-tst.c: Likewise.
28668         * debug/pcprofiledump.c: Likewise.
28669         * elf/cache.c: Likewise.
28670         * elf/dl-cache.c: Likewise.
28671         * elf/dl-misc.c: Likewise.
28672         * elf/dl-profile.c: Likewise.
28673         * elf/dl-support.c: Likewise.
28674         * elf/ldconfig.c: Likewise.
28675         * elf/sprof.c: Likewise.
28676         * iconv/dummy-repertoire.c: Likewise.
28677         * iconv/iconv_charmap.c: Likewise.
28678         * iconv/skeleton.c: Likewise.
28679         * iconvdata/8bit-generic.c: Likewise.
28680         * iconvdata/cp737.h: Likewise.
28681         * iconvdata/cp775.h: Likewise.
28682         * iconvdata/ibm1008.h: Likewise.
28683         * iconvdata/ibm1025.h: Likewise.
28684         * iconvdata/ibm1046.h: Likewise.
28685         * iconvdata/ibm1097.h: Likewise.
28686         * iconvdata/ibm1112.h: Likewise.
28687         * iconvdata/ibm1122.h: Likewise.
28688         * iconvdata/ibm1123.h: Likewise.
28689         * iconvdata/ibm1124.h: Likewise.
28690         * iconvdata/ibm1129.h: Likewise.
28691         * iconvdata/ibm1130.h: Likewise.
28692         * iconvdata/ibm1132.h: Likewise.
28693         * iconvdata/ibm1133.h: Likewise.
28694         * iconvdata/ibm1137.h: Likewise.
28695         * iconvdata/ibm1140.h: Likewise.
28696         * iconvdata/ibm1141.h: Likewise.
28697         * iconvdata/ibm1142.h: Likewise.
28698         * iconvdata/ibm1143.h: Likewise.
28699         * iconvdata/ibm1144.h: Likewise.
28700         * iconvdata/ibm1145.h: Likewise.
28701         * iconvdata/ibm1146.h: Likewise.
28702         * iconvdata/ibm1147.h: Likewise.
28703         * iconvdata/ibm1148.h: Likewise.
28704         * iconvdata/ibm1149.h: Likewise.
28705         * iconvdata/ibm1153.h: Likewise.
28706         * iconvdata/ibm1154.h: Likewise.
28707         * iconvdata/ibm1155.h: Likewise.
28708         * iconvdata/ibm1156.h: Likewise.
28709         * iconvdata/ibm1157.h: Likewise.
28710         * iconvdata/ibm1158.h: Likewise.
28711         * iconvdata/ibm1160.h: Likewise.
28712         * iconvdata/ibm1161.h: Likewise.
28713         * iconvdata/ibm1162.h: Likewise.
28714         * iconvdata/ibm1163.h: Likewise.
28715         * iconvdata/ibm1164.h: Likewise.
28716         * iconvdata/ibm1166.h: Likewise.
28717         * iconvdata/ibm1167.h: Likewise.
28718         * iconvdata/ibm12712.h: Likewise.
28719         * iconvdata/ibm1390.h: Likewise.
28720         * iconvdata/ibm1399.h: Likewise.
28721         * iconvdata/ibm16804.h: Likewise.
28722         * iconvdata/ibm4517.h: Likewise.
28723         * iconvdata/ibm4899.h: Likewise.
28724         * iconvdata/ibm4909.h: Likewise.
28725         * iconvdata/ibm4971.h: Likewise.
28726         * iconvdata/ibm5347.h: Likewise.
28727         * iconvdata/ibm803.h: Likewise.
28728         * iconvdata/ibm856.h: Likewise.
28729         * iconvdata/ibm901.h: Likewise.
28730         * iconvdata/ibm902.h: Likewise.
28731         * iconvdata/ibm9030.h: Likewise.
28732         * iconvdata/ibm9066.h: Likewise.
28733         * iconvdata/ibm921.h: Likewise.
28734         * iconvdata/ibm922.h: Likewise.
28735         * iconvdata/ibm9448.h: Likewise.
28736         * iconvdata/isiri-3342.h: Likewise.
28737         * iconvdata/jis0201.h: Likewise.
28738         * include/link.h: Likewise.
28739         * include/netdb.h: Likewise.
28740         * inet/check_native.c: Likewise.
28741         * inet/check_pf.c: Likewise.
28742         * inet/getipv4sourcefilter.c: Likewise.
28743         * inet/getnameinfo.c: Likewise.
28744         * inet/getsourcefilter.c: Likewise.
28745         * inet/htonl.c: Likewise.
28746         * inet/setipv4sourcefilter.c: Likewise.
28747         * inet/setsourcefilter.c: Likewise.
28748         * inet/test-inet6_opt.c: Likewise.
28749         * inet/tst-network.c: Likewise.
28750         * locale/C-collate.c: Likewise.
28751         * locale/C-ctype.c: Likewise.
28752         * locale/C-time.c: Likewise.
28753         * locale/C-translit.h: Likewise.
28754         * locale/loadarchive.c: Likewise.
28755         * locale/programs/3level.h: Likewise.
28756         * locale/programs/charmap.c: Likewise.
28757         * locale/programs/charmap.h: Likewise.
28758         * locale/programs/ld-address.c: Likewise.
28759         * locale/programs/ld-collate.c: Likewise.
28760         * locale/programs/ld-ctype.c: Likewise.
28761         * locale/programs/ld-identification.c: Likewise.
28762         * locale/programs/ld-measurement.c: Likewise.
28763         * locale/programs/ld-messages.c: Likewise.
28764         * locale/programs/ld-monetary.c: Likewise.
28765         * locale/programs/ld-name.c: Likewise.
28766         * locale/programs/ld-numeric.c: Likewise.
28767         * locale/programs/ld-paper.c: Likewise.
28768         * locale/programs/ld-telephone.c: Likewise.
28769         * locale/programs/ld-time.c: Likewise.
28770         * locale/programs/linereader.c: Likewise.
28771         * locale/programs/locale.c: Likewise.
28772         * locale/programs/locarchive.c: Likewise.
28773         * locale/programs/locfile.h: Likewise.
28774         * locale/programs/repertoire.c: Likewise.
28775         * locale/programs/simple-hash.c: Likewise.
28776         * locale/programs/simple-hash.h: Likewise.
28777         * malloc/memusage.c: Likewise.
28778         * malloc/memusagestat.c: Likewise.
28779         * nis/nis_defaults.c: Likewise.
28780         * nis/nis_hash.c: Likewise.
28781         * nis/nis_print.c: Likewise.
28782         * nis/nis_xdr.c: Likewise.
28783         * nscd/connections.c: Likewise.
28784         * nscd/hstcache.c: Likewise.
28785         * nscd/nscd_gethst_r.c: Likewise.
28786         * nscd/nscd_getserv_r.c: Likewise.
28787         * nscd/nscd_helper.c: Likewise.
28788         * nscd/servicescache.c: Likewise.
28789         * nss/makedb.c: Likewise.
28790         * nss/nss_db/db-XXX.c: Likewise.
28791         * nss/nss_db/db-initgroups.c: Likewise.
28792         * nss/nss_db/db-netgrp.c: Likewise.
28793         * nss/nss_files/files-network.c: Likewise.
28794         * nss/nss_files/files-parse.c: Likewise.
28795         * posix/bug-regex5.c: Likewise.
28796         * posix/fnmatch_loop.c: Likewise.
28797         * posix/regcomp.c: Likewise.
28798         * posix/regexec.c: Likewise.
28799         * posix/tst-rfc3484-2.c: Likewise.
28800         * posix/tst-rfc3484-3.c: Likewise.
28801         * posix/tst-rfc3484.c: Likewise.
28802         * resolv/nss_dns/dns-canon.c: Likewise.
28803         * resolv/nss_dns/dns-network.c: Likewise.
28804         * resolv/res_init.c: Likewise.
28805         * resolv/res_mkquery.c: Likewise.
28806         * resolv/tst-aton.c: Likewise.
28807         * stdlib/cxa_atexit.c: Likewise.
28808         * stdlib/cxa_finalize.c: Likewise.
28809         * stdlib/gen-fpioconst.c: Likewise.
28810         * stdlib/strtol_l.c: Likewise.
28811         * string/tst-endian.c: Likewise.
28812         * sunrpc/auth_des.c: Likewise.
28813         * sunrpc/clnt_udp.c: Likewise.
28814         * sunrpc/rtime.c: Likewise.
28815         * sunrpc/svcauth_des.c: Likewise.
28816         * sunrpc/xdr.c: Likewise.
28817         * sunrpc/xdr_intXX_t.c: Likewise.
28818         * sunrpc/xdr_rec.c: Likewise.
28819         * sysdeps/generic/ldconfig.h: Likewise.
28820         * sysdeps/generic/ldsodefs.h: Likewise.
28821         * sysdeps/generic/memusage.h: Likewise.
28822         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28823         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28824         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28825         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28826         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28828         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28829         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28830         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28831         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28832         * sysdeps/posix/getaddrinfo.c: Likewise.
28833         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28834         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28835         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28836         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28837         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28838         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28839         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28840         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28841         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28842         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28843         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28844         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28845         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28846         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28847         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28848         * sysdeps/x86_64/dl-tls.h: Likewise.
28849         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28850         * time/alt_digit.c: Likewise.
28851         * time/era.c: Likewise.
28852         * wcsmbs/tst-c16c32-1.c: Likewise.
28854 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28856         * math/libm-test.inc (struct test_sincos_data): New type.
28857         (RUN_TEST_LOOP_sincos): New macro.
28858         (sincos_test_data): New variable.
28859         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28861 2013-05-16  Richard Henderson  <rth@redhat.com>
28863         * math/atest-exp2.c (LIMB64): New macro.
28864         (CONSTSZ): New macro.
28865         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28866         (hexdig): Move ...
28867         (print_mpn_fp): ... to function scope.
28868         (read_mpn_hex): Remove.
28869         (get_log2): Remove.
28870         (exp2_mpn): Use mp_log2.
28871         (main): Use mp_exp1.
28873 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28875         * math/libm-test.inc: Remove comment about not testing "inexact"
28876         exceptions.
28877         (INEXACT_EXCEPTION): New macro.
28878         (NO_INEXACT_EXCEPTION): Likewise.
28879         (INVALID_EXCEPTION_OK): Update value.
28880         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28881         (OVERFLOW_EXCEPTION_OK): Likewise.
28882         (UNDERFLOW_EXCEPTION_OK): Likewise.
28883         (IGNORE_ZERO_INF_SIGN): Likewise.
28884         (ERRNO_UNCHANGED): Likewise.
28885         (ERRNO_EDOM): Likewise.
28886         (ERRNO_ERANGE): Likewise.
28887         (test_exceptions): Handle testing "inexact" exceptions.
28888         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28889         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28890         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28891         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28892         INEXACT_EXCEPTION.
28893         (rint_towardzero_test_data): Likewise.
28894         (rint_downward_test_data): Likewise.
28895         (rint_upward_test_data): Likewise.
28897         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28898         with OVERFLOW_EXCEPTION.
28899         (exp10_test_data): Likewise.
28900         (exp2_test_data): Likewise.
28901         (expm1_test_data): Likewise.
28902         (lgamma_test_data): Likewise.
28903         (pow_test_data): Likewise.
28904         (tgamma_test_data): Likewise.
28905         (yn_test_data): Remove duplicate test of overflow.
28907         * math/libm-test.inc (struct test_cc_c_data): New type.
28908         (RUN_TEST_LOOP_cc_c): New macro.
28909         (cpow_test_data): New variable.
28910         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28912         * math/libm-test.inc (struct test_f_L_data): New type.
28913         (RUN_TEST_LOOP_f_L): New macro.
28914         (llrint_test_data): New variable.
28915         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28916         (llrint_tonearest_test_data): New variable.
28917         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28918         (llrint_towardzero_test_data): New variable.
28919         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28920         (llrint_downward_test_data): New variable.
28921         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28922         (llrint_upward_test_data): New variable.
28923         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28924         (llround_test_data): New variable.
28925         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28927 2013-05-13  Peter Collingbourne  <pcc@google.com>
28929         * math/atest-exp2.c (get_log2): Remove const attribute.
28931 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28933         * math/libm-test.inc (struct test_f_l_data): New type.
28934         (RUN_TEST_LOOP_f_l): New macro.
28935         (lrint_test_data): New variable.
28936         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28937         (lrint_tonearest_test_data): New variable.
28938         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28939         (lrint_towardzero_test_data): New variable.
28940         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28941         (lrint_downward_test_data): New variable.
28942         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28943         (lrint_upward_test_data): New variable.
28944         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28945         (lround_test_data): New variable.
28946         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28948 2013-05-15  Peter Collingbourne  <pcc@google.com>
28950         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28951         (EXTRACT_WORDS64) Use where appropriate.
28952         (INSERT_WORDS64) Likewise.
28954         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28955         constraints with x constraints.
28956         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28958         * malloc/obstack.c (_obstack_compat): Add initializer.
28960 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28962         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28963         si_trapno and add si_addr_lsb to _sifields.sigfault.
28964         (si_trapno): Remove macro.
28965         (si_addr_lsb): Define new macro.
28966         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28968 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28970         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28971         instead of TEST_f_l.
28972         (llrint_test_tonearest): Likewise.
28973         (llrint_test_towardzero): Likewise.
28974         (llrint_test_downward): Likewise.
28975         (llrint_test_upward): Likewise.
28976         (llround_test): Likewise.
28978         * math/libm-test.inc (struct test_f_i_data): Add comment.
28979         (RUN_TEST_LOOP_f_b): New macro.
28980         (RUN_TEST_LOOP_f_b_tg): Likewise.
28981         (finite_test_data): New variable.
28982         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28983         (isfinite_test_data): New variable.
28984         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28985         (isinf_test_data): New variable.
28986         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28987         (isnan_test_data): New variable.
28988         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28989         (isnormal_test_data): New variable.
28990         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28991         (issignaling_test_data): New variable.
28992         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28993         (signbit_test_data): New variable.
28994         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28996         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28997         with INVALID_EXCEPTION.
28998         (acosh_test_data): Likewise.
28999         (asin_test_data): Likewise.
29000         (atanh_test_data): Likewise.
29001         (fmod_test_data): Likewise.
29002         (log_test_data): Likewise.
29003         (log10_test_data): Likewise.
29004         (log2_test_data): Likewise.
29005         (pow_test_data): Likewise.
29006         (sqrt_test_data): Likewise.
29007         (y0_test_data): Likewise.
29008         (y1_test_data): Likewise.
29009         (yn_test_data): Likewise.
29011         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29012         function contents.
29014         * math/libm-test.inc (struct test_ff_i_data): New type.
29015         (RUN_TEST_LOOP_ff_i_tg): New macro.
29016         (isgreater_test_data): New variable.
29017         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29018         (isgreaterequal_test_data): New variable.
29019         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29020         (isless_test_data): New variable.
29021         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29022         (islessequal_test_data): New variable.
29023         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29024         (islessgreater_test_data): New variable.
29025         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29026         (isunordered_test_data): New variable.
29027         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29029 2013-05-14  David S. Miller  <davem@davemloft.net>
29031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29033 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
29035         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29037         * math/libm-test.inc (struct test_fF_f1_data): Change type of
29038         extra_test to int.
29039         (struct test_f_i_data): Change type of max_ulp to int.
29041         * math/libm-test.inc (test_ffI_f1_data): New type.
29042         (RUN_TEST_LOOP_ffI_f1): New macro.
29043         (remquo_test_data): New variable.
29044         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29046         * setjmp/tst-setjmp-fp.c: New file.
29047         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29048         (link-libm): New variable.
29049         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29051         * math/libm-test.inc (struct test_f_i_data): New type.
29052         (RUN_TEST_LOOP_f_i): New macro.
29053         (RUN_TEST_LOOP_f_i_tg): Likewise.
29054         (fpclassify_test_data): New variable.
29055         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29056         (ilogb_test_data): New variable.
29057         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29059         * math/libm-test.inc (scalbln_test): Correct function name in END
29060         call.
29062         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29063         (RUN_TEST_LOOP_fI_f1): New macro.
29064         (frexp_test_data): New variable.
29065         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29067         * math/libm-test.inc (struct test_fF_f1_data): New type.
29068         (RUN_TEST_LOOP_fF_f1): New macro.
29069         (modf_test_data): New variable.
29070         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29072         * math/libm-test.inc (struct test_f_f1_data): New type.
29073         (RUN_TEST_LOOP_f_f1): New macro.
29074         (gamma_test_data): New variable.
29075         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29076         (lgamma_test_data): New variable.
29077         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29079 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29081         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29082         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29083         (main): Comment "tls" pseudo-hwcap.
29085 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29087         * math/libm-test.inc (struct test_fl_f_data): New type.
29088         (RUN_TEST_LOOP_fl_f): New variable.
29089         (scalbln_test_data): New variable.
29090         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29092         * math/libm-test.inc (struct test_fi_f_data): New type.
29093         (RUN_TEST_LOOP_fi_f): New macro.
29094         (ldexp_test_data): New variable.
29095         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29096         (scalbn_test_data): New variable.
29097         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29099         * math/libm-test.inc (struct test_c_f_data): New type.
29100         (RUN_TEST_LOOP_c_f): New macro.
29101         (cabs_test_data): New variable.
29102         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29103         (carg_test_data): New variable.
29104         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29105         (cimag_test_data): New variable.
29106         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29107         (creal_test_data): New variable.
29108         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29110         * math/libm-test.inc (struct test_if_f_data): New type.
29111         (RUN_TEST_LOOP_if_f): New macro.
29112         (jn_test_data): New variable.
29113         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29114         (yn_test_data): New variable.
29115         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29117         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29119 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29121         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29122         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29124 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29126         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29127         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29128         (bench-deps): Add bench-timing.h.
29129         * benchtests-bench-skeleton.c: Include bench-timing.h.
29130         (main): Use TIMING_* macros instead of clock_gettime.
29131         * benchtests/bench-timing.h: New file.
29133         [BZ #14582]
29134         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29135         Renamed from _LIB_VERSION.
29136         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29138 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29140         * math/libm-test.inc (struct test_fff_f_data): New type.
29141         (RUN_TEST_LOOP_fff_f): New macro.
29142         (fma_test_data): New variable.
29143         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29144         (fma_towardzero_test_data): New variable.
29145         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29146         (fma_downward_test_data): New variable.
29147         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29148         (fma_upward_test_data): New variable.
29149         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29151         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29152         (struct test_c_c_data): New type.
29153         (RUN_TEST_LOOP_c_c): New macro.
29154         (cacos_test_data): New variable.
29155         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29156         (cacosh_test_data): New variable.
29157         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29158         (casin_test_data): New variable.
29159         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29160         (casinh_test_data): New variable.
29161         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29162         (catan_test_data): New variable.
29163         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29164         (catanh_test_data): New variable.
29165         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29166         (ccos_test_data): New variable.
29167         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29168         (ccosh_test_data): New variable.
29169         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29170         (cexp_test_data): New variable.
29171         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29172         (clog_test_data): New variable.
29173         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29174         (clog10_test_data): New variable.
29175         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29176         (conj_test_data): New variable.
29177         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29178         (cproj_test_data): New variable.
29179         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29180         (csin_test_data): New variable.
29181         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29182         (csinh_test_data): New variable.
29183         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29184         (csqrt_test_data): New variable.
29185         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29186         (ctan_test_data): New variable.
29187         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29188         (ctan_tonearest_test_data): New variable.
29189         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29190         (ctan_towardzero_test_data): New variable.
29191         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29192         (ctan_downward_test_data): New variable.
29193         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29194         (ctan_upward_test_data): New variable.
29195         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29196         (ctanh_test_data): New variable.
29197         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29198         (ctanh_tonearest_test_data): New variable.
29199         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29200         (ctanh_towardzero_test_data): New variable.
29201         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29202         (ctanh_downward_test_data): New variable.
29203         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29204         (ctanh_upward_test_data): New variable.
29205         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29206         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29207         of BUILD_COMPLEX.
29209         * math/libm-test.inc (struct test_ff_f_data): New type.
29210         (struct test_ff_f_data_nexttoward): Likewise.
29211         (RUN_TEST_LOOP_2_f): New macro.
29212         (RUN_TEST_LOOP_ff_f): Likewise.
29213         (atan2_test_data): New variable.
29214         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29215         (copysign_test_data): New variable.
29216         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29217         (fdim_test_data): New variable.
29218         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29219         (fmax_test_data): New variable.
29220         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29221         (fmin_test_data): New variable.
29222         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29223         (fmod_test_data): New variable.
29224         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29225         (hypot_test_data): New variable.
29226         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29227         (nextafter_test_data): New variable.
29228         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29229         (nexttoward_test_data): New variable.
29230         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29231         (pow_test_data): New variable.
29232         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29233         (pow_tonearest_test_data): New variable.
29234         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29235         (pow_towardzero_test_data): New variable.
29236         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29237         (pow_downward_test_data): New variable.
29238         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29239         (pow_upward_test_data): New variable.
29240         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29241         (remainder_test_data): New variable.
29242         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29243         (scalb_test_data): New variable.
29244         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29245         * sysdeps/i386/fpu/libm-test-ulps: Update.
29247 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29249         * math/libm-test.inc (fma_test): Use max_value instead of local
29250         variable fltmax.
29251         (nextafter_test): Likewise.
29253         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29254         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29255         (acos_downward_test_data): New variable.
29256         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29257         (acos_upward_test_data): New variable.
29258         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29259         (acosh_test_data): New variable.
29260         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29261         (asin_test_data): New variable.
29262         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29263         (asin_tonearest_test_data): New variable.
29264         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29265         (asin_towardzero_test_data): New variable.
29266         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29267         (asin_downward_test_data): New variable.
29268         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29269         (asin_upward_test_data): New variable.
29270         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29271         (asinh_test_data): New variable.
29272         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29273         (atan_test_data): New variable.
29274         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29275         (atanh_test_data): New variable.
29276         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29277         (cbrt_test_data): New variable.
29278         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29279         (ceil_test_data): New variable.
29280         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29281         (cos_test_data): New variable.
29282         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29283         (cos_tonearest_test_data): New variable.
29284         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29285         (cos_towardzero_test_data): New variable.
29286         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29287         (cos_downward_test_data): New variable.
29288         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29289         (cos_upward_test_data): New variable.
29290         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29291         (cosh_test_data): New variable.
29292         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29293         (cosh_tonearest_test_data): New variable.
29294         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29295         (cosh_towardzero_test_data): New variable.
29296         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29297         (cosh_downward_test_data): New variable.
29298         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29299         (cosh_upward_test_data): New variable.
29300         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29301         (erf_test_data): New variable.
29302         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29303         (erfc_test_data): New variable.
29304         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29305         (exp_test_data): New variable.
29306         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29307         (exp_tonearest_test_data): New variable.
29308         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29309         (exp_towardzero_test_data): New variable.
29310         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29311         (exp_downward_test_data): New variable.
29312         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29313         (exp_upward_test_data): New variable.
29314         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29315         (exp10_test_data): New variable.
29316         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29317         (exp2_test_data): New variable.
29318         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29319         (expm1_test_data): New variable.
29320         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29321         (fabs_test_data): New variable.
29322         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29323         (floor_test_data): New variable.
29324         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29325         (j0_test_data): New variable.
29326         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29327         (j1_test_data): New variable.
29328         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29329         (log_test_data): New variable.
29330         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29331         (log10_test_data): New variable.
29332         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29333         (log1p_test_data): New variable.
29334         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29335         (log2_test_data): New variable.
29336         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29337         (logb_test_data): New variable.
29338         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29339         (logb_downward_test_data): New variable.
29340         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29341         (nearbyint_test_data): New variable.
29342         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29343         (rint_test_data): New variable.
29344         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29345         (rint_tonearest_test_data): New variable.
29346         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29347         (rint_towardzero_test_data): New variable.
29348         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29349         (rint_downward_test_data): New variable.
29350         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29351         (rint_upward_test_data): New variable.
29352         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29353         (round_test_data): New variable.
29354         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29355         (sin_test_data): New variable.
29356         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29357         (sin_tonearest_test_data): New variable.
29358         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29359         (sin_towardzero_test_data): New variable.
29360         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29361         (sin_downward_test_data): New variable.
29362         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29363         (sin_upward_test_data): New variable.
29364         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29365         (sinh_test_data): New variable.
29366         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29367         (sinh_tonearest_test_data): New variable.
29368         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29369         (sinh_towardzero_test_data): New variable.
29370         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29371         (sinh_downward_test_data): New variable.
29372         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29373         (sinh_upward_test_data): New variable.
29374         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29375         (sqrt_test_data): New variable.
29376         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29377         (tan_test_data): New variable.
29378         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29379         (tan_tonearest_test_data): New variable.
29380         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29381         (tan_towardzero_test_data): New variable.
29382         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29383         (tan_downward_test_data): New variable.
29384         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29385         (tan_upward_test_data): New variable.
29386         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29387         (tanh_test_data): New variable.
29388         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29389         (tgamma_test_data): New variable.
29390         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29391         (trunc_test_data): New variable.
29392         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29393         (y0_test_data): New variable.
29394         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29395         (y1_test_data): New variable.
29396         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29397         (significand_test_data): New variable.
29398         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29400 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29402         [BZ #12387]
29403         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29405 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29407         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29409 2013-05-10  Andreas Jaeger  <aj@suse.de>
29411         [BZ #15448]
29412         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29413         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29415 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29417         * math/gen-libm-test.pl (adjust_arg): New function.
29418         (special_functions): Handle generating output in both functions
29419         and arrays.
29420         (parse_args): Likewise.
29421         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29422         $in_func argument to parse_args.
29423         * math/libm-test.inc (struct test_f_f_data): New type.
29424         (IF_ROUND_INIT_): New macro.
29425         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29426         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29427         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29428         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29429         (ROUND_RESTORE_): Likewise.
29430         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29431         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29432         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29433         (ROUND_RESTORE_FE_UPWARD): Likewise.
29434         (RUN_TEST_LOOP_f_f): New macro.
29435         (acos_test_data): New variable.
29436         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29437         (acos_tonearest_test_data): New variable.
29438         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29440 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29442         * benchtests/bench-skeleton.c (startup): Fix coding style.
29444 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29446         [BZ #6809]
29447         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29448         negative infinity argument.
29449         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29450         negative infinity argument.
29451         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29452         negative infinity argument.
29453         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29454         domain errors.
29456 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29458         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29459         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29460         * iconv/iconv_prog.c (main): Likewise.
29461         * locale/programs/charmap-dir.c (charmap_readdir)
29462         (fopen_uncompressed): Likewise.
29463         * locale/programs/locfile.c (siblings_uncached)
29464         (write_locale_data): Use lstat64 instead of lstat.
29465         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29466         stat.
29468 2013-05-10  Andreas Jaeger  <aj@suse.de>
29470         [BZ #15395]
29471         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29472         localization.
29473         Include <locale.h>.
29475 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29477         * elf/dl-close.c (_dl_close_worker): Add comments.
29479 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29481         [BZ #15359]
29482         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29483         high part of pi/2.
29484         (__ieee754_rem_pio2l): Update comments.
29486         [BZ #15429]
29487         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29488         high part of pi/2.
29489         (__ieee754_rem_pio2l): Update comments.
29491         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29492         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29494         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29495         M_PI_4l.
29497         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29498         (M_PI_34_LOG10El): Likewise.
29499         (M_PI2_LOG10El): Likewise.
29500         (M_PI4_LOG10El): Likewise.
29501         (M_PI_LOG10El): Likewise.
29503 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29507 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29509         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29510         (MINUS_ZERO_INIT): Likewise.
29511         (PLUS_INFTY_INIT): Likewise.
29512         (MINUS_INFTY_INIT): Likewise.
29513         (QNAN_VALUE_INIT): Likewise.
29514         (MAX_VALUE_INIT): Likewise.
29515         (MIN_VALUE_INIT): Likewise.
29516         (MIN_SUBNORM_VALUE_INIT): Likewise.
29517         (plus_zero): Initialize with PLUS_ZERO_INIT.
29518         (minus_zero): Initialize with MINUS_ZERO_INIT.
29519         (plus_infty): Initialize with PLUS_INFTY_INIT.
29520         (minus_infty): Initialize with MINUS_INFTY_INIT.
29521         (qnan_value): Initialize with QNAN_VALUE_INIT.
29522         (max_value): Initialize with MAX_VALUE_INIT.
29523         (min_value): Initialize with MIN_VALUE_INIT.
29524         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29526         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29527         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29528         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29529         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29531         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29532         (RUN_TEST_2_f): Likewise.
29533         (RUN_TEST_ff_f): Likewise.
29534         (RUN_TEST_fi_f): Likewise.
29535         (RUN_TEST_fl_f): Likewise.
29536         (RUN_TEST_fff_f): Likewise.
29537         (RUN_TEST_c_f): Likewise.
29538         (RUN_TEST_f_f1): Likewise.
29539         (RUN_TEST_fF_f1): Likewise.
29540         (RUN_TEST_fI_f1): Likewise.
29541         (RUN_TEST_ffI_f1): Likewise.
29542         (RUN_TEST_c_c): Likewise.
29543         (RUN_TEST_cc_c): Likewise.
29544         (RUN_TEST_f_i): Likewise.
29545         (RUN_TEST_f_i_tg): Likewise.
29546         (RUN_TEST_ff_i_tg): Likewise.
29547         (RUN_TEST_f_b): Likewise.
29548         (RUN_TEST_f_b_tg): Likewise.
29549         (RUN_TEST_f_l): Likewise.
29550         (RUN_TEST_f_L): Likewise.
29551         (RUN_TEST_sincos): Likewise.
29552         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29553         whether to show exceptions.  Do not include ");\n" in return
29554         value.
29555         (special_functions): Output call to RUN_TEST_sincos instead of
29556         check_float calls.  Update calls to new_test.
29557         (parse_args): Output call to single RUN_TEST_* macro instead of
29558         check_* calls and other assignments.  Update calls to new_test.
29560         [BZ #2546]
29561         [BZ #2560]
29562         [BZ #5159]
29563         [BZ #15426]
29564         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29565         input to result for tgamma overflow.
29566         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29567         (gamma_coeff): New variable.
29568         (NCOEFF): New macro.
29569         (gamma_positive): New function.
29570         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29571         underflow here.  Use gamma_positive instead of exp (lgamma) for
29572         other arguments.
29573         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29574         (gamma_coeff): New variable.
29575         (NCOEFF): New macro.
29576         (gammaf_positive): New function.
29577         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29578         underflow here.  Use gamma_positive instead of exp (lgamma) for
29579         other arguments.
29580         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29581         (gamma_coeff): New variable.
29582         (NCOEFF): New macro.
29583         (gammal_positive): New function.
29584         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29585         underflow here.  Use gamma_positive instead of exp (lgamma) for
29586         other arguments.
29587         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29588         (gamma_coeff): New variable.
29589         (NCOEFF): New macro.
29590         (gammal_positive): New function.
29591         (__ieee754_gammal_r): Handle positive infinity, overflow and
29592         underflow here.  Handle NaN the same as positive infinity.  Remove
29593         check x < 0xffffffff for negative integers.  Use gamma_positive
29594         instead of exp (lgamma) for other arguments.
29595         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29596         (gamma_coeff): New variable.
29597         (NCOEFF): New macro.
29598         (gammal_positive): New function.
29599         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29600         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29601         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29602         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29603         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29604         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29605         * sysdeps/generic/math_private.h (__gamma_productf): New
29606         prototype.
29607         (__gamma_product): Likewise.
29608         (__gamma_productl): Likewise.
29609         * math/Makefile (libm-calls): Add gamma_product.
29610         * math/libm-test.inc (tgamma_test): Add more tests.
29611         * sysdeps/i386/fpu/libm-test-ulps: Update.
29612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29614 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29616         * benchtests/bench-skeleton.c (main): Preheat CPU.
29618 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29620         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29622 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29624         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29625         and _dl_skip_args_internal.
29627 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29629         * manual/message.texi (Message Translation): Talk about users.
29630         Message to key mapping impacts design.
29632 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29634         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29636         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29638         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29639         * sysdeps/wordsize-64/glob64.c: ... here.
29641         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29642         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29643         New macros.
29645         * debug/getlogin_r_chk.c: Moved to ...
29646         * login/getlogin_r_chk.c: ... here.
29647         * debug/Makefile (routines): Move getlogin_r_chk to ...
29648         * login/Makefile (routines): ... here.
29649         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29650         * login/Versions (libc: GLIBC_2.4): ... here.
29652         * io/poll.c (__poll): Renamed from poll.
29653         Add libc_hidden_def.
29654         (poll): Define as weak alias.
29656         * debug/ptsname_r_chk.c: Moved to ...
29657         * login/ptsname_r_chk.c: ... here.
29658         * debug/Makefile (routines): Move ptsname_r_chk to ...
29659         * login/Makefile (routines): ... here.
29660         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29661         * login/Versions (libc: GLIBC_2.4): ... here.
29663         * posix/getlogin.c: Moved to ...
29664         * login/getlogin.c: ... here.
29665         * posix/getlogin_r.c: Moved to ...
29666         * login/getlogin_r.c: ... here.
29667         * posix/getlogin_r.c: Moved to ...
29668         * login/getlogin_r.c: ... here.
29669         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29670         * login/Makefile (routines): ... here.
29671         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29672         * login/Versions (libc: GLIBC_2.0): ... here.
29674         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29675         (setrlimit): Define as weak alias.
29677         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29678         Call __ names for open, ftruncate, and close.
29679         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29680         (truncate): Define as weak alias.
29682 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29684         * math/gen-libm-test.pl (parse_args): Initialize x before each
29685         test of frexp, modf and remquo.
29687         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29688         test signgam value.
29690 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29692         [BZ #15418]
29693         [BZ #15419]
29694         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29695         internal tests.
29696         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29698 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29700         * elf/dl-writev.h: New file.
29701         * elf/dl-misc.c: Include it.
29702         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29703         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29705 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29707         * math/libm-test.inc (noXFails): Remove variable.
29708         (noXPasses): Likewise.
29709         (BUILD_COMPLEX_INT): Remove macro.
29710         (print_screen): Remove xfail argument.
29711         (print_screen_max_error): Likewise.
29712         (update_stats): Likewise.
29713         (print_max_error): Likewise.  Update calls to other affected
29714         functions.
29715         (print_complex_max_error): Likewise.
29716         (test_single_exception): Update calls to print_screen.
29717         (test_single_errno): Likewise.
29718         (check_float_internal): Remove xfail argument.  Update calls to
29719         other affected functions.
29720         (check_float): Likewise.
29721         (check_complex): Likewise.
29722         (check_int): Likewise.
29723         (check_long): Likewise.
29724         (check_bool): Likewise.
29725         (check_longlong): Likewise.
29726         (main): Don't print noXFails and noXPasses.
29727         * math/gen-libm-test.pl (top level): Don't mention expected
29728         failure handling in comment.
29729         (new_test): Don't handle expected failures.
29730         (parse_args): Don't mention expected failure handling in comment.
29731         (generate_testfile): Don't handle expected failures.
29732         (parse_ulps): Likewise.
29733         (print_ulps_file): Likewise.
29734         (get_failure): Remove function.
29735         (output_test): Don't handle expected failures.
29736         * make/README.libm-test: Don't mention expected failure handling.
29738         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29739         (minus_zero): Likewise.
29740         (plus_infty): Likewise.
29741         (minus_infty): Likewise.
29742         (qnan_value): Likewise.
29743         (max_value): Likewise.
29744         (min_value): Likewise.
29745         (min_subnorm_value): Likewise.
29746         (initialize): Do not initialize those variables dynamically.
29748 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29750         * io/open.c (__open_2): Moved to ...
29751         * io/open_2.c: ... this new file.
29752         * io/open64.c (__open64_2): Moved to ...
29753         * io/open64_2.c: ... this new file.
29754         * io/openat.c (__openat_2): Moved to ...
29755         * io/openat_2.c: ... this new file.
29756         * io/openat64.c (__openat64_2): Moved to ...
29757         * io/openat64_2.c: ... this new file.
29758         * io/Makefile (routines): Add them.
29759         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29760         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29761         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29762         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29763         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29764         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29765         (__openat64): Add hidden_ver.
29766         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29767         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29769         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29770         Separately conditionalize setting of GLRO(dl_sysinfo) so
29771         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29772         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29774 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29776         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29777         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29778         definition.
29779         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29780         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29781         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29782         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29783         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29785 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29787         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29788         test signgam value.
29790         * math/libm-test.inc (hypot_test): Do not use
29791         IGNORE_ZERO_INF_SIGN.
29793 2013-05-03  Andreas Jaeger  <aj@suse.de>
29795         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29796         Linux 3.9.
29797         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29798         (PF_MAX): Adjust for VSOCK change.
29800 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29804 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29806         [BZ #15264]
29807         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29808         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29809         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29811 2013-05-02  David S. Miller  <davem@davemloft.net>
29813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29815 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29817         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29819 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29821         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29823 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29825         [BZ #14952]
29826         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29827         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29828         Use __attribute__ ((__gnu_inline__)).
29829         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29830         Don't use __attribute__ ((__gnu_inline__)).
29832 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29834         [BZ #15423]
29835         * math/s_catan.c (__catan): Handle small real or imaginary part of
29836         input specially to avoid spurious underflow.
29837         * math/s_catanf.c (__catanf): Likewise.
29838         * math/s_catanh.c (__catanh): Likewise.
29839         * math/s_catanhf.c (__catanhf): Likewise.
29840         * math/s_catanhl.c (__catanhl): Likewise.
29841         * math/s_catanl.c (__catanl): Likewise.
29842         * math/libm-test.inc (catan_test): Add more tests.
29843         (catanh_test): Likewise.
29844         * sysdeps/i386/fpu/libm-test-ulps: Update.
29845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29847 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29851 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29853         [BZ #15416]
29854         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29855         accurately for denominator in atan2.
29856         * math/s_catanf.c (__catanf): Likewise.
29857         * math/s_catanh.c (__catanh): Likewise.
29858         * math/s_catanhf.c (__catanhf): Likewise.
29859         * math/s_catanhl.c (__catanhl): Likewise.
29860         * math/s_catanl.c (__catanl): Likewise.
29861         * math/libm-test.inc (catan_test): Add more tests.
29862         (catanh_test): Likewise.
29863         * sysdeps/i386/fpu/libm-test-ulps: Update.
29864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29866 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29868         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29870         * benchtests/Makefile (bench): Remove slow benchmarks.
29871         * benchtests/atan-inputs: Add slow benchmark inputs.
29872         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29873         (BENCH_FUNC): Accept variant offset.
29874         (VARIANT): Define.
29875         * benchtests/bench-skeleton.c (main): Run benchmark for each
29876         variant.
29877         * benchtests/cos-inputs: Add slow benchmark inputs.
29878         * benchtests/exp-inputs: Likewise.
29879         * benchtests/pow-inputs: Likewise.
29880         * benchtests/sin-inputs: Likewise.
29881         * benchtests/slowatan-inputs: Remove.
29882         * benchtests/slowatan.c: Remove.
29883         * benchtests/slowcos-inputs: Remove.
29884         * benchtests/slowcos.c: Remove.
29885         * benchtests/slowexp-inputs: Remove.
29886         * benchtests/slowexp.c: Remove.
29887         * benchtests/slowpow-inputs: Remove.
29888         * benchtests/slowpow.c: Remove.
29889         * benchtests/slowsin-inputs: Remove.
29890         * benchtests/slowsin.c: Remove.
29891         * benchtests/slowtan-inputs: Remove.
29892         * benchtests/slowtan.c: Remove.
29893         * benchtests/tan-inputs: Add slow benchmark inputs.
29894         * scripts/bench.pl: Parse comments and directives.
29896         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29897         in CPPFLAGS.
29898         ($(objpfx)bench-%.c): Remove *-ITER.
29899         * benchtests/bench-modf.c: Remove definition of ITER.
29900         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29901         (main): Loop for DURATION seconds instead of fixed number of
29902         iterations.
29903         * scripts/bench.pl: Don't expect iterations in parameters.
29905 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29907         * io/fchdir.c (__fchdir): Renamed from fchdir.
29908         (fchdir): Define as weak alias.
29910 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29912         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29913         (ERRNO_EDOM): Likewise.
29914         (ERRNO_ERANGE): Likewise.
29915         (noErrnoTests): New variable.
29916         (init_max_error): Set errno to 0.
29917         (test_single_errno): New function.
29918         (test_errno): Likewise.
29919         (check_float_internal): Call test_errno.  Set errno to 0.
29920         (check_complex): Refer to errno tests in comment.
29921         (check_int): Call test_errno.  Set errno to 0.
29922         (check_long): Likewise.
29923         (check_bool): Likewise.
29924         (check_longlong): Likewise.
29925         (cos_test): Use ERRNO_* flags for errno tests instead of
29926         check_int.
29927         (expm1_test): Likewise.
29928         (fmod_test): Likewise.
29929         (ilogb_test): Likewise.
29930         (lgamma_test): Likewise.
29931         (pow_test): Likewise.
29932         (remainder_test): Likewise.
29933         (sin_test): Likewise.
29934         (tan_test): Likewise.
29935         (yn_test): Likewise.
29936         (initialize): Set errno to 0.
29937         (main): Print number of errno tests.
29938         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29940 2013-04-29  Andreas Jaeger  <aj@suse.de>
29942         [BZ #15084]
29943         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29944         and RES_USEVC.
29946         [BZ #15085]
29947         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29948         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29949         unimplemented.
29951         [BZ #15380]
29952         * stdlib/random.c (__initstate): Return NULL if
29953         __initstate fails.
29955         [BZ #15086]
29956         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29957         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29958         RES_SNGLKUPREOP.
29960 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29964 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29966         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29967         of individual tests.
29968         (casin_test): Likewise.
29969         (casinh_test): Likewise.
29971 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29973         [BZ #15409]
29974         * math/s_catan.c (__catan): Handle arguments with large real or
29975         imaginary part separately without squaring.
29976         * math/s_catanf.c (__catanf): Likewise.
29977         * math/s_catanh.c (__catanh): Likewise.
29978         * math/s_catanhf.c (__catanhf): Likewise.
29979         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29980         and redefine.
29981         (__catanhl): Handle arguments with large real or imaginary part
29982         separately without squaring.
29983         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29984         and redefine.
29985         (__catanl): Handle arguments with large real or imaginary part
29986         separately without squaring.
29987         * math/libm-test.inc (catan_test): Add more tests.
29988         (catanh_test): Likewise.
29989         * sysdeps/i386/fpu/libm-test-ulps: Update.
29990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29992 2013-04-27  Andreas Jaeger  <aj@suse.de>
29994         [BZ #15007]
29995         * stdlib/stdlib.h: Update guards for qecvt.
29996         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29997         <stdlib.h>.
29999 2013-04-27  Allan McRae  <allan@archlinux.org>
30001         * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
30005         [BZ #15406]
30006         * math/s_catan.c: Include <float.h>.
30007         (__catan): Ensure underflow exception occurs for underflowed
30008         result.
30009         * math/s_catanf.c: Include <float.h>.
30010         (__catanf): Ensure underflow exception occurs for underflowed
30011         result.
30012         * math/s_catanh.c: Include <float.h>.
30013         (__catanh): Ensure underflow exception occurs for underflowed
30014         result.
30015         * math/s_catanhf.c: Include <float.h>.
30016         (__catanhf): Ensure underflow exception occurs for underflowed
30017         result.
30018         * math/s_catanhl.c: Include <float.h>.
30019         (__catanhl): Ensure underflow exception occurs for underflowed
30020         result.
30021         * math/s_catanl.c: Include <float.h>.
30022         (__catanl): Ensure underflow exception occurs for underflowed
30023         result.
30024         * math/libm-test.inc (catan_test): Add more tests.
30025         (catanh_test): Likewise.
30027         [BZ #15405]
30028         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30029         underflowed result.
30030         * math/s_ccoshf.c (__ccoshf): Likewise.
30031         * math/s_ccoshl.c (__ccoshl): Likewise.
30032         * math/s_csin.c (__csin): Likewise.
30033         * math/s_csinf.c (__csinf): Likewise.
30034         * math/s_csinh.c (__csinh): Likewise.
30035         * math/s_csinhf.c (__csinhf): Likewise.
30036         * math/s_csinhl.c (__csinhl): Likewise.
30037         * math/s_csinl.c (__csinl): Likewise.
30038         * math/libm-test.inc (ccos_test): Add more tests.
30039         (ccosh_test): Likewise.
30040         (csin_test): Likewise.
30041         (csinh_test): Likewise.
30043 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30045         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30046         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30047         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30048         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30049         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30050         powerpc/power5+/fpu folders.
30051         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30054 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30058 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30060         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30061         additions to variable.
30062         [$(config-machine) = x86_64] (modules-names): Likewise.
30063         ($(objpfx)tst-audit3): Remove dependency.
30064         ($(objpfx)tst-audit3.out): Likewise.
30065         ($(objpfx)tst-audit4): Likewise.
30066         ($(objpfx)tst-audit4.out): Likewise.
30067         ($(objpfx)tst-audit5): Likewise.
30068         ($(objpfx)tst-audit5.out): Likewise.
30069         ($(objpfx)tst-audit6): Likewise.
30070         ($(objpfx)tst-audit6.out): Likewise.
30071         ($(objpfx)tst-audit7): Likewise.
30072         ($(objpfx)tst-audit7.out): Likewise.
30073         (tst-audit3-ENV): Remove variable.
30074         (tst-audit4-ENV): Likewise.
30075         (tst-audit5-ENV): Likewise.
30076         (tst-audit6-ENV): Likewise.
30077         (tst-audit7-ENV): Likewise.
30078         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30079         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30080         addition to variable.
30081         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30082         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30083         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30084         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30085         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30086         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30087         tst-audit3, tst-audit4 and tst-audit5.
30088         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30089         tst-audit6 and tst-audit7.
30090         [$(subdir) = elf] (modules-names): Add audit modules for those
30091         tests.
30092         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30093         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30094         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30095         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30096         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30097         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30098         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30099         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30100         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30101         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30102         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30103         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30104         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30105         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30106         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30107         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30108         Likewise.
30109         [$(subdir) = elf && $(config-cflags-avx) = yes]
30110         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30111         [$(subdir) = elf && $(config-cflags-avx) = yes]
30112         (CFLAGS-tst-auditmod4a.c): Likewise.
30113         [$(subdir) = elf && $(config-cflags-avx) = yes]
30114         (CFLAGS-tst-auditmod4b.c): Likewise.
30115         [$(subdir) = elf && $(config-cflags-avx) = yes]
30116         (CFLAGS-tst-auditmod6b.c): Likewise.
30117         [$(subdir) = elf && $(config-cflags-avx) = yes]
30118         (CFLAGS-tst-auditmod6c.c): Likewise.
30119         [$(subdir) = elf && $(config-cflags-avx) = yes]
30120         (CFLAGS-tst-auditmod7b.c): Likewise.
30121         * elf/tst-audit3.c: Move to ...
30122         * sysdeps/x86_64/tst-audit3.c: ... here.
30123         * elf/tst-audit4.c: Move to ...
30124         * sysdeps/x86_64/tst-audit4.c: ... here.
30125         * elf/tst-audit5.c: Move to ...
30126         * sysdeps/x86_64/tst-audit5.c: ... here.
30127         * elf/tst-audit6.c: Move to ...
30128         * sysdeps/x86_64/tst-audit6.c: ... here.
30129         * elf/tst-audit7.c: Move to ...
30130         * sysdeps/x86_64/tst-audit7.c: ... here.
30131         * elf/tst-auditmod3a.c: Move to ...
30132         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30133         * elf/tst-auditmod3b.c: Move to ...
30134         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30135         * elf/tst-auditmod4a.c: Move to ...
30136         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30137         * elf/tst-auditmod4b.c: Move to ...
30138         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30139         * elf/tst-auditmod5a.c: Move to ...
30140         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30141         * elf/tst-auditmod5b.c: Move to ...
30142         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30143         * elf/tst-auditmod6a.c: Move to ...
30144         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30145         * elf/tst-auditmod6b.c: Move to ...
30146         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30147         * elf/tst-auditmod6c.c: Move to ...
30148         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30149         * elf/tst-auditmod7a.c: Move to ...
30150         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30151         * elf/tst-auditmod7b.c: Move to ...
30152         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30154 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30156         [BZ #15366]
30157         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30158         define unconditionally.
30159         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30160         define unconditionally.
30161         (INT8_C, INT16_C, etc.): Likewise.
30163 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30165         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30166         __ehdr_start with hidden visibility.
30168         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30170 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30172         * math/libm-test.inc (cos_test): Use accurate hex constants.
30173         (sincost_test): Likewise.
30175 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30177         * math/libm-test.inc (catan_test): Add more tests.
30178         (catanh_test): Likewise.
30180         * math/s_catanf.c (__catanf): Use suffixed floating-point
30181         constants.
30182         * math/s_catanhf.c (__catanhf): Likewise.
30183         * math/s_catanhl.c (__catanhl): Likewise.
30184         * math/s_catanl.c (__catanl): Likewise.
30186         [BZ #15394]
30187         * math/s_catan.c (__catan): Calculate imaginary part of result
30188         with log1p not log unless computing log of number close to 0.
30189         * math/s_catanf.c (__catanf): Likewise.
30190         * math/s_catanl.c (__catanl): Likewise.
30191         * math/s_catanh.c (__catanh): Calculate real part of result with
30192         log1p not log unless computing log of number close to 0.
30193         * math/s_catanhf.c (__catanhf): Likewise.
30194         * math/s_catanhl.c (__catanhl): Likewise.
30195         * math/libm-test.inc (catan_test): Add more tests.
30196         (catanh_test): Likewise.
30197         * sysdeps/i386/fpu/libm-test-ulps: Update.
30198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30200 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30202         * benchtests/Makefile: Mention files in which fast and slow
30203         paths of math functions are implemented.
30205 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30207         * sysdeps/posix/timespec_get.c: New file.
30209 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30211         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30212         POWER.
30213         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30214         for POWER.
30215         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30216         powerpc/power5/fpu folders.
30217         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30218         * benchtests/Makefile: Add modf testcase.
30219         * benchtests/bench-modf.c: New file: Benchmark test for mo
30221 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30223         [BZ #14888]
30224         * time/Makefile (tests): Add tst-strptime-whitespace.
30225         * time/strptime_l.c (get_number): Use ISSPACE.
30226         (__strptime_internal): Likewise.
30227         * time/tst-strptime-whitespace.c: New test case.
30229 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30231         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30232         member.
30233         (_nss_files_init): Set it here.
30235 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30237         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30238         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30239         unsigned.
30241 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30243         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30245 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30247         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30248         size just once.
30250 2013-04-21  David S. Miller  <davem@davemloft.net>
30252         * po/ru.po: Update Russion translation from translation project.
30254 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30256         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30257         and setfsgid.
30259 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30261         * configure.in: Remove i386 configure warning. Remove i386 case.
30262         * configure: Regenerate.
30263         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30264         Add example to error message.
30265         * sysdeps/i386/configure: Regenerate.
30267 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30269         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30270         slowtan.
30271         * benchtests/cos-inputs: New file.
30272         * benchtests/slowcos-inputs: New file.
30273         * benchtests/slowcos.c: New file.
30274         * benchtests/slowtan-inputs: New file.
30275         * benchtests/slowtan.c: New file.
30276         * benchtests/tan-inputs: New file.
30278 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30280         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30281         considered kosher.
30283 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30285         * benchtests/Makefile: Include cppflags-iterator.mk to add
30286         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30288         * Makefile.in (bench-clean): New target.
30289         * benchtests/Makefile (bench-clean): Likewise.
30291 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30293         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30295 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30297         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30299 2013-04-15  Andreas Schwab  <schwab@suse.de>
30301         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30302         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30303         * nscd/pwdcache.c (cache_addpw): Likewise.
30304         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30305         more than recsize.
30307 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30309         * benchtests/Makefile (bench): Write all output to
30310         bench-out.tmp together.
30312 2013-04-15  Andreas Schwab  <schwab@suse.de>
30314         * nscd/nscd.c (main): Don't fork again after closing files.
30316 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30318         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30320         * benchtests/Rules (bench-deps): Collect dependencies into a
30321         single variable.  Add Makefile to dependencies.
30322         ($(objpfx)bench-%.c): Depend on bench-deps.
30324 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30325             Xavier Roche  <roche+kml2@exalead.com>
30327         [BZ #15361]
30328         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30329         just that it's a file descriptor.
30330         * manual/llio.texi (Synchronizing AIO Operations): Update description
30331         for EBADF error from aio_fsync.
30333 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30335         * Rules (bench): Move target definition...
30336         * benchtests/Makefile: ... here.
30338 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30340         * math/libm-test.inc (cos_test): Fix PI/2 test.
30341         (sincos_test): Likewise.
30342         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30343         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30345 2013-04-11  Andreas Schwab  <schwab@suse.de>
30347         [BZ #13988]
30348         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30349         accept exponent character only when digits were seen.
30350         * stdio-common/Makefile (tests): Add bug26.
30351         * stdio-common/bug26.c: New file.
30353         [BZ #14293]
30354         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30355         non-freeable.
30357 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30359         * Makeconfig (rtld-prefix): Define built linker prefix.
30360         * Rules (run-bench): Use it.
30361         * math/Makefile (run-regen-ulps): Likewise.
30363         * Rules (bench): Remove eval.
30365 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30366             Roland McGrath  <roland@hack.frob.com>
30367             Ondrej Bilka  <neleai@seznam.cz>
30369         [BZ #15346]
30370         * time/getdate.c: Include ctype.h and alloca.h.
30371         (__getdate_r): Trim leading and trailing spaces of input.
30372         * time/tst-getdate.c (tests): Add tests with leading and
30373         trailing spaces.
30375 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30377         [BZ #14280]
30378         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30379         when computing value.
30381 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30383         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30384         Use testrun.sh to run libm tests.
30386         [BZ #15309]
30387         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30389 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30391         [BZ #15264]
30392         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30394 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30396         * Makefile.in (regen-ulps): New target.
30397         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30398         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30399         [ifneq (no,$(PERL)] (regen-ulps): New target.
30400         [ifeq (no,$(PERL)] (regen-ulps): New target.
30401         * math/libm-test.inc (ulps_file_name): Define.
30402         (output_dir): New variable.
30403         (options): Add "output-dir" option.
30404         (parse_opt): Handle 'o' case.
30405         (main): If output_dir is non-NULL use it as a prefix
30406         otherwise use "".
30407         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30409 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30411         [BZ #10060, #10062]
30412         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30413         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30414         fail configure if __sync_val_compare_and_swap is not inlined.
30415         * sysdeps/i386/configure: Regenerate.
30416         * configure.in: Build for i686 when configured for i386.
30417         * configure: Regenerate.
30418         * README: Remove i386 reference.
30420 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30422         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30423         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30425 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30427         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30428         (lmsnanval): New variables.
30429         (F): Add conversion tests.
30430         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30431         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30433         * stdio-common/tstdiomisc.c (F): Properly collect individual
30434         tests' results.
30436         [BZ #14686, #15336]
30437         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30438         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30439         Instead, use input NaN values or generate a qNaN by arithmetic
30440         operation.  Also fix bugs to comply with the standard.
30441         * math/libm-test.inc (remainder_test): Add more tests.
30443         [BZ #15335, #15342]
30444         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30445         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30446         input NaN values or generate a qNaN by arithmetic operation.
30448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30449         unreachable code.
30451         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30452         definitions.
30454 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30456         [BZ #14478]
30457         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30458         underflowed result.
30459         * math/s_cexpf.c (__cexpf): Likewise.
30460         * math/s_cexpl.c (__cexpl): Likewise.
30461         * math/libm-test.inc (cexp_test): Add more tests.
30463 2013-04-03  Andreas Schwab  <schwab@suse.de>
30465         [BZ #15330]
30466         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30467         order arrays from heap if bigger than alloca cutoff.
30469 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30471         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30472         (SNAN_TESTS_double): Refer to GCC PR56831.
30473         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30474         GCC PR56828.
30476 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30478         * Rules (bench): Move bench.out after the run is complete.
30480         * Rules (bench): Echo currently running benchmark.
30482         * benchtests/Makefile (bench): Add atan and slowatan.
30483         * benchtests/atan-inputs: New file.
30484         * benchtests/slowatan-inputs: New file.
30485         * benchtests/slowatan.c: New file.
30487         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30488         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30489         its value.
30491         [BZ #15305]
30492         * sysdeps/unix/sysv/linux/kernel-features.h
30493         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30494         __ASSUME_XFS_RESTRICTED_CHOWN.
30495         * sysdeps/unix/sysv/linux/pathconf.c
30496         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30497         Save and restore errno.
30499 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30501         [BZ #15327]
30502         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30503         arguments using __kernel_casinh.
30504         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30505         arguments using __kernel_casinhf.
30506         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30507         arguments using __kernel_casinhl.
30508         * math/libm-test.inc (cacosh_test): Add more tests.
30509         * sysdeps/i386/fpu/libm-test-ulps: Update.
30510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30512 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30514         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30517         * bench/Makefile (bench): Add sin and slowsin.
30518         * benchtests/sin-inputs: New file.
30519         * benchtests/slowsin-inputs: New file.
30520         * benchtests/slowsin.c: New file.
30522         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30523         (bench): Add slowexp and slowpow.
30524         (exp-ITER): Increase iterations.
30525         (pow-ITER): Likewise.
30526         * benchtests/exp-inputs: Change input.
30527         * benchtests/pow-inputs: Likewise.
30528         * benchtests/slowexp-inputs: New file.
30529         * benchtests/slowexp.c: New file.
30530         * benchtests/slowpow-inputs: New file.
30531         * benchtests/slowpow.c: New file.
30533 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30535         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30536         instructions.
30537         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30538         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30539         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30540         * benchtests/Makefile: Add rint benchtest.
30541         * benchtests/rint-inputs: Input for rint benchtest.
30543 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30545         * Versions.def (libm): Add GLIBC_2.18.
30546         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30547         hidden libm prototypes.
30548         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30549         * math/Makefile (libm-calls): Add s_issignaling.
30550         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30551         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30552         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30553         declaration.
30554         * math/math.h [__USE_GNU] (issignaling): New macro.
30555         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30556         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30557         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30558         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30559         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30560         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30561         * manual/arith.texi (issignaling): New section.
30562         * manual/libm-err-tab.pl (@all_functions): Update comment.
30563         * math/gen-libm-test.pl (parse_args): Apply special handling for
30564         issignaling.
30565         * math/libm-test.inc (print_float, issignaling_test): New
30566         functions.
30567         (check_float_internal): Add issignaling checks.
30568         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30569         default definition.
30570         * sysdeps/powerpc/math-tests.h: New file.
30571         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30572         tests.
30573         * math/test-snan.c (TEST_FUNC): Likewise.
30575 2013-03-30  David S. Miller  <davem@davemloft.net>
30577         * po/de.po: Update from translation team.
30579 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30581         [BZ #10357]
30582         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30583         imaginary part less than 1.0 and real part less than 0.5
30584         specially.
30585         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30586         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30587         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30588         (cacos_test): Add more tests.
30589         (casin_test): Likewise.
30590         (casinh_test): Likewise.
30591         * sysdeps/i386/fpu/libm-test-ulps: Update.
30592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30594 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30596         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30597         ONE with its value.
30599         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30600         (__pow_mp): Replace ONE and MONE with their values.
30601         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30602         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30603         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30604         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30605         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30606         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30608         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30610         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30611         (__pow_mp): Replace ZERO and MZERO with their values.
30612         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30613         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30614         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30616         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30617         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30618         (__sqr): Likewise.
30620         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30622         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30624 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30626         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30627         Declare with __attribute__ ((weak)).
30628         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30629         Call __call_tls_dtors only if it's not NULL.
30631 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30633         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30634         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30635         magic __ehdr_start linker symbol if it's defined.
30636         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30637         them up here if it was already done.
30639         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30640         (_dl_aux_init): Use const in cast when setting it.
30641         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30642         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30643         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30645         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30646         Declare them here.
30647         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30648         * csu/libc-tls.c: Nor here.
30649         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30651         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30652         (__libc_message): Never call vsyslog.
30654 2013-03-28  Alan Modra  <amodra@gmail.com>
30656         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30657         Define as empty.
30658         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30659         Likewise.
30661 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30663         [BZ #15214]
30664         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30665         underflow.
30666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30668 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30670         [BZ #15304]
30671         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30672         Don't add gid passed as argument.
30674         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30676 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30678         [BZ #15307]
30679         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30680         imaginary part between 1.0 and 1.5 and real part less than 0.5
30681         specially.
30682         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30683         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30684         * math/libm-test.inc (cacos_test): Add more tests.
30685         (casin_test): Likewise.
30686         (casinh_test): Likewise.
30687         * sysdeps/i386/fpu/libm-test-ulps: Update.
30688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30690 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30692         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30693         constants.
30694         (norm): Likewise.
30695         (denorm): Likewise.
30696         (__dbl_mp): Likewise.
30697         (add_magnitudes): Likewise.
30698         (sub_magnitudes): Likewise.
30699         (__add): Likewise.
30700         (__sub): Likewise.
30701         (__mul): Likewise.
30702         (__sqr): Likewise.
30703         (__inv): Likewise.
30704         (__dvd): Likewise.
30706         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30707         commented code.
30708         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30709         (__dubcos): Likewise.
30710         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30711         (__ieee754_acos): Likewise.
30712         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30713         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30714         (__exp1): Likewise.
30715         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30717         (log1): Likewise.
30718         (my_log2): Likewise.
30719         (checkint): Likewise.
30720         * sysdeps/ieee754/dbl-64/e_remainder.c
30721         (__ieee754_remainder): Likewise.
30722         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30724         (bsloww): Likewise.
30725         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30727         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30728         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30729         MANTISSA_STORE_T to store computations on mantissa.  Use
30730         macros for rounding and division.
30731         (denorm): Likewise.
30732         (__dbl_mp): Likewise.
30733         (add_magnitudes): Likewise.
30734         (sub_magnitudes): Likewise.
30735         (__mul): Likewise.
30736         (__sqr): Likewise.
30737         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30738         powers of two in terms of TWOPOW macro.
30739         (mp_no): Make type of mantissa as MANTISSA_T.
30740         [!RADIXI]: Define RADIXI.
30741         [!TWO52]: Define TWO52.
30742         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30744 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30746         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30747         llroundl symbol when building for PPC32.
30749 2013-03-24  Mark H Weaver  <mhw@netris.org>
30751         * manual/arith.texi (Normalization Functions): Fix prototypes for
30752         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30754 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30756         [BZ #13889]
30757         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30758         high value to check if expl overflow.
30759         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30760         to check for underflow and overflow.
30761         * math/libm-test.inc: Add exp test.
30763 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30765         [BZ #11120]
30766         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30767         with NOT_IN_libc.
30769 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30771         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30772         symbol.
30774 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30776         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30777         wrap blocks consisting of several statements.
30779         * sysdeps/generic/math-tests.h: New file.
30780         * sysdeps/i386/fpu/math-tests.h: Likewise.
30781         * math/test-snan.c: Include it.
30782         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30784 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30786         [BZ #15285]
30787         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30788         (__ieee754_j0l): Do not improve calculations using cos of twice
30789         input for inputs above LDBL_MAX / 2.0L.
30790         (__ieee754_y0l): Likewise.
30791         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30792         (__ieee754_j1l): Do not improve calculations using cos of twice
30793         input for inputs above LDBL_MAX / 2.0L.
30794         (__ieee754_y1l): Likewise.
30795         * math/libm-test.inc (j0_test): Add another test.
30796         (j1_test): Likewise.
30797         (y0_test): Likewise.
30798         (y1_test): Likewise.
30799         * sysdeps/i386/fpu/libm-test-ulps: Update.
30801 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         * Rules ($(objpfx)bench-%.c): Include code from a C source
30804         file.
30806 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30808         [BZ #15287]
30809         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30810         imaginary part 1.0 and real part less than 0.5 specially.
30811         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30812         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30813         * math/libm-test.inc (cacos_test): Add more tests.
30814         (casin_test): Likewise.
30815         (casinh_test): Likewise.
30816         * sysdeps/i386/fpu/libm-test-ulps: Update.
30817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30819 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30821         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30822         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30824 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30826         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30827         * config.make.in (config-cflags-sse4): Remove variable.
30828         (config-cflags-avx): Likewise.
30829         (config-cflags-sse2avx): Likewise.
30830         (config-cflags-novzeroupper): Likewise.
30831         (config-asflags-i686): Likewise.
30832         (have-mfma4): Likewise.
30833         (have-as-vis3): Likewise.
30834         (MIG): Likewise.
30835         * configure.in (MIG): Do not AC_SUBST.
30836         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30837         (libc_cv_cc_sse4): Do not AC_SUBST.
30838         (libc_cv_cc_avx): Likewise.
30839         (libc_cv_cc_sse2avx): Likewise.
30840         (libc_cv_cc_novzeroupper): Likewise.
30841         (libc_cv_cc_fma4): Likewise.
30842         (libc_cv_as_i686): Likewise.
30843         (libc_cv_sparc_as_vis3): Likewise.
30844         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30845         LIBC_CONFIG_VAR.
30846         (config-asflags-i686): Likewise.
30847         (config-cflags-avx): Likewise.
30848         (config-cflags-sse2avx): Likewise.
30849         (have-mfma4): Likewise.
30850         (config-cflags-novzeroupper): Likewise.
30851         * sysdeps/mach/configure.in (MIG): Likewise.
30852         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30853         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30854         LIBC_CONFIG_VAR.
30855         (config-cflags-avx): Likewise.
30856         (config-cflags-sse2avx): Likewise.
30857         (have-mfma4): Likewise.
30858         (config-cflags-novzeroupper): Likewise.
30859         * configure: Regenerated.
30860         * sysdeps/i386/configure: Likewise.
30861         * sysdeps/mach/configure: Likewise.
30862         * sysdeps/sparc/configure: Likewise.
30863         * sysdeps/x86_64/configure: Likewise.
30865 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30867         [BZ #14812]
30868         * locale/programs/localedef.c (options): Put N_ translation marker
30869         on argument names, not just descriptions.
30871 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30873         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30875 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30877         [BZ #14176]
30878         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30880 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30882         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30883         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30884         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30885         [!BEFORE_ABORT] (before_abort): New function.
30886         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30887         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30888         (writev_for_fatal): New function.
30889         (WRITEV_FOR_FATAL): New macro; call that.
30890         (backtrace_and_maps): New function.
30891         (BEFORE_ABORT): New macro; call that.
30892         (struct str_list): Type removed.
30893         (__libc_message, __libc_fatal): Functions removed.
30894         Include <sysdeps/posix/libc_fatal.c> instead.
30896 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30898         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30899         constants.
30900         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30901         double constants.
30903 2013-03-19  Andreas Schwab  <schwab@suse.de>
30905         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30906         * sysdeps/gnu/configure: Regenerate.
30908         * configure.in: Substitute libc_cv_rtlddir.
30909         * configure: Regenerate.
30910         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30911         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30912         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30913         * elf/Makefile (install-others, CFLAGS-interp.c)
30914         (ldso_install, common-ldd-rewrite): Likewise.
30915         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30916         $(inst_slibdir)/$(rtld-installed-name).
30917         * scripts/rellns-sh: Add -p option.
30918         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30919         for source.
30921 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30923         * manual/nptl.texi: Renamed to ...
30924         * manual/threads.texi: ... this.
30925         * manual/Makefile (chapters): Update.
30927 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30929         [BZ #14812]
30930         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30931         on argument names, not just descriptions.
30932         * malloc/memusagestat.c (options): Likewise.
30933         * nss/getent.c (options): Likewise.
30935 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30937         [BZ #14812]
30938         * iconv/iconv_prog.c (options): Put N_ translation marker
30939         on argument names, not just descriptions.
30940         * iconv/iconvconfig.c (options): Likewise.
30942 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30944         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30945         implementation which is faster on all x86_64 architectures.
30946         Tested on AMD, Intel Nehalem, SNB, IVB.
30947         * sysdeps/x86_64/strnlen.S: Likewise.
30949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30950         Remove all multiarch strlen and strnlen versions.
30951         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30952         Remove strlen and strnlen related parts.
30954         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30955         Inline strlen part.
30956         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30958         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30959         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30960         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30961         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30962         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30963         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30965 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30967         * manual/memory.texi (Malloc Tunable Parameters):
30968         Sort parameters alphabetically. Add comments for missing entries.
30970 2013-03-17  David S. Miller  <davem@davemloft.net>
30972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30974 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30976         [BZ #15283]
30977         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30978         for arguments at most half maximum finite value.
30979         * math/libm-test.inc (j0_test): Add more tests.
30980         (j1_test): Likewise.
30981         (y0_test): Likewise.
30982         (y1_test): Likewise.
30983         * sysdeps/i386/fpu/libm-test-ulps: Update.
30984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30986         [BZ #14155]
30987         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30988         1 / x and functions P and Q for arguments above 0x1p256L.
30989         (__ieee754_y0l): Likewise.
30990         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30991         (__ieee754_y1l): Likewise.
30992         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30993         (j1_test): Likewise.
30994         (y0_test): Likewise.
30995         (y1_test): Likewise.
30997 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30999         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31000         variable.
31002 2013-03-15  Roland McGrath  <roland@hack.frob.com>
31004         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31005         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31006         zero since it's initialized to EXEC_PAGESIZE.
31008         * sysdeps/unix/sysv/linux/ldsodefs.h
31009         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31010         * sysdeps/generic/ldsodefs.h: ... here.
31012 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
31014         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31016         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31017         math/test-snan.c.
31018         * math/test-snan.c: Renamed from
31019         sysdeps/powerpc/fpu/test-powerpc-snan.c.
31020         * math/Makefile (tests): Add test-snan.
31021         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31022         test-powerpc-snan.
31024         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31025         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
31026         functions.
31027         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
31028         __builtin_nan family of functions.
31029         * math/libm-test.inc (initialize): Initialize qnan_value with
31030         __builtin_nan family of functions.
31031         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31032         Remove variables.
31033         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31034         Remove functions.
31035         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
31036         storage class.  Initialize qNaN_var and sNaN_var with
31037         __builtin_nan and __builtin_nans families of functions,
31038         respectively.
31040         * math/libm-test.inc (acosh_test): Also test with qNaN input.
31041         (sqrt_test): Remove duplicate test with qNaN input.
31042         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31043         (round_test, signbit_test, significand_test): Note missing +/-Inf
31044         as well as qNaN tests.
31046         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31047         qNaN_var.  Fix a few strings, too.
31048         * math/libm-test.inc (nan_value): Rename to qnan_value.
31049         * math/gen-libm-test.pl (%beautify): Adjust to that.
31050         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31051         * math/test-misc.c (main): Likewise.
31052         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31053         to __qnan_bytes, and __qnan_union, respectively.
31054         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31055         Likewise.
31056         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31057         and lqnanval, respectively.
31058         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31059         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31060         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31061         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31063         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31064         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31065         doubles.
31067         * math/test-misc.c (main): Fix copy'n'pastos.
31068         * misc/tst-efgcvt.c (special): Likewise.
31070         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31071         Remove declarations.
31073 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31075         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31076         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31077         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31078         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31080 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31082         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31083         macro to return vdso values correctly in IFUNC implementations.
31084         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31085         Optimization by using IFUNC.
31087 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31088             Richard Henderson  <rth@redhat.com>
31089             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31091         * Makefile.in (bench): New target.
31092         * NEWS: Mention the benchmark framework.
31093         * Rules (bench): Likewise.
31094         (binaries-bench): Generate binaries for functions to
31095         benchmark.
31096         * benchtests/Makefile: New makefile for benchmark tests.
31097         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31098         programs.
31099         * benchtests/exp-inputs: New input file for EXP function.
31100         * benchtests/pow-inputs: New input file for POW function.
31101         * scripts/bench.pl: New script to generate source files for
31102         benchmark programs.
31104 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31106         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31107         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31108         computations on mantissa.  Use macros for rounding and
31109         division.
31110         (denorm): Likewise.
31111         (__dbl_mp): Likewise.
31112         (add_magnitudes): Likewise.
31113         (sub_magnitudes): Likewise.
31114         (__mul): Likewise.
31115         (__sqr): Likewise.
31116         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31117         powers of two in terms of TWOPOW macro.
31118         (mp_no): Make type of mantissa as MANTISSA_T.
31119         [!RADIXI]: Define RADIXI.
31120         [!TWO52]: Define TWO52.
31121         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31123         * manual/nptl.texi (cindex): Modify threads to pthreads.
31125 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31127         * sysdeps/x86_64/preconfigure: Regenerated.
31129 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31131         [BZ #14155]
31132         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31133         0x1p28 and above.
31134         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31135         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31136         0x1p28 and above.
31137         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31138         * math/libm-test.inc (j0_test): Do not allow one spurious
31139         underflow exception.
31140         (y1_test): Likewise.
31142 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31144         * manual/Makefile (chapters): Add nptl.
31145         * manual/debug.texi (Debugging Support): Add link to Threads
31146         chapter.
31147         * manual/nptl.texi: New file.
31149         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31151 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31153         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31154         for non-NULL pointer before the memory validity test. Pointed
31155         out by Holger Brunck <holger.brunck@keymile.com>.
31157 2013-03-13  Andreas Schwab  <schwab@suse.de>
31159         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31160         instead of .os.
31162 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31164         * timezone/zic.c: Update from tzcode 2013b.
31166 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31168         * manual/install.texi (Configuring and compiling):
31169         Mention i686 and i586.
31170         * INSTALL: Regenerate.
31172 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31174         * sysdeps/init_array/elf-init.c: New file.
31175         * csu/elf-init.c
31176         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31177         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31179         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31180         __gmon_start__ as global, but as static with a .preinit_array pointer.
31181         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31182         * sysdeps/init_array/crti.S: New file, empty except for comments.
31183         * sysdeps/init_array/crtn.S: Likewise.
31185 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31187         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31188         definining bcopy.
31189         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31190         Remove Prefer_SSE_for_memop.
31191         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31192         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31193         HAS_PREFER_SSE_FOR_MEMOP.
31194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31195         memset-x86-64.
31196         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31197         Remove bzero, memset ifunc support.
31198         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31199         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31200         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31201         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31203 2013-03-11  Andreas Schwab  <schwab@suse.de>
31205         [BZ #15234]
31206         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31207         by SHLIB_COMPAT.
31208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31209         (GLIBC_2.16): Remove pthread_atfork.
31211 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31213         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31214         (ptestcases.h): Likewise.
31216 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31218         * Makeconfig ($(common-objpfx)config.status): Depend on
31219         sysdeps/*/preconfigure{,.in} too.
31221 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31223         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31224         (__free_hook): Use void * instead of __malloc_ptr_t.
31225         (__malloc_hook): Likewise.
31226         (__realloc_hook): Likewise.
31227         (__memalign_hook): Likewise.
31228         (__after_morecore_hook): Likewise.
31229         * malloc/arena.c (save_malloc_hook): Likewise.
31230         (save_free_hook): Likewise.
31231         * malloc/hooks.c (malloc_hook_ini): Likewise.
31232         (realloc_hook_ini): Likewise.
31233         (memalign_hook_ini): Likewise.
31234         * malloc/malloc.c (malloc_hook_ini): Likewise.
31235         (realloc_hook_ini): Likewise.
31236         (memalign_hook_ini): Likewise.
31237         (__free_hook): Likewise.
31238         (__malloc_hook): Likewise.
31239         (__realloc_hook): Likewise.
31240         (__memalign_hook): Likewise.
31241         (__libc_malloc): Likewise.
31242         (__libc_free): Likewise.
31243         (__libc_realloc): Likewise.
31244         (__libc_memalign): Likewise.
31245         (__libc_valloc): Likewise.
31246         (__libc_pvalloc): Likewise.
31247         (__libc_calloc): Likewise.
31248         (__posix_memalign): Likewise.
31249         * malloc/morecore.c (__sbrk): Likewise.
31250         (__default_morecore): Likewise.
31252         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31254         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31255         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31256         __malloc_ptrdiff_t.
31258         * malloc/malloc.h (__malloc_size_t): Remove macro.
31259         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31260         __malloc_size_t.
31261         (old_memalign_hook): Likewise.
31262         (old_realloc_hook): Likewise.
31263         (struct hdr): Likewise.
31264         (flood): Likewise.
31265         (mallochook): Likewise.
31266         (memalignhook): Likewise.
31267         (reallochook): Likewise.
31268         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31269         (tr_old_realloc_hook): Likewise.
31270         (tr_old_memalign_hook): Likewise.
31271         (tr_mallochook): Likewise.
31272         (tr_reallochook): Likewise.
31273         (tr_memalignhook): Likewise.
31275 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31277         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31278         default_ldbl_pack and using as default implementation.
31279         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31280         implementation.
31281         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31282         redundant definition.
31283         (ldbl_insert_mantissa): Likewise.
31284         (ldbl_canonicalize): Likewise.
31285         (ldbl_nearbyint): Likewise.
31286         (ldbl_pack): Rename to ldbl_pack_ppc.
31287         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31288         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31289         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31291 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31294         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31295         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31296         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31297         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31298         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31299         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31300         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31302 2013-03-07  Andreas Jaeger  <aj@suse.de>
31304         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31305         bits/mman-linux.h.
31307 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31309         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31310         Include mpa.h and declare __MPEXP.
31311         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31312         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31313         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31314         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31315         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31316         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31317         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31319         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31320         (__slowpow): Use long double EXPL and LOGL functions to
31321         compute POW.
31322         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31323         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31324         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31325         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31326         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31327         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31329         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31330         intermediate variable to calculate exponent.
31331         (__sqr): Likewise.
31332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31333         Likewise.
31334         (__sqr): Likewise.
31336         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31337         [!NO__SQR]: Define __sqr.
31338         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31339         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31340         sysdeps/ieee754/dbl-64/mpa.c.
31341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31343         [BZ #12723]
31344         * posix/Makefile (tests): Add tst-pathconf.
31345         * posix/tst-pathconf.c: New test case.
31346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31347         _PC_PIPE_BUF.
31348         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31350 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31352         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31354 2013-03-06  Andreas Jaeger  <aj@suse.de>
31356         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31357         definition via __MAP_ANONYMOUS.
31359         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31360         it's not part of Linux headers.
31362         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31363         (MAP_HUGE_MASK): Define.
31365         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31366         Define.
31367         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31368         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31369         Define.
31370         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31371         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31372         Define.
31373         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31374         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31375         Define.
31376         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31378         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31379         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31380         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31381         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31382         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31383         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31385         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31386         Handle f2fs.
31388         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31389         Handle f2fs and efivarfs.
31391         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31392         f2fs.
31394         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31395         (EFIVARFS_MAGIC): Add.
31396         (F2FS_LINK_MAX): Add.
31398 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31400         * stdio-common/vfprintf.c: Replace __builtin_expect with
31401         __glibc_unlikely.
31403 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31405         [BZ #13550]
31406         * sysdeps/generic/bp-sym.h: Remove file.
31407         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31408         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31409         <bp-sym.h> and <bp-asm.h>.
31410         (__longjmp): Don't use BP_SYM.
31411         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31412         and <bp-asm.h>.
31413         (memcpy): Don't use BP_SYM.
31414         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31415         <bp-sym.h> and <bp-asm.h>.
31416         (memcpy): Don't use BP_SYM.
31417         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31418         <bp-asm.h>.
31419         (memcpy): Don't use BP_SYM.
31420         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31421         <bp-asm.h>.
31422         (memset): Don't use BP_SYM.
31423         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31424         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31425         (__bzero): Don't use BP_SYM.
31426         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31427         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31428         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31429         <bp-sym.h> and <bp-asm.h>.
31430         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31431         pointers.
31432         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31433         <bp-sym.h> and <bp-asm.h>.
31434         (memcpy): Don't use BP_SYM.
31435         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31436         <bp-sym.h> and <bp-asm.h>.
31437         (memset): Don't use BP_SYM.
31438         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31439         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31440         (__bzero): Don't use BP_SYM.
31441         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31442         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31443         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31444         <bp-sym.h> and <bp-asm.h>.
31445         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31446         pointers.
31447         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31448         <bp-sym.h> and <bp-asm.h>.
31449         (memcpy): Don't use BP_SYM.
31450         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31451         <bp-sym.h> and <bp-asm.h>.
31452         (memset): Don't use BP_SYM.
31453         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31454         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31455         (__bzero): Don't use BP_SYM.
31456         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31457         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31458         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31459         <bp-sym.h> and <bp-asm.h>.
31460         (__memchr): Don't use BP_SYM.
31461         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31462         <bp-sym.h> and <bp-asm.h>.
31463         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31464         pointers.
31465         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31466         <bp-sym.h> and <bp-asm.h>.
31467         (memcpy): Don't use BP_SYM.
31468         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31469         <bp-sym.h> and <bp-asm.h>.
31470         (__mempcpy): Don't use BP_SYM.
31471         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31472         <bp-sym.h> and <bp-asm.h>.
31473         (__memrchr): Don't use BP_SYM.
31474         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31475         <bp-sym.h> and <bp-asm.h>.
31476         (memset): Don't use BP_SYM.
31477         (__bzero): Likewise.
31478         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31479         <bp-sym.h> and <bp-asm.h>.
31480         (__rawmemchr): Don't use BP_SYM.
31481         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31482         <bp-sym.h> and <bp-asm.h>.
31483         (__STRCMP): Don't use BP_SYM.
31484         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31485         <bp-sym.h> and <bp-asm.h>.
31486         (strchr): Don't use BP_SYM.
31487         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31488         <bp-sym.h> and <bp-asm.h>.
31489         (__strchrnul): Don't use BP_SYM.
31490         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31491         <bp-sym.h> and <bp-asm.h>.
31492         (strlen): Don't use BP_SYM.
31493         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31494         <bp-sym.h> and <bp-asm.h>.
31495         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31496         pointers.
31497         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31498         <bp-sym.h> and <bp-asm.h>.
31499         (__strnlen): Don't use BP_SYM.
31500         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31501         <bp-sym.h> and <bp-asm.h>.
31502         (__GI__setjmp): Don't use BP_SYM.
31503         (_setjmp): Likewise.
31504         (__sigsetjmp): Likewise.
31505         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31506         (L(start_addresses)): Don't use BP_SYM.
31507         (_start): Likewise.
31508         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31509         <bp-asm.h>.
31510         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31511         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31512         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31513         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31514         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31515         <bp-asm.h>.
31516         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31517         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31518         about bounded pointers.
31519         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31520         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31521         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31522         <bp-asm.h>.
31523         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31524         about bounded pointers.  Remove GKM FIXME comments.
31525         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31526         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31527         <bp-asm.h>.
31528         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31529         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31530         Remove GKM FIXME comments.
31531         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31532         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31533         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31534         <bp-asm.h>.
31535         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31536         about bounded pointers.  Remove GKM FIXME comment.
31537         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31538         and <bp-asm.h>.
31539         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31540         pointers.
31541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31542         <bp-sym.h> and <bp-asm.h>.
31543         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31545         <bp-sym.h> and <bp-asm.h>.
31546         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31547         comment.
31549 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31551         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31552         call free(NULL).
31554 2013-03-05  David S. Miller  <davem@davemloft.net>
31556         * po/es.po: Update from translation team.
31558 2013-03-05  Andreas Jaeger  <aj@suse.de>
31560         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31561         <bits/mman-linux.h>.
31562         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31563         is fine.
31564         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31565         <bits/mman-linux.h> to end of file.
31566         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31567         is fine.
31568         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31569         <bits/mman-linux.h> to end of file.
31570         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31571         is fine.
31572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31573         <bits/mman-linux.h> to end of file.
31575         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31576         (MCL_CURRENT, MCL_FUTURE): Define here.
31578 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31580         [BZ #15232]
31581         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31582         attribute_hidden.
31583         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31585 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31587         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31588         fourth parameter needed for rt_sigprocmask syscall.
31589         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31590         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31591         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31592         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31593         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31594         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31596 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31598         [BZ #13550]
31599         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31600         comment about bounded pointers.
31601         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31602         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31604 2013-03-04  Andreas Jaeger  <aj@suse.de>
31606         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31607         common definitions.
31609         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31610         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31611         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31612         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31613         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31614         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31616 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31618         [BZ #15055]
31619         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31620         __ieee754_sqrl instead of __sqrl.
31622 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31624         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31625         * sysdeps/powerpc/fpu_control.h: ... here.
31626         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31627         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31628         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31629         * sysdeps/powerpc/bits/mathinline.h: ... here.
31631 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31633         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31634         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31635         to just [NEED_DL_SYSINFO_DSO].
31636         * elf/dl-support.c: Likewise.
31637         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31638         * elf/rtld.c (dl_main): Likewise.
31639         * elf/setup-vdso.h (setup_vdso): Likewise.
31640         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31641         * sysdeps/unix/sysv/linux/dl-sysdep.c
31642         (_dl_discover_osversion): Likewise.
31644 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31646         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31647         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31649 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31651         * NEWS: Mention libm performance improvements and non-x86 PI
31652         futex support.
31654         * csu/libc-start.c (__pthread_initialize_minimal): Change
31655         function arguments.
31656         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31658 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31660         [BZ #13550]
31661         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31662         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31663         <bp-sym.h> and <bp-asm.h>.
31664         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31665         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31666         and <bp-asm.h>.
31667         (memcpy): Don't use BP_SYM.
31668         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31669         <bp-asm.h>.
31670         (__mpn_add_n): Don't use BP_SYM.
31671         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31672         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31673         and <bp-asm.h>.
31674         (__mpn_addmul_1): Don't use BP_SYM.
31675         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31676         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31677         <bp-sym.h>.
31678         (_setjmp): Don't use BP_SYM.
31679         (__novmx_setjmp): Likewise.
31680         (__GI__setjmp): Likewise.
31681         (__vmx_setjmp): Likewise.
31682         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31683         <bp-sym.h>.
31684         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31685         (__bzero): Don't use BP_SYM.
31686         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31687         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31688         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31689         <bp-sym.h> and <bp-asm.h>.
31690         (memcpy): Don't use BP_SYM.
31691         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31692         <bp-sym.h> and <bp-asm.h>.
31693         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31694         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31695         <bp-sym.h> and <bp-asm.h>.
31696         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31697         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31698         <bp-asm.h>.
31699         (__mpn_lshift): Don't use BP_SYM.
31700         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31701         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31702         <bp-asm.h>.
31703         (memset): Don't use BP_SYM.
31704         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31705         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31706         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31707         <bp-asm.h>.
31708         (__mpn_mul_1): Don't use BP_SYM.
31709         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31710         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31711         <bp-sym.h> and <bp-asm.h>.
31712         (memcmp): Don't use BP_SYM.
31713         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31714         <bp-sym.h> and <bp-asm.h>.
31715         (memcpy): Don't use BP_SYM.
31716         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31717         <bp-sym.h> and <bp-asm.h>.
31718         (memset): Don't use BP_SYM.
31719         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31720         <bp-sym.h> and <bp-asm.h>.
31721         (strncmp): Don't use BP_SYM.
31722         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31723         <bp-sym.h> and <bp-asm.h>.
31724         (memcpy): Don't use BP_SYM.
31725         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31726         <bp-sym.h> and <bp-asm.h>.
31727         (memset): Don't use BP_SYM.
31728         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31729         <bp-sym.h> and <bp-asm.h>.
31730         (__memchr): Don't use BP_SYM.
31731         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31732         <bp-sym.h> and <bp-asm.h>.
31733         (memcmp): Don't use BP_SYM.
31734         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31735         <bp-sym.h> and <bp-asm.h>.
31736         (memcpy): Don't use BP_SYM.
31737         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31738         <bp-sym.h> and <bp-asm.h>.
31739         (__mempcpy): Don't use BP_SYM.
31740         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31741         <bp-sym.h> and <bp-asm.h>.
31742         (__memrchr): Don't use BP_SYM.
31743         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31744         <bp-sym.h> and <bp-asm.h>.
31745         (memset): Don't use BP_SYM.
31746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31747         <bp-sym.h> and <bp-asm.h>.
31748         (__rawmemchr): Don't use BP_SYM.
31749         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31750         <bp-sym.h> and <bp-asm.h>.
31751         (__STRCMP): Don't use BP_SYM.
31752         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31753         <bp-sym.h> and <bp-asm.h>.
31754         (strchr): Don't use BP_SYM.
31755         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31756         <bp-sym.h> and <bp-asm.h>.
31757         (__strchrnul): Don't use BP_SYM.
31758         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31759         <bp-sym.h> and <bp-asm.h>.
31760         (strlen): Don't use BP_SYM.
31761         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31762         <bp-sym.h> and <bp-asm.h>.
31763         (strncmp): Don't use BP_SYM.
31764         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31765         <bp-sym.h> and <bp-asm.h>.
31766         (__strnlen): Don't use BP_SYM.
31767         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31768         <bp-asm.h>.
31769         (__mpn_rshift): Don't use BP_SYM.
31770         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31771         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31772         <bp-sym.h> and <bp-asm.h>.
31773         (__sigsetjmp): Don't use BP_SYM.
31774         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31775         (L(start_addresses)): Don't use BP_SYM.
31776         (_start): Likewise.
31777         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31778         <bp-asm.h>.
31779         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31780         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31781         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31782         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31783         <bp-asm.h>.
31784         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31785         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31786         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31787         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31788         <bp-asm.h>.
31789         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31790         comments.
31791         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31792         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31793         <bp-asm.h>.
31794         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31795         FIXME comments.
31796         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31797         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31798         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31799         <bp-asm.h>.
31800         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31801         comment.
31802         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31803         and <bp-asm.h>.
31804         (strncmp): Don't use BP_SYM,
31805         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31806         <bp-asm.h>.
31807         (__mpn_sub_n): Don't use BP_SYM.
31808         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31809         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31810         and <bp-asm.h>.
31811         (__mpn_submul_1): Don't use BP_SYM.
31812         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31814         <bp-sym.h> and <bp-asm.h>.
31815         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31817         <bp-sym.h> and <bp-asm.h>.
31818         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31819         comment.
31821 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31824         Use ZK to minimize writes to Z.
31825         (sub_magnitudes): Simplify code a bit.
31826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31827         Use ZK to minimize writes to Z.
31828         (sub_magnitudes): Simplify code a bit.
31830 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31832         * csu/gmon-start.c: Add special exception to license text.
31834 2013-02-27  Richard Henderson  <rth@redhat.com>
31836         * scripts/config.guess: Update from config.git.
31837         * scripts/config.sub: Likewise.
31839 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31841         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31843         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31845         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31847         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31849         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31851 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31853         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31854         [$(build-shared = yes].
31856 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31858         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31859         (__mul): Reduce iterations for calculating mantissa.
31861         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31862         MPTWO.
31863         (__mpranred): Likewise.
31865         [BZ #15160]
31866         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31867         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31869 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31871         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31872         Define __attribute__.
31874 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31876         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31877         unused.
31878         * posix/regex_internal.h (__attribute): Remove.
31879         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31880         (re_string_context_at): Likewise.
31881         (bitset_not): Use __attribute__ and mark function as possibly
31882         unused.
31883         (bitset_merge): Likewise.
31884         (bitset_mask): Likewise.
31885         (re_string_char_size_at): Likewise.
31886         (re_string_wchar_at): Likewise.
31887         (re_string_elem_size_at): Likewise.
31889 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31891         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31892         code.
31893         (cc32): Likewise.
31895         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31896         (__acr): Likewise.
31897         (__cpy): Likewise.
31898         (norm): Likewise.
31899         (denorm): Likewise.
31900         (__dbl_mp): Likewise.
31901         (add_magnitudes): Likewise.
31902         (sub_magnitudes): Likewise.
31903         (__mul): Likewise.
31904         (__inv): Likewise.
31906         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31907         style.
31909         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31910         style.
31912         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31913         code.
31915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31916         up changes with default code.
31917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31918         Likewise.
31920 2013-02-24  Allan McRae  <allan@archlinux.org>
31922         * manual/socket.texi (The Internet Namespace): Order menu items
31923         to match that in the file.
31925         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31926         node listing of the info page menu.
31928 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31930         [BZ #13550]
31931         * sysdeps/i386/bp-asm.h: Remove file.
31932         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31933         (PARMS): Do not use macros from bp-asm.h.
31934         (S1): Likewise.
31935         (S2): Likewise.
31936         (SIZE): Likewise.
31937         (__mpn_add_n): Do not use BP_SYM
31938         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31939         "bp-asm.h".
31940         (PARMS): Do not use macros from bp-asm.h.
31941         (S1): Likewise.
31942         (SIZE): Likewise.
31943         (__mpn_addmul_1): Do not use BP_SYM
31944         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31945         "bp-asm.h".
31946         (PARMS): Do not use macros from bp-asm.h.
31947         (SIGMSK): Likewise.
31948         (_setjmp): Likewise.  Do not use BP_SYM.
31949         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31950         "bp-asm.h".
31951         (PARMS): Do not use macros from bp-asm.h.
31952         (SIGMSK): Likewise.
31953         (setjmp): Likewise.  Do not use BP_SYM.
31954         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31955         "bp-asm.h".
31956         (PARMS): Do not use macros from bp-asm.h.
31957         (__frexp): Do not use BP_SYM.
31958         (frexp): Likewise.
31959         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31960         "bp-asm.h".
31961         (PARMS): Do not use macros from bp-asm.h.
31962         (__frexpf): Do not use BP_SYM.
31963         (frexpf): Likewise.
31964         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31965         "bp-asm.h".
31966         (PARMS): Do not use macros from bp-asm.h.
31967         (__frexpl): Do not use BP_SYM.
31968         (frexpl): Likewise.
31969         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31970         "bp-asm.h".
31971         (PARMS): Do not use macros from bp-asm.h.
31972         (__remquo): Do not use BP_SYM.
31973         (remquo): Likewise.
31974         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31975         "bp-asm.h".
31976         (PARMS): Do not use macros from bp-asm.h.
31977         (__remquof): Do not use BP_SYM.
31978         (remquof): Likewise.
31979         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31980         "bp-asm.h".
31981         (PARMS): Do not use macros from bp-asm.h.
31982         (__remquol): Do not use BP_SYM.
31983         (remquol): Likewise.
31984         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31985         "bp-asm.h".
31986         (PARMS): Do not use macros from bp-asm.h.
31987         (DEST): Likewise.
31988         (SRC): Likewise.
31989         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31990         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31991         "bp-asm.h".
31992         (PARMS): Do not use macros from bp-asm.h.
31993         (strlen): Do not use BP_SYM.
31994         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31995         "bp-asm.h".
31996         (PARMS): Do not use macros from bp-asm.h.
31997         (S1): Likewise.
31998         (S2): Likewise.
31999         (SIZE): Likewise.
32000         (__mpn_add_n): Do not use BP_SYM.
32001         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32002         "bp-asm.h".
32003         (PARMS): Do not use macros from bp-asm.h.
32004         (S1): Likewise.
32005         (SIZE): Likewise.
32006         (__mpn_addmul_1): Do not use BP_SYM.
32007         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32008         weak_alias.
32009         (bzero): Likewise.
32010         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32011         "bp-asm.h".
32012         (PARMS): Do not use macros from bp-asm.h.
32013         (S): Likewise.
32014         (SIZE): Likewise.
32015         (__mpn_lshift): Do not use BP_SYM.
32016         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32017         "bp-asm.h".
32018         (PARMS): Do not use macros from bp-asm.h.
32019         (DEST): Likewise.
32020         (SRC): Likewise.
32021         (LEN): Likewise.
32022         (memcpy): Likewise.  Do not use BP_SYM.
32023         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32024         libc_hidden_def and weak_alias.
32025         (mempcpy): Do not use BP_SYM in weak_alias.
32026         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32027         "bp-asm.h".
32028         (PARMS): Do not use macros from bp-asm.h.
32029         (DEST): Likewise.
32030         (LEN): Likewise.
32031         [!BZERO_P] (CHR): Likewise.
32032         (memset): Likewise.  Do not use BP_SYM.
32033         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32034         "bp-asm.h".
32035         (PARMS): Do not use macros from bp-asm.h.
32036         (S1): Likewise.
32037         (SIZE): Likewise.
32038         (__mpn_mul_1): Do not use BP_SYM.
32039         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32040         "bp-asm.h".
32041         (PARMS): Do not use macros from bp-asm.h.
32042         (S): Likewise.
32043         (SIZE): Likewise.
32044         (__mpn_rshift): Do not use BP_SYM.
32045         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32046         "bp-asm.h".
32047         (PARMS): Do not use macros from bp-asm.h.
32048         (STR): Likewise.
32049         (CHR): Likewise.
32050         (strchr): Likewise.  Do not use BP_SYM.
32051         (index): Do not use BP_SYM in weak_alias.
32052         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32053         "bp-asm.h".
32054         (PARMS): Do not use macros from bp-asm.h.
32055         (DEST): Likewise.
32056         (SRC): Likewise.
32057         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32058         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32059         "bp-asm.h".
32060         (PARMS): Do not use macros from bp-asm.h.
32061         (strlen): Do not use BP_SYM.
32062         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32063         "bp-asm.h".
32064         (PARMS): Do not use macros from bp-asm.h.
32065         (S1): Likewise.
32066         (S2): Likewise.
32067         (SIZE): Likewise.
32068         (__mpn_sub_n): Do not use BP_SYM.
32069         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32070         "bp-asm.h".
32071         (PARMS): Do not use macros from bp-asm.h.
32072         (S1): Likewise.
32073         (SIZE): Likewise.
32074         (__mpn_submul_1): Do not use BP_SYM.
32075         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32076         "bp-asm.h".
32077         (PARMS): Do not use macros from bp-asm.h.
32078         (S1): Likewise.
32079         (S2): Likewise.
32080         (SIZE): Likewise.
32081         (__mpn_add_n): Do not use BP_SYM.
32082         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32083         weak_alias.
32084         (bzero): Likewise.
32085         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32086         "bp-asm.h".
32087         (PARMS): Do not use macros from bp-asm.h.
32088         (BLK2): Likewise.
32089         (LEN): Likewise.
32090         (memcmp): Do not use BP_SYM.
32091         (bcmp): Do not use BP_SYM in weak_alias.
32092         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32093         "bp-asm.h".
32094         (PARMS): Do not use macros from bp-asm.h.
32095         (DEST): Likewise.
32096         (SRC): Likewise.
32097         (LEN): Likewise.
32098         (memcpy): Likewise.  Do not use BP_SYM.
32099         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32100         "bp-asm.h".
32101         (PARMS): Do not use macros from bp-asm.h.
32102         (DEST): Likewise.
32103         (SRC): Likewise.
32104         (LEN): Likewise.
32105         (memmove): Likewise.  Do not use BP_SYM.
32106         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32107         "bp-asm.h".
32108         (PARMS): Do not use macros from bp-asm.h.
32109         (DEST): Likewise.
32110         (SRC): Likewise.
32111         (LEN): Likewise.
32112         (__mempcpy): Likewise.  Do not use BP_SYM.
32113         (mempcpy): Do not use BP_SYM in weak_alias.
32114         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32115         "bp-asm.h".
32116         (PARMS): Do not use macros from bp-asm.h.
32117         (DEST): Likewise.
32118         (LEN): Likewise.
32119         [!BZERO_P] (CHR): Likewise.
32120         (memset): Likewise.  Do not use BP_SYM.
32121         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32122         "bp-asm.h".
32123         (PARMS): Do not use macros from bp-asm.h.
32124         (STR2): Likewise.
32125         (strcmp): Do not use BP_SYM.
32126         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32127         "bp-asm.h".
32128         (PARMS): Do not use macros from bp-asm.h.
32129         (STR): Likewise.
32130         (DELIM): Likewise.
32131         [USE_AS_STRTOK_R] (SAVE): Likewise.
32132         (FUNCTION): Likewise.  Do not use BP_SYM.
32133         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32134         aliases.
32135         (strtok_r): Likewise.
32136         (__GI___strtok_r): Likewise.
32137         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32138         (PARMS): Do not use macros from bp-asm.h.
32139         (S): Likewise.
32140         (SIZE): Likewise.
32141         (__mpn_lshift): Do not use BP_SYM.
32142         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32143         (PARMS): Do not use macros from bp-asm.h.
32144         (STR): Likewise.
32145         (CHR): Likewise.
32146         (__memchr): Do not use BP_SYM.
32147         (memchr): Do not use BP_SYM in weak_alias.
32148         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32149         (PARMS): Do not use macros from bp-asm.h.
32150         (BLK2): Likewise.
32151         (LEN): Likewise.
32152         (memcmp): Do not use BP_SYM.
32153         (bcmp): Do not use BP_SYM in weak_alias.
32154         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32155         (PARMS): Do not use macros from bp-asm.h.
32156         (S1): Likewise.
32157         (SIZE): Likewise.
32158         (__mpn_mul_1): Do not use BP_SYM.
32159         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32160         "bp-asm.h".
32161         (PARMS): Do not use macros from bp-asm.h.
32162         (STR): Likewise.
32163         (CHR): Likewise.
32164         (__rawmemchr): Do not use BP_SYM.
32165         (rawmemchr): Do not use BP_SYM in weak_alias.
32166         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32167         (PARMS): Do not use macros from bp-asm.h.
32168         (S): Likewise.
32169         (SIZE): Likewise.
32170         (__mpn_rshift): Do not use BP_SYM.
32171         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32172         (PARMS): Do not use macros from bp-asm.h.
32173         (SIGMSK): Likewise.
32174         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32175         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32176         (_start): Do not use BP_SYM.
32177         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32178         (PARMS): Do not use macros from bp-asm.h.
32179         (DEST): Likewise.
32180         (SRC): Likewise.
32181         (__stpcpy): Likewise.  Do not use BP_SYM.
32182         (stpcpy): Do not use BP_SYM in weak_alias.
32183         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32184         "bp-asm.h".
32185         (PARMS): Do not use macros from bp-asm.h.
32186         (DEST): Likewise.
32187         (SRC): Likewise.
32188         (LEN): Likewise.
32189         (__stpncpy): Likewise.  Do not use BP_SYM.
32190         (stpncpy): Do not use BP_SYM in weak_alias.
32191         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32192         (PARMS): Do not use macros from bp-asm.h.
32193         (STR): Likewise.
32194         (CHR): Likewise.
32195         (strchr): Likewise.  Do not use BP_SYM.
32196         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32197         "bp-asm.h".
32198         (PARMS): Do not use macros from bp-asm.h.
32199         (STR): Likewise.
32200         (CHR): Likewise.
32201         (__strchrnul): Likewise.  Do not use BP_SYM.
32202         (strchrnul): Do not use BP_SYM in weak_alias.
32203         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32204         "bp-asm.h".
32205         (PARMS): Do not use macros from bp-asm.h.
32206         (STOP): Likewise.
32207         (strcspn): Do not use BP_SYM.
32208         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32209         "bp-asm.h".
32210         (PARMS): Do not use macros from bp-asm.h.
32211         (STR): Likewise.
32212         (STOP): Likewise.
32213         (strpbrk): Likewise.  Do not use BP_SYM.
32214         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32215         "bp-asm.h".
32216         (PARMS): Do not use macros from bp-asm.h.
32217         (STR): Likewise.
32218         (CHR): Likewise.
32219         (strrchr): Likewise.  Do not use BP_SYM.
32220         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32221         (PARMS): Do not use macros from bp-asm.h.
32222         (SKIP): Likewise.
32223         (strspn): Do not use BP_SYM.
32224         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32225         (PARMS): Do not use macros from bp-asm.h.
32226         (STR): Likewise.
32227         (DELIM): Likewise.
32228         (SAVE): Likewise.
32229         (FUNCTION): Likewise.  Do not use BP_SYM.
32230         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32231         aliases.
32232         (strtok_r): Likewise.
32233         (__GI___strtok_r): Likewise.
32234         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32235         (PARMS): Do not use macros from bp-asm.h.
32236         (S1): Likewise.
32237         (S2): Likewise.
32238         (SIZE): Likewise.
32239         (__mpn_sub_n): Do not use BP_SYM.
32240         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32241         "bp-asm.h".
32242         (PARMS): Do not use macros from bp-asm.h.
32243         (S1): Likewise.
32244         (SIZE): Likewise.
32245         (__mpn_submul_1): Do not use BP_SYM.
32246         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32247         <bp-sym.h>.
32248         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32249         and <bp-asm.h>.
32250         (PARMS): Do not use macros from bp-asm.h.
32251         (FLAGS): Likewise.
32252         (PTID): Likewise.
32253         (TLS): Likewise.
32254         (CTID): Likewise.
32255         (__clone): Do not use BP_SYM.
32256         (clone): Do not use BP_SYM in weak_alias.
32257         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32258         and <bp-asm.h>.
32259         (PARMS): Do not use macros from bp-asm.h.
32260         (LEN): Likewise.
32261         (__mmap64): Do not use BP_SYM.
32262         (mmap64): Do not use BP_SYM in weak_alias.
32263         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32264         <bp-sym.h> and <bp-asm.h>.
32265         (PARMS): Do not use macros from bp-asm.h.
32266         (__posix_fadvise64_l64): Do not use BP_SYM.
32267         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32268         (PARMS): Do not use macros from bp-asm.h.
32269         (NSOPS): Likewise.
32270         (semtimedop): Do not use BP_SYM.
32271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32272         and <bp-asm.h>.
32274 2013-02-21  Allan McRae  <allan@archlinux.org>
32276         * manual/message.texi (Charset conversion in gettext):
32277         Move @end statement to beginning of line.
32279 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32282         static.
32283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32284         Likewise.
32286         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32287         (denorm): Likewise.
32288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32289         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32291 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32293         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32294         tail-call to the resolved function if pltexit isn't needed.
32296 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32299         or Y being zero as being unlikely.
32300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32301         Likewise.
32303 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32305         * manual/nss.texi (System Databases and Name Service Switch):
32306         Remove frobnicate @pxref.
32308 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32310         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32311         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32313 2013-02-20  Petr Machata  <pmachata@redhat.com>
32315         * elf/elf.h (R_ARM_TARGET1): New macro.
32316         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32317         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32318         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32319         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32320         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32321         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32322         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32323         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32324         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32325         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32326         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32327         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32328         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32329         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32330         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32331         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32332         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32333         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32334         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32335         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32336         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32337         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32338         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32339         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32340         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32341         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32342         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32343         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32344         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32345         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32346         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32347         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32348         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32349         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32350         (R_ARM_THM_GOT_BREL12): Likewise.
32351         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32352         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32353         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32354         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32355         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32356         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32357         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32358         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32359         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32361 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32363         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32364         __attribute_used__ to __attribute__ ((unused)).
32366 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32368         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32369         powerpc mpa.c.
32370         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32371         comment formatting.
32372         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32374 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32376         [BZ #13550]
32377         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32378         Remove macro.
32379         (ENTER): Remove both macro definitions.
32380         (LEAVE): Likewise.
32381         (CHECK_BOUNDS_LOW): Likewise.
32382         (CHECK_BOUNDS_HIGH): Likewise.
32383         (CHECK_BOUNDS_BOTH): Likewise.
32384         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32385         (RETURN_BOUNDED_POINTER): Likewise.
32386         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32387         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32388         (POP_ERRNO_LOCATION_RETURN): Likewise.
32389         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32390         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32391         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32392         macros.
32393         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32394         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32395         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32396         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32397         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32398         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32399         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32400         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32401         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32402         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32403         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32404         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32405         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32406         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32407         removed macros.
32408         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32409         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32410         macros.
32411         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32412         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32413         * sysdeps/i386/i586/memset.S (memset): Likewise.
32414         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32415         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32416         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32417         macros.
32418         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32419         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32420         Change uses of L(2) to L(out).
32421         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32422         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32423         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32424         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32425         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32426         removed macros.
32427         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32428         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32429         macros.
32430         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32431         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32432         (RETURN): Do not use macro LEAVE.
32433         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32434         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32435         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32436         * sysdeps/i386/i686/memset.S (memset): Likewise.
32437         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32438         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32439         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32440         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32441         Likewise.
32442         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32443         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32444         L(1_2) and L(1_3) into L(1).
32445         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32446         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32447         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32448         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32449         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32450         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32451         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32452         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32453         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32454         macros.
32455         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32456         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32457         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32458         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32459         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32460         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32461         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32462         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32463         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32464         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32465         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32466         * sysdeps/i386/strspn.S (strspn): Likewise.
32467         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32468         conditional code.
32469         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32470         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32471         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32472         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32473         L(1_3) into L(1_1).
32474         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32475         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32476         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32477         macros.
32478         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32480 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32482         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32483         macro.
32485 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32487         * math/atest-exp.c (exp_mpn): Remove ROUND.
32488         * math/atest-exp2.c (exp_mpn): Likewise.
32489         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32491         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32492         * stdlib/tst-tls-atexit-lib.c: Likewise.
32493         * stdlib/tst-tls-atexit.c: Likewise.
32495 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32497         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32498         and __attribute_alloc_size__.
32500 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32502         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32503         __attribute_alloc_size__.
32504         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32505         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32507 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32509         * include/programs/xmalloc.h: New file.
32510         * catgets/gencat.c: Include it.
32511         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32512         * elf/pldd.c: Likewise.
32513         * iconv/iconv_charmap.c: Likewise.
32514         * iconv/iconvconfig.c: Likewise.
32515         * iconv/strtab.c: Likewise.
32516         * locale/programs/locale.c: Likewise.
32517         * locale/programs/localedef.h: Likewise.
32518         * locale/programs/simple-hash.c: Likewise.
32519         * nscd/nscd.h: Likewise.
32520         * nss/makedb.c: Likewise.
32521         * sysdeps/generic/ldconfig.h: Likewise.
32523 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32525         * Versions.def: Add GLIBC_2.18.
32526         * include/link.h (struct link_map): New member l_tls_dtor_count.
32527         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32528         (__call_tls_dtors): Likewise.
32529         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32530         __cxa_thread_atexit_impl.
32531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32532         Likewise.
32533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32534         Likewise.
32535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32536         Likewise.
32537         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32538         Likewise.
32539         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32541         Likewise.
32542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32543         Likewise.
32544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32546         Likewise.
32547         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32548         (tests): Add test case tst-tls-atexit.
32549         (modules-names): Add shared library for tst-tls-atexit.
32550         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32551         (GLIBC_PRIVATE): Add __call_tls_dtors.
32552         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32553         for libstdc++.
32554         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32555         * stdlib/tst-tls-atexit.c: New test case.
32556         * stdlib/tst-tls-atexit-lib.c: New test case.
32558         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32560         * elf/Versions (ld): Add _dl_find_dso_for_object.
32561         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32562         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32563         (dl_open_worker): Use _dl_find_dso_for_object.
32564         * elf/dl-sym.c (do_sym): Likewise.
32565         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32567 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32569         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32570         Syntactic changes only.
32571         (_dl_runtime_profile): Do a tail-call to the resolved function.
32573 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32575         [BZ #13550]
32576         * sysdeps/x86_64/bp-asm.h: Remove file.
32577         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32578         <bp-sym.h> and <bp-asm.h>.
32579         (__clone): Do not use BP_SYM.
32580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32581         <bp-sym.h> and <bp-asm.h>.
32582         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32583         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32584         "bp-asm.h".
32585         (_setjmp): Do not use BP_SYM.
32586         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32587         "bp-asm.h".
32588         (setjmp): Do not use BP_SYM.
32589         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32590         libc_hidden_def.
32591         (mempcpy): Do not use BP_SYM in weak_alias.
32592         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32593         "bp-asm.h".
32594         (strchr): Do not use BP_SYM.
32595         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32596         "bp-asm.h".
32597         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32598         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32599         (_start): Do not use BP_SYM.
32600         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32601         "bp-asm.h".
32602         (strcat): Do not use BP_SYM.
32603         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32604         "bp-asm.h".
32605         (STRCMP): Do not use BP_SYM.
32606         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32607         "bp-asm.h".
32608         (STRCPY): Do not use BP_SYM.
32609         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32610         "bp-asm.h".
32611         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32612         "bp-asm.h".
32613         (FUNCTION): Do not use BP_SYM.
32614         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32615         weak_alias.
32616         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32618 2013-02-17  Andreas Jaeger  <aj@suse.de>
32620         * time/Versions: Sort entries.
32621         * string/Versions: Likewise.
32622         * resolv/Versions: Likewise.
32623         * posix/Versions: Likewise.
32624         * iconv/Versions: Likewise.
32625         * elf/Versions: Likewise.
32626         * wcsmbs/Versions: Likewise.
32628 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32630         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32631         loop termination condition.
32633         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32634         variable to calculate EZ.
32635         (__sqr): Likewise.
32637         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32638         the lower precision input.
32640 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32642         [BZ #13550]
32643         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32644         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32645         (run-via-rtld-prefix): Do not handle %-bp tests.
32646         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32647         (all-object-suffixes): Remove .ob.
32648         (bppfx): Remove variable.
32649         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32650         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32651         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32652         [$(build-bounded) = yes] (libtype.ob): Likewise.
32653         * Makerules (elide-routines.ob): Remove variable.
32654         (do-tests-clean): Do not handle *-bp.out.
32655         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32656         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32657         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32658         (tests): Do not include $(tests-bp.out).
32659         (xtests): Do not include $(xtests-bp.out).
32660         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32661         [$(build-bounded) = yes] ($(addprefix
32662         $(objpfx),$(binaries-bounded))): Remove rule.
32663         ($(objpfx)%-bp.out): Remove rule.
32664         * config.make.in (build-bounded): Remove variable.
32665         * crypt/Makefile [$(build-bounded) = yes]
32666         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32667         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32668         append to variable.
32669         [$(build-bounded) = yes] (install-lib): Likewise.
32670         [$(build-bounded) = yes] (generated): Likewise.
32671         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32672         Remove rule.
32673         * intl/Makefile [$(build-bounded) = yes]
32674         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32675         * math/Makefile [$(build-bounded) = yes]
32676         ($(tests:%=$(objpfx)%-bp): Likewise.
32677         * misc/Makefile [$(build-bounded) = yes]
32678         ($(objpfx)tst-tsearch-bp): Likewise.
32679         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32680         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32681         Remove dependency.
32682         * string/Makefile (o-objects.ob): Remove variable.
32683         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32684         (CFLAGS-.ob): Remove variable.
32685         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32686         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32687         both definitions of variable.
32688         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32689         (ASFLAGS-.ob): Remove variable.
32691 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32693         [BZ #13550]
32694         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32695         Remove __BOUNDED_POINTERS__ from condition.
32696         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32697         * string/bits/string2.h [!__NO_STRING_INLINES &&
32698         !__BOUNDED_POINTERS__]: Likewise.
32699         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32700         Likewise.
32701         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32702         Remove conditional code.
32703         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32704         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32705         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32706         condition.
32708         [BZ #13550]
32709         * csu/libc-start.c: Do not include <bp-sym.h>.
32710         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32711         * elf/dl-open.c: Do not include <bp-sym.h>.
32712         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32713         * math/fegetenv.c: Do not include <bp-sym.h>.
32714         (fegetenv): Do not use BP_SYM in versioned symbols.
32715         * nptl/sysdeps/pthread/bits/libc-lockP.h
32716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32717         <bp-sym.h>.
32718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32719         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32720         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32721         (__pthread_mutex_destroy): Likewise.
32722         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32723         (__pthread_mutex_lock): Likewise.
32724         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32725         (__pthread_mutex_trylock): Likewise.
32726         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32727         (__pthread_mutex_unlock): Likewise.
32728         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32729         (__pthread_mutexattr_init): Likewise.
32730         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32731         (__pthread_mutexattr_destroy): Likewise.
32732         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32733         (__pthread_mutexattr_settype): Likewise.
32734         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32735         (__pthread_rwlock_init): Likewise.
32736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32737         (__pthread_rwlock_destroy): Likewise.
32738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32739         (__pthread_rwlock_rdlock): Likewise.
32740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32741         (__pthread_rwlock_tryrdlock): Likewise.
32742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32743         (__pthread_rwlock_wrlock): Likewise.
32744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32745         (__pthread_rwlock_trywrlock): Likewise.
32746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32747         (__pthread_rwlock_unlock): Likewise.
32748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32749         (__pthread_key_create): Likewise.
32750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32751         (__pthread_setspecific): Likewise.
32752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32753         (__pthread_getspecific): Likewise.
32754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32755         Likewise.
32756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32757         (_pthread_cleanup_push_defer): Likewise.
32758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32759         (_pthread_cleanup_pop_restore): Likewise.
32760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32761         (pthread_setcancelstate): Likewise.
32762         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32763         <bp-sym.h>.
32764         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32765         (memchr): Do not use BP_SYM in weak_alias.
32766         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32767         (fegetenv): Do not use BP_SYM in versioned symbols.
32768         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32769         (fesetenv): Do not use BP_SYM in versioned symbols.
32770         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32771         (feupdateenv): Do not use BP_SYM in versioned symbols.
32772         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32773         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32774         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32775         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32776         (open64): Do not use BP_SYM in weak_alias.
32777         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32778         (fegetenv): Do not use BP_SYM in versioned symbols.
32779         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32780         (fesetenv): Do not use BP_SYM in versioned symbols.
32781         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32782         (feupdateenv): Do not use BP_SYM in versioned symbols.
32783         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32784         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32785         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32786         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32787         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32788         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32789         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32790         <bp-sym.h>.
32791         (__libc_start_main): Do not use BP_SYM.
32793 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32796         redundant return line.
32797         (norm): Likewise.
32798         (denorm): Likewise.
32799         (dbl_mp): Likewise.
32800         (sub_magnitudes): Likewise.
32801         (__add): Likewise.
32802         (__sub): Likewise.
32803         (__mul): Likewise.
32804         (__inv): Likewise.
32805         (__dvd): Likewise.
32806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32807         (norm): Likewise.
32808         (denorm): Likewise.
32809         (dbl_mp): Likewise.
32810         (sub_magnitudes): Likewise.
32811         (__add): Likewise.
32812         (__sub): Likewise.
32813         (__mul): Likewise.
32814         (__inv): Likewise.
32815         (__dvd): Likewise.
32817         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32818         instead of __mul.
32819         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32820         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32821         (cc32): Likewise.
32823         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32824         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32826         of __mul for squares.
32827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32828         function
32829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32830         Likewise.
32831         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32832         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32834 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32836         [BZ #13550]
32837         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32838         code.
32839         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32840         prototype or function definition.  Rename ubp_* variables and
32841         parameters.  Remove argv definitions conditional on
32842         [__BOUNDED_POINTERS__].
32843         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32844         * elf/dl-runtime.c (_dl_fixup): Likewise.
32845         * include/set-hooks.h (RUN_HOOK): Likewise.
32846         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32847         definition.
32848         * string/strcpy.c (strcpy): Do not use __unbounded.
32849         * sysdeps/generic/frame.h (struct layout): Likewise.
32850         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32851         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32852         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32853         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32854         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32855         (__backtrace): Likewise.
32856         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32857         use __ptrvalue.
32858         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32859         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32860         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32861         Likewise.
32862         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32863         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32864         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32865         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32866         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32867         Do not use __unbounded.
32868         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32869         Rename __unboundedrlimits parameter to rlimits in prototype.
32870         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32871         Do not use __unbounded.
32872         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32873         not use __ptrvalue.
32874         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32875         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32876         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32877         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32878         __ptrvalue or __unbounded.
32879         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32880         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32881         use __unbounded.
32882         (__new_msgctl): Do not use __ptrvalue.
32883         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32884         __unbounded.
32885         (__libc_msgrcv): Do not use __ptrvalue.
32886         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32887         startup_info): Do not use __unbounded.
32888         (__libc_start_main): Likewise.  Rename ubp_* variables and
32889         parameters.  Remove argv definitions conditional on
32890         [__BOUNDED_POINTERS__].
32891         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32892         __ptrvalue.
32893         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32894         use __unbounded.
32895         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32896         or __ptrvalue.
32897         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32898         use __unbounded.
32899         (__new_shmctl): Do not use __ptrvalue.
32900         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32901         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32902         Likewise.
32903         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32905         (__libc_sigaction): Likewise.
32906         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32907         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32908         Likewise.
32909         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32911 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32913         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32915         * string/mempcpy.c: Implement by calling memcpy.
32917 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32919         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32922         evaluation.
32924         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32925         values in the mantissa.
32927         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32928         minimize writes to Z.
32929         (sub_magnitudes): Simplify code a bit.
32931 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32933         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32934         from the message.  The linker prefixes all warnings with that already.
32936 2013-02-12  Andreas Schwab  <schwab@suse.de>
32938         [BZ #15078]
32939         * posix/regexec.c (extend_buffers): Add parameter min_len.
32940         (check_matching): Pass minimum needed length.
32941         (clean_state_log_if_needed): Likewise.
32942         (get_subexp): Likewise.
32943         * posix/Makefile (tests): Add bug-regex34.
32944         (bug-regex34-ENV): Define.
32945         * posix/bug-regex34.c: New file.
32947         [BZ #11561]
32948         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32949         elements compare against the byte sequence of it, not its name.
32950         * posix/Makefile (tests): Add bug-regex35.
32951         (bug-regex35-ENV): Define.
32952         * posix/bug-regex35.c: New file.
32954 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32956         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32957         comment.
32958         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32959         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32960         (CHECK_EOL): Add undef.
32962 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32964         * bits/stdlib-bsearch.h: New file.
32965         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32966         * stdlib/stdlib.h: Likewise.
32968 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32970         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32971         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32972         declaration.
32973         * manual/search.texi (Array Search Function): Add missing const in
32974         lfind prototype.
32975         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32976         declaration to use rlim_t.
32977         (Basic Scheduling Functions): Remove erroneous const from
32978         sched_getparam prototype.  Remove erroneous * from
32979         sched_get_priority_max and sched_get_priority_min prototypes.
32980         (Resource Usage): Fix summary @comment on vtimes to refer to
32981         sys/vtimes.h rather than vtimes.h.
32982         Add missing *s in vtimes prototype.
32983         (Limits on Resources): Fix ulimit prototype to return long int.
32984         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32985         prototypes to use long int rather than double.
32986         (BSD Random): Fix initstate and setstate to use char *, not void *.
32987         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32988         prototype to make second argument 'struct aiocb64 *const[]'.
32989         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32990         (Status of AIO Operations): Remove erroneous const in aio_return and
32991         aio_return64 prototypes.
32992         (Synchronizing I/O): Fix sync prototype to return void.
32993         * manual/startup.texi (Suboptions): Remove an erroneous const in
32994         getsubopt prototype.
32995         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32996         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32997         use size_t rather than int.
32998         (Scanning All Users): Likewise for getpwent_r.
32999         (Setting Groups): Add missing const to setgroups prototype.
33000         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33001         * manual/socket.texi (Host Names): Fix gethostbyaddr and
33002         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33003         'const void *' rather than 'const char *'.
33004         (Host Address Functions): Likewise for inet_ntop.
33005         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33006         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33007         ssize_t for return value.
33008         (Sending Data): Likewise for send, sendto, sendmsg.
33009         (Socket Option Functions): Add a missing const in setsockopt prototype.
33010         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33011         use wchar_t for the argument.
33012         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33013         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33014         take no arguments.
33015         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33016         double/float/long double for second argument.
33017         Fix return types of significand, significandf, significandl.
33018         * manual/filesys.texi (Setting Permissions): Use mode_t for second
33019         argument in fchmod prototype.
33020         (File Owner): Use uid_t and gid_t in fchown prototype.
33021         (File Times): Add const to utimes, futimes, and lutimes prototypes.
33022         (Making Special Files): Use mode_t and dev_t in mknod prototype.
33023         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33024         use 'const struct dirent **' as argument types to CMP function pointer
33025         argument.
33026         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33027         (File Times): Fix summary magic @comment for struct utimbuf and utime
33028         to refer to utime.h, not time.h.
33029         * manual/string.texi (Argz Functions): Add missing const in
33030         argz_extract and argz_next prototypes.
33031         (Finding Tokens in a String): Likewise for basename.
33032         (String/Array Comparison): Fix typo in wcscasecmp prototype.
33033         (Copying and Concatenation): Fix typo in wmemmove prototype.
33034         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33035         (Signal Stack): Remove erroneous const in sigstack prototype.
33036         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33037         prototype.
33038         (Simple Calendar Time): Likewise for stime.
33039         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33040         prototype.
33041         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33042         say sys/sysctl.h instead.
33043         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33044         and vsyslog prototypes.
33046 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33048         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33049         Remove.
33051 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33053         * misc/sys/mman.h: Fix typo in mremap comment.
33055 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33057         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33058         the '\0' terminator.
33060 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33062         [BZ #13550]
33063         * debug/segfault.c: Don't include <bp-checks.h>.
33064         * sysdeps/generic/bp-checks.h: Remove file.
33065         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33066         (__GETDENTS): Don't use CHECK_N.
33067         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33068         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33069         (__getgroups): Don't use CHECK_N.
33070         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33071         (setgroups): Don't use CHECK_N.
33072         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33073         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33074         (__libc_msgrcv): Don't use CHECK_N.
33075         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33076         (__libc_msgsnd): Don't use CHECK_N.
33077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33078         <bp-checks.h>.
33079         (__libc_pread): Don't use CHECK_N.
33080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33081         include <bp-checks.h>.
33082         (__libc_pread64): Don't use CHECK_N.
33083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33084         include <bp-checks.h>.
33085         (__libc_pwrite): Don't use CHECK_N.
33086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33087         include <bp-checks.h>.
33088         (__libc_pwrite64): Don't use CHECK_N.
33089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33090         <bp-checks.h>.
33091         (__libc_pread): Don't use CHECK_N.
33092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33093         include <bp-checks.h>.
33094         (__libc_pread64): Don't use CHECK_N.
33095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33096         include <bp-checks.h>.
33097         (__libc_pwrite): Don't use CHECK_N.
33098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33099         include <bp-checks.h>.
33100         (__libc_pwrite64): Don't use CHECK_N.
33101         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33102         (do_pread): Don't use CHECK_N.
33103         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33104         (do_pread64): Don't use CHECK_N.
33105         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33106         (do_pwrite): Don't use CHECK_N.
33107         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33108         (do_pwrite64): Don't use CHECK_N.
33109         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33110         (__libc_readv): Don't use CHECK_N.
33111         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33112         (semop): Don't use CHECK_N.
33113         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33114         <bp-checks.h>.
33115         (semtimedop): Don't use CHECK_N.
33116         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33117         (__libc_pread): Don't use CHECK_N.
33118         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33119         <bp-checks.h>.
33120         (__libc_pread64): Don't use CHECK_N.
33121         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33122         <bp-checks.h>.
33123         (__libc_pwrite): Don't use CHECK_N.
33124         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33125         <bp-checks.h>.
33126         (__libc_pwrite64): Don't use CHECK_N.
33127         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33128         <bp-checks.h>.
33129         (__libc_msgrcv): Don't use CHECK_N.
33130         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33131         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33132         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33133         (__libc_writev): Don't use CHECK_N.
33135 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33137         * string/strcpy.c: Removed unused variable.
33139         * Makeconfig (+sysdep-includes): Define with := rather than =.
33140         Use an existing include/ subdir of each sysdeps dir before it.
33142 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33144         * nscd/connection.c (register_traced_file): Comment function.
33145         [HAVE_INOTIFY] (union __inev): Define.
33146         [HAVE_INOTIFY] (inotify_check_files): New function.
33147         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33148         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33149         clear_db_cache.
33150         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33152 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33154         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33155         loaded if not already and that a failure is permanent.
33157 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33159         [BZ #15006]
33160         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33161         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33163 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33165         [BZ #13550]
33166         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33167         (CHECK_1_NULL_OK): Likewise.
33168         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33169         (__fxstat): Do not use CHECK_1.
33170         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33171         <bp-checks.h>.
33172         (___fxstat64): Do not use CHECK_1.
33173         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33174         <bp-checks.h>.
33175         (__fxstatat): Do not use CHECK_1.
33176         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33177         <bp-checks.h>.
33178         (__fxstatat64): Do not use CHECK_1.
33179         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33180         <bp-checks.h>.
33181         (__fxstat): Do not use CHECK_1.
33182         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33183         <bp-checks.h>.
33184         (__fxstatat): Do not use CHECK_1.
33185         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33186         <bp-checks.h>.
33187         (__getresgid): Do not use CHECK_1.
33188         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33189         <bp-checks.h>.
33190         (__getresuid): Do not use CHECK_1.
33191         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33192         <bp-checks.h>.
33193         (__lxstat): Do not use CHECK_1.
33194         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33195         <bp-checks.h>.
33196         (__old_msgctl): Do not use CHECK_1.
33197         (__new_msgctl): Likewise.
33198         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33199         <bp-checks.h>.
33200         (__new_setrlimit): Do not use CHECK_1.
33201         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33202         <bp-checks.h>.
33203         (__old_shmctl): Do not use CHECK_1.
33204         (__new_shmctl): Likewise.
33205         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33206         <bp-checks.h>.
33207         (__xstat): Do not use CHECK_1.
33208         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33209         (__lxstat): Do not use CHECK_1.
33210         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33211         <bp-checks.h>.
33212         (___lxstat64): Do not use CHECK_1.
33213         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33214         (__old_msgctl): Do not use CHECK_1.
33215         (__new_msgctl): Likewise.
33216         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33217         <bp-checks.h>.
33218         (__gettimeofday): Do not use CHECK_1.
33219         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33220         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33221         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33222         <bp-checks.h>.
33223         (__gettimeofday): Do not use CHECK_1.
33224         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33225         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33226         (__new_shmctl): Do not use CHECK_1.
33227         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33228         <bp-checks.h>.
33229         (do_sigtimedwait): Do not use CHECK_1.
33230         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33231         <bp-checks.h>.
33232         (do_sigwaitinfo): Do not use CHECK_1.
33233         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33234         <bp-checks.h>.
33235         (msgctl): Do not use CHECK_1.
33236         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33237         <bp-checks.h>.
33238         (shmctl): Do not use CHECK_1.
33239         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33240         (ustat): Do not use CHECK_1.
33241         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33242         <bp-checks.h>.
33243         (__fxstat): Do not use CHECK_1.
33244         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33245         <bp-checks.h>.
33246         (__fxstatat): Do not use CHECK_1.
33247         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33248         <bp-checks.h>.
33249         (__lxstat): Do not use CHECK_1.
33250         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33251         <bp-checks.h>.
33252         (__xstat): Do not use CHECK_1.
33253         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33254         (__xstat): Do not use CHECK_1.
33255         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33256         (___xstat64): Do not use CHECK_1.
33258         [BZ #13550]
33259         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33260         definitions.
33261         (CHECK_BOUNDS_HIGH): Likewise.
33262         * string/strcpy.c: Do not include <bp-checks.h>.
33263         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33265 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33267         * nscd/nscd-client.h (__nscd_drop_map_ref):
33268         Add __attribute__ ((unused)).
33269         * nis/nss-nisplus.h (niserr2nss): Likewise.
33271         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33272         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33274         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33275         Remove inline keyword.
33276         * include/rounding-mode.h (round_away): Likewise.
33277         * libio/wfileops.c (adjust_wide_data): Likewise.
33278         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33279         (__m128i_strloadu_tolower): Likewise.
33280         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33281         (__m128i_strloadu_tolower): Likewise.
33282         * time/mktime.c (ydhms_diff): Likewise.
33283         * locale/elem-hash.h (elem_hash): Likewise.
33284         * locale/setlocale.c (setdata): Likewise.
33285         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33286         (re_string_wchar_at): Likewise.
33287         (bitset_not, bitset_merge, bitset_mask): Likewise.
33288         [!(__GNUC__ > 3)] (inline): Remove macro.
33289         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33290         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33291         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33292         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33293         * string/memcmp.c (memcmp_bytes): Likewise.
33294         * locale/programs/locarchive.c (compute_hashval): Likewise.
33295         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33296         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33297         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33298         * nss/getent.c (print_rpc, print_protocols): Likewise.
33299         (print_passwd, print_group, print_aliases): Likewise.
33300         * nis/nss-nisplus.h (niserr2nss): Likewise.
33301         * nscd/connections.c (restart_p): Likewise.
33302         Change return type to bool.
33304 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33306         * Makeconfig (all-Depend-files): Add existing
33307         $(sorted-subdirs:=/Depend) files.
33308         (all-subdirs): Remove nss.
33309         * sysdeps/unix/inet/Subdirs: Add it here instead.
33310         * hesiod/Depend: New file.
33312         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33313         instead of calling alloca.
33315         * io/lseek.c (__lseek): Rename to __libc_lseek.
33316         Define __lseek as an alias.
33318         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33320 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33322         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33323         else clause and remove check for non-standard endianness.
33325 2013-02-04  David S. Miller  <davem@davemloft.net>
33327         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33329 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33331         [BZ #13550]
33332         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33333         (__ubp_memchr): Remove prototype.
33334         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33335         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33336         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33337         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33338         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33339         Remove alias.
33340         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33341         (__ubp_memchr): Likewise.
33342         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33343         (__ubp_memchr): Likewise.
33344         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33345         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33346         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33347         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33348         CHECK_STRING.
33349         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33350         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33351         (__getcwd): Do not use CHECK_STRING.
33352         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33353         <bp-checks.h>.
33354         (__real_chown): Do not use CHECK_STRING.
33355         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33356         <bp-checks.h>.
33357         (fchownat): Do not use CHECK_STRING.
33358         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33359         CHECK_STRING.
33360         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33361         <bp-checks.h>.
33362         (__lchown): Do not use CHECK_STRING.
33363         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33364         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33365         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33366         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33368         include <bp-checks.h>.
33369         (truncate64): Do not use CHECK_STRING.
33370         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33371         <bp-checks.h>.
33372         (__real_chown): Do not use CHECK_STRING.
33373         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33374         <bp-checks.h>.
33375         (__lchown): Do not use CHECK_STRING.
33376         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33377         <bp-checks.h>.
33378         (__chown): Do not use CHECK_STRING.
33379         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33380         <bp-checks.h>.
33381         (truncate64): Do not use CHECK_STRING.
33382         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33383         Likewise.
33384         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33385         (__xmknod): Do not use CHECK_STRING.
33386         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33387         <bp-checks.h>.
33388         (__xmknodat): Do not use CHECK_STRING.
33389         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33390         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33392 2013-02-04  Andreas Schwab  <schwab@suse.de>
33394         [BZ #14142]
33395         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33396         * include/netdb.h: Likewise for h_errno.
33397         * elf/tst-stackguard1.c: Include <tls.h>.
33399 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33401         * elf/link.h (struct link_map): Extend the l_addr comment.
33402         * include/link.h (struct link_map): Likewise.
33404 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33406         [BZ #13550]
33407         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33408         (BOUNDED_1): Remove macro.
33409         * debug/backtrace.c: Don't include <bp-checks.h>.
33410         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33411         (__backtrace): Likewise.
33412         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33413         <bp-checks.h>.
33414         (__backtrace): Don't use BOUNDED_1.
33415         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33416         <bp-checks.h>.
33417         (__backtrace): Don't use BOUNDED_1.
33418         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33419         (__backtrace): Don't use BOUNDED_1.
33420         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33421         (shmat): Don't use BOUNDED_N.
33423 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33425         [BZ #13550]
33426         * sysdeps/generic/bp-start.h: Remove file.
33427         * csu/libc-start.c: Don't include <bp-start.h>.
33428         (LIBC_START_MAIN): Set up __environ directly instead of using
33429         INIT_ARGV_and_ENVIRON.
33430         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33431         <bp-start.h>.
33433         [BZ #13550]
33434         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33435         definitions.
33436         (CHECK_FCNTL): Likewise.
33437         (CHECK_N_PAGES): Likewise.
33439         [BZ #13550]
33440         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33441         definitions.
33442         (CHECK_SIGSET_NULL_OK): Likewise.
33443         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33444         <bp-checks.h>.
33445         (sigpending): Don't use CHECK_SIGSET.
33446         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33447         <bp-checks.h>.
33448         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33449         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33450         <bp-checks.h>.
33451         (do_sigsuspend): Don't use CHECK_SIGSET.
33452         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33453         use CHECK_SIGSET.
33454         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33455         (do_sigwait): Don't use CHECK_SIGSET.
33456         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33457         use CHECK_SIGSET.
33458         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33459         include <bp-checks.h>.
33460         (sigpending): Don't use CHECK_SIGSET.
33461         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33462         include <bp-checks.h>.
33463         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33464         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33465         <bp-checks.h>.
33466         (sigpending): Don't use CHECK_SIGSET.
33467         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33468         <bp-checks.h>.
33469         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33471         [BZ #13550]
33472         * sysdeps/generic/bp-semctl.h: Remove file.
33473         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33474         <bp-checks.h> and <bp-semctl.h>.
33475         (__old_semctl): Don't use CHECK_SEMCTL.
33476         (__new_semctl): Likewise.
33477         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33478         and <bp-semctl.h>.
33479         (__old_semctl): Don't use CHECK_SEMCTL.
33480         (__new_semctl): Likewise.
33481         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33482         <bp-checks.h> and <bp-semctl.h>.
33483         (__old_semctl): Don't use CHECK_SEMCTL.
33484         (__new_semctl): Likewise.
33485         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33486         <bp-checks.h> and <bp-semctl.h>.
33487         (semctl): Don't use CHECK_SEMCTL.
33489         [BZ #13550]
33490         * Makerules (elide-bp-thunks): Remove variable.
33491         (elide-routines.oS): Don't use $(elide-bp-thunks).
33492         (elide-routines.os): Likewise.
33493         (elide-routines.o): Likewise.
33494         (elide-routines.op): Likewise.
33495         (elide-routines.og): Likewise.
33496         (objects): Don't use $(bp-thunks).
33497         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33498         include.
33499         (common-generated): Do not add s-proto-bp.d.
33500         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33501         (int): Likewise.
33502         (typ): Likewise.
33503         Do not generate makefile rules for bounded-pointer thunks.
33504         * sysdeps/generic/bp-thunks.h: Remove file.
33505         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33506         * sysdeps/unix/s-proto-bp.S: Likewise.
33508         [BZ #15062]
33509         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33510         parts of result separately when argument is not close to line from
33511         -i to i and one part of argument is small.
33512         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33513         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33514         * math/libm-test.inc (cacos_test): Add more tests.
33515         (casin_test): Likewise.
33516         (casinh_test): Likewise.
33517         * sysdeps/i386/fpu/libm-test-ulps: Update.
33518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33520 2013-01-31  David S. Miller  <davem@davemloft.net>
33522         * po/de.po: Update from translation team.
33524 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33526         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33528 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33530         * configure.in (_AC_PROG_CC_C89): New definition.
33531         * configure: Regenerate.
33533         * configure.in (AC_PROG_CPP): New definition.
33534         * configure: Regenerate.
33536 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33538         * debug/tst-backtrace.h: New file.
33539         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33540         (ret): Remove variable.
33541         (x): Likewise.
33542         (FAIL): Remove macro.
33543         (NO_INLINE): Likewise.
33544         (fn1): Use match function instead of strstr.
33545         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33546         (ret): Remove variable.
33547         (x): Likewise.
33548         (FAIL): Remove macro.
33549         (NO_INLINE): Likewise.
33550         (fn): Use match function instead of strstr.
33551         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33552         (ret): Remove variable.
33553         (x): Likewise.
33554         (FAIL): Remove macro.
33555         (NO_INLINE): Likewise.
33556         (handle_signal): Use match function instead of strstr.
33557         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33558         (ret): Remove variable.
33559         (x): Likewise.
33560         (FAIL): Remove macro.
33561         (NO_INLINE): Likewise.
33562         (handle_signal): Use match function instead of strstr.
33564 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33566         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33568 2013-01-23  David S. Miller  <davem@davemloft.net>
33570         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33571         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33572         argument of CAS if possible.
33573         * sysdeps/sparc/sparc64/bits/atomic.h
33574         (__arch_compare_and_exchange_val_32_acq): Likewise.
33575         (__arch_compare_and_exchange_val_64_acq): Likewise.
33577 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33579         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33580         * sysdeps/posix/ulimit.c: ... this.
33581         Include <limits.h>.
33582         * sysdeps/unix/bsd/ulimit.c: Remove file.
33584 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33586         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33587         (LDFLAGS-tst-array5): Likewise.
33589 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33591         [BZ #15036]
33592         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33593         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33594         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33595         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33597 2013-01-21  David S. Miller  <davem@davemloft.net>
33599         * sysdeps/sparc/backtrace.c: New file.
33600         * sysdeps/sparc/sparc32/backtrace.h: New file.
33601         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33602         * sysdeps/sparc/sparc64/backtrace.h: New file.
33603         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33604         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33605         -funwind-tables.
33607 2013-01-21  Andreas Schwab  <schwab@suse.de>
33609         [BZ #15020]
33610         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33611         closed its stdout.
33613 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33616         "mpa2.h".
33617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33619 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33620             Mark Mitchell  <mark@codesourcery.com>
33621             Tom de Vries  <tom@codesourcery.com>
33622             Paul Pluzhnikov  <ppluzhnikov@google.com>
33624         * debug/tst-backtrace2.c: New file.
33625         * debug/tst-backtrace3.c: Likewise.
33626         * debug/tst-backtrace4.c: Likewise.
33627         * debug/tst-backtrace5.c: Likewise.
33628         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33629         (CFLAGS-tst-backtrace3.c): Likewise.
33630         (CFLAGS-tst-backtrace4.c): Likewise.
33631         (CFLAGS-tst-backtrace5.c): Likewise.
33632         (LDFLAGS-tst-backtrace2): Likewise.
33633         (LDFLAGS-tst-backtrace3): Likewise.
33634         (LDFLAGS-tst-backtrace4): Likewise.
33635         (LDFLAGS-tst-backtrace5): Likewise.
33636         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33637         tst-backtrace4 and tst-backtrace5.
33639 2013-01-18  Anton Blanchard  <anton@samba.org>
33640             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33642         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33643         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33644         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33645         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33647         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33648         "+r" and remove output regs list as redundant.  Add explicit inline
33649         asm to specify register of return val to work around compiler codegen
33650         bug.  Remove (int) cast on return value.  Add return type parameter to
33651         use in macro so that this macro does not truncate return value for
33652         64-bit values.
33653         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33654         pass to INTERNAL_VSYSCALL_NCS.
33655         (INLINE_VSYSCALL): Add 'long int' as return type to
33656         INTERNAL_VSYSCALL_NCS macro invocation.
33657         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33658         INTERNAL_VSYSCALL_NCS macro invocation.
33659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33661 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33663         [BZ #14496]
33664         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33665         Fix application of SIMD FP exception mask.
33667         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33668         mp_no from a power of two.
33669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33670         __mpexp_twomm1.  Use __pow_mp.
33672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33673         multiplication.
33675 2013-01-17  David S. Miller  <davem@davemloft.net>
33677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33679 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33681         [BZ #15023]
33682         * include/complex.h: Condition contents on [!_COMPLEX_H].
33683         (__kernel_casinhf): New prototype.
33684         (__kernel_casinh): Likewise.
33685         (__kernel_casinhl): Likewise.
33686         * math/Makefile (libm_calls): Add k_casinh.
33687         * math/k_casinh.c: New file.
33688         * math/k_casinhf.c: Likewise.
33689         * math/k_casinhl.c: Likewise.
33690         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33691         finite nonzero arguments.
33692         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33693         finite nonzero arguments.
33694         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33695         finite nonzero arguments.
33696         * math/s_casinh.c: Do not include <float.h>.
33697         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33698         * math/s_casinhf.c: Do not include <float.h>.
33699         (__casinhf): Move code for finite nonzero arguments to
33700         k_casinhf.c.
33701         * math/s_casinhl.c: Do not include <float.h>.
33702         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33703         redefine.
33704         (__casinhl): Move code for finite nonzero arguments to
33705         k_casinhl.c.
33706         * math/libm-test.inc (cacos_test): Add more tests.
33707         * sysdeps/i386/fpu/libm-test-ulps: Update.
33708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33710 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33712         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33713         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33714         [!HAVE_MREMAP]: Remove [defined linux] case.
33715         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33717 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33719         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33721 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33723         * elf/elf.h (R_386_SIZE32): New relocation.
33724         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33725         R_386_SIZE32.
33726         (elf_machine_rela): Likewise.
33727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33728         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33730 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33732         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33733         (FP_FAST_FMA): Do not define.
33734         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33735         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33736         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33737         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33738         !_SOFT_FLOAT]: Likewise.
33739         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33740         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33741         value.
33742         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33743         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33744         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33745         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33746         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33747         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33748         file.
33750 2013-01-16  Andreas Schwab  <schwab@suse.de>
33752         [BZ #14327]
33753         * include/stdlib.h (__mktemp): Add declaration.
33754         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33755         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33757 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33759         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33760         definitions.
33761         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33762         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33763         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33764         definitions here.
33765         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33766         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33767         definitions.
33768         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33769         and ONE.
33770         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33771         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33772         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33773         definitions.
33774         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33775         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33776         definitions.
33777         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33779         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33781 2013-01-15  David S. Miller  <davem@davemloft.net>
33783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33784         trunc{,f} to libm-sysdep_routes.
33785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33787         file.
33788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33790         file.
33791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33792         file.
33793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33795         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33796         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33797         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33798         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33799         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33800         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33803         nearbyint{,f} to libm-sysdep_routes.
33804         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33806         New file.
33807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33808         file.
33809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33810         New file.
33811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33812         file.
33813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33815         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33816         file.
33817         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33818         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33819         file.
33820         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33821         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33822         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33824         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33825         libc_feholdexcept and libc_fesetenv.
33827 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33829         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33831 2013-01-14  David S. Miller  <davem@davemloft.net>
33833         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33834         (SPARC_ASM_VIS2_IFUNC): Likewise.
33835         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33837         use of 'siam' instruction.
33838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33839         Likewise.
33840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33841         Likewise.
33842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33843         Likewise.
33844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33845         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33847         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33849         file.
33850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33851         file.
33852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33853         file.
33854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33855         file.
33856         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33857         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33858         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33859         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33861         new VIS2 routines.
33862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33865         Likewise.
33866         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33868         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33869         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33871         routines to libm-sysdep_routines.
33872         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33875         fdim/fdimf to libm-sysdep_routines.
33876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33877         file.
33878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33880         file.
33881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33884         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33885         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33886         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33887         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33889 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33891         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33892         to optimize copies.
33894         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33896         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33898         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33899         local variable MPTWO.
33900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33901         Likewise.
33903 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33905         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33906         GLOB_NOESCAPE.
33908 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33910         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33912 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33914         * manual/pattern.texi (glob_t): Document gl_flags.
33915         (glob64_t): Likewise.
33917 2013-01-11  David S. Miller  <davem@davemloft.net>
33919         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33920         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33921         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33922         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33923         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33924         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33925         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33926         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33927         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33928         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33929         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33930         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33931         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33933         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33934         sparc V9 rather than using V8 code.
33935         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33936         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33938         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33939         Move to...
33940         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33941         Here.
33943 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33945         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33946         not in the main loop.
33947         * configure: Regenerated.
33949 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33951         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33952         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33953         to just #else.
33954         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33955         [!__GLIBC_HAVE_LONG_LONG] case.
33956         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33957         condition to just #else.
33958         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33959         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33960         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33961         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33962         unconditional.
33963         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33964         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33965         #elif condition to just #else.
33966         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33967         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33968         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33969         #elif condition to just #else.
33971 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33973         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33974         (EF_MIPS_ARCH_64): Fix value.
33975         (EF_MIPS_ARCH_32R2): New.
33976         (EF_MIPS_ARCH_64R2): New.
33978 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33980         * Makeconfig (+link-pie-before-libc): New.
33981         (+link-pie-after-libc): Likewise.
33982         (+link-pie-tests): Likewise.
33983         (+link-pie): Rewritten.
33984         (link-before-libc): Remove $(config-LDFLAGS).
33985         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33986         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33987         (config-LDFLAGS): Renamed to ...
33988         (rtld-LDFLAGS): This.
33989         (rtld-tests-LDFLAGS): New macro.
33990         (link-libc-rpath-link): Likewise.
33991         (link-libc-tests-rpath-link): Likewise.
33992         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33993         (link-libc): Prepand $(link-libc-rpath-link).
33994         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33995         (test-program-prefix): New macro.
33996         (test-via-rtld-prefix): Likewise.
33997         (test-program-cmd): Likewise.
33998         (host-test-program-cmd): Likewise.
33999         * Makefile ($(common-objpfx)testrun.sh): Replace
34000         $(run-program-prefix) with $(test-program-prefix).
34001         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34002         $(rtld-LDFLAGS).
34003         ($(common-objpfx)shlib.lds): Likewise.
34004         (build-module-helper): Likewise.
34005         ($(common-objpfx)format.lds): Likewise.
34006         * Rules (binaries-pie-tests): New.
34007         (binaries-pie-notests): Likewise.
34008         (binaries-pie): Rewritten.
34009         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34010         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34011         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34012         (make-test-out): Replace $(host-built-program-cmd) with
34013         $(host-test-program-cmd).
34014         * config.make.in (build-hardcoded-path-in-tests): New variable.
34015         * configure.in (--enable-hardcoded-path-in-tests): New configure
34016         option.
34017         (hardcoded_path_in_tests): New AC_SUBST.
34018         * configure: Regenerated.
34019         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34020         $(built-program-cmd) with $(test-program-cmd).
34021         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34022         (test_program_cmd): This.
34023         * elf/Makefile ($(objpfx)order.out): Run test with
34024         $(test-program-prefix).
34025         ($(objpfx)order2.out): Likewise.
34026         ($(objpfx)tst-initorder.out): Likewise.
34027         ($(objpfx)tst-initorder2.out): Likewise.
34028         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34029         $(test-program-cmd).
34030         ($(objpfx)tst-array1-static.out): Likewise.
34031         ($(objpfx)tst-array2.out): Likewise.
34032         ($(objpfx)tst-array3.out): Likewise.
34033         ($(objpfx)tst-array4.out): Likewise.
34034         ($(objpfx)tst-array5.out): Likewise.
34035         ($(objpfx)tst-array5-static.out): Likewise.
34036         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34037         $(test-program-cmd).
34038         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34039         $(run-program-prefix) with $(test-program-prefix).
34040         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34041         (test_program_prefix): This.
34042         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34043         $(run-program-prefix) with $(test-program-prefix).
34044         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34045         (test_program_prefix): This.
34046         * iconvdata/tst-tables.sh: Likewise.
34047         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34048         $(run-program-prefix) with $(test-program-prefix).
34049         ($(objpfx)tst-translit.out): Likewise.
34050         ($(objpfx)tst-gettext2.out): Likewise.
34051         ($(objpfx)tst-gettext4.out): Likewise.
34052         ($(objpfx)tst-gettext6.out): Likewise.
34053         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34054         (test_program_prefix): This.
34055         * intl/tst-gettext2.sh: Likewise.
34056         * intl/tst-gettext4.sh  Likewise.
34057         * intl/tst-gettext6.sh: Likewise.
34058         * intl/tst-translit.sh: Likewise.
34059         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34060         with $(test-program-cmd).
34061         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34062         $(run-program-prefix) with $(test-program-prefix).
34063         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34064         (test_program_prefix): This.
34065         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34066         $(run-program-prefix) with $(test-program-prefix).
34067         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34068         (test_program_prefix): This.
34069         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34070         * posix/Makefile ($(objpfx)globtest.out): Replace
34071         $(run-via-rtld-prefix) and $(test-wrapper) with
34072         $(test-program-prefix) and $(test-via-rtld-prefix).
34073         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34074         $(test-program-prefix).
34075         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34076         $(host-test-program-cmd).
34077         (tst-spawn-ARGS): Likewise.
34078         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34079         $(test-program-prefix).
34080         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34081         (test_via_rtld_prefix): This.
34082         (test_wrapper): Renamed to ...
34083         (test_program_prefix): This.
34084         (run_program_prefix): Replaced by test_program_prefix.
34085         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34086         (test_program_prefix): This.
34087         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34088         with $(host-test-program-cmd).
34089         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34090         $(run-program-prefix) with $(test-program-prefix).
34091         ($(objpfx)tst-printf.out): Likewise.
34092         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34093         $(test-program-cmd).
34094         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34095         (test_program_prefix): This.
34096         * stdio-common/tst-unbputc.sh: Likewise.
34097         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34098         $(run-program-prefix) with $(test-program-prefix).
34099         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34100         (test_program_prefix): This.
34101         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34102         $(built-program-cmd) with $(test-program-cmd).
34104 2013-01-11  Andreas Jaeger  <aj@suse.de>
34106         [BZ #15003]
34107         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34108         value. Sync with Linux 3.7.
34110 2013-01-10  David S. Miller  <davem@davemloft.net>
34112         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34113         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34114         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34116 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34118         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34119         never set.
34120         * configure: Regenerated.
34122 2013-01-10  David S. Miller  <davem@davemloft.net>
34124         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34125         sparc V9 rather than using V8 code.
34126         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34127         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34129 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34131         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34132         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34133         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34134         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34135         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34136         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34137         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34138         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34139         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34140         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34141         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34142         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34143         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34144         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34145         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34146         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34147         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34148         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34149         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34150         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34151         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34152         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34153         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34154         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34155         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34156         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34157         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34159 2013-01-10  David S. Miller  <davem@davemloft.net>
34161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34163 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34165         * posix/Makefile (tests-static): New variable.
34166         (tests): Add $(tests-static).
34167         (tst-exec-static-ARGS): New variable.
34168         (tst-spawn-static-ARGS): Likewise.
34169         * posix/tst-exec-static.c: New file.
34170         * posix/tst-spawn-static.c: Likewise.
34171         * posix/tst-exec.c: Support run directly.
34172         * posix/tst-spawn.c: Likewise.
34174 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34176         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34177         long.
34178         * math/bits/mathcalls.h (llrint): Likewise.
34179         (llround): Likewise.
34180         * stdlib/stdlib.h (struct drand48_data): Likewise.
34181         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34182         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34183         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34184         Likewise.
34185         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34186         Likewise.
34187         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34188         (elf_greg_t): Likewise.
34189         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34190         (__jmp_buf): Likewise.
34191         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34192         definitions.
34193         (llrint): Likewise, for all definitions.
34194         (llrintl): Likewise.
34196         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34197         Remove [__GNUC__] condition.
34198         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34199         condition to just [__USE_ISOC99].
34200         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34202 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34204         [BZ #14200]
34205         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34206         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34207         defined.
34208         (_POSIX_V6_ILP32_OFF32): Likewise.
34209         (_XBS5_ILP32_OFF32): Likewise.
34210         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34211         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34213 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34215         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34217         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34218         doubles __mpexp_twomm1.  Adjust usage.
34219         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34220         Remove.
34222 2013-01-10  Andreas Schwab  <schwab@suse.de>
34224         [BZ #14964]
34225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34226         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34228 2013-01-09  David S. Miller  <davem@davemloft.net>
34230         [BZ #15003]
34231         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34232         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34233         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34234         (TCP_FASTOPEN): Define.
34235         (tcp_repair_opt): New structure.
34236         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34237         enum values.
34238         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34239         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34240         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34241         (tcp_cookie_transactions): New structure.
34243 2013-01-09  Anton Blanchard  <anton@samba.org>
34245         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34246         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34247         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34248         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34250 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34252         * include/features.h (__USE_ANSI): Remove.
34254 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34256         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34258         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34260 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34262         * sysdeps/s390/fpu/libm-test-ulps: Update.
34264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34266         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34267         (__acr): Likewise.
34268         (__cpy): Likewise.
34269         (norm): Likewise.
34270         (denorm): Likewise.
34271         (__mp_dbl): Likewise.
34272         (__dbl_mp): Likewise.
34273         (add_magnitudes): Likewise.
34274         (sub_magnitudes): Likewise.
34275         (__add): Likewise.
34276         (__sub): Likewise.
34277         (__mul): Likewise.
34278         (__inv): Likewise.
34279         (__dvd): Likewise.
34280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34281         (__acr): Likewise.
34282         (__cpy): Likewise.
34283         (norm): Likewise.
34284         (denorm): Likewise.
34285         (__mp_dbl): Likewise.
34286         (__dbl_mp): Likewise.
34287         (add_magnitudes): Likewise.
34288         (sub_magnitudes): Likewise.
34289         (__add): Likewise.
34290         (__sub): Likewise.
34291         (__mul): Likewise.
34292         (__inv): Likewise.
34293         (__dvd): Likewise.
34294         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34295         (__acr): Likewise.
34296         (__cpy): Likewise.
34297         (norm): Likewise.
34298         (denorm): Likewise.
34299         (__mp_dbl): Likewise.
34300         (__dbl_mp): Likewise.
34301         (add_magnitudes): Likewise.
34302         (sub_magnitudes): Likewise.
34303         (__add): Likewise.
34304         (__sub): Likewise.
34305         (__mul): Likewise.
34306         (__inv): Likewise.
34307         (__dvd): Likewise.
34309 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34311         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34312         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34313         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34314         2 && __USE_EXTERN_INLINES]: Likewise.
34316 2013-01-08  Andreas Jaeger  <aj@suse.de>
34318         [BZ# 14985]
34319         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34320         Remove.
34321         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34322         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34324 2013-01-07  Anton Blanchard  <anton@samba.org>
34326         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34327         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34328         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34329         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34330         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34331         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34332         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34333         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34334         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34335         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34336         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34337         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34338         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34339         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34340         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34341         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34342         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34344         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34345         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34346         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34347         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34349         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34350         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34351         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34352         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34353         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34355         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34356         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34358         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34359         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34360         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34361         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34362         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34363         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34364         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34365         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34366         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34367         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34368         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34370 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34372         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34373         (__MALLOC_PMT): Likewise.
34374         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34375         [__GNUC__], only on [_LIBC].
34376         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34377         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34378         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34379         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34380         forward declaration.
34381         (realloc_hook_ini): Likewise.
34382         (memalign_hook_ini): Likewise.
34383         (__libc_memalign): Do not use __MALLOC_PMT in variable
34384         declaration.
34385         (__libc_valloc): Likewise.
34386         (__libc_pvalloc): Likewise.
34387         (__libc_calloc): Likewise.
34388         (__posix_memalign): Likewise.
34390         [BZ #14996]
34391         * math/s_casinh.c: Include <float.h>.
34392         (__casinh): Do not do computation with squaring and square root
34393         for large arguments.
34394         * math/s_casinhf.c: Include <float.h>.
34395         (__casinhf): Do not do computation with squaring and square root
34396         for large arguments.
34397         * math/s_casinhl.c: Include <float.h>.
34398         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34399         (__casinhl): Do not do computation with squaring and square root
34400         for large arguments.
34401         * math/libm-test.inc (casin_test): Add more tests.
34402         (casinh_test): Likewise.
34403         * sysdeps/i386/fpu/libm-test-ulps: Update.
34404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34406 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34408         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34409         (__x86_64_raw_data_cache_size): Likewise.
34410         (__x86_64_data_cache_size_half): Likewise.
34411         (__x86_64_raw_data_cache_size_half): Likewise.
34412         (__x86_64_shared_cache_size): Likewise.
34413         (__x86_64_raw_shared_cache_size): Likewise.
34414         (__x86_64_shared_cache_size_half): Likewise.
34415         (__x86_64_raw_shared_cache_size_half): Likewise.
34416         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34417         to ...
34418         (__x86_data_cache_size): This.
34419         (__x86_64_raw_data_cache_size): Renamed to ...
34420         (__x86_raw_data_cache_size): This.
34421         (__x86_64_data_cache_size_half): Renamed to ...
34422         (__x86_data_cache_size_half): This.
34423         (__x86_64_raw_data_cache_size_half): Renamed to ...
34424         (__x86_raw_data_cache_size_half): This.
34425         (__x86_64_shared_cache_size): Renamed to ...
34426         (__x86_shared_cache_size): This.
34427         (__x86_64_raw_shared_cache_size): Renamed to ...
34428         (__x86_raw_shared_cache_size): This.
34429         (__x86_64_shared_cache_size_half): Renamed to ...
34430         (__x86_shared_cache_size_half): This.
34431         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34432         (__x86_raw_shared_cache_size_half): This.
34433         * sysdeps/x86_64/memcpy.S: Updated.
34434         * sysdeps/x86_64/memset.S: Likewise.
34435         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34436         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34437         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34439 2013-01-04  David S. Miller  <davem@davemloft.net>
34441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34443 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34445         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34446         1 to avoid redefinition warning.
34447         (__USE_GNU): Don't define.
34448         (init_signaling_nan): Protoize.
34450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34452 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34454         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34456         (__cpymn): Likewise.
34457         (norm): Remove commented code.
34458         (denorm): Likewise.
34459         (__mp_dbl): Likewise.
34460         (__inv): Likewise.
34461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34462         (__cpymn): Likewise.
34463         (norm): Remove commented code.
34464         (denorm): Likewise.
34465         (__mp_dbl): Likewise.
34466         (__inv): Likewise.
34468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34469         mp_no value for 1.0 and 2.0.
34470         (norm): Use RADIXI instead of radixi.d.
34471         (denorm): Likewise.
34472         (__mul): Use 0.0 instead of zero.d.
34473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34474         mp_no value for 1.0 and 2.0.
34475         (norm): Use RADIXI instead of radixi.d.
34476         (denorm): Likewise.
34477         (__mul): Use 0.0 instead of zero.d.
34479 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34481         [BZ #14994]
34482         * math/s_casinh.c (__casinh): Reduce finite argument to first
34483         quadrant then set signs of results at the end.
34484         * math/s_casinhf.c (__casinhf): Likewise.
34485         * math/s_casinhl.c (__casinhl): Likewise.
34486         * math/libm-test.inc (casin_test): Add more tests.
34487         (casinh_test): Likewise.
34488         * sysdeps/i386/fpu/libm-test-ulps: Update.
34489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34491 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34493         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34495         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34497         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34498         declarations.
34499         (denorm): Likewise.
34500         (__mp_dbl): Likewise.
34501         (__inv): Likewise.
34503         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34504         and adjust the header comment.
34506         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34507         variable name from declaration.
34509 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34512         Initialize COMMON_CPUID_INDEX_7 element.
34513         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34514         (CPUID_RTM): Likewise.
34515         (HAS_RTM): Likewise.
34516         (COMMON_CPUID_INDEX_7): New enum.
34518 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34520         [BZ #14981]
34521         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34522         size is zero, record memory as freed.
34524 2013-01-03  Andreas Jaeger  <aj@suse.de>
34526         * po/ia.po: Add new Interlingua translation.
34528 2012-01-03  Allan McRae  <allan@archlinux.org>
34530         * locale/programs/localedef.c: Fix description of '--posix' flag.
34532 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34534         * NEWS: Update dates in second copyright notice.
34535         * README: Update copyright dates in example.
34536         * manual/libc.texinfo: Update copyright dates.
34537         * scripts/test-installation.pl: Update copyright date in --version
34538         output.
34540         * hurd/ctty-input.c: Fix copyright notice formatting.
34541         * hurd/ctty-output.c: Likewise.
34542         * hurd/dtable.c: Likewise.
34543         * hurd/hurd-raise.c: Likewise.
34544         * hurd/hurdprio.c: Likewise.
34545         * hurd/msgportdemux.c: Likewise.
34546         * misc/sys/file.h: Likewise.
34547         * misc/sys/ioctl.h: Likewise.
34548         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34549         * sysdeps/mach/hurd/chdir.c: Likewise.
34550         * sysdeps/mach/hurd/fchdir.c: Likewise.
34551         * sysdeps/mach/hurd/rename.c: Likewise.
34552         * sysdeps/mach/hurd/rmdir.c: Likewise.
34553         * sysdeps/mach/hurd/seekdir.c: Likewise.
34554         * sysdeps/mach/hurd/setsid.c: Likewise.
34555         * sysdeps/posix/wait3.c: Likewise.
34557         * All files with FSF copyright notices: Update copyright dates
34558         using scripts/update-copyrights.
34559         * intl/plural.c: Regenerated.
34560         * locale/programs/charmap-kw.h: Likewise.
34561         * locale/programs/locfile-kw.h: Likewise.
34563 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34565         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34566         four values.
34568         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34569         calculation loop and add branch prediction.
34571         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34572         check access beyond bounds of m1np.
34574         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34575         MPTWO.
34576         (__inv): Remove local variable MPTWO to use the global
34577         constant.
34578         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34580         variable MPTWO.
34581         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34582         MP3HALFS static const.
34584 2013-01-01  David S. Miller  <davem@davemloft.net>
34586         * po/ca.po: Update from translation team.
34588 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34590         * scripts/update-copyrights: New file.
34591         * Makeconfig: Reformat copyright notice.
34592         * ctype/ctype.h: Likewise.
34593         * debug/swprintf_chk.c: Likewise.
34594         * elf/dl-cache.c: Likewise.
34595         * elf/dl-debug.c: Likewise.
34596         * elf/dl-object.c: Likewise.
34597         * grp/initgroups.c: Likewise.
34598         * hurd/Makefile: Likewise.
34599         * hurd/hurd/signal.h: Likewise.
34600         * hurd/hurdfault.c: Likewise.
34601         * hurd/hurdioctl.c: Likewise.
34602         * hurd/hurdlookup.c: Likewise.
34603         * hurd/intr-msg.c: Likewise.
34604         * iconv/gconv_open.c: Likewise.
34605         * libio/swprintf.c: Likewise.
34606         * locale/lc-ctype.c: Likewise.
34607         * locale/nl_langinfo.c: Likewise.
34608         * mach/Machrules: Likewise.
34609         * mach/Makefile: Likewise.
34610         * malloc/obstack.h: Likewise.
34611         * manual/Makefile: Likewise.
34612         * manual/tsort.awk: Likewise.
34613         * misc/bits/stab.def: Likewise.
34614         * nis/nis_print_group_entry.c: Likewise.
34615         * nis/nis_table.c: Likewise.
34616         * nis/nss_compat/compat-pwd.c: Likewise.
34617         * nis/nss_compat/compat-spwd.c: Likewise.
34618         * po/Makefile: Likewise.
34619         * posix/fnmatch.c: Likewise.
34620         * posix/regex.h: Likewise.
34621         * resolv/Makefile: Likewise.
34622         * resolv/nss_dns/dns-network.c: Likewise.
34623         * resolv/res_hconf.c: Likewise.
34624         * scripts/gen-sorted.awk: Likewise.
34625         * soft-fp/soft-fp.h: Likewise.
34626         * stdio-common/printf.h: Likewise.
34627         * stdlib/monetary.h: Likewise.
34628         * stdlib/random.c: Likewise.
34629         * stdlib/random_r.c: Likewise.
34630         * sysdeps/generic/Makefile: Likewise.
34631         * sysdeps/gnu/Makefile: Likewise.
34632         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34633         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34634         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34635         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34636         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34637         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34640         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34641         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34642         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34643         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34644         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34645         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34646         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34647         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34648         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34649         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34650         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34652         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34653         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34654         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34655         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34656         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34657         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34658         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34660         * sysdeps/mach/hurd/errnos.awk: Likewise.
34661         * sysdeps/mach/hurd/fork.c: Likewise.
34662         * sysdeps/mach/hurd/getcwd.c: Likewise.
34663         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34664         * sysdeps/mach/hurd/mmap.c: Likewise.
34665         * sysdeps/mach/hurd/utimes.c: Likewise.
34666         * sysdeps/mach/hurd/xmknod.c: Likewise.
34667         * sysdeps/posix/profil.c: Likewise.
34668         * sysdeps/posix/readdir_r.c: Likewise.
34669         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34670         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34671         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34672         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34673         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34674         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34675         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34676         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34677         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34678         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34679         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34680         * sysdeps/pthread/lio_listio.c: Likewise.
34681         * sysdeps/sparc/dl-procinfo.h: Likewise.
34682         * sysdeps/unix/i386/sysdep.S: Likewise.
34683         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34684         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34685         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34686         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34688         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34689         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34690         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34691         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34692         * sysdeps/wordsize-32/divdi3.c: Likewise.
34693         * time/sys/time.h: Likewise.
34694         * wcsmbs/Makefile: Likewise.
34696 2013-01-01  David S. Miller  <davem@davemloft.net>
34698         * po/fr.po: Update from translation team.
34700         * catgets/gencat.c: Update copyright year.
34701         * csu/version.c: Likewise.
34702         * debug/catchsegv.sh: Likewise.
34703         * debug/pcprofiledump.c: Likewise.
34704         * debug/xtrace.sh: Likewise.
34705         * elf/ldconfig.c: Likewise.
34706         * elf/ldd.bash.in: Likewise.
34707         * elf/pldd.c: Likewise.
34708         * elf/sotruss.ksh: Likewise.
34709         * elf/sprof.c: Likewise.
34710         * iconv/iconv_prog.c: Likewise.
34711         * iconv/iconvconfig.c: Likewise.
34712         * locale/programs/locale.c: Likewise.
34713         * locale/programs/localedef.c: Likewise.
34714         * login/programs/pt_chown.c: Likewise.
34715         * malloc/memusage.sh: Likewise.
34716         * malloc/memusagestat.c: Likewise.
34717         * malloc/mtrace.pl: Likewise.
34718         * nscd/nscd.c: Likewise.
34719         * nss/getent.c: Likewise.
34720         * nss/makedb.c: Likewise.
34721         * posix/getconf.c: Likewise.
34723 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34725         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34726         numbers.
34728 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34730         * math/bits/mathcalls.h (modf): Use __nonnull.
34732 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34734         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34735         (split): Use macro CN instead of the bare value.
34736         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34737         could be used.
34738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34739         instead of the bare value.
34740         (power1): Likewise.
34742 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34744         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34745         __ATAN_TWOM.
34746         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34748         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34749         their values.
34750         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34751         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34752         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34753         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34755 2012-12-28  Andreas Jaeger  <aj@suse.de>
34757         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34758         values are from Linux 3.7.
34760         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34761         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34763 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34765         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34766         TRUE case.
34768         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34769         (norm): Likewise.
34770         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34771         variables with preprocessor constants.
34772         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34773         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34774         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34776 2012-12-27  Bruno Haible  <bruno@clisp.org>
34778         [BZ #14317]
34779         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34780         only if needed.
34782 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34784         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34785         and use variable directly.
34786         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34788         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34789         MPONE.
34790         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34791         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34792         variable MPONE.
34793         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34794         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34795         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34796         include directive.  Remove local variable MPONE.
34797         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34798         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34799         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34801 2012-12-25  David S. Miller  <davem@davemloft.net>
34803         * version.h (RELEASE): Set to "development".
34804         (VERSION): Set to "2.17.90".
34805         * NEWS: Add 2.18 section.
34807 2012-12-21  David S. Miller  <davem@davemloft.net>
34809         * po/hr.po: Update from translation team.
34811 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34813         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34815 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34817         * NEWS:  Mention new memcpy for MIPS.
34819 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34821         * manual/contrib.texi (Contributors): Spelling correction.
34823 2012-12-15  David S. Miller  <davem@davemloft.net>
34825         * po/ru.po: Update from translation team.
34827 2012-12-13  David S. Miller  <davem@davemloft.net>
34829         * NEWS: Mention IFUNC testsuite enhancements.
34831         * po/pl.po: Update from translation team.
34832         * po/bg.po: Likewise.
34834         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34835         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34837 2012-12-11  David S. Miller  <davem@davemloft.net>
34839         * po/sv.po: Update from translation team.
34841         * po/vi.po: Update from translation team.
34843         * po/cs.po: Update from translation team.
34845         * po/de.po: Update from translation team.
34846         * po/eo.po: Likewise.
34847         * po/nl.po: Likewise.
34849 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34851         [BZ #14246]
34852         * manual/argp.texi (Argp Helper Functions): Move node to follow
34853         Argp Parsing State.
34855         [BZ #14872]
34856         * manual/conf.texi (Limits on File System Capacity): Mention if
34857         terminating null is included in the max size.
34859 2012-12-10  Andreas Jaeger  <aj@suse.de>
34861         * po/cs.po: Update from translation team.
34863 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34865         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34866         void pointer and cast to uintptr_t.
34867         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34868         path.
34869         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34870         * sysdeps/s390/s390-64/memset.S: Likewise.
34872 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34874         [BZ #14833]
34875         * menual/message.texi (Message Translation): Fix typos.
34876         (Helper programs for gettext): Likewise.
34878 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34880         [BZ #14898]
34881         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34882         Change to -1.
34884 2012-12-07  David S. Miller  <davem@davemloft.net>
34886         * po/libc.pot: Update.
34888 2012-12-07  Richard Henderson  <rth@redhat.com>
34890         [BZ #10114]
34891         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34892         normal/normal case to before the switch.
34893         (_FP_DIV): Likewise.
34895 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34896             Mike Frysinger  <vapier@gentoo.org>
34898         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34899         check for __NR_fadvise64_64.
34901 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34903         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34904         0, not just to plain "0" as a statement.
34905         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34906         with cw.
34908 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34910         * NEWS: Use sourceware.org in Bugzilla URL.
34912 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34915         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34917         * stdio-common/tst-put-error.c (do_test): Add newline to the
34918         padded test to ensure flush.
34920 2012-12-05  Jeff Law  <law@redhat.com>
34922         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34924 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34926         * README: Don't refer to ports add-on as distributed separately.
34927         Mention AArch64 in list of systems supported in the ports add-on.
34929         * LICENSES: Add more non-FSF copyright and license notices.
34931         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34932         ((unused)).
34934         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34936         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34937         10000 as width of padded output.
34939 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34941         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34943         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34944         variable LX with __attribute__ ((unused)).
34945         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34946         Likewise.
34947         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34948         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34949         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34950         with __attribute__ ((unused)).
34952 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34954         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34956 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34958         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34959         (CFLAGS-nldbl-acos.c): New variable.
34960         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34961         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34962         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34963         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34964         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34965         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34966         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34967         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34968         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34969         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34970         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34971         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34972         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34973         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34974         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34975         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34976         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34977         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34978         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34979         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34980         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34981         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34982         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34983         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34984         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34985         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34986         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34987         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34988         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34989         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34990         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34991         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34992         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34993         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34994         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34995         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34996         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34997         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34998         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34999         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35000         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35001         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35002         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35003         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35004         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35005         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35006         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35007         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35008         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35009         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35010         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35011         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35012         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35013         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35014         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35015         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35016         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35017         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35018         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35019         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35020         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35021         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35022         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35023         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35024         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35025         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35026         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35027         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35028         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35029         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35030         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35031         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35032         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35033         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35034         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35035         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35036         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35037         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35038         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35039         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35040         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35041         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35042         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35043         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35044         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35045         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35046         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35047         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35048         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35049         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35050         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35051         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35052         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35053         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35054         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35055         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35056         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35059         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35061         [BZ #14914]
35062         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35063         whole low double instead of just low 47 bits when splitting values
35064         into two parts.
35066 2012-12-03  Allan McRae  <allan@archlinux.org>
35068         * manual/stdio.texi (Predefined Printf Handlers): Remove
35069         @hsep and @vsep usage.
35071 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35073         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35074         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35076 2012-12-03  Jeff Law  <law@redhat.com>
35078         * time/sys/time.h (settimeofday): Do not mark TV argument
35079         as __nonnull.
35081 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35083         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35084         when currently writing and seek to current position when not.
35085         * libio/Makefile (tests): Remove bug-fclose1.
35086         * libio/bug-fclose1.c: Delete.
35088 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35090         * manual/arith.texi (feenableexcept): Fix typo.
35091         (fedisableexcept): Likewise.
35093 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35095         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35096         second, differently-typed declaration, rather than a cast.
35098 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35100         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35101         * include/rpc/svc.h: ... here.
35103 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35105         [BZ #13013]
35106         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35107         depending n and resplen2 to catch cases where answer
35108         equals answerp2.
35110 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35112         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35113         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35115 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35117         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35119 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35121         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35123 2012-11-28  Jeff Law  <law@redhat.com>
35125         [BZ #13761]
35126         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35127         dataset_temporary.  Track alloca usage into alloca_used.
35128         If dataset is large allocate and release it via malloc/free.
35130 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35132         [BZ #14197]
35133         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35135 2012-11-28  David S. Miller  <davem@davemloft.net>
35137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35139 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35141         [BZ #14803]
35142         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35143         of pi/2 rounded to nearest to 64 bits.
35144         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35145         nearest to 64 bits.
35146         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35147         bits.
35149 2012-11-28  Jeff Law <law@redhat.com>
35150             Martin Osvald <mosvald@redhat.com>
35152         [BZ #14889]
35153         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35154         * sunrpc/svc.c: Include time.h.
35155         (__svc_accept_failed): New function.
35156         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35157         any reason other than EINTR, call __svc_accept_failed.
35158         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35159         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35161 2012-11-28  Andreas Schwab  <schwab@suse.de>
35163         * scripts/abilist.awk: Also handle indirect functions in .opd
35164         section.
35166 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35168         [BZ #13881]
35169         * sysdeps/x86/fpu/powl_helper.c: New file.
35170         * sysdeps/x86/fpu/Makefile: Likewise.
35171         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35172         (p3): New object.
35173         (__ieee754_powl): Use __powl_helper for finite arguments except
35174         integer exponents below 8.
35175         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35176         (p3): New object.
35177         (__ieee754_powl): Use __powl_helper for finite arguments except
35178         integer exponents below 8.
35179         * math/libm-test.inc (pow_test): Add more tests and enable some
35180         previously disabled tests.
35181         * sysdeps/i386/fpu/libm-test-ulps: Update.
35182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35184 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35185             Carlos O'Donell  <carlos_odonell@mentor.com>
35187         * nss/makedb.c (is_prime): Assert that input is odd and greater
35188         than 4.  Note that fact in a comment too.
35189         (next_prime): Add 4 to input.
35191 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35193         [BZ #11741]
35194         * libio/Makefile (tests): Add test case tst-fwrite-error.
35195         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35196         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35197         * libio/tst-fwrite-error.c: New test case.
35199 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35201         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35202         before casting to void *.
35203         * include/libc-internal.h (__pointer_type): New macro.
35204         (__integer_if_pointer_type_sub): Likewise.
35205         (__integer_if_pointer_type): Likewise.
35206         (cast_to_integer): Likewise.
35207         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35208         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35209         before casting to atomic64_t.
35210         (atomic_exchange_acq): Likewise.
35211         (__arch_exchange_and_add_body): Likewise.
35212         (__arch_add_body): Likewise.
35213         (atomic_add_negative): Likewise.
35214         (atomic_add_zero): Likewise.
35216 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35218         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35219         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35220         (add_fdes): Likewise.
35221         (linear_search_fdes): Likewise.
35222         (binary_search_unencoded_fdes): Likewise.
35224 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35226         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35228 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35230         * configure.in: Autodetect C++ header directories.
35231         * configure: Regenerated.
35233 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35235         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35237 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35241 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35243         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35244         LDBL_MANT_DIG == 106]: Disable some tests.
35245         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35246         Likewise.
35247         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35248         Likewise.
35250         [BZ #14871]
35251         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35252         input for small inputs.  Return +/- pi/2 for large inputs.
35253         * math/libm-test.inc (atan_test): Add more tests.
35255         * sysdeps/generic/unwind-dw2-fde-glibc.c
35256         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35257         __attribute__ ((unused)).
35259         [BZ #14645]
35260         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35261         x * y if x and y are nonzero and z is zero.
35263         [BZ #14811]
35264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35265         nonzero exponents with absolute value below 0x1p-117 to +/-
35266         0x1p-117.
35268         [BZ #14869]
35269         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35270         up arguments below 2**-450, not just those below 2**-500.
35271         * math/libm-test.inc (hypot_test): Add another test.
35273         [BZ #14868]
35274         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35275         Return a+b for ratio over 2**120, not 2**60.
35276         * math/libm-test.inc (hypot_test): Add another test.
35278         * math/libm-test.inc (clog_test): Use
35279         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35280         (clog10_test): Likewise.
35282         [BZ #6778]
35283         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35285 2012-11-22  Andreas Schwab  <schwab@suse.de>
35287         * sysdeps/i386/fpu/libm-test-ulps: Update.
35289 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35291         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35292         printf output with newline.
35294 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35296         [BZ #14865]
35297         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35298         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35299         -z nodlopen, -z initfirst and -z execstack support.
35300         * configure: Regenerated.
35302         * elf/elf.h (DF_1_NODIRECT): New macro.
35303         (DF_1_IGNMULDEF): Likewise.
35304         (DF_1_NOKSYMS): Likewise.
35305         (DF_1_NOHDR): Likewise.
35306         (DF_1_EDITED): Likewise.
35307         (DF_1_NORELOC): Likewise.
35308         (DF_1_SYMINTPOSE): Likewise.
35309         (DF_1_GLOBAUDIT): Likewise.
35310         (DF_1_SINGLETON): Likewise.
35311         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35312         DT_1_SUPPORTED_MASK bits.
35313         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35315 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35317         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35319 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35321         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35322         macro.
35324         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35325         (sendmmsg): Move declarations...
35326         * socket/sys/socket.h: ... here.
35327         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35328         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35329         include it from...
35330         * socket/recvmmsg.c: ... this new file.
35331         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35332         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35333         definition of __sendmmsg hidden.
35334         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35335         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35336         Move ENOSYS stub into and include it from...
35337         * socket/sendmmsg.c: ... this new file.
35338         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35339         (sysdep_routines): Move recvmmsg and sendmmsg...
35340         * socket/Makefile (routines): ... here.
35341         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35342         (GLIBC_PRIVATE): Add __sendmmsg.
35343         * include/sys/socket.h (__sendmmsg): Add declarations.
35344         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35345         sendmmsg.
35347 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35349         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35350         variable I1 with __attribute__ ((unused)).
35351         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35353 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35355         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35356         DUMMY variables with __attribute__ ((unused)).
35358         * bits/byteswap.h: Include <bits/types.h>.
35359         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35361 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35363         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35364         string_t.  Do not manually set errno.
35365         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35366         length with __strnlen.  Make sure to both set errno and return it on
35367         failure.
35369 2012-11-19  David S. Miller  <davem@davemloft.net>
35371         With help from Joseph Myers.
35372         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35373         very large arguments properly.
35374         * math/libm-test.inc (atan_test): New tests.
35375         (atan2_test): New tests.
35376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35379 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35381         [BZ #14856]
35382         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35383         Define to 3.
35385         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35386         [POSIX] (EADDRNOTAVAIL): Likewise.
35387         [POSIX] (EAFNOSUPPORT): Likewise.
35388         [POSIX] (EALREADY): Likewise.
35389         [POSIX] (ECONNABORTED): Likewise.
35390         [POSIX] (ECONNREFUSED): Likewise.
35391         [POSIX] (ECONNRESET): Likewise.
35392         [POSIX] (EDESTADDRREQ): Likewise.
35393         [POSIX] (EDQUOT): Likewise.
35394         [POSIX] (EHOSTUNREACH): Likewise.
35395         [POSIX] (EIDRM): Likewise.
35396         [POSIX] (EISCONN): Likewise.
35397         [POSIX] (ELOOP): Likewise.
35398         [POSIX] (EMULTIHOP): Likewise.
35399         [POSIX] (ENETDOWN): Likewise.
35400         [POSIX] (ENETUNREACH): Likewise.
35401         [POSIX] (ENOBUFS): Likewise.
35402         [POSIX] (ENODATA): Likewise.
35403         [POSIX] (ENOLINK): Likewise.
35404         [POSIX] (ENOMSG): Likewise.
35405         [POSIX] (ENOPROTOOPT): Likewise.
35406         [POSIX] (ENOSR): Likewise.
35407         [POSIX] (ENOSTR): Likewise.
35408         [POSIX] (ENOTCONN): Likewise.
35409         [POSIX] (ENOTSOCK): Likewise.
35410         [POSIX] (EOPNOTSUPP): Likewise.
35411         [POSIX] (EOVERFLOW): Likewise.
35412         [POSIX] (EPROTO): Likewise.
35413         [POSIX] (EPROTONOSUPPORT): Likewise.
35414         [POSIX] (EPROTOTYPE): Likewise.
35415         [POSIX] (ESTALE): Likewise.
35416         [POSIX] (ETIME): Likewise.
35417         [POSIX] (ETXTBSY): Likewise.
35418         [POSIX] (EWOULDBLOCK): Likewise.
35419         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35420         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35421         [POSIX] (SEEK_CUR): Likewise.
35422         [POSIX] (SEEK_END): Likewise.
35423         [POSIX || UNIX98] (mode_t): Do not require.
35424         [POSIX] (off_t): Likewise.
35425         [POSIX] (pid_t): Likewise.
35426         [POSIX] (sys/stat.h): Do not allow header.
35427         [POSIX] (unistd.h): Likewise.
35428         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35429         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35430         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35431         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35432         require.
35433         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35434         sigevent): Specify elements.
35435         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35436         entry.
35437         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35438         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35440         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35441         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35442         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35443         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35444         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35445         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35446         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35447         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35448         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35449         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35450         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35451         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35452         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35453         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35454         Likewise.
35455         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35456         Likewise.
35457         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35458         Likewise.
35459         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35460         Likewise.
35461         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35462         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35463         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35464         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35465         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35466         Specify lower bound on value.
35467         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35468         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35469         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35470         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35471         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35472         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35473         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35474         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35475         value.
35476         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35477         as optional.
35478         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35479         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35480         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35481         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35482         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35483         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35484         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35485         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35486         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35487         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35488         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35489         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35490         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35491         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35492         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35493         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35494         entry.
35495         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35496         optional.
35497         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35498         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35499         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35500         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35501         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35502         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35503         Likewise.
35504         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35505         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35506         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35507         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35508         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35509         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35510         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35511         as optional.
35512         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35513         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35514         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35515         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35516         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35517         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35518         specify as optional.
35519         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35520         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35521         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35522         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35523         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35524         [XPG3] (NL_LANGMAX): Likewise.
35525         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35526         [POSIX || XPG3] (NL_NMAX): Likewise.
35527         [POSIX || XPG3] (NL_SETMAX): Likewise.
35528         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35529         [XPG3] (NZERO): Likewise.
35530         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35531         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35532         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35533         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35534         (REG_ERANGE): Expect.
35535         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35536         optional-constant.
35537         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35538         Use (void) in prototype.
35539         [POSIX] (*_t): Allow.
35540         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35541         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35542         (WRDE_BADVAL): Expect.
35544         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35545         expect.
35546         [XPG3 || XPG4] (O_RSYNC): Likewise.
35547         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35548         Likewise.
35549         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35550         [XPG3 || XPG4] (sigqueue): Likewise.
35551         [XPG3 || XPG4] (sigtimedwait): Likewise.
35552         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35553         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35554         [XPG3 || XPG4] (vsnprintf): Likewise.
35555         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35556         Likewise.
35557         [XPG3 || XPG4] (blksize_t): Likewise.
35558         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35559         Likewise.
35560         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35561         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35562         [XPG3 || XPG4] (struct itimerspec): Likewise.
35563         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35564         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35565         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35566         [XPG3 || XPG4] (clockid_t): Likewise.
35567         [XPG3 || XPG4] (timer_t): Likewise.
35568         [XPG3 || XPG4] (clock_getres): Likewise.
35569         [XPG3 || XPG4] (clock_gettime): Likewise.
35570         [XPG3 || XPG4] (clock_settime): Likewise.
35571         [XPG3 || XPG4] (nanosleep): Likewise.
35572         [XPG3 || XPG4] (timer_create): Likewise.
35573         [XPG3 || XPG4] (timer_delete): Likewise.
35574         [XPG3 || XPG4] (timer_gettime): Likewise.
35575         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35576         [XPG3 || XPG4] (timer_settime): Likewise.
35577         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35578         [XPG3 || XPG4] (getlogin_r): Likewise.
35579         [XPG3 || XPG4] (pread): Likewise.
35580         [XPG3 || XPG4] (pthread_atfork): Likewise.
35581         [XPG3 || XPG4] (pwrite): Likewise.
35583         [BZ #14835]
35584         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35585         <bits/siginfo.h>.
35587 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35589         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35590         finalizing MALLSTREAM.
35592         * sysdeps/mach/hurd/syncfs.c: New file.
35594 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35596         [BZ #14719]
35597         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35598         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35599         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35600         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35601         (_nss_dns_gethostbyname4_r): Likewise.
35602         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35603         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35605 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35607         [BZ #13763]
35608         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35610 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35612         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35613         * elf/cache.c (print_entry): Print ",AArch64" for
35614         FLAG_AARCH64_LIB64
35616         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35617         * elf/cache.c (print_entry): Print ",hard-float" for
35618         FLAG_ARM_LIBHF.
35620 2012-11-18  David S. Miller  <davem@davemloft.net>
35622         With help from Joseph Myers.
35623         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35624         cutoff to 2**-13.
35625         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35626         cutoff to 2**-25.
35627         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35628         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35629         small.
35630         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35631         * math/libm-test.inc (y0_test): New tests.
35632         (y1_test): New tests.
35633         * sysdeps/i386/fpu/libm-test-ulps: Update.
35634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35637 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35639         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35640         64-bit targets.
35641         * configure: Regenerated.
35643 2012-11-17  David S. Miller  <davem@davemloft.net>
35645         [BZ #14811]
35646         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35647         nonzero exponents with absolute value below 0x1p-128 to +/-
35648         0x1p-128.
35650 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35652         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35654         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35656         * posix/getconf-speclist.c: New file.
35657         * posix/posix-envs.def: Likewise.
35658         * posix/confstr.c (START_ENV_GROUP): New macro.
35659         (END_ENV_GROUP): Likewise.
35660         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35661         (KNOWN_PRESENT_ENV_STRING): Likewise.
35662         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35663         (UNKNOWN_ENVIRONMENT): Likewise.
35664         (confstr): Include posix-envs.def instead of handling
35665         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35666         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35667         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35668         (END_ENV_GROUP): Likewise.
35669         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35670         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35671         (UNKNOWN_ENVIRONMENT): Likewise.
35672         (__sysconf): Include posix-envs.def instead of handling associated
35673         cases directly here.
35674         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35675         preprocessing getconf-speclist.c rather than running getconf or
35676         generating empty file.
35678 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35680         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35682 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35684         [BZ #14672]
35685         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35687 2012-11-16  David S. Miller  <davem@davemloft.net>
35689         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35690         smaller than LDBL_EPSILON/2.0L, just return xm1.
35692 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35694         * elf/tst-array1.c (init): Set constructor priority to 1000.
35695         (fini): Set destructor priority to 1000.
35696         * elf/tst-array2dep.c: Likewise.
35698 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35700         [BZ #11741]
35701         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35702         (_IO_new_file_xsputn): Also return EOF if none of the input
35703         data was written when overflow failed.
35704         * libio/iopadn.c (_IO_padn): Likewise.
35705         * libio/iowpadn.c (_IO_wpadn): Likewise.
35706         * stdio-common/tst-put-error.c: Add copyright notice.
35707         (do_test): Add case for printing padded string.
35708         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35709         _IO_padn returned error.
35710         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35711         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35712         return EOF.
35714 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35716         * libio/libioP.h: Add comment note that the references to C++
35717         bits are now obsolete.
35719 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35721         * math/libm-test.inc (check_complex): Use asprintf.
35723 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35725         * debug/pcprofiledump.c (print_version): Update copyright year.
35726         * malloc/memusagestat.c (print_version): Likewise.
35728 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35730         [BZ #14831]
35731         * elf/Makefile (tests): Add tst-audit8.
35732         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35733         ($(objpfx)tst-audit8.out): New target.
35734         (tst-audit8-ENV): New variable.
35735         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35736         audit if l_reloc_result is NULL.
35737         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35738         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35739         * elf/tst-audit8.c: New file.
35741 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35743         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35744         * misc/Makefile (CFLAGS-select.c): Define.
35745         * posix/Makefile (CFLAGS-pause.c): Define.
35747 2012-11-13  David S. Miller  <davem@davemloft.net>
35749         * crypt/Makefile: Move test targets after toplevel Rules
35750         inclusion.  Grab any necessary sysdep routines when linking.
35751         * crypt/md5.c (md5_process_block): Remove define, we will always
35752         name it __md5_process_block.
35753         (md5_finish_ctx): Update md5_process_block call.
35754         (md5_stream): Likewise.
35755         (md5_process_bytes): Likewise.
35756         (md5_process_block): Rename to __md5_process_block and move to ...
35757         * crypt/md5-block.c: ... here.
35758         * crypt/sha256.c (sha256_process_block): Move to ...
35759         * crypt/sha256-block.c: ... here.
35760         * crypt/sha512.c (sha512_process_block): Move to ...
35761         * crypt/sha512-block.c: ... here.
35762         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35763         path.
35764         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35765         * sysdeps/sparc/sparc64/multiarch/Makefile
35766         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35767         crypt subdir.
35768         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35769         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35770         multiarch changes.
35771         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35772         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35773         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35774         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35775         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35776         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35777         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35778         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35779         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35780         file.
35781         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35782         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35783         file.
35784         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35786 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35788         * timezone/tzselect.ksh: Update from tzcode git revision
35789         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35790         * timezone/zdump.c: Likewise.
35791         * timezone/zic.c: Likewise.
35792         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35793         in TZVERSION setting, not $(PKGVERSION).
35794         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35795         REPORT_BUGS_TO settings.
35797         [BZ #14838]
35798         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35799         macro.
35801 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35803         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35804         detection to immediately after _FP_ROUND().
35805         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35806         bits are 0.
35808 2012-11-11  David S. Miller  <davem@davemloft.net>
35810         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35811         inttypes.h
35812         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35813         __close rather than their public counterparts.
35815 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35817         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35818         file.
35819         [UNIX98] (sem_timedwait): Do not expect.
35820         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35821         [XPG4 || UNIX98] (sockatmark): Do not expect.
35822         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35823         (clock_getcpuclockid): Do not expect.
35824         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35825         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35826         Do not expect.
35827         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35828         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35829         [UNIX98] (vwscanf): Likewise.
35830         [UNIX98] (vswscanf): Likewise.
35832 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35834         * timezone/version.h: Remove file.
35835         * timezone/README: Do not refer to version.h.
35836         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35837         $(objpfx)version.h.
35838         ($(objpfx)zdump.o): Likewise.
35839         ($(objpfx)version.h): New target.
35841         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35842         2012i.
35843         * timezone/README: Don't mention modification to tzselect.ksh.
35844         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35845         work on unmodified tzselect.ksh.  Substitute version numbers in
35846         tzselect.ksh.
35848         * Makefile (format-me): Remove.
35849         (INSTALL): Adjust indentation.  Use commands directly instead of
35850         using $(format-me).
35852         * aclocal.m4 (ACX_PKGVERSION): New macro.
35853         (ACX_BUGURL): Likewise.
35854         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35855         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35856         (REPORT_BUGS_TO): Likewise.
35857         * configure: Regenerated.
35858         * config.h.in (PKGVERSION): New macro.
35859         (REPORT_BUGS_TO): Likewise.
35860         * config.make.in (PKGVERSION): New variable.
35861         (PKGVERSION_TEXI): Likewise.
35862         (REPORT_BUGS_TO): Likewise.
35863         (REPORT_BUGS_TEXI): Likewise.
35864         * Makefile (format-me): Use -I$(common-objpfx)manual.
35865         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35866         ($(common-objpfx)manual/%): New target.
35867         (manual/%): Remove target.
35868         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35869         (print_version): Use PKGVERSION.
35870         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35871         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35872         and REPORT_BUGS_TO.
35873         ($(objpfx)xtrace): Likewise.
35874         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35875         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35876         (print_version): Use PKGVERSION.
35877         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35878         (do_version): Use PKGVERSION.
35879         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35880         REPORT_BUGS_TO.
35881         (common-ldd-rewrite): Likewise.
35882         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35883         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35884         (print_version): Use PKGVERSION.
35885         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35886         * elf/pldd.c (argp_program_bug_address): Remove variable.
35887         (more_help): New function.
35888         (argp): Use more_help.
35889         (print_version): Use PKGVERSION.
35890         * elf/sln.c (main): Use PKGVERSION.
35891         (usage): Use REPORT_BUGS_TO.
35892         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35893         (top level): Use PKGVERSION.
35894         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35895         (print_version): Use PKGVERSION.
35896         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35897         (print_version): Use PKGVERSION.
35898         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35899         (print_version): Use PKGVERSION.
35900         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35901         (print_version): Use PKGVERSION.
35902         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35903         (print_version): Use PKGVERSION.
35904         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35905         (print_version): Use PKGVERSION.
35906         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35907         and BUGURL.
35908         ($(objpfx)memusage): Likewise.
35909         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35910         (do_version): Use PKGVERSION.
35911         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35912         (print_version): Use PKGVERSION.
35913         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35914         ($PKGVERSION): New variable.
35915         ($REPORT_BUGS_TO): Likewise.
35916         (usage): Use $REPORT_BUGS_TO.
35917         (top level): Use $PKGVERSION.
35918         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35919         ($(objpfx)pkgvers.texi): New rule.
35920         ($(objpfx)stamp-pkgvers): Likewise.
35921         * manual/install.texi: Include pkgvers.texi.
35922         (--with-pkgversion): Document new configure option.
35923         (--with-bugurl): Likewise.
35924         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35925         than necessarily for this particular distribution.  Use
35926         REPORT_BUGS_TO for where to report bugs.
35927         * INSTALL: Regenerated.
35928         * manual/libc.texinfo: Include pkgvers.texi.
35929         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35930         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35931         (print_version): Use PKGVERSION.
35932         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35933         (print_version): Use PKGVERSION.
35934         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35935         (print_version): Use PKGVERSION.
35936         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35937         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35938         macro.
35939         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35940         (print_version): Use PKGVERSION.
35941         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35942         (print_version): Use PKGVERSION.
35943         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35944         and PKGVERSION.
35946         * timezone/checktab.awk: Update from tzcode 2012i.
35947         * timezone/ialloc.c: Likewise.
35948         * timezone/private.h: Likewise.
35949         * timezone/scheck.c: Likewise.
35950         * timezone/tzfile.h: Likewise.
35951         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35952         (TZVERSION): Hardcode tzcode version number.
35953         * timezone/zdump.c: Update from tzcode 2012i.
35954         * timezone/zic.c: Likewise.
35955         * timezone/version.h: New file.
35956         * timezone/README: Describe version.h.  Update upstream location.
35958         [BZ #14824]
35959         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35960         (mktemp): Enable declaration.
35961         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35962         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35963         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35964         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35965         Likewise.
35966         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35967         Likewise.
35968         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35969         Likewise.
35970         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35971         Likewise.
35972         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35973         Likewise.
35974         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35975         Likewise.
35977         [BZ #14821]
35978         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35979         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35980         for copies of such integer values.
35981         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35982         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35984 2012-11-09  Andreas Jaeger  <aj@suse.de>
35986         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35987         definitions and declarations that are provided by
35988         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35990 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35992         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35993         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35994         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35995         definition.
35997 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35999         * elf/elf.h: Update comment before AArch64 relocations.
36001 2012-11-07  David S. Miller  <davem@davemloft.net>
36003         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36004         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36005         (__start_context): Declare.
36006         (__makecontext_ret): Delete.
36007         (__makecontext): Hook up __start_context instead of
36008         __makecontext_ret.
36009         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36010         (sysdep_routines): Add __start_context when in stdlib.
36012 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36014         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36015         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36016         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
36017         hardcoded "nm".
36018         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
36019         (READELF): New variable.  Use it instead of hardcoded "readelf".
36021 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
36023         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36024         * sysdeps/x86/Makefile: Here.
36025         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36026         * sysdeps/x86/tst-xmmymm.sh: This.
36028 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36030         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36031         expectations.
36032         [UNIX98] (pthread_barrier_t): Do not expect.
36033         [UNIX98] (pthread_barrierattr_t): Likewise.
36034         [UNIX98] (pthread_spinlock_t): Likewise.
36035         [UNIX98] (pthread_barrier_destroy): Likewise.
36036         [UNIX98] (pthread_barrier_init): Likewise.
36037         [UNIX98] (pthread_barrier_wait): Likewise.
36038         [UNIX98] (pthread_barrierattr_destroy): Likewise.
36039         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36040         [UNIX98] (pthread_barrierattr_init): Likewise.
36041         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36042         [UNIX98] (pthread_getcpuclockid): Likewise.
36043         [UNIX98] (pthread_mutex_timedlock): Likewise.
36044         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36045         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36046         [UNIX98] (pthread_sigmask): Likewise.
36047         [UNIX98] (pthread_spin_destroy): Likewise.
36048         [UNIX98] (pthread_spin_init): Likewise.
36049         [UNIX98] (pthread_spin_lock): Likewise.
36050         [UNIX98] (pthread_spin_trylock): Likewise.
36051         [UNIX98] (pthread_spin_unlock): Likewise.
36052         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36053         Do not expect.
36054         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36055         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36056         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36057         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36058         [XPG3 || XPG4] (pthread_key_t): Likewise.
36059         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36060         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36061         [XPG3 || XPG4] (pthread_once_t): Likewise.
36062         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36063         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36064         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36065         [XPG3 || XPG4] (pthread_t): Likewise.
36067         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36068         not expect.
36069         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36071         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36072         Change function return type to int.
36074         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36075         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36076         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36077         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36078         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36079         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36080         [!POSIX] (posix_madvise): Likewise.
36081         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36082         && !UNIX98].
36083         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36084         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36085         (mode_t): Likewise.
36086         (posix_mem_offset): Likewise.
36087         (posix_typed_mem_get_info): Likewise.
36088         (posix_typed_mem_open): Likewise.
36090         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36091         Change condition to [XOPEN2K8].
36093         * conform/conformtest.pl: Preprocess allow-header data with -x c
36094         instead of from stdin.
36095         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36096         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36097         [C99-based standards] (cerfc): Likewise.
36098         [C99-based standards] (cexp2): Likewise.
36099         [C99-based standards] (cexpm1): Likewise.
36100         [C99-based standards] (clog10): Likewise.
36101         [C99-based standards] (clog1p): Likewise.
36102         [C99-based standards] (clog2): Likewise.
36103         [C99-based standards] (clgamma): Likewise.
36104         [C99-based standards] (ctgamma): Likewise.
36105         [C99-based standards] (cerff): Likewise.
36106         [C99-based standards] (cerfcf): Likewise.
36107         [C99-based standards] (cexp2f): Likewise.
36108         [C99-based standards] (cexpm1f): Likewise.
36109         [C99-based standards] (clog10f): Likewise.
36110         [C99-based standards] (clog1pf): Likewise.
36111         [C99-based standards] (clog2f): Likewise.
36112         [C99-based standards] (clgammaf): Likewise.
36113         [C99-based standards] (ctgammaf): Likewise.
36114         [C99-based standards] (cerfl): Likewise.
36115         [C99-based standards] (cerfcl): Likewise.
36116         [C99-based standards] (cexp2l): Likewise.
36117         [C99-based standards] (cexpm1l): Likewise.
36118         [C99-based standards] (clog10l): Likewise.
36119         [C99-based standards] (clog1pl): Likewise.
36120         [C99-based standards] (clog2l): Likewise.
36121         [C99-based standards] (clgammal): Likewise.
36122         [C99-based standards] (ctgammal): Likewise.
36123         * conform/data/inttypes.h-data [C99-based standards]: Include
36124         stdint.h-data.  Remove all expectations for stdint.h contents.
36125         [C99-based standards] (PRI*): Do not allow.
36126         [C99-based standards] (SCN*): Likewise.
36127         [C99-based standards] (*_t): Likewise.
36128         [C99-based-standards] (PRId8): Expect macro.
36129         [C99-based-standards] (PRIi8): Likewise.
36130         [C99-based-standards] (PRIo8): Likewise.
36131         [C99-based-standards] (PRIu8): Likewise.
36132         [C99-based-standards] (PRIx8): Likewise.
36133         [C99-based-standards] (PRIX8): Likewise.
36134         [C99-based-standards] (SCNd8): Likewise.
36135         [C99-based-standards] (SCNi8): Likewise.
36136         [C99-based-standards] (SCNo8): Likewise.
36137         [C99-based-standards] (SCNu8): Likewise.
36138         [C99-based-standards] (SCNx8): Likewise.
36139         [C99-based-standards] (PRIdLEAST8): Likewise.
36140         [C99-based-standards] (PRIiLEAST8): Likewise.
36141         [C99-based-standards] (PRIoLEAST8): Likewise.
36142         [C99-based-standards] (PRIuLEAST8): Likewise.
36143         [C99-based-standards] (PRIxLEAST8): Likewise.
36144         [C99-based-standards] (PRIXLEAST8): Likewise.
36145         [C99-based-standards] (SCNdLEAST8): Likewise.
36146         [C99-based-standards] (SCNiLEAST8): Likewise.
36147         [C99-based-standards] (SCNoLEAST8): Likewise.
36148         [C99-based-standards] (SCNuLEAST8): Likewise.
36149         [C99-based-standards] (SCNxLEAST8): Likewise.
36150         [C99-based-standards] (PRIdFAST8): Likewise.
36151         [C99-based-standards] (PRIiFAST8): Likewise.
36152         [C99-based-standards] (PRIoFAST8): Likewise.
36153         [C99-based-standards] (PRIuFAST8): Likewise.
36154         [C99-based-standards] (PRIxFAST8): Likewise.
36155         [C99-based-standards] (PRIXFAST8): Likewise.
36156         [C99-based-standards] (SCNdFAST8): Likewise.
36157         [C99-based-standards] (SCNiFAST8): Likewise.
36158         [C99-based-standards] (SCNoFAST8): Likewise.
36159         [C99-based-standards] (SCNuFAST8): Likewise.
36160         [C99-based-standards] (SCNxFAST8): Likewise.
36161         [C99-based-standards] (PRId16): Likewise.
36162         [C99-based-standards] (PRIi16): Likewise.
36163         [C99-based-standards] (PRIo16): Likewise.
36164         [C99-based-standards] (PRIu16): Likewise.
36165         [C99-based-standards] (PRIx16): Likewise.
36166         [C99-based-standards] (PRIX16): Likewise.
36167         [C99-based-standards] (SCNd16): Likewise.
36168         [C99-based-standards] (SCNi16): Likewise.
36169         [C99-based-standards] (SCNo16): Likewise.
36170         [C99-based-standards] (SCNu16): Likewise.
36171         [C99-based-standards] (SCNx16): Likewise.
36172         [C99-based-standards] (PRIdLEAST16): Likewise.
36173         [C99-based-standards] (PRIiLEAST16): Likewise.
36174         [C99-based-standards] (PRIoLEAST16): Likewise.
36175         [C99-based-standards] (PRIuLEAST16): Likewise.
36176         [C99-based-standards] (PRIxLEAST16): Likewise.
36177         [C99-based-standards] (PRIXLEAST16): Likewise.
36178         [C99-based-standards] (SCNdLEAST16): Likewise.
36179         [C99-based-standards] (SCNiLEAST16): Likewise.
36180         [C99-based-standards] (SCNoLEAST16): Likewise.
36181         [C99-based-standards] (SCNuLEAST16): Likewise.
36182         [C99-based-standards] (SCNxLEAST16): Likewise.
36183         [C99-based-standards] (PRIdFAST16): Likewise.
36184         [C99-based-standards] (PRIiFAST16): Likewise.
36185         [C99-based-standards] (PRIoFAST16): Likewise.
36186         [C99-based-standards] (PRIuFAST16): Likewise.
36187         [C99-based-standards] (PRIxFAST16): Likewise.
36188         [C99-based-standards] (PRIXFAST16): Likewise.
36189         [C99-based-standards] (SCNdFAST16): Likewise.
36190         [C99-based-standards] (SCNiFAST16): Likewise.
36191         [C99-based-standards] (SCNoFAST16): Likewise.
36192         [C99-based-standards] (SCNuFAST16): Likewise.
36193         [C99-based-standards] (SCNxFAST16): Likewise.
36194         [C99-based-standards] (PRId32): Likewise.
36195         [C99-based-standards] (PRIi32): Likewise.
36196         [C99-based-standards] (PRIo32): Likewise.
36197         [C99-based-standards] (PRIu32): Likewise.
36198         [C99-based-standards] (PRIx32): Likewise.
36199         [C99-based-standards] (PRIX32): Likewise.
36200         [C99-based-standards] (SCNd32): Likewise.
36201         [C99-based-standards] (SCNi32): Likewise.
36202         [C99-based-standards] (SCNo32): Likewise.
36203         [C99-based-standards] (SCNu32): Likewise.
36204         [C99-based-standards] (SCNx32): Likewise.
36205         [C99-based-standards] (PRIdLEAST32): Likewise.
36206         [C99-based-standards] (PRIiLEAST32): Likewise.
36207         [C99-based-standards] (PRIoLEAST32): Likewise.
36208         [C99-based-standards] (PRIuLEAST32): Likewise.
36209         [C99-based-standards] (PRIxLEAST32): Likewise.
36210         [C99-based-standards] (PRIXLEAST32): Likewise.
36211         [C99-based-standards] (SCNdLEAST32): Likewise.
36212         [C99-based-standards] (SCNiLEAST32): Likewise.
36213         [C99-based-standards] (SCNoLEAST32): Likewise.
36214         [C99-based-standards] (SCNuLEAST32): Likewise.
36215         [C99-based-standards] (SCNxLEAST32): Likewise.
36216         [C99-based-standards] (PRIdFAST32): Likewise.
36217         [C99-based-standards] (PRIiFAST32): Likewise.
36218         [C99-based-standards] (PRIoFAST32): Likewise.
36219         [C99-based-standards] (PRIuFAST32): Likewise.
36220         [C99-based-standards] (PRIxFAST32): Likewise.
36221         [C99-based-standards] (PRIXFAST32): Likewise.
36222         [C99-based-standards] (SCNdFAST32): Likewise.
36223         [C99-based-standards] (SCNiFAST32): Likewise.
36224         [C99-based-standards] (SCNoFAST32): Likewise.
36225         [C99-based-standards] (SCNuFAST32): Likewise.
36226         [C99-based-standards] (SCNxFAST32): Likewise.
36227         [C99-based-standards] (PRId64): Likewise.
36228         [C99-based-standards] (PRIi64): Likewise.
36229         [C99-based-standards] (PRIo64): Likewise.
36230         [C99-based-standards] (PRIu64): Likewise.
36231         [C99-based-standards] (PRIx64): Likewise.
36232         [C99-based-standards] (PRIX64): Likewise.
36233         [C99-based-standards] (SCNd64): Likewise.
36234         [C99-based-standards] (SCNi64): Likewise.
36235         [C99-based-standards] (SCNo64): Likewise.
36236         [C99-based-standards] (SCNu64): Likewise.
36237         [C99-based-standards] (SCNx64): Likewise.
36238         [C99-based-standards] (PRIdLEAST64): Likewise.
36239         [C99-based-standards] (PRIiLEAST64): Likewise.
36240         [C99-based-standards] (PRIoLEAST64): Likewise.
36241         [C99-based-standards] (PRIuLEAST64): Likewise.
36242         [C99-based-standards] (PRIxLEAST64): Likewise.
36243         [C99-based-standards] (PRIXLEAST64): Likewise.
36244         [C99-based-standards] (SCNdLEAST64): Likewise.
36245         [C99-based-standards] (SCNiLEAST64): Likewise.
36246         [C99-based-standards] (SCNoLEAST64): Likewise.
36247         [C99-based-standards] (SCNuLEAST64): Likewise.
36248         [C99-based-standards] (SCNxLEAST64): Likewise.
36249         [C99-based-standards] (PRIdFAST64): Likewise.
36250         [C99-based-standards] (PRIiFAST64): Likewise.
36251         [C99-based-standards] (PRIoFAST64): Likewise.
36252         [C99-based-standards] (PRIuFAST64): Likewise.
36253         [C99-based-standards] (PRIxFAST64): Likewise.
36254         [C99-based-standards] (PRIXFAST64): Likewise.
36255         [C99-based-standards] (SCNdFAST64): Likewise.
36256         [C99-based-standards] (SCNiFAST64): Likewise.
36257         [C99-based-standards] (SCNoFAST64): Likewise.
36258         [C99-based-standards] (SCNuFAST64): Likewise.
36259         [C99-based-standards] (SCNxFAST64): Likewise.
36260         [C99-based-standards] (PRIdMAX): Likewise.
36261         [C99-based-standards] (PRIiMAX): Likewise.
36262         [C99-based-standards] (PRIoMAX): Likewise.
36263         [C99-based-standards] (PRIuMAX): Likewise.
36264         [C99-based-standards] (PRIxMAX): Likewise.
36265         [C99-based-standards] (PRIXMAX): Likewise.
36266         [C99-based-standards] (SCNdMAX): Likewise.
36267         [C99-based-standards] (SCNiMAX): Likewise.
36268         [C99-based-standards] (SCNoMAX): Likewise.
36269         [C99-based-standards] (SCNuMAX): Likewise.
36270         [C99-based-standards] (SCNxMAX): Likewise.
36271         [C99-based-standards] (PRIdPTR): Likewise.
36272         [C99-based-standards] (PRIiPTR): Likewise.
36273         [C99-based-standards] (PRIoPTR): Likewise.
36274         [C99-based-standards] (PRIuPTR): Likewise.
36275         [C99-based-standards] (PRIxPTR): Likewise.
36276         [C99-based-standards] (PRIXPTR): Likewise.
36277         [C99-based-standards] (SCNdPTR): Likewise.
36278         [C99-based-standards] (SCNiPTR): Likewise.
36279         [C99-based-standards] (SCNoPTR): Likewise.
36280         [C99-based-standards] (SCNuPTR): Likewise.
36281         [C99-based-standards] (SCNxPTR): Likewise.
36282         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36283         allow.
36284         * conform/data/stdint.h-data: Update comments to clarify
36285         requirements.
36286         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36287         type.
36288         [C99-based standards] (INT8_MAX): Likewise.
36289         [C99-based standards] (INT16_MIN): Likewise.
36290         [C99-based standards] (INT16_MAX): Likewise.
36291         [C99-based standards] (INT32_MIN): Likewise.
36292         [C99-based standards] (INT32_MAX): Likewise.
36293         [C99-based standards] (INT64_MIN): Likewise.
36294         [C99-based standards] (INT64_MAX): Likewise.
36295         [C99-based standards] (UINT8_MAX): Likewise.
36296         [C99-based standards] (UINT16_MAX): Likewise.
36297         [C99-based standards] (UINT32_MAX): Likewise.
36298         [C99-based standards] (UINT64_MAX): Likewise.
36299         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36300         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36301         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36302         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36303         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36304         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36305         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36306         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36307         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36308         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36309         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36310         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36311         [C99-based standards] (INT_FAST8_MIN): Likewise.
36312         [C99-based standards] (INT_FAST8_MAX): Likewise.
36313         [C99-based standards] (INT_FAST16_MIN): Likewise.
36314         [C99-based standards] (INT_FAST16_MAX): Likewise.
36315         [C99-based standards] (INT_FAST32_MIN): Likewise.
36316         [C99-based standards] (INT_FAST32_MAX): Likewise.
36317         [C99-based standards] (INT_FAST64_MIN): Likewise.
36318         [C99-based standards] (INT_FAST64_MAX): Likewise.
36319         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36320         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36321         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36322         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36323         [C99-based standards] (INTPTR_MIN): Likewise.
36324         [C99-based standards] (INTPTR_MAX): Likewise.
36325         [C99-based standards] (UINTPTR_MAX): Likewise.
36326         [C99-based standards] (INTMAX_MIN): Likewise.
36327         [C99-based standards] (INTMAX_MAX): Likewise.
36328         [C99-based standards] (UINTMAX_MAX): Likewise.
36329         [C99-based standards] (PTRDIFF_MIN): Likewise.
36330         [C99-based standards] (PTRDIFF_MAX): Likewise.
36331         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36332         [C99-based standards] (SIZE_MAX): Likewise.
36333         [C99-based standards] (WCHAR_MAX): Likewise.
36334         [C99-based standards] (WINT_MAX): Likewise.
36335         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36336         constraint on value.
36337         [C99-based standards] (WCHAR_MIN): Likewise.
36338         [C99-based standards] (WINT_MIN): Likewise.
36339         [C99-based standards] (*_t): Allow.
36340         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36341         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36342         Include math.h-data and complex.h-data.  Remove all expectations
36343         of math.h and complex.h contents.
36344         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36345         at end of line.
36346         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36347         (struct tm): Expect tag.
36348         [C99-based-standards] (wcstof): Expect function.
36349         [C99-based-standards] (wcstold): Likewise.
36350         [C99-based-standards] (wcstoll): Likewise.
36351         [C99-based-standards] (wcstoull): Likewise.
36352         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36353         macro-int-constant.  Specify type.
36354         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36355         constraint on value.
36356         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36357         Specify type.
36358         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36359         Specify value.
36360         [ISO C standards]: Do not allow headers.
36361         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36362         wcs[abcdefghijklmnopqrstuvwxyz]*.
36363         [ISO C standards] (*_t): Do not allow.
36364         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36365         Expect function.
36366         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36367         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36368         Specify type.
36369         [ISO C standards]: Do not allow headers.
36370         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36371         is[abcdefghijklmnopqrstuvwxyz]*.
36372         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36373         to[abcdefghijklmnopqrstuvwxyz]*.
36374         [ISO C standards] (*_t): Do not allow.
36375         * conform/data/stdalign.h-data: New file.
36376         * conform/data/stdbool.h-data: Likewise.
36377         * conform/data/stdnoreturn.h-data: Likewise.
36379 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36381         [BZ #14815]
36382         * manual/filesys.texi (Directory Entries): Typo fix.
36383         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36385 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36387         * elf/elf.h (EM_AARCH64): New macro.
36388         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36389         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36390         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36391         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36392         (R_AARCH64_TLSDESC): Likewise.
36393         (NT_ARM_TLS): Likewise.
36394         (NT_ARM_HW_BREAK): Likewise.
36395         (NT_ARM_HW_WATCH): Likewise.
36397 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36399         [BZ #14811]
36400         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36401         (__ieee754_powl): Saturate nonzero exponents with absolute value
36402         below 0x1p-79 to +/- 0x1p-79.
36403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36404         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36405         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36406         nonzero exponents with absolute value below 0x1p-32 to +/-
36407         0x1p-32.
36408         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36409         (__ieee754_powl): Saturate nonzero exponents with absolute value
36410         below 0x1p-79 to +/- 0x1p-79.
36411         * math/libm-test.inc (pow_test): Add more tests.
36413 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36415         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36416         _dl_s390_cap_flags with kernel. Increase string length.
36417         (_dl_s390_platforms): Add z196 and zEC12.
36419 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36421         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36422         Change XOPEN21K to XOPEN2K.
36424 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36426         * string/memmove.c: Use memcpy when possible.
36428 2012-11-06  Andreas Jaeger  <aj@suse.de>
36430         * po/eo.po: Update from translation team.
36432 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36434         [BZ #14793]
36435         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36436         exponent and small x and y exponents, scale x or y up.  Increase
36437         by 2 the exponent used in scaling up.
36438         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36439         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36440         * math/libm-test.inc (fma_test): Add more tests.
36441         (fma_test_towardzero): Likewise.
36442         (fma_test_downward): Likewise.
36443         (fma_test_upward): Likewise.
36445 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36447         [BZ #14805]
36448         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36449         fenv_t *.
36451         [BZ #14801]
36452         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36453         namespace for names of struct fields.
36454         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36455         fenv_t fields.
36456         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36457         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36459 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36461         [BZ #3665]
36462         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36464 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36466         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36467         PTR_DEMANGLE.
36469         [BZ #5246]
36470         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36471         PTR_DEMANGLE.
36473 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36475         [BZ #14797]
36476         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36477         definitely overflow as x * y not x * y + z.
36478         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36479         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36480         * math/libm-test.inc (fma_test): Add more tests.
36481         (fma_test_towardzero): Likewise.
36482         (fma_test_downward): Likewise.
36483         (fma_test_upward): Likewise.
36485 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36487         [BZ #157]
36489         * include/stub-tag.h: Remove file.
36490         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36491         '#include' of it.
36492         * manual/maint.texi (Porting): Don't reference it.
36493         * Makerules ($(objpfx)stubs): Likewise.
36494         * dirent/closedir.c: Don't include <stub-tag.h>.
36495         * dirent/dirfd.c: Likewise.
36496         * dirent/fdopendir.c: Likewise.
36497         * dirent/getdents.c: Likewise.
36498         * dirent/getdents64.c: Likewise.
36499         * dirent/opendir.c: Likewise.
36500         * dirent/readdir.c: Likewise.
36501         * dirent/readdir64.c: Likewise.
36502         * dirent/readdir64_r.c: Likewise.
36503         * dirent/readdir_r.c: Likewise.
36504         * dirent/rewinddir.c: Likewise.
36505         * dirent/seekdir.c: Likewise.
36506         * dirent/telldir.c: Likewise.
36507         * gmon/profil.c: Likewise.
36508         * grp/setgroups.c: Likewise.
36509         * inet/if_index.c: Likewise.
36510         * io/access.c: Likewise.
36511         * io/chdir.c: Likewise.
36512         * io/chmod.c: Likewise.
36513         * io/chown.c: Likewise.
36514         * io/close.c: Likewise.
36515         * io/dup.c: Likewise.
36516         * io/dup2.c: Likewise.
36517         * io/dup3.c: Likewise.
36518         * io/euidaccess.c: Likewise.
36519         * io/faccessat.c: Likewise.
36520         * io/fchdir.c: Likewise.
36521         * io/fchmod.c: Likewise.
36522         * io/fchmodat.c: Likewise.
36523         * io/fchown.c: Likewise.
36524         * io/fchownat.c: Likewise.
36525         * io/fcntl.c: Likewise.
36526         * io/flock.c: Likewise.
36527         * io/fstatfs.c: Likewise.
36528         * io/fstatfs64.c: Likewise.
36529         * io/fstatvfs.c: Likewise.
36530         * io/fstatvfs64.c: Likewise.
36531         * io/futimens.c: Likewise.
36532         * io/fxstat.c: Likewise.
36533         * io/fxstat64.c: Likewise.
36534         * io/fxstatat.c: Likewise.
36535         * io/fxstatat64.c: Likewise.
36536         * io/getcwd.c: Likewise.
36537         * io/isatty.c: Likewise.
36538         * io/lchmod.c: Likewise.
36539         * io/lchown.c: Likewise.
36540         * io/link.c: Likewise.
36541         * io/linkat.c: Likewise.
36542         * io/lseek.c: Likewise.
36543         * io/lseek64.c: Likewise.
36544         * io/lxstat64.c: Likewise.
36545         * io/mkdir.c: Likewise.
36546         * io/mkdirat.c: Likewise.
36547         * io/mkfifo.c: Likewise.
36548         * io/mkfifoat.c: Likewise.
36549         * io/open.c: Likewise.
36550         * io/open64.c: Likewise.
36551         * io/openat.c: Likewise.
36552         * io/openat64.c: Likewise.
36553         * io/pipe.c: Likewise.
36554         * io/pipe2.c: Likewise.
36555         * io/poll.c: Likewise.
36556         * io/posix_fadvise.c: Likewise.
36557         * io/posix_fadvise64.c: Likewise.
36558         * io/posix_fallocate.c: Likewise.
36559         * io/posix_fallocate64.c: Likewise.
36560         * io/read.c: Likewise.
36561         * io/readlink.c: Likewise.
36562         * io/readlinkat.c: Likewise.
36563         * io/rmdir.c: Likewise.
36564         * io/sendfile.c: Likewise.
36565         * io/sendfile64.c: Likewise.
36566         * io/statfs.c: Likewise.
36567         * io/statfs64.c: Likewise.
36568         * io/statvfs.c: Likewise.
36569         * io/statvfs64.c: Likewise.
36570         * io/symlink.c: Likewise.
36571         * io/symlinkat.c: Likewise.
36572         * io/ttyname.c: Likewise.
36573         * io/ttyname_r.c: Likewise.
36574         * io/umask.c: Likewise.
36575         * io/unlink.c: Likewise.
36576         * io/unlinkat.c: Likewise.
36577         * io/utime.c: Likewise.
36578         * io/utimensat.c: Likewise.
36579         * io/write.c: Likewise.
36580         * io/xmknod.c: Likewise.
36581         * io/xmknodat.c: Likewise.
36582         * io/xstat.c: Likewise.
36583         * io/xstat64.c: Likewise.
36584         * login/getpt.c: Likewise.
36585         * login/grantpt.c: Likewise.
36586         * login/unlockpt.c: Likewise.
36587         * math/e_acoshl.c: Likewise.
36588         * math/e_acosl.c: Likewise.
36589         * math/e_asinl.c: Likewise.
36590         * math/e_atan2l.c: Likewise.
36591         * math/e_atanhl.c: Likewise.
36592         * math/e_coshl.c: Likewise.
36593         * math/e_expl.c: Likewise.
36594         * math/e_fmodl.c: Likewise.
36595         * math/e_gammal_r.c: Likewise.
36596         * math/e_hypotl.c: Likewise.
36597         * math/e_j0l.c: Likewise.
36598         * math/e_j1l.c: Likewise.
36599         * math/e_jnl.c: Likewise.
36600         * math/e_lgammal_r.c: Likewise.
36601         * math/e_log10l.c: Likewise.
36602         * math/e_log2l.c: Likewise.
36603         * math/e_logl.c: Likewise.
36604         * math/e_powl.c: Likewise.
36605         * math/e_rem_pio2l.c: Likewise.
36606         * math/e_sinhl.c: Likewise.
36607         * math/e_sqrtl.c: Likewise.
36608         * math/fclrexcpt.c: Likewise.
36609         * math/fedisblxcpt.c: Likewise.
36610         * math/feenablxcpt.c: Likewise.
36611         * math/fegetenv.c: Likewise.
36612         * math/fegetexcept.c: Likewise.
36613         * math/fegetround.c: Likewise.
36614         * math/feholdexcpt.c: Likewise.
36615         * math/fesetenv.c: Likewise.
36616         * math/fesetround.c: Likewise.
36617         * math/feupdateenv.c: Likewise.
36618         * math/fgetexcptflg.c: Likewise.
36619         * math/fraiseexcpt.c: Likewise.
36620         * math/fsetexcptflg.c: Likewise.
36621         * math/ftestexcept.c: Likewise.
36622         * math/k_cosl.c: Likewise.
36623         * math/k_rem_pio2l.c: Likewise.
36624         * math/k_sinl.c: Likewise.
36625         * math/k_tanl.c: Likewise.
36626         * math/s_asinhl.c: Likewise.
36627         * math/s_atanl.c: Likewise.
36628         * math/s_cbrtl.c: Likewise.
36629         * math/s_erfl.c: Likewise.
36630         * math/s_expm1l.c: Likewise.
36631         * math/s_log1pl.c: Likewise.
36632         * math/s_tanhl.c: Likewise.
36633         * misc/acct.c: Likewise.
36634         * misc/brk.c: Likewise.
36635         * misc/chflags.c: Likewise.
36636         * misc/chroot.c: Likewise.
36637         * misc/fchflags.c: Likewise.
36638         * misc/fgetxattr.c: Likewise.
36639         * misc/flistxattr.c: Likewise.
36640         * misc/fremovexattr.c: Likewise.
36641         * misc/fsetxattr.c: Likewise.
36642         * misc/fsync.c: Likewise.
36643         * misc/ftruncate.c: Likewise.
36644         * misc/futimes.c: Likewise.
36645         * misc/futimesat.c: Likewise.
36646         * misc/getdomain.c: Likewise.
36647         * misc/getdtsz.c: Likewise.
36648         * misc/gethostid.c: Likewise.
36649         * misc/gethostname.c: Likewise.
36650         * misc/getloadavg.c: Likewise.
36651         * misc/getpagesize.c: Likewise.
36652         * misc/getsysstats.c: Likewise.
36653         * misc/getxattr.c: Likewise.
36654         * misc/gtty.c: Likewise.
36655         * misc/ioctl.c: Likewise.
36656         * misc/lgetxattr.c: Likewise.
36657         * misc/listxattr.c: Likewise.
36658         * misc/llistxattr.c: Likewise.
36659         * misc/lremovexattr.c: Likewise.
36660         * misc/lsetxattr.c: Likewise.
36661         * misc/lutimes.c: Likewise.
36662         * misc/madvise.c: Likewise.
36663         * misc/mincore.c: Likewise.
36664         * misc/mlock.c: Likewise.
36665         * misc/mlockall.c: Likewise.
36666         * misc/mmap.c: Likewise.
36667         * misc/mprotect.c: Likewise.
36668         * misc/msync.c: Likewise.
36669         * misc/munlock.c: Likewise.
36670         * misc/munlockall.c: Likewise.
36671         * misc/munmap.c: Likewise.
36672         * misc/preadv.c: Likewise.
36673         * misc/preadv64.c: Likewise.
36674         * misc/ptrace.c: Likewise.
36675         * misc/pwritev.c: Likewise.
36676         * misc/pwritev64.c: Likewise.
36677         * misc/readv.c: Likewise.
36678         * misc/reboot.c: Likewise.
36679         * misc/remap_file_pages.c: Likewise.
36680         * misc/removexattr.c: Likewise.
36681         * misc/revoke.c: Likewise.
36682         * misc/select.c: Likewise.
36683         * misc/setdomain.c: Likewise.
36684         * misc/setegid.c: Likewise.
36685         * misc/seteuid.c: Likewise.
36686         * misc/sethostid.c: Likewise.
36687         * misc/sethostname.c: Likewise.
36688         * misc/setregid.c: Likewise.
36689         * misc/setreuid.c: Likewise.
36690         * misc/setxattr.c: Likewise.
36691         * misc/sstk.c: Likewise.
36692         * misc/stty.c: Likewise.
36693         * misc/swapoff.c: Likewise.
36694         * misc/swapon.c: Likewise.
36695         * misc/sync.c: Likewise.
36696         * misc/syncfs.c: Likewise.
36697         * misc/syscall.c: Likewise.
36698         * misc/truncate.c: Likewise.
36699         * misc/ualarm.c: Likewise.
36700         * misc/usleep.c: Likewise.
36701         * misc/ustat.c: Likewise.
36702         * misc/utimes.c: Likewise.
36703         * misc/vhangup.c: Likewise.
36704         * misc/writev.c: Likewise.
36705         * posix/_exit.c: Likewise.
36706         * posix/alarm.c: Likewise.
36707         * posix/execve.c: Likewise.
36708         * posix/fexecve.c: Likewise.
36709         * posix/fork.c: Likewise.
36710         * posix/fpathconf.c: Likewise.
36711         * posix/getaddrinfo.c: Likewise.
36712         * posix/getegid.c: Likewise.
36713         * posix/geteuid.c: Likewise.
36714         * posix/getgid.c: Likewise.
36715         * posix/getgroups.c: Likewise.
36716         * posix/getlogin.c: Likewise.
36717         * posix/getlogin_r.c: Likewise.
36718         * posix/getpgid.c: Likewise.
36719         * posix/getpid.c: Likewise.
36720         * posix/getppid.c: Likewise.
36721         * posix/getresgid.c: Likewise.
36722         * posix/getresuid.c: Likewise.
36723         * posix/getsid.c: Likewise.
36724         * posix/getuid.c: Likewise.
36725         * posix/glob64.c: Likewise.
36726         * posix/nanosleep.c: Likewise.
36727         * posix/pathconf.c: Likewise.
36728         * posix/pause.c: Likewise.
36729         * posix/posix_madvise.c: Likewise.
36730         * posix/pread.c: Likewise.
36731         * posix/pread64.c: Likewise.
36732         * posix/pwrite.c: Likewise.
36733         * posix/pwrite64.c: Likewise.
36734         * posix/sched_getaffinity.c: Likewise.
36735         * posix/sched_getp.c: Likewise.
36736         * posix/sched_gets.c: Likewise.
36737         * posix/sched_primax.c: Likewise.
36738         * posix/sched_primin.c: Likewise.
36739         * posix/sched_rr_gi.c: Likewise.
36740         * posix/sched_setaffinity.c: Likewise.
36741         * posix/sched_setp.c: Likewise.
36742         * posix/sched_sets.c: Likewise.
36743         * posix/sched_yield.c: Likewise.
36744         * posix/setgid.c: Likewise.
36745         * posix/setlogin.c: Likewise.
36746         * posix/setpgid.c: Likewise.
36747         * posix/setresgid.c: Likewise.
36748         * posix/setresuid.c: Likewise.
36749         * posix/setsid.c: Likewise.
36750         * posix/setuid.c: Likewise.
36751         * posix/sleep.c: Likewise.
36752         * posix/spawni.c: Likewise.
36753         * posix/sysconf.c: Likewise.
36754         * posix/times.c: Likewise.
36755         * posix/wait.c: Likewise.
36756         * posix/wait3.c: Likewise.
36757         * posix/wait4.c: Likewise.
36758         * posix/waitpid.c: Likewise.
36759         * resolv/gai_sigqueue.c: Likewise.
36760         * resource/getpriority.c: Likewise.
36761         * resource/getrlimit.c: Likewise.
36762         * resource/getrusage.c: Likewise.
36763         * resource/nice.c: Likewise.
36764         * resource/setpriority.c: Likewise.
36765         * resource/setrlimit.c: Likewise.
36766         * resource/ulimit.c: Likewise.
36767         * rt/aio_cancel.c: Likewise.
36768         * rt/aio_fsync.c: Likewise.
36769         * rt/aio_read.c: Likewise.
36770         * rt/aio_sigqueue.c: Likewise.
36771         * rt/aio_suspend.c: Likewise.
36772         * rt/aio_write.c: Likewise.
36773         * rt/clock_getres.c: Likewise.
36774         * rt/clock_gettime.c: Likewise.
36775         * rt/clock_nanosleep.c: Likewise.
36776         * rt/clock_settime.c: Likewise.
36777         * rt/lio_listio.c: Likewise.
36778         * rt/mq_close.c: Likewise.
36779         * rt/mq_getattr.c: Likewise.
36780         * rt/mq_notify.c: Likewise.
36781         * rt/mq_open.c: Likewise.
36782         * rt/mq_receive.c: Likewise.
36783         * rt/mq_send.c: Likewise.
36784         * rt/mq_setattr.c: Likewise.
36785         * rt/mq_timedreceive.c: Likewise.
36786         * rt/mq_timedsend.c: Likewise.
36787         * rt/mq_unlink.c: Likewise.
36788         * rt/shm_open.c: Likewise.
36789         * rt/shm_unlink.c: Likewise.
36790         * rt/timer_create.c: Likewise.
36791         * rt/timer_delete.c: Likewise.
36792         * rt/timer_getoverr.c: Likewise.
36793         * rt/timer_gettime.c: Likewise.
36794         * rt/timer_settime.c: Likewise.
36795         * setjmp/__longjmp.c: Likewise.
36796         * setjmp/setjmp.c: Likewise.
36797         * signal/kill.c: Likewise.
36798         * signal/killpg.c: Likewise.
36799         * signal/raise.c: Likewise.
36800         * signal/sigaction.c: Likewise.
36801         * signal/sigaltstack.c: Likewise.
36802         * signal/sigblock.c: Likewise.
36803         * signal/sigignore.c: Likewise.
36804         * signal/sigintr.c: Likewise.
36805         * signal/signal.c: Likewise.
36806         * signal/sigpause.c: Likewise.
36807         * signal/sigpending.c: Likewise.
36808         * signal/sigqueue.c: Likewise.
36809         * signal/sigreturn.c: Likewise.
36810         * signal/sigset.c: Likewise.
36811         * signal/sigsetmask.c: Likewise.
36812         * signal/sigstack.c: Likewise.
36813         * signal/sigsuspend.c: Likewise.
36814         * signal/sigtimedwait.c: Likewise.
36815         * signal/sigvec.c: Likewise.
36816         * signal/sigwait.c: Likewise.
36817         * signal/sigwaitinfo.c: Likewise.
36818         * signal/sysv_signal.c: Likewise.
36819         * socket/accept.c: Likewise.
36820         * socket/accept4.c: Likewise.
36821         * socket/bind.c: Likewise.
36822         * socket/connect.c: Likewise.
36823         * socket/getpeername.c: Likewise.
36824         * socket/getsockname.c: Likewise.
36825         * socket/getsockopt.c: Likewise.
36826         * socket/isfdtype.c: Likewise.
36827         * socket/listen.c: Likewise.
36828         * socket/recv.c: Likewise.
36829         * socket/recvfrom.c: Likewise.
36830         * socket/recvmsg.c: Likewise.
36831         * socket/send.c: Likewise.
36832         * socket/sendmsg.c: Likewise.
36833         * socket/sendto.c: Likewise.
36834         * socket/setsockopt.c: Likewise.
36835         * socket/shutdown.c: Likewise.
36836         * socket/sockatmark.c: Likewise.
36837         * socket/socket.c: Likewise.
36838         * socket/socketpair.c: Likewise.
36839         * stdio-common/ctermid.c: Likewise.
36840         * stdio-common/cuserid.c: Likewise.
36841         * stdio-common/remove.c: Likewise.
36842         * stdio-common/rename.c: Likewise.
36843         * stdio-common/renameat.c: Likewise.
36844         * stdio-common/tempname.c: Likewise.
36845         * stdlib/getcontext.c: Likewise.
36846         * stdlib/makecontext.c: Likewise.
36847         * stdlib/setcontext.c: Likewise.
36848         * stdlib/swapcontext.c: Likewise.
36849         * stdlib/system.c: Likewise.
36850         * streams/fattach.c: Likewise.
36851         * streams/fdetach.c: Likewise.
36852         * streams/getmsg.c: Likewise.
36853         * streams/getpmsg.c: Likewise.
36854         * streams/putmsg.c: Likewise.
36855         * streams/putpmsg.c: Likewise.
36856         * sysdeps/unix/bsd/getpt.c: Likewise.
36857         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36858         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36859         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36861         Likewise.
36862         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36863         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36864         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36865         * sysvipc/msgctl.c: Likewise.
36866         * sysvipc/msgget.c: Likewise.
36867         * sysvipc/msgrcv.c: Likewise.
36868         * sysvipc/msgsnd.c: Likewise.
36869         * sysvipc/semctl.c: Likewise.
36870         * sysvipc/semget.c: Likewise.
36871         * sysvipc/semop.c: Likewise.
36872         * sysvipc/semtimedop.c: Likewise.
36873         * sysvipc/shmat.c: Likewise.
36874         * sysvipc/shmctl.c: Likewise.
36875         * sysvipc/shmdt.c: Likewise.
36876         * sysvipc/shmget.c: Likewise.
36877         * termios/tcdrain.c: Likewise.
36878         * termios/tcflow.c: Likewise.
36879         * termios/tcflush.c: Likewise.
36880         * termios/tcgetattr.c: Likewise.
36881         * termios/tcgetpgrp.c: Likewise.
36882         * termios/tcsendbrk.c: Likewise.
36883         * termios/tcsetattr.c: Likewise.
36884         * termios/tcsetpgrp.c: Likewise.
36885         * time/adjtime.c: Likewise.
36886         * time/clock.c: Likewise.
36887         * time/getitimer.c: Likewise.
36888         * time/gettimeofday.c: Likewise.
36889         * time/setitimer.c: Likewise.
36890         * time/settimeofday.c: Likewise.
36891         * time/stime.c: Likewise.
36892         * time/time.c: Likewise.
36894 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36896         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36897         /usr/old/bin.
36899         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36900         instead of spaces.
36901         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36903 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36905         [BZ #14796]
36906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36907         FE_TONEAREST before applying Dekker multiplication and Knuth
36908         addition.  Clear inexact exceptions and check for exact zero
36909         results afterwards.
36910         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36911         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36912         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36913         * math/libm-test.inc (fma_test): Add more tests.
36914         (fma_test_towardzero): Likewise.
36915         (fma_test_downward): Likewise.
36916         (fma_test_upward): Likewise.
36917         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36918         function.
36919         (libc_fesetround): New macro.
36920         (libc_fesetroundf): Likewise.
36921         (libc_fesetroundl): Likewise.
36922         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36923         function.
36924         (libc_fesetround_387): Likewise.
36925         (libc_fesetroundf): New macro.
36926         (libc_fesetround): Likewise.
36927         (libc_fesetroundl): Likewise.
36928         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36929         function.
36930         (libc_fesetroundf): New macro.
36931         (libc_fesetround): Likewise.
36932         (libc_fesetroundl): Likewise.
36933         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36934         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36935         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36936         libm_hidden_ver.
36937         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36938         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36939         libm_hidden_def.
36940         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36941         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36942         libm_hidden_ver.
36943         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36944         libm_hidden_def.
36946         [BZ #3439]
36947         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36948         integer constant usable in #if and use that to give value to enum
36949         constant.
36950         (FE_DIVBYZERO): Likewise.
36951         (FE_UNDERFLOW): Likewise.
36952         (FE_OVERFLOW): Likewise.
36953         (FE_INVALID): Likewise.
36954         (FE_INVALID_SNAN): Likewise.
36955         (FE_INVALID_ISI): Likewise.
36956         (FE_INVALID_IDI): Likewise.
36957         (FE_INVALID_ZDZ): Likewise.
36958         (FE_INVALID_IMZ): Likewise.
36959         (FE_INVALID_COMPARE): Likewise.
36960         (FE_INVALID_SOFTWARE): Likewise.
36961         (FE_INVALID_SQRT): Likewise.
36962         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36963         (FE_TONEAREST): Likewise.
36964         (FE_TOWARDZERO): Likewise.
36965         (FE_UPWARD): Likewise.
36966         (FE_DOWNWARD): Likewise.
36967         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36968         (FE_DIVBYZERO): Likewise.
36969         (FE_OVERFLOW): Likewise.
36970         (FE_UNDERFLOW): Likewise.
36971         (FE_INEXACT): Likewise.
36972         (FE_TONEAREST): Likewise.
36973         (FE_DOWNWARD): Likewise.
36974         (FE_UPWARD): Likewise.
36975         (FE_TOWARDZERO): Likewise.
36976         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36977         (FE_UNDERFLOW): Likewise.
36978         (FE_OVERFLOW): Likewise.
36979         (FE_DIVBYZERO): Likewise.
36980         (FE_INVALID): Likewise.
36981         (FE_TONEAREST): Likewise.
36982         (FE_TOWARDZERO): Likewise.
36983         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36984         (FE_OVERFLOW): Likewise.
36985         (FE_UNDERFLOW): Likewise.
36986         (FE_DIVBYZERO): Likewise.
36987         (FE_INEXACT): Likewise.
36988         (FE_TONEAREST): Likewise.
36989         (FE_TOWARDZERO): Likewise.
36990         (FE_UPWARD): Likewise.
36991         (FE_DOWNWARD): Likewise.
36992         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36993         (FE_DIVBYZERO): Likewise.
36994         (FE_OVERFLOW): Likewise.
36995         (FE_UNDERFLOW): Likewise.
36996         (FE_INEXACT): Likewise.
36997         (FE_TONEAREST): Likewise.
36998         (FE_DOWNWARD): Likewise.
36999         (FE_UPWARD): Likewise.
37000         (FE_TOWARDZERO): Likewise.
37002 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
37004         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37006 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
37008         * scripts/cross-test-ssh.sh (command): Use newlines to separate
37009         commands.  Quote $PWD.
37010         (blacklist_exports): Don't use remove_newlines.  Replace "declare
37011         -x" by "export".
37012         (remove_newlines): Remove.
37014 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
37016         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37017         * stdlib/stdlib.h (atof): Moved to ...
37018         * include/bits/stdlib-float.h: Here.  New file.
37019         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37020         * stdlib/bits/stdlib-float.h: New file.
37021         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37022         -mno-sse -mno-mmx.
37023         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37024         <xmmintrin.h>.
37026 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37028         * conform/conformtest.pl (@headers): Add fenv.h.
37029         * conform/data/fenv.h-data: New file.
37030         * include/fenv.h [_ISOMAC]: Disable all contents of file except
37031         include of <math/fenv.h>.
37033         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37034         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37035         && !UNIX98].  Enables tests for XOPEN2K8.
37036         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37037         POSIX2008]: Likewise.
37039         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37040         (struct rusage): Do not expect type or its members.
37042         [BZ #3439]
37043         * math/math.h (FP_NAN): Define macro to integer constant usable in
37044         #if and use that to give value to enum constant.
37045         (FP_INFINITE): Likewise.
37046         (FP_ZERO): Likewise.
37047         (FP_SUBNORMAL): Likewise.
37048         (FP_NORMAL): Likewise.
37050 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37052         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37053         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37054         arguments.
37056 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37058         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37059         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37060         autoconf-time if not.
37061         * configure.in: Remove AC_PREREQ.
37063 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37065         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37066         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37067         of the internal implementation.
37069 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37071         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37072         except include of <misc/sys/syslog.h>.
37074 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37077         function returns with a NULL context exit with zero.
37079 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37081         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37083 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37085         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37086         (run_program_cmd): This.
37087         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37088         (tst_langinfo): New variable.  Use it.
37090 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37092         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37093         floating point opcodes.
37095 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37097         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37098         variable.
37100         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37102         * sysdeps/mach/hurd/powerpc: Remove directory.
37103         * sysdeps/mach/powerpc: Likewise.
37105 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37107         * scripts/check-local-headers.sh: Ignore c++ headers.
37109 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37111         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37112         __libc_cleanup_region_start argument.
37114 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37116         [BZ #14784]
37117         [BZ #14785]
37118         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37119         x * y using scaling, not as x * y + z.
37120         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37122         * math/libm-test.inc (fma_test): Add more tests.
37123         (fma_test_towardzero): Likewise.
37124         (fma_test_downward): Likewise.
37125         (fma_test_upward): Likewise.
37127 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37129         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37131 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37133         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37134         New variable.
37136 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37138         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37140 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37143         Fix sort order.
37144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37145         Likewise.
37147 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37150         Fix the order of the list for glibc 2.17.
37151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37152         Likewise.
37154 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37158 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37160         [BZ #14610]
37161         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37162         for low part of x being zero before using __atanl (y).
37163         * math/libm-test.inc (atan2_test): Add another test.
37165         * manual/install.texi (Configuring and compiling): Document
37166         general use of test-wrapper and test-wrapper-env.
37167         * INSTALL: Regenerated.
37169         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37170         (__fma): Do not extract and scale down low bits on after-rounding
37171         systems when result rounded to normal precision would have normal
37172         exponent.
37173         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37174         (__fmal): Do not extract and scale down low bits on after-rounding
37175         systems when result rounded to normal precision would have normal
37176         exponent.
37177         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37178         (__fmal): Do not extract and scale down low bits on after-rounding
37179         systems when result rounded to normal precision would have normal
37180         exponent.
37181         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37182         macro.
37183         (fma_test): Add more tests.
37184         (fma_test_towardzero): Likewise.
37185         (fma_test_downward): Likewise.
37186         (fma_test_upward): Likewise.
37188 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37190         * sysdeps/i386/tininess.h: Renamed to ...
37191         * sysdeps/x86/tininess.h: This.
37192         * sysdeps/x86_64/tininess.h: Removed.
37194 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37196         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37197         input.  Use $(build-program-cmd).
37198         ($(objpfx)tst-array1-static.out): Likewise.
37199         ($(objpfx)tst-array2.out): Likewise.
37200         ($(objpfx)tst-array3.out): Likewise.
37201         ($(objpfx)tst-array4.out): Likewise.
37202         ($(objpfx)tst-array5.out): Likewise.
37203         ($(objpfx)tst-array5-static.out): Likewise.
37205 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37207         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37208         if defined.
37210         * nss/nsswitch.h (nss_interface_function): Provide new
37211         macro for use with NSS functions.
37212         * grp/initgroups.c: Use new macro.
37213         * nss/getXXbyYY.c: Likewise.
37214         * nss/getXXbyYY_r.c: Likewise.
37215         * nss/getXXent.c: Likewise.
37216         * nss/getXXent_r.c: Likewise.
37217         * sysdeps/posix/getaddrinfo.c: Likewise.
37219 2012-10-30  Andreas Jaeger  <aj@suse.de>
37221         * po/ru.po: Update Russion translation from translation project.
37223 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37225         [BZ #14152]
37226         [BZ #14783]
37227         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37228         result and shift together with sticky bit instead of replicating
37229         round-to-nearest rounding.
37230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37231         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37232         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37233         missing underflow exceptions.
37234         (fma_test_towardzero): Add more tests.
37235         (fma_test_downward): Likewise.
37236         (fma_test_upward): Likewise.
37238         [BZ #14047]
37239         * sysdeps/generic/tininess.h: New file.
37240         * sysdeps/i386/tininess.h: Likewise.
37241         * sysdeps/sh/tininess.h: Likewise.
37242         * sysdeps/x86_64/tininess.h: Likewise.
37243         * stdlib/tst-strtod-underflow.c: Likewise.
37244         * stdlib/tst-tininess.c: Likewise.
37245         * stdlib/strtod_l.c: Include <tininess.h>.
37246         (round_and_return): Do not set errno for exact underflow cases.
37247         Force an underflow exception when setting errno for underflow.
37248         Determine underflow based on rounding to normal precision if
37249         TININESS_AFTER_ROUNDING.
37250         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37251         ERANGE for exact underflow cases.
37252         * stdlib/Makefile (tests): Add tst-tininess and
37253         tst-strtod-underflow.
37254         ($(objpfx)tst-tininess): Use $(link-libm).
37255         ($(objpfx)tst-strtod-underflow): Likewise.
37257 2012-10-30  Andreas Jaeger  <aj@suse.de>
37259         [BZ#14767]
37260         * elf/Makefile (tests): Remove conditional for have-initfini-array
37261         since this is now always required and the variable does not exist
37262         anymore.
37263         (tests-static): Likewise.
37264         (modules-names): Likewise.
37266         * po/eo.po: Add Esperanto translation from translation project.
37268         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37269         merged with constructor/destructor.
37270         (init_array): Likewise.
37271         * elf/tst-array2dep.c (fini_array): Likewise.
37272         (init_array): Likewise.
37274 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37276         * manual/message.texi: Delete @cartouche tags.
37278 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37280         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37281         EOPNOTSUPP.
37282         * sysdeps/mach/hurd/fsync.c: Likewise.
37284         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37285         [_POSIX_REALTIME_SIGNALS]: Change condition to
37286         [_POSIX_REALTIME_SIGNALS > 0].
37288 2012-10-27  Andreas Jaeger  <aj@suse.de>
37290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37291         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37292         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37293         [__WORDSIZE != 64]: Likewise.
37295 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37297         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37298         *  iconvdata/tst-tables.sh: Likewise.
37300 2012-10-25  David S. Miller  <davem@davemloft.net>
37302         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37303         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37304         of strtoull.
37306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37307         ifunc-impl-list.c
37308         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37309         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37310         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37311         file.
37313 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37315         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37316         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37317         __getdirentries.
37319 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37320             Jim Blandy  <jimb@codesourcery.com>
37322         * scripts/cross-test-ssh.sh: New file.
37323         * manual/install.texi (Configuring and compiling): Document use of
37324         cross-test-ssh.sh.
37325         * INSTALL: Regenerated.
37327 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37329         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37330         EOPNOTSUPP.
37332 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37334         * Makeconfig (run-program-prefix): Fix comment.
37336 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37337             Jim Blandy  <jimb@codesourcery.com>
37339         * Makeconfig (test-wrapper): New variable,
37340         (test-wrapper-env): Likewise.
37341         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37342         (run-built-tests): Define to yes.
37343         (run-program-prefix): Use $(test-wrapper).
37344         (built-program-cmd): Likewise.
37345         * Rules (make-test-out): Use $(test-wrapper-env) and
37346         $(host-built-program-cmd).
37347         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37348         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37349         tst-pathopt.sh.
37350         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37351         $(test-wrapper-env) to tst-rtld-load-self.sh.
37352         ($(objpfx)order2.out): Use $(test-wrapper).
37353         ($(objpfx)tst-initorder.out): Likewise.
37354         ($(objpfx)tst-initorder2.out): Likewise.
37355         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37356         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37357         (test_wrapper_env): New variable.  Use it to run ld.so.
37358         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37359         Use it to run ld.so.
37360         (test_wrapper_env): Likewise.
37361         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37362         $(test-wrapper) to run-iconv-test.sh.
37363         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37364         (ICONV): Use $test_wrapper.
37365         * posix/Makefile ($(objpfx)globtest.out): Pass
37366         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37367         globtest.sh, not $(run-program-prefix).
37368         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37369         (test_wrapper): Likewise.
37370         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37371         set together with run_via_rtld_prefix.
37372         (run_program_prefix): Define in terms of test_wrapper and
37373         run_via_rtld_prefix.
37375 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37377         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37378         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37379         Targets removed.
37381         [BZ #14743]
37382         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37383         Declare __clock_getres, __clock_gettime, __clock_settime,
37384         __clock_nanosleep, and __clock_getcpuclockid.
37385         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37386         Remove librt_hidden_def (clock_gettime).
37387         * sysdeps/unix/clock_gettime.c: Likewise.
37388         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37390         * rt/clock_getres.c: Define __clock_getres as an alias.
37391         * sysdeps/posix/clock_getres.c: Likewise.
37392         * rt/clock_settime.c: Define __clock_settime as an alias.
37393         * sysdeps/unix/clock_settime.c: Likewise.
37394         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37395         * sysdeps/unix/clock_nanosleep.c: Likewise.
37396         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37397         * rt/clock-compat.c: New file.
37398         * rt/Makefile (librt-routines): Add clock-compat and move
37399         $(clock-routines) to ...
37400         (routines): ... here, new variable.
37401         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37402         Don't add get_clockfreq here.
37403         * rt/Versions (libc: GLIBC_2.17): New version set.
37404         Add clock_* symbols here.
37405         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37406         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37407         (GLIBC_2.17): Add clock_* symbols.
37408         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37412         Likewise.
37413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37414         Likewise.
37415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37419         * NEWS: Mention the move.
37421         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37422         Use __open, __read, __close rather than their public counterparts.
37423         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37424         (__get_clockfreq_via_cpuinfo): Likewise.
37425         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37426         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37428         * config.h.in (HAVE_IFUNC): New #undef.
37429         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37430         was successful.
37431         * configure: Regenerated.
37433 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37435         * configure.in: Move READELF check to start of file.
37436         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37437         libc_cv_asm_gnu_indirect_function in the process.
37438         * configure: Regenerated.
37440 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37442         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37443         send the output to /dev/null.
37444         (libc_cv_cc_with_libunwind): Likewise.
37445         (libc_cv_as_noexecstack): Likewise.
37446         * configure: Regenerate.
37448 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37450         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37452         * posix/globtest.sh (TMPDIR): Do not set.
37453         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37454         (testout): Likewise.
37456 2012-10-24  Andreas Jaeger  <aj@suse.de>
37458         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37459         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37460         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37461         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37462         posix_fadvise64, posix_fallocate64.
37464         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37465         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37466         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37467         Likewise.
37468         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37469         Likewise.
37470         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37473         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37474         <bits/fcntl-linux.h>.
37475         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37477         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37478         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37479         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37480         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37481         [__WORDSIZE != 64]: Likewise.
37483 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37485         * Makeconfig (run-built-tests): New variable.
37486         * Rules [$(cross-compiling) = yes]: Change condition to
37487         [$(run-built-tests) = no].
37488         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37489         to [$(run-built-tests) = yes].
37490         * elf/Makefile [$(cross-compiling) = no]: Likewise
37491         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37492         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37493         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37494         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37495         * io/Makefile [$(cross-compiling) = no]: Likewise.
37496         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37497         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37498         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37499         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37500         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37501         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37502         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37503         * string/Makefile [$(cross-compiling) = no]: Likewise.
37505         * posix/Makefile ($(objpfx)globtest.out): Pass
37506         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37507         $(rtld-installed-name).
37508         * posix/globtest.sh (elf_objpfx): Remove variable.
37509         (rtld_installed_name): Likewise.
37510         (library_path): Likewise.
37511         (run_program_prefix): New variable.  Use for running globtest
37512         binary.
37514 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37515             Joseph Myers  <joseph@codesourcery.com>
37517         * Makeconfig (host-built-program-cmd): New variable.
37518         * elf/Makefile (tst-stackguard1-ARGS): Use
37519         $(host-built-program-cmd).
37520         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37521         (tst-spawn-ARGS): Likewise.
37522         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37524 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37525             Jim Blandy  <jimb@codesourcery.com>
37527         * Makeconfig (run-via-rtld-prefix): New variable.
37528         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37529         (built-program-cmd): Likewise.
37531 2012-10-22  Andreas Jaeger  <aj@suse.de>
37533         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37534         __O_RSYNC if it exists, otherwise to O_SYNC.
37536 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37537             Joseph Myers  <joseph@codesourcery.com>
37539         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37540         /dev/null.
37541         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37542         from /dev/null
37543         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37544         /dev/null.
37546 2012-10-22  Andreas Jaeger  <aj@suse.de>
37548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37549         Define always.
37550         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37553         bits/fcntl-linux.h.
37555         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37556         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37558         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37559         to __O_LARGEFILE.
37560         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37561         to __O_LARGEFILE.
37563 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37564             Joseph Myers  <joseph@codesourcery.com>
37566         * config.make.in (NM): New variable.
37568 2012-10-21  Andreas Jaeger  <aj@suse.de>
37570         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37571         definitions and declarations that are provided by
37572         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37574 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37576         [BZ #14683]
37577         * elf/Makefile (tests-static): Add tst-leaks1-static.
37578         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37579         ($(objpfx)tst-leaks1-static): New rule.
37580         ($(objpfx)tst-leaks1-static-mem): Likewise.
37581         (tst-leaks1-static-ENV): New macro.
37582         * elf/dl-open.c (dl_open_worker): Check the main application
37583         only if SHARED is defined.
37584         * elf/tst-leaks1-static.c: New file.
37586 2012-10-20  Andreas Jaeger  <aj@suse.de>
37588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37589         generic values for Linux.
37590         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37591         and declarations that are provided by <bits/fcntl-linux.h> and
37592         include <bits/fcntl-linux.h>.
37593         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37596 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37598         * io/fcntl.h: Move include of <bits/types.h> to the top and
37599         include it unconditionally.
37601 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37603         * wcsmbs/Makefile (tests-ifunc): New variable.
37604         (tests): Add $(tests-ifunc).
37605         * wcsmbs/test-wcschr-ifunc.c: New file.
37606         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37607         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37608         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37609         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37610         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37612         * string/Makefile (tests-ifunc): New variable.
37613         (tests): Add $(tests-ifunc).
37614         * string/test-memccpy.c (TEST_NAME): New macro.
37615         * string/test-memchr.c (TEST_NAME): Likewise.
37616         * string/test-memcmp.c (TEST_NAME): Likewise.
37617         * string/test-memcpy.c (TEST_NAME): Likewise.
37618         * string/test-memmem.c (TEST_NAME): Likewise.
37619         * string/test-memmove.c (TEST_NAME): Likewise.
37620         * string/test-memset.c (TEST_NAME): Likewise.
37621         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37622         * string/test-stpcpy.c (TEST_NAME): Likewise.
37623         * string/test-stpncpy.c (TEST_NAME): Likewise.
37624         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37625         * string/test-strcasestr.c (TEST_NAME): Likewise.
37626         * string/test-strcat.c (TEST_NAME): Likewise.
37627         * string/test-strchr.c (TEST_NAME): Likewise.
37628         * string/test-strcmp.c(TEST_NAME): Likewise.
37629         * string/test-strcpy.c (TEST_NAME): Likewise.
37630         * string/test-strcspn.c (TEST_NAME): Likewise.
37631         * string/test-strlen.c (TEST_NAME): Likewise.
37632         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37633         * string/test-strncmp.c (TEST_NAME): Likewise.
37634         * string/test-strncpy.c (TEST_NAME): Likewise.
37635         * string/test-strnlen.c (TEST_NAME): Likewise.
37636         * string/test-strpbrk.c (TEST_NAME): Likewise.
37637         * string/test-strrchr.c (TEST_NAME): Likewise.
37638         * string/test-strspn.c (TEST_NAME): Likewise.
37639         * string/test-strstr.c (TEST_NAME): Likewise.
37640         * string/test-bcopy-ifunc.c: New file.
37641         * string/test-bzero-ifunc.c: Likewise.
37642         * string/test-memccpy-ifunc.c: Likewise.
37643         * string/test-memchr-ifunc.c: Likewise.
37644         * string/test-memcmp-ifunc.c: Likewise.
37645         * string/test-memcpy-ifunc.c: Likewise.
37646         * string/test-memmem-ifunc.c: Likewise.
37647         * string/test-memmove-ifunc.c: Likewise.
37648         * string/test-mempcpy-ifunc.c: Likewise.
37649         * string/test-memset-ifunc.c: Likewise.
37650         * string/test-rawmemchr-ifunc.c: Likewise.
37651         * string/test-stpcpy-ifunc.c: Likewise.
37652         * string/test-stpncpy-ifunc.c: Likewise.
37653         * string/test-strcasecmp-ifunc.c: Likewise.
37654         * string/test-strcasestr-ifunc.c: Likewise.
37655         * string/test-strcat-ifunc.c: Likewise.
37656         * string/test-strchr-ifunc.c: Likewise.
37657         * string/test-strchrnul-ifunc.c: Likewise.
37658         * string/test-strcmp-ifunc.c: Likewise.
37659         * string/test-strcpy-ifunc.c: Likewise.
37660         * string/test-strcspn-ifunc.c: Likewise.
37661         * string/test-strlen-ifunc.c: Likewise.
37662         * string/test-strncasecmp-ifunc.c: Likewise.
37663         * string/test-strncat-ifunc.c: Likewise.
37664         * string/test-strncmp-ifunc.c: Likewise.
37665         * string/test-strncpy-ifunc.c: Likewise.
37666         * string/test-strnlen-ifunc.c: Likewise.
37667         * string/test-strpbrk-ifunc.c: Likewise.
37668         * string/test-strrchr-ifunc.c: Likewise.
37669         * string/test-strspn-ifunc.c: Likewise.
37670         * string/test-strstr-ifunc.c: Likewise.
37672         * debug/Makefile (tests-ifunc): New variable.
37673         (tests): Add $(tests-ifunc).
37674         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37675         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37676         * debug/test-stpcpy_chk-ifunc.c: New file.
37677         * debug/test-strcpy_chk-ifunc.c: Likewise.
37679 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37681         [BZ #13601]
37682         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37683         header is not read in.
37685 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37687         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37688         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37689         directly.  Pass built executable to script as
37690         $(built-program-cmd).
37691         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37692         $testprogram without using LD_LIBRARY_PATH and $ldso.
37694         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37695         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37696         $(rtld-installed-name).
37697         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37698         (rtld_installed_name): Likewise.
37699         (library_path): Likewise.
37700         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37701         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37702         $(run-program-prefix) to tst-tables.sh.
37703         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37704         it to run tst-table-from and tst-table-to.
37705         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37706         Pass it to tst-table.sh.
37707         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37708         $(run-program-prefix) to tst-gettext.sh.
37709         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37710         tst-translit.sh.
37711         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37712         tst-gettext2.sh.
37713         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37714         to run tst-gettext.
37715         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37716         to run tst-gettext2.
37717         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37718         to run tst-translit.
37719         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37720         $(run-program-prefix) to tst-mtrace.sh.
37721         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37722         to run tst-mtrace.
37723         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37724         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37725         $(rtld-installed-name).
37726         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37727         (rtld_installed_name): Likewise.
37728         (run_program_prefix): New variable.  Use it to run wordexp-test.
37730         * Makeconfig (ARCH): Remove all definitions.
37731         (machine): Likewise.
37732         [ARCH]: Remove conditional code.
37733         [!objdir]: Give error.
37734         [!objdir] (objpfx): Remove.
37735         [!objdir] (common-objpfx): Likewise.
37736         [!objdir] (common-objdir): Likewise.
37737         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37738         AC_CONFIG_FILES call.
37739         * configure: Regenerated.
37741         [BZ #13888]
37742         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37743         or TMPDIR.
37744         (testout): Likewise.
37746         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37747         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37748         $(rtld-installed-name).
37749         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37750         (rtld_installed_name): Likwise.
37751         (runit): Remove function.
37752         (run_getconf): New variable,  Use it for running getconf binary.
37754 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37756         [BZ #14716]
37757         * string/test-memmem.c (check_result): New function.
37758         (do_one_test): Use it.
37759         (check1): New function.
37760         (test_main): Use it.
37762 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37764         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37766 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37768         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37769         (_G_LSEEK64): Likewise.
37770         (_G_MMAP64): Likewise.
37771         (_G_FSTAT64): Likewise.
37772         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37773         (_G_LSEEK64): Likewise.
37774         (_G_MMAP64): Likewise.
37775         (_G_FSTAT64): Likewise.
37776         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37777         unconditional.  Call __mmap64 directly.
37778         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37779         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37780         __lseek64 directly.
37781         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37782         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37783         __mmap64 directly.
37784         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37785         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37786         __lseek64 directly.
37787         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37788         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37789         __lseek64 directly.
37790         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37791         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37792         __lseek64 directly.
37793         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37794         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37795         __fxstat64 directly.
37796         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37797         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37798         unconditional.
37799         (freopen64) [!_G_OPEN64]: Remove conditional code.
37800         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37801         unconditional.
37802         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37803         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37804         unconditional.
37805         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37806         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37807         unconditional.
37808         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37809         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37810         unconditional.
37811         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37812         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37813         unconditional.
37814         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37815         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37816         unconditional.
37817         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37818         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37819         unconditional.
37820         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37822 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37824         [BZ #12140]
37825         * manual/memory.texi (Malloc Tunable Parameters): Add note
37826         about free list pointers overwriting some perturb bytes.
37827         Wording suggested by Roland McGrath.
37829 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37831         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37832         (lgamma_test): Likewise.
37833         (tgamma_test): Likewise.
37835 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37837         [BZ #14700]
37838         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37839         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37841 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37843         * NEWS: Mention BZ #14716.
37844         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37845         when removing AVAILABLE1_USES_J macro.
37847 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37849         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37850         (__bswap_64): __uint64_t for unsigned 64-bit int.
37852 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37854         * include/string.h (memmem): Declare libc hidden alias.
37855         * string/memmem.c (memmem): Define libc hidden alias.
37856         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37857         __read, __close instead of open, read, close.
37859 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37861         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37862         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37863         global and hidden.
37864         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37865         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37866         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37867         Likewise.
37868         (__rawmemchr_sse2): Likewise.
37869         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37870         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37871         (__strchr_sse2): Likewise.
37872         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37873         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37874         (__strcasecmp_sse2): Likewise.
37875         (__strncasecmp_sse2): Likewise.
37876         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37877         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37878         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37879         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37880         (__strrchr_sse2): Likewise.
37881         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37882         ifunc-impl-list.c.
37883         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37884         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37885         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37886         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37887         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37889         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37890         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37891         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37892         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37893         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37894         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37895         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37896         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37897         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37898         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37899         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37900         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37901         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37902         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37903         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37904         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37905         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37906         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37907         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37908         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37909         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37910         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37911         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37912         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37914         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37915         global and hidden.
37916         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37917         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37918         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37919         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37920         Likewise.
37921         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37922         Likewise.
37923         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37924         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37925         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37926         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37927         ifunc-impl-list.c.
37928         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37929         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37930         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37931         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37932         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37933         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37934         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37935         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37936         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37937         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37938         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37939         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37940         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37941         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37942         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37943         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37944         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37945         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37946         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37947         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37948         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37949         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37950         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37951         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37952         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37953         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37954         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37955         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37956         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37957         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37958         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37959         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37960         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37961         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37962         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37963         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37964         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37965         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37966         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37967         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37968         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37970         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37971         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37972         * include/ifunc-impl-list.h: New file.
37973         * misc/ifunc-impl-list.c: Likewise.
37974         * misc/Makefile (routines): Add ifunc-impl-list.
37975         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37976         * string/test-string.h: Include <ifunc-impl-list.h>.
37977         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37978         TEST_NAME]: New variables.
37979         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37980         are defined.
37981         (test_init): Call __libc_ifunc_impl_list to initialize
37982         func_list if TEST_IFUNC and TEST_NAME are defined.
37984         * string/Makefile (strop-tests): Add bcopy and bzero.
37985         * string/test-bcopy.c: New file.
37986         * string/test-bzero.c: Likewise.
37987         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37988         defined.
37989         * string/test-memset.c: Support bzero test if TEST_BZERO is
37990         defined.
37991         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37992         __libc_memmove.
37993         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37994         __libc_memset.
37995         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37996         of memset.
37998 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
38000         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38001         * configure: Regenerated.
38003         * Makeconfig (+link-static-before-libc): Don't include
38004         $(link-static-libc).
38006         * libio/libio.h (_IO_pos_t): Remove.
38008 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38010         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
38011         McGrath.
38013 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38015         * crypt/crypt-entry.c: Include fips-private.h.
38016         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38017         * crypt/md5c-test.c (main): Tolerate disabled MD5.
38018         * sysdeps/unix/sysv/linux/fips-private.h: New file.
38019         * sysdeps/generic/fips-private.h: New file, dummy fallback.
38021 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
38023         * crypt/crypt-private.h: Include stdbool.h.
38024         (_ufc_setup_salt_r): Return bool.
38025         * crypt/crypt-entry.c: Include errno.h.
38026         (__crypt_r): Return NULL with EINVAL for bad salt.
38027         * crypt/crypt_util.c (bad_for_salt): New.
38028         (_ufc_setup_salt_r): Check that salt is long enough and within
38029         the specified alphabet.
38030         * crypt/badsalttest.c: New file.
38031         * crypt/Makefile (tests): Add it.
38032         ($(objpfx)badsalttest): New.
38034 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
38036         * NEWS: Add entry for BZ #14602.
38038 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38040         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38041         type-generic.
38042         * math/libm-test.inc: Update comment listing what functions and
38043         macros are tested.
38044         (isgreater_test): New function.
38045         (isgreaterequal_test): Likewise.
38046         (isless_test): Likewise.
38047         (islessequal_test): Likewise.
38048         (islessgreater_test): Likewise.
38049         (isunordered_test): Likewise.
38050         (main): Call the new functions.
38052 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38054         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38055         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38056         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38057         * sysdeps/i386/configure: Regenerated.
38058         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38059         * sysdeps/mach/configure: Regenerated.
38060         * sysdeps/mach/hurd/configure: Regenerated.
38061         * sysdeps/powerpc/configure: Regenerated.
38062         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38063         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38064         * sysdeps/s390/s390-32/configure: Regenerated.
38065         * sysdeps/s390/s390-64/configure: Regenerated.
38066         * sysdeps/sh/configure: Regenerated.
38067         * sysdeps/sparc/configure: Regenerated.
38068         * sysdeps/unix/sysv/linux/configure: Regenerated.
38069         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38070         * sysdeps/x86_64/configure: Regenerated.
38072         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38073         defined.  Don't check if MAP is NULL.
38075 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38077         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38078         (_G_stat64): Likewise.
38079         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38080         (_G_stat64): Likewise.
38081         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38082         instead of struct _G_stat64.
38083         * libio/fileops.c (mmap_remap_check): Likewise.
38084         (decide_maybe_mmap): Likewise.
38085         (_IO_new_file_seekoff): Likewise.
38086         (_IO_file_stat): Likewise.
38087         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38088         _G_off64_t.
38089         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38090         instead of struct _G_stat64.
38091         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38093 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38095         [BZ #14602]
38096         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38097         Replace with ...
38098         (CHECK_EOL): New macro.
38099         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38100         CHECK_EOL.
38101         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38102         Replace with CHECK_EOL.
38103         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38104         Replace with CHECK_EOL.
38106 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38108         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38109         type-generic.
38110         * math/libm-test.inc: Update comment listing what functions and
38111         macros are tested.
38112         (finite_test): New function.
38113         (isinf_test): Likewise.
38114         (isnan_test): Likewise.
38115         (fpclassify_test): Test subnormal input.
38116         (isfinite_test): Likewise.
38117         (isnormal_test): Likewise.
38118         (main): Call the new functions.
38120 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38122         [BZ #14660]
38123         * Makerules (%.dynsym): Force C locale when running
38124         $(OBJDUMP) --dynamic-syms.
38126 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38128         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38129         <stdint.h>.
38131 2012-10-06  David S. Miller  <davem@davemloft.net>
38133         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38134         upper 32-bits of the length value in %o2 since we use branch-on-register
38135         tests which consider the entire 64-bit register.
38137 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38139         * string/test-strstr.c (check2): Add a test for page boundary.
38141 2012-10-05  David S. Miller  <davem@davemloft.net>
38143         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38144         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38145         file.
38146         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38147         sysdep_routines.
38148         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38149         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38150         and bzero when HWCAP_SPARC_CRYPTO is present.
38152 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38154         [BZ #14602]
38155         * string/test-strstr.c (check2): New function.
38156         (test_main): Call check2.
38158         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38159         and bug-strchr1.
38160         * string/bug-strcasestr1.c (do_test): Moved to ...
38161         * string/test-strcasestr.c (check1): Here.  New function.
38162         (do_one_test): Break out result checking code into ...
38163         (check_result): This.  New function.
38164         (do_one_test): Call check_result.
38165         (test_main): Call check1.
38166         * string/bug-strchr1.c (do_test): Moved to ...
38167         * string/test-strchr.c (check1): Here.  New function.
38168         (do_one_test): Break out result checking code into ...
38169         (check_result): This.  New function.
38170         (do_one_test): Call check_result.
38171         (test_main): Call check1.
38172         * string/bug-strstr1.c (main): Moved to ...
38173         * string/test-strstr.c (check1): Here.  New function.
38174         (do_one_test): Break out result checking code into ...
38175         (check_result): This.  New function.
38176         (do_one_test): Call check_result.
38177         (test_main): Call check1.
38178         * string/bug-strcasestr1.c: Removed.
38179         * string/bug-strchr1.c: Likewise.
38180         * string/bug-strstr1.c: Likewise.
38182         * elf/Makefile (dl-routines): Add hwcaps.
38183         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38184         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38185         (_dl_important_hwcaps): Moved to ...
38186         * elf/dl-hwcaps.c: Here.  New file.
38187         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38189         [BZ #14557]
38190         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38191         if IS_IN_rtld isn't defined.
38193         * elf/dl-support.c (_dl_sysinfo_map): New.
38194         Include "get-dynamic-info.h" and "setup-vdso.h".
38195         (_dl_non_dynamic_init): Call setup_vdso.
38196         * elf/dynamic-link.h: Don't include <assert.h>.
38197         (elf_get_dynamic_info): Moved to ...
38198         * elf/get-dynamic-info.h: Here.  New file.
38199         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38200         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38201         * elf/setup-vdso.h: Here.  New file.
38202         * elf/rtld.c: Include "setup-vdso.h".
38203         (dl_main): Call setup_vdso.
38205 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38207         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38208         creal in comment listing functions tested.  List finite, isinf,
38209         isnan, isless, islessequal, isgreater, isgreaterequal,
38210         islessgreater, isunordered, lgamma_r and pow10 as functions and
38211         macros not tested.  Mention which functions not tested are aliases
38212         for other functions.  Fix typo.  Note that signs of NaNs are not
38213         tested.
38215         * scripts/config.guess: Update from config.git.
38216         * scripts/config.sub: Likewise.
38218 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38220         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38221         * misc/madvise.c (madvise): Renamed to __madvise.
38222         Make madvise a weak alias.
38223         * include/sys/mman.h: Declare __madvise.
38224         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38225         * sysdeps/unix/syscalls.list
38226         (madvise): Make __madvise the strong name, and madvise a weak alias.
38227         * sysdeps/unix/sysv/linux/syscalls.list
38228         (madvise, mmap): Remove redundant entries.
38229         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38230         * malloc/malloc.c (mtrim): Likewise.
38231         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38233 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38235         * sysdeps/mach/hurd/dl-cache.c: File removed.
38236         * config.h.in (USE_LDCONFIG): New #undef.
38237         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38238         * configure: Regenerated.
38239         * elf/Makefile (dl-routines): Add dl-cache only under
38240         [$(use-ldconfig) = yes].
38241         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38242         cache on [USE_LDCONFIG].
38243         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38244         [USE_LDCONFIG].
38245         * elf/rtld.c (dl_main): Likewise.
38247 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38249         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38250         _SC_LEVEL4_CACHE_LINESIZE.
38252 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38254         * sysdeps/unix/bsd/confstr.h: File removed.
38256 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38258         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38259         sys/sdt-config.h.
38261 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38263         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38264         Make 'mapoff' field ElfW(Off) rather than off_t.
38266 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38268         * nscd/Makefile: Remove nscd-cflags and all its users.
38269         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38270         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38272         [BZ #10631]
38273         * malloc.c (malloc_printerr): Clarify error message.
38275 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38277         [BZ #14648]
38278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38279         Set bit_FMA_Usable if FMA is supported.
38280         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38281         macro.
38282         (bit_FMA4_Usable): Updated.
38283         (index_FMA_Usable): New macro.
38284         (CPUID_FMA): Likewise
38285         (HAS_FMA): Defined with bit_FMA_Usable.
38287 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38289         * bits/types.h (__swblk_t): Type removed.
38290         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38291         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38292         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38293         (__SWBLK_T_TYPE): Likewise.
38294         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38295         (__SWBLK_T_TYPE): Likewise.
38296         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38297         (__SWBLK_T_TYPE): Likewise.
38298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38299         (__SWBLK_T_TYPE): Likewise.
38301 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38302             Honza Horak <hhorak@redhat.com>
38304         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38305         (xdr_mapname): Use YPMAXMAP as maxsize.
38306         (xdr_peername): Use YPMAXPEER as maxsize.
38307         (xdr_keydat): Use YPAXRECORD as maxsize.
38308         (xdr_valdat): Use YPMAXRECORD as maxsize.
38310 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38312         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38314         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38315         * csu/init-first.c: ... here.
38316         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38317         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38318         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38319         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38320         * sysdeps/i386/init-first.c: File removed.
38321         * sysdeps/sh/init-first.c: File removed.
38323 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38325         [BZ #14645]
38326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38327         if x * y might underflow to zero and z is zero.
38328         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38329         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38330         * math/libm-test.inc (min_subnorm_value): New variable.
38331         (fma_test): Add more tests.
38332         (fma_test_towardzero): Likewise.
38333         (fma_test_downward): Likewise
38334         (fma_test_upward): Likewise.
38335         (initialize): Set min_subnorm_value.
38337 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38339         [BZ #14638]
38340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38341         0 + 0.
38342         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38343         mode for addition resulting in exact zero.
38344         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38345         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38346         exact 0 + 0.
38347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38348         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38349         * math/libm-test.inc (fma_test): Add more tests.
38350         (fma_test_towardzero): New function.
38351         (fma_test_downward): Likewise.
38352         (fma_test_upward): Likewise.
38353         (main): Call the new functions.
38355 2012-09-28  David S. Miller  <davem@davemloft.net>
38357         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38359 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38361         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38362         instead of SIGALRM.
38364         * sysdeps/gnu/_G_config.h: Moved to ...
38365         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38366         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38367         * sysdeps/generic/_G_config.h: ... here.
38369         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38371         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38373         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38374         Conditionalize target on [libnss_test1.so-version].
38376         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38378         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38379         (elfobjdir): Move out of conditionals.
38381         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38382         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38383         (__nss_lookup_function): Conditionalize label remove_from_tree on
38384         [!DO_STATIC_NSS || SHARED], matching its only use.
38386 2012-09-28  David S. Miller  <davem@davemloft.net>
38388         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38389         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38390         file.
38391         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38392         sysdep_routines.
38393         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38394         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38395         when HWCAP_SPARC_CRYPTO is present.
38397 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38399         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38401 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38403         [BZ #6530]
38404         * stdio-common/vfprintf.c (process_string_arg): Revert
38405         2000-07-22 change.
38407 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38409         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38410         for testcase.
38411         * stdio-common/tst-sprintf.c: Include <locale.h>
38412         (main): Test sprintf's handling of incomplete multibyte
38413         characters.
38415 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38417         * elf/dl-runtime.c (VERSYMIDX): Removed.
38418         * elf/dl-version.c (VERSYMIDX): Likewise.
38419         * elf/do-rel.h (VERSYMIDX): Likewise.
38420         (VALIDX): Likewise.
38421         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38422         * elf/rtld.c (VALIDX): Likewise.
38423         (ADDRIDX): Likewise.
38424         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38425         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38426         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38427         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38428         (VALIDX): Likewise.
38429         (ADDRIDX): Likewise.
38431 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38433         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38435 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38437         [BZ #11438]
38438         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38439         to global scope.
38440         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38441         addresses are in the same scope as 192.0.2/24.
38442         * posix/gai.conf: Document new scope table defaults.
38444 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38446         [BZ #5298]
38447         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38448         for ftell.  Compute offsets from write pointers instead.
38449         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38451 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38453         [BZ #14543]
38454         * libio/Makefile (tests): New test case tst-fseek.
38455         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38456         combination works in wide mode.
38457         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38458         state when the external buffer state changes.
38460 2012-09-27  David S. Miller  <davem@davemloft.net>
38462         [BZ #14376]
38463         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38464         pass reloc->r_addend in as the 'high' argument to
38465         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38469 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38471         * rt/tst-aio2.c: Include <pthread.h>.
38472         * rt/tst-aio3.c: Likewise.
38474 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38476         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38478 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38480         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38481         contents on [SHARED].
38483 2012-09-26  Marek Polacek  <polacek@redhat.com>
38485         [BZ #14530]
38486         [BZ #13741]
38487         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38488         for C++ and GCC <4.3 as well as for non GCC compilers.
38490 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38492         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38494 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38496         * Makefile.in (all, install): Declare with .PHONY.
38497         Reported by Michael Hope <michael.hope@linaro.org>.
38499 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38501         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38502         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38503         system header.
38504         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38505         Likewise.
38506         (sydep_routines): Add the new and the internal functions.
38507         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38508         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38510         (GLIBC_2.17): Add the new function.
38511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38512         (GLIBC_2.17): Likewise.
38513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38514         (GLIBC_2.17): Likewise.
38515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38516         (GLIBC_2.17): Likewise.
38517         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38519 2012-09-25  Alan Modra  <amodra@gmail.com>
38521         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38522         Add release barrier before setting once_control to say
38523         initialisation is done.  Add hints on lwarx.  Use macro in
38524         place of isync.
38525         (clear_once_control): Add release barrier.
38527 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38529         [BZ #13629]
38530         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38531         specially.
38532         * math/s_clog10.c (__clog10): Likewise.
38533         * math/s_clog10f.c (__clog10f): Likewise.
38534         * math/s_clog10l.c (__clog10l): Likewise.
38535         * math/s_clogf.c (__clogf): Likewise.
38536         * math/s_clogl.c (__clogl): Likewise.
38537         * math/Makefile (libm-calls): Add x2y2m1.
38538         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38539         (__x2y2m1): Likewise.
38540         (__x2y2m1l): Likewise.
38541         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38542         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38543         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38544         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38545         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38546         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38547         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38548         * sysdeps/i386/fpu/libm-test-ulps: Update.
38549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38551         [BZ #14621]
38552         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38553         int as type of variable DEPTH.
38554         (glob): Use size_t instead of int as type of variables NEWCOUNT
38555         and OLD_PATHC.
38557 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38559         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38560         Add s_sincosf-sse2.
38561         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38562         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38563         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38564         macros for using routine as __sincosf_ia32.
38565         Use macro for function declaration and weak_alias.
38566         * sysdeps/i386/fpu/libm-test-ulps: Update.
38568         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38571         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38572         subnormal argument.
38573         * math/s_cexpf.c (__cexpf): Likewise.
38574         * math/s_csinf.c (__csinf): Likewise.
38575         * math/s_csinhf.c (__csinhf): Likewise.
38576         * math/s_ctanf.c (__ctanf): Likewise.
38577         * math/s_ctanhf.c (__ctanhf): Likewise.
38578         * math/s_ccosh.c (__ccoshf): Likewise.
38579         * math/s_cexp.c (__cexpl): Likewise.
38580         * math/s_csin.c (__csin): Likewise.
38581         * math/s_csinh.c (__csinh): Likewise.
38582         * math/s_ctan.c (__ctan): Likewise.
38583         * math/s_ctanh.c (ctanh): Likewise.
38584         * math/s_ccoshl.c (__ccoshl): Likewise.
38585         * math/s_cexpl.c (__cexpl): Likewise.
38586         * math/s_csinl.c (__csinl): Likewise.
38587         * math/s_csinhl.c (__csinhl): Likewise.
38588         * math/s_ctanl.c (__ctanl): Likewise.
38589         * math/s_ctanhl.c (__ctanhl): Likewise.
38591 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38593         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38594         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38595         (_IO_off_t): Define to __off_t, not _G_off_t.
38596         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38597         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38598         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38599         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38600         type of __dummy and __dummy2 fields.
38601         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38602         (_G_ssize_t): Likewise.
38603         (_G_off_t): Likewise.
38604         (_G_pid_t): Likewise.
38605         (_G_uid_t): Likewise.
38606         (_G_wchar_t): Likewise.
38607         (_G_wint_t): Likewise.
38608         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38609         (_G_ssize_t): Likewise.
38610         (_G_off_t): Likewise.
38611         (_G_pid_t): Likewise.
38612         (_G_uid_t): Likewise.
38613         (_G_wchar_t): Likewise.
38614         (_G_wint_t): Likewise.
38615         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38616         (_G_ssize_t): Likewise.
38617         (_G_off_t): Likewise.
38618         (_G_pid_t): Likewise.
38619         (_G_uid_t): Likewise.
38620         (_G_wchar_t): Likewise.
38621         (_G_wint_t): Likewise.
38623 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38625         * malloc/arena.c: Include malloc-sysdep.h.
38626         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38627         is sufficient to shrink the heap or an unmap is needed.
38628         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38629         new function check_may_shrink_heap.
38630         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38631         new function check_may_shrink_heap.
38633 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38635         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38636         comments.
38638 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38640         * catgets/test-gencat.sh: Add "set -e".
38641         * elf/tst-pathopt.sh: Likewise.
38642         * grp/tst_fgetgrent.sh: Likewise.
38643         * iconvdata/run-iconv-test.sh: Likewise.
38644         * intl/tst-gettext.sh: Likewise.
38645         * intl/tst-gettext2.sh: Likewise.
38646         * intl/tst-gettext4.sh: Likewise.
38647         * intl/tst-gettext6.sh: Likewise.
38648         * intl/tst-translit.sh: Likewise.
38649         * io/ftwtest-sh: Likewise.
38650         * libio/test-freopen.sh: Likewise.
38651         * malloc/tst-mtrace.sh: Likewise.
38652         * posix/globtest.sh: Likewise.
38653         * posix/tst-getconf.sh: Likewise.
38654         * posix/wordexp-tst.sh: Likewise.
38655         * stdio-common/tst-printf.sh: Likewise.
38656         * stdio-common/tst-unbputc.sh: Likewise.
38657         * stdlib/tst-fmtmsg.sh: Likewise.
38658         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38659         * catgets/Makefile: Do not specify -e option when running
38660         testsuite shell scripts.
38661         * elf/Makefile: Likewise.
38662         * grp/Makefile: Likewise.
38663         * iconvdata/Makefile: Likewise.
38664         * intl/Makefile: Likewise.
38665         * io/Makefile: Likewise.
38666         * libio/Makefile: Likewise.
38667         * malloc/Makefile: Likewise.
38668         * posix/Makefile: Likewise.
38669         * stdio-common/Makefile: Likewise.
38670         * stdlib/Makefile: Likewise.
38671         * sysdeps/x86_64/Makefile: Likewise.
38673         * io/ftwtest-sh: Add copyright header.
38674         * posix/globtest.sh: Likewise.
38675         * posix/tst-getconf.sh: Likewise.
38676         * posix/wordexp-tst.sh: Likewise.
38677         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38679 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38681         [BZ #13679]
38682         * Makeconfig (+link): Defined as $(+link-static) if
38683         $(build-shared) isn't yes.
38684         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38685         isn't yes.
38686         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38688         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38690         [BZ #14562]
38691         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38692         new chunk size with MALLOC_ALIGN_MASK.
38694 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38696         [BZ #5044]
38697         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38698         <rounding-mode.h>.
38699         (__printf_fphex): Determine rounding using get_rounding_mode and
38700         round_away.
38701         * stdio-common/tst-printf-round.c (struct hex_test): New
38702         structure.
38703         (hex_tests): New variable.
38704         (test_hex_in_one_mode): New function.
38705         (do_test): Also run tests for hex float output.
38707 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38709         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38710         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38711         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38712         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38713         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38714         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38715         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38716         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38718 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38720         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38721         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38722         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38723         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38725 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38727         [BZ #14579]
38728         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38729         mode only.
38730         * elf/tst-rtld-load-self.sh: New test.
38731         * elf/Makefile: Run it.
38733 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38735         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38736         (tst-writev-ENV): Remove.
38737         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38739 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38741         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38743 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38745         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38746         unconditional.
38747         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38748         Likewise.
38749         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38750         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38751         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38752         Likewise.
38754 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38756         [BZ #14587]
38757         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38758         * config.make.in (have-cpp-asm-debuginfo): Removed.
38759         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38760         * configure: Regenerated.
38762 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38764         [BZ #5044]
38765         * stdio-common/printf_fp.c: Include <stdbool.h> and
38766         <rounding-mode.h>.
38767         (___printf_fp): Determine rounding using get_rounding_mode and
38768         round_away.
38769         * stdio-common/tst-printf-round.c: New file.
38770         * stdio-common/Makefile (tests): Add tst-printf-round.
38771         (link-libm): New variable.
38772         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38774 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38776         [BZ #14576]
38777         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38778         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38779         Likewise.
38780         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38781         Likewise.
38783 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38785         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38786         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38787         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38788         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38790 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38792         [BZ #14518]
38793         * include/rounding-mode.h: New file.
38794         * sysdeps/generic/get-rounding-mode.h: Likewise.
38795         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38796         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38797         (MAX_VALUE): New macro.
38798         (MIN_VALUE): Likewise.
38799         (overflow_value): New function.
38800         (underflow_value): Likewise.
38801         (round_and_return): Use overflow_value and underflow_value to
38802         determine return values in overflow and underflow cases.  Use
38803         round_away to determine rounding depending on rounding mode.
38804         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38805         determine return values in overflow and underflow cases.
38806         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38807         (struct test_results): New structure.
38808         (struct test): Use struct test_results to store expected results
38809         for all rounding modes.
38810         (TEST): Include expected results for all rounding modes.
38811         (test_in_one_mode): New function.
38812         (do_test): Use test_in_one_mode to compute and check results.
38813         Check results for all rounding modes.
38814         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38815         $(link-libm).
38817 2012-12-09  Allan McRae  <allan@archlinux.org>
38819         * sysdeps/i386/fpu/libm-test-ulps: Update
38821 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38823         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38824         (_G_int32_t): Likewise.
38825         (_G_uint16_t): Likewise.
38826         (_G_uint32_t): Likewise.
38827         (_G_HAVE_BOOL): Likewise.
38828         (_G_HAVE_ATEXIT): Likewise.
38829         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38830         (_G_HAVE_IO_FILE_OPEN): Likewise.
38831         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38832         (_G_int32_t): Likewise.
38833         (_G_uint16_t): Likewise.
38834         (_G_uint32_t): Likewise.
38835         (_G_HAVE_BOOL): Likewise.
38836         (_G_HAVE_ATEXIT): Likewise.
38837         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38838         (_G_HAVE_IO_FILE_OPEN): Likewise.
38839         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38840         (_G_int32_t): Likewise.
38841         (_G_uint16_t): Likewise.
38842         (_G_uint32_t): Likewise.
38843         (_G_HAVE_BOOL): Likewise.
38844         (_G_HAVE_ATEXIT): Likewise.
38845         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38846         (_G_HAVE_IO_FILE_OPEN): Likewise.
38848 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38850         * csu/libc-tls.c: Update copyright years.
38852 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38854         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38855         [!_G_USING_THUNKS]: Remove conditional code.
38856         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38857         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38859         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38860         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38861         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38862         (_G_VTABLE_LABEL_PREFIX): Likewise.
38863         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38864         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38865         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38866         (_G_VTABLE_LABEL_PREFIX): Likewise.
38867         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38868         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38869         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38870         (_G_VTABLE_LABEL_PREFIX): Likewise.
38871         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38873 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38875         * libio/Makefile: Include ../Makeconfig before tests.
38876         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38877         only if $(build-shared) is yes.
38879         * iconv/gconv_db.c: Update copyright years.
38881 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38883         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38884         unwind info if defined PIC. Fix special cases description.
38885         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38887         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38888         DP_HI_MASK entry.
38889         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38891 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38893         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38895         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38896         is NULL.
38898         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38899         (LDLIBS-tst-chk4): This.
38900         (LDFLAGS-tst-chk5): Renamed to ...
38901         (LDLIBS-tst-chk5): This.
38902         (LDFLAGS-tst-chk6): Renamed to ...
38903         (LDLIBS-tst-chk6): This.
38904         (LDFLAGS-tst-lfschk4): Renamed to ...
38905         (LDLIBS-tst-lfschk4): This.
38906         (LDFLAGS-tst-lfschk5): Renamed to ...
38907         (LDLIBS-tst-lfschk5): This.
38908         (LDFLAGS-tst-lfschk6): Renamed to ...
38909         (LDLIBS-tst-lfschk6): This.
38911         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38912         on $(common-objpfx)soversions.mk.
38914 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38916         [BZ #10014]
38917         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38918         example host name.
38920 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38922         * malloc/arena.c (arena_get_retry): New function that gets
38923         another arena for the caller to try its request on.
38924         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38925         current arena cannot fulfill the request.
38926         (__libc_memalign): Likewise.
38927         (__libc_memalign): Likewise.
38928         (__libc_pvalloc): Likewise.
38929         (__libc_calloc): Likewise.
38931 2012-09-05  John Tobey  <john.tobey@gmail.com>
38933         [BZ #13542]
38934         * manual/arith.texi (Operations on Complex): Fix description
38935         of carg branch cut.
38937 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38939         [BZ #10014]
38940         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38941         host name.
38943         [BZ #10038]
38944         * manual/memory.texi (Memory): Make order of menu items match
38945         order of sections.
38947 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38949         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38950         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38951         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38953 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38955         * csu/libc-tls.c (static_dtv): Renamed to ...
38956         (_dl_static_dtv): This.  Make it global.
38957         (_dl_initial_dtv): Removed.
38958         (__libc_setup_tls): Updated.
38959         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38960         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38961         DL_INITIAL_DTV.
38963 2012-09-06  Petr Machata  <pmachata@redhat.com>
38965         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38966         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38967         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38968         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38970 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38972         [BZ #14545]
38973         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38974         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38975         freeing dtv[-1].
38977 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38979         [BZ #14544]
38980         * Makeconfig (link-static-before-libc): Replace $(+prector)
38981         with $(+prectorT).
38982         (link-static-after-libc): Replace $(+postctor) with
38983         $(+postctorT).
38984         (link-bounded): Replace $(+prector)/$(+postctor) with
38985         $(+prectorT)/$(+postctorT).
38986         (+prectorT): New macro.
38987         (+postctorT): Likewise.
38989 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38991         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38992         (round_str): Handle values above the maximum for IBM long double
38993         as inexact.
38994         * stdlib/tst-strtod-round.c (tests): Regenerated.
38996 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38998         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38999         assembler flag.
39000         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39001         zarch_nohighgprs around the zarch optimized routines.
39002         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39003         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39004         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39005         for zarch.
39007 2012-09-05  David S. Miller  <davem@davemloft.net>
39009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39011         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39012         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
39013         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39014         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39015         entries.
39017 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39019         * malloc/arena.c: Fold copyright years.
39020         * malloc/mcheck.c, malloc/memusage.c: Likewise.
39022 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39024         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39026 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39028         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
39030 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39032         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39033         change internal state upon failure.
39035 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
39037         * malloc/mcheck.c (mcheck_check_all): Fix typo.
39038         * malloc/memusage.c (mmap): Likewise.
39039         (mmap64, mremap): Likewise.  Adjust name in comment.
39041 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         * libio/fileops.c: Fix typos in comments.
39044         * libio/oldfileops.c: Likewise.
39045         * libio/wfileops.c: Likewise.
39047 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39049         [BZ #1349]
39050         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39051         (tst-malloc-usable-ENV): Set environment for test case.
39052         * malloc/hooks.c (malloc_check_get_size): New function to get
39053         requested size.
39054         * malloc/malloc.c (musable): Use malloc_check_get_size.
39055         * malloc/tst-malloc-usable.c: New test case.
39057 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39059         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39061 2012-09-05  Allan McRae  <allan@archlinux.org>
39063         [BZ #13966]
39064         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39065         determine header location.
39066         * configure: Regenerated.
39068 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39070         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39071         float format.
39072         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39073         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39074         format.
39075         (test): Regenerate.
39077 2012-09-04  David S. Miller  <davem@davemloft.net>
39079         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39080         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39081         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39083 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39085         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39086         failures.
39088         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39090 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39092         [BZ #9914]
39093         * libio/iogetdelim.c: Include <limits.h>.
39094         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39095         + len + 1 would overflow.
39097 2012-09-03  Andreas Jaeger  <aj@suse.de>
39099         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39100         * sysdeps/i386/fpu/libm-test-ulps: Update.
39102 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39104         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39105         Add s_sinf-sse2, s_conf-sse2.
39107         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39108         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39109         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39110         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39112         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39113         for using routine as __sinf_ia32.
39114         Use macro for function declaration and weak_alias.
39115         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39116         for using routine as __cosf_ia32.
39117         Use macro for function declaration and weak_alias.
39119         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39120         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39122         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39123         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39126         * math/libm-test.inc (cos_test): Add more test cases.
39127         (sin_test): Likewise.
39128         (sincos_test): Likewise.
39130 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39132         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39133         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39134         hidden.
39135         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39137 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39139         [BZ #14538]
39140         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39141         first element of the GOT.
39142         (elf_machine_load_address): Return the difference between
39143         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39145 2012-09-01  Allan McRae  <allan@archlinux.org>
39147         [BZ #13412]
39148         * configure.in (AWK): Require gawk version 3.0 or later.
39149         * configure: Regenerated.
39151 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39153         * sysdeps/unix/sysv/linux/kernel-features.h
39154         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39155         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39156         [__NR_clock_getres]: Make code unconditional.
39157         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39158         (clock_getcpuclockid): Remove code left unreachable by removal of
39159         conditionals.
39160         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39161         code unconditional.
39162         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39163         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39164         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39165         Make code unconditional.
39166         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39167         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39168         * sysdeps/unix/sysv/linux/clock_settime.c
39169         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39170         conditional code.
39171         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39172         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39174 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39176         [BZ #14476]
39177         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39178         scripts/test-installation.pl.
39180         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39181         and $ld_so_version if it is set.
39183 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39185         [BZ #14516]
39186         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39187         failure if reading from procfs failed.
39188         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39190 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39192         * sysdeps/unix/sysv/linux/kernel-features.h
39193         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39194         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39195         Remove conditional code.
39196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39197         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39198         Remove conditional code.
39199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39200         * sysdeps/unix/sysv/linux/i386/fxstat.c
39201         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39202         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39203         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39204         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39205         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39206         * sysdeps/unix/sysv/linux/i386/lxstat.c
39207         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39208         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39209         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39210         Remove conditional code.
39211         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39212         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39213         Remove conditional code.
39214         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39215         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39216         <kernel-features.h>.
39217         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39218         Remove.
39219         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39220         Remove conditional code.
39221         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39222         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39223         Remove conditional.
39225 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39227         [BZ #5400]
39228         * NEWS: Add fixed bug number.
39230 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39232         [BZ #14519]
39233         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39234         underflowing exponent in case of negative sign.
39235         * stdlib/tst-strtod-round-data: Add more tests.
39236         * stdlib/tst-strtod-round.c (tests): Regenerated.
39238         [BZ #3479]
39239         * stdlib/strtod_l.c (NDIG): Remove.
39240         (HEXNDIG): Likewise.
39241         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39242         smallest representable value.
39243         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39244         lie within an exact representation of 1/2 ulp of the result.
39245         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39246         unconditionally.
39247         (TENS_P9_IDX): Define unconditionally.
39248         (TENS_P9_SIZE): Likewise.
39249         (TENS_P10_IDX): Likewise.
39250         (TENS_P10_SIZE): Likewise.
39251         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39252         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39253         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39254         entries for 10^2^13 and 10^2^14.
39255         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39256         (TENS_P13_IDX): Define.
39257         (TENS_P13_SIZE): Likewise.
39258         (TENS_P14_IDX): Likewise.
39259         (TENS_P14_SIZE): Likewise.
39260         (_fpioconst_pow10): Change array size to
39261         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39262         unconditional.
39263         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39264         1024]: Add entries for 10^2^13 and 10^2^14.
39265         [LAST_POW10 > _LAST_POW10]: Remove #error.
39266         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39267         (_fpioconst_pow10): Change array size to
39268         FPIOCONST_POW10_ARRAY_SIZE.
39269         * stdlib/gen-fpioconst.c: New file.
39270         * stdlib/gen-tst-strtod-round.c: Likewise.
39271         * stdlib/tst-strtod-round-data: Likewise.
39272         * stdlib/tst-strtod-round.c: Likewise.
39273         * stdlib/Makefile (tests): Add tst-strtod-round.
39275         [BZ #14459]
39276         * stdlib/strtod_l.c: Include <stdint.h>.
39277         (NDEBUG): Do not define.
39278         (round_and_return): Change EXPONENT parameter to type intmax_t.
39279         Rearrange calculations to avoid internal overflow possibilities.
39280         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39281         Rearrange calculations to avoid internal overflow possibilities.
39282         Assert that number fits inside MPNSIZE limbs.
39283         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39284         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39285         calculations and add assertions to avoid internal overflow
39286         possibilities.  Add casts to avoid signed/unsigned operations.
39287         * stdlib/tst-strtod-overflow.c: New file.
39288         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39290 2012-08-25  Marek Polacek  <polacek@redhat.com>
39292         * time/time.h: Fix some typos in comments.
39294 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39296         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39297         * posix/tst-rfc3484-2.c: Likewise.
39298         * posix/tst-rfc3484-3.c: Likewise.
39300 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39302         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39303         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39305 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39307         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39308         #include of fxstatat64.c.
39310 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39312         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39313         * shadow/getspent_r.c: Likewise.
39314         * shadow/getspnam.c: Likewise.
39315         * shadow/getspnam_r.c: Likewise.
39316         * gshadow/getsgent.c: Likewise.
39317         * gshadow/getsgent_r.c: Likewise.
39318         * gshadow/getsgnam.c: Likewise.
39319         * gshadow/getsgnam_r.c: Likewise.
39320         * inet/getnetbyad.c: Likewise.
39321         * inet/getnetbyad_r.c: Likewise.
39322         * inet/getnetbynm.c: Likewise.
39323         * inet/getnetbynm_r.c: Likewise.
39324         * inet/getnetent.c: Likewise.
39325         * inet/getnetent_r.c: Likewise.
39326         * inet/getproto.c: Likewise.
39327         * inet/getproto_r.c: Likewise.
39328         * inet/getprtent.c: Likewise.
39329         * inet/getprtent_r.c: Likewise.
39330         * inet/getprtname.c: Likewise.
39331         * inet/getprtname_r.c: Likewise.
39332         * inet/getrpcbyname.c: Likewise.
39333         * inet/getrpcbyname_r.c: Likewise.
39334         * inet/getrpcbynumber.c: Likewise.
39335         * inet/getrpcbynumber_r.c: Likewise.
39336         * inet/getrpcent.c: Likewise.
39337         * inet/getrpcent_r.c: Likewise.
39338         * inet/getaliasent.c: Likewise.
39339         * inet/getaliasent_r.c: Likewise.
39340         * inet/getaliasname.c: Likewise.
39341         * inet/getaliasname_r.c: Likewise.
39342         * nscd/getgrgid_r.c: Likewise.
39343         * nscd/getgrnam_r.c: Likewise.
39344         * nscd/gethstbyad_r.c: Likewise.
39345         * nscd/gethstbynm3_r.c: Likewise.
39346         * nscd/getpwnam_r.c: Likewise.
39347         * nscd/getpwuid_r.c: Likewise.
39348         * nscd/getsrvbynm_r.c: Likewise.
39349         * nscd/getsrvbypt_r.c: Likewise.
39350         * nscd/gai.c: Likewise.
39352         * configure.in (build_nscd): New substituted variable, set
39353         by --disable-build-nscd and defaults to $use_nscd.
39354         * configure: Regenerated.
39355         * config.make.in (build-nscd): New substituted variable.
39356         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39357         Change conditional to require [$(build-nscd) = yes] as well.
39358         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39360         [BZ# 13696]
39361         * configure.in (use_nscd): New substituted variable, set by
39362         --disable-nscd.  If enabled, define USE_NSCD.
39363         * configure: Regenerated.
39364         * config.h.in: Add USE_NSCD.
39365         * config.make.in (use-nscd): New substituted variable.
39366         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39367         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39368         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39369         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39370         (CFLAGS-getgrnam_r.c): Likewise.
39371         (CFLAGS-initgroups.c): Likewise.
39372         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39373         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39374         Variables removed.
39375         * inet/getnetgrent_r.c
39376         (nscd_setnetgrent): New function, broken out of ...
39377         (setnetgrent): ... here.  Call it.
39378         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39379         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39380         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39381         * nscd/Makefile (routines, aux): Move definitions after include of
39382         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39383         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39384         Conditionalize on [USE_NSCD].
39385         (is_nscd, nscd_init_cb): Likewise.
39386         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39387         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39388         * nss/nss_db/db-init.c: Likewise.
39389         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39390         [USE_NSCD].
39391         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39392         (make_request): Use it.
39393         (cache_valid_p): New function.
39394         (__check_pf): Use it.
39395         * NEWS: Add item for --disable-nscd.
39397 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39399         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39400         to support sed >= 4.2.1-20-ga9bf076.
39401         * configure: Regenerated.
39403 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39405         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39406         Conditionalize whole body on [IREL].
39408 2012-08-22  Jeff Law <law@redhat.com>
39410         [BZ #14505]
39411         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39412         if the family is PF_UNSPEC.
39414 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39416         * Makerules (lib-version): Rename from V.
39417         (install-lib-nosubdir): Change V to lib-version.
39419 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39421         [BZ #14252]
39422         * powerpc32/power6/wcschr.c: New file.
39423         * powerpc32/power6/wcscpy.c: New file.
39424         * powerpc32/power6/wcsrchr.c: New file.
39425         * powerpc64/power6/wcschr.c: New file.
39426         * powerpc64/power6/wcscpy.c: New file.
39427         * powerpc64/power6/wcsrchr.c: New file.
39429 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39431         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39432         (two_way_short_needle): Use it.
39433         * string/strstr.c (AVAILABLE1_USES_J): Define.
39434         * string/strcasestr.c: Likewise.
39436         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39437         array references.
39438         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39440         [BZ #11607]
39441         * NEWS: Add an entry.
39442         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39443         define their defaults.
39444         (two_way_short_needle): Detect end-of-string on-the-fly.
39445         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39446         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39447         * string/bug-strcasestr1.c: New test.
39448         * string/Makefile: Run it.
39450 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39452         [BZ #11607]
39453         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39454         the first character.
39456 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39458         * csu/elf-init.c (__libc_csu_irel): Function removed.
39459         * csu/libc-start.c (apply_irel): New function.
39460         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39462 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39464         * sysdeps/unix/sysv/linux/kernel-features.h
39465         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39466         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39467         <kernel-features.h>.
39468         [__NR_fadvise64_64]: Make code unconditional.
39469         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39470         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39471         !__NR_fadvise64_64)]: Likewise.
39472         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39473         !__NR_fadvise64_64))]: Likewise.
39474         [__NR_fadvise64]: Make code unconditional.
39475         [!__NR_fadvise64]: Remove conditional code.
39476         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39477         <kernel-features.h>.
39478         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39479         unconditional.
39480         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39481         conditional code.
39482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39483         not include <kernel-features.h>.
39484         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39485         unconditional.
39486         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39487         conditional code.
39488         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39489         include <kernel-features.h>.
39490         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39491         unconditional.
39492         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39493         conditional code.
39495 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39497         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39498         slight instruction rearrangements per scrollpipe analysis.
39499         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39501 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39503         * manual/syslog.texi (syslog; vsyslog, closelog):
39504         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39505         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39507         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39508         DSOCAPS to match condition on defining it.
39510 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39512         * sysdeps/unix/sysv/linux/kernel-features.h
39513         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39515         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39516         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39518         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39519         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39521         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39522         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39524         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39525         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39527         * sysdeps/unix/sysv/linux/kernel-features.h
39528         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39529         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39530         unconditional.
39531         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39532         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39533         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39534         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39535         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39536         Make code unconditional.
39537         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39538         (__mmap64) [!__NR_mmap2]: Likewise.
39539         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39540         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39541         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39542         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39543         [__NR_mmap2]: Make code unconditional.
39544         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39545         (__mmap64) [!__NR_mmap2]: Likewise.
39547 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39549         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39551 2012-08-18  Andreas Jaeger  <aj@suse.de>
39553         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39555 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39557         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39558         * include/unistd.h (__have_sock_cloexec): Likewise.
39559         (__have_pipe2): Likewise.
39560         (__have_dup3): Likewise.
39562 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39564         [BZ #9685]
39565         * include/unistd.h (__have_pipe2): Change define into an extern int.
39566         (__have_dup3): Likewise.
39567         * socket/have_sock_cloexec.c: Include fcntl.h.
39568         (__have_pipe2): New variable.
39569         (__have_dup3): Likewise.
39571 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39573         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39575 2012-08-17  Marek Polacek  <polacek@redhat.com>
39577         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39578         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39580 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39582         * configure.in: Add AC_SUBST for sysheaders.
39583         * configure: Regenerated.
39584         * config.make.in (sysheaders): New substituted variable.
39586         * sysdeps/unix/mkfifo.c: Moved ...
39587         * sysdeps/posix/mkfifo.c: ... here.
39588         * sysdeps/unix/mkfifoat.c: Moved ...
39589         * sysdeps/posix/mkfifoat.c: ... here.
39591         * sysdeps/unix/utime.c: Moved ...
39592         * sysdeps/posix/utime.c: ... here.
39594         * sysdeps/unix/time.c: Moved ...
39595         * sysdeps/posix/time.c: ... here.
39596         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39597         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39599         * sysdeps/unix/nice.c: Moved ...
39600         * sysdeps/posix/nice.c: ... here.
39602         * sysdeps/unix/alarm.c: Moved ...
39603         * sysdeps/posix/alarm.c: ... here.
39605         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39607 2012-08-17  Jeff Law <law@redhat.com>
39609         * intl/Makefile (codeset_mo): New variable.
39610         ($(codeset_mo)): New target.
39611         (tst-codeset.out): Depend on that.  Remove explicit rule.
39612         (tst-gettext3.out, tst-gettext5.out): Likewise.
39613         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39614         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39615         * intl/tst-codeset.sh: Remove.
39616         * intl/tst-gettext3.sh: Likewise.
39617         * intl/tst-gettext5.sh: Likewise.
39619 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39621         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39622         * sysdeps/unix/syscalls.list: ... here.
39624         * sysdeps/posix/getaddrinfo.c
39625         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39626         (gaiconf_init, gaiconf_reload): Use them.
39627         [!_STATBUF_ST_NSEC]
39628         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39629         Define using time_t rather than struct timespec.
39631         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39632         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39633         Macros removed.
39634         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39635         [!NO_THREADS].
39636         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39637         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39638         Likewise.
39640         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39641         __libc_cleanup_push argument.
39643         * bits/param.h: New file.
39644         * misc/sys/param.h: New file.
39645         * include/sys/param.h: New file.
39646         * misc/Makefile (headers): Add bits/param.h.
39647         * sysdeps/generic/sys/param.h: File removed.
39648         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39649         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39650         * sysdeps/mach/hurd/bits/param.h: New file.
39651         * sysdeps/mach/hurd/sys/param.h: File removed.
39653         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39654         last change.
39656         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39657         [_IO_MTSAFE_IO].
39658         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39659         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39660         New macros.
39662         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39663         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39664         rather than -D_IO_MTSAFE_IO conditionally.
39665         * stdio-common/Makefile (CPPFLAGS): Likewise.
39666         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39667         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39668         Use $(libio-mtsafe).
39669         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39670         of -D_IO_MTSAFE_IO.
39671         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39672         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39673         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39674         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39675         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39676         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39677         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39678         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39679         (CFLAGS-fread_u_chk.c): Likewise.
39680         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39681         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39682         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39683         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39684         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39685         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39686         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39687         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39688         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39690         * libio/Makefile: Test [$(libc-reentrant) = yes]
39691         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39693         * Makeconfig
39694         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39695         * sysdeps/pthread/configure: File removed.
39696         * sysdeps/pthread/Makeconfig: New file.
39697         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39698         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39700 2012-08-16  Gary Benson  <gbenson@redhat.com>
39702         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39703         unmapping the first object in a namespace.
39705 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39707         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39708         (__internal_setnetgrent): ... this.  Add internal_function to
39709         definition.  Add libc_hidden_def.
39710         (setnetgrent): Update caller.
39711         (internal_endnetgrent): Renamed to ...
39712         (__internal_endnetgrent): ... this.  Add internal_function to
39713         definition.  Add libc_hidden_def.
39714         (endnetgrent): Update caller.
39715         (internal_getnetgrent_r): Renamed to ...
39716         (__internal_getnetgrent_r): ... this.  Add internal_function to
39717         definition.  Add libc_hidden_def.
39718         (__getnetgrent_r): Update caller.
39719         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39721 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39723         * stdlib/longlong.h: Update from GCC.
39725 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39727         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39728         on _QL, which is set by umul_ppmm but never used.
39729         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39730         variables, which are set by GMP macros but never used.
39731         * stdio-common/_itowa.c (_itowa): Likewise.
39732         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39733         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39735 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39737         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39738         struct La_sh_regs is not constant.
39739         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39740         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39741         and struct La_sparc64_regs are not constant.
39743 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39745         * sysdeps/unix/sysv/linux/kernel-features.h
39746         (__ASSUME_POSIX_TIMERS): Remove.
39747         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39748         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39749         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39750         Make code unconditional.
39751         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39752         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39753         Make code unconditional.
39754         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39755         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39756         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39757         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39758         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39759         Make code unconditional.
39760         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39761         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39762         (__libc_missing_posix_timers): Remove.
39764 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39766         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39767         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39769         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39771         * elf/dl-sym.c: Include <stdlib.h>.
39773         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39774         constants, which avoids warnings in 32-bit builds.
39776         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39777         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39779         * misc/lseek.c: File moved to ...
39780         * io/lseek.c: ... here.
39782         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39784         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39785         shifting LEN more than 31 bits at once.
39787 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39789         [BZ #14195]
39790         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39791         segmentation fault for a case of two empty input strings.
39792         * string/test-strncasecmp.c (check1): Renamed to...
39793         (bz12205): ...this.
39794         (bz14195): Add new testcase for two empty input strings and N > 0.
39795         (test_main): Call new testcase, adapt for renamed function.
39797 2012-08-15  Andreas Jaeger  <aj@suse.de>
39799         [BZ #14090]
39800         * crypt/md5test2.c: New test, based on test supplied by Serge
39801         Belyshev <belyshev@depni.sinp.msu.ru>.
39802         * crypt/Makefile (xtests): Add md5test-giant..
39803         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39805 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39807         [BZ #14090]
39808         * crypt/md5.c (md5_process_block): Don't assume the buffer
39809         length is less than 2**32.
39810         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39811         length is less than 2**64.
39813 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39815         * string/str-two-way.h: Include <sys/param.h>.
39816         (MAX): Macro removed.
39818         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39819         Move #define and #undef of memmove to just before and after
39820         including <string.h>.
39822         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39823         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39824         and after including <string.h>.  Move declarations of
39825         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39826         to before #include "string/memmove.c".
39828         * include/dirent.h: Declare __getdirentries.
39830         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39831         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39833 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39835         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39836         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39837         * sysdeps/i386/configure: Regenerated.
39838         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39839         STABS_CURRENT_FILE, and STABS_FUN.
39840         (END): Remove call to STABS_FUN_END.
39841         (STABS_CURRENT_FILE1): Delete.
39842         (STABS_CURRENT_FILE): Likewise.
39843         (STABS_FUN): Likewise.
39844         (STABS_FUN_END): Likewise.
39845         (STABS_FUN2): Likewise.
39846         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39847         * sysdeps/x86_64/configure: Regenerated.
39849 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39851         * elf/dl-open.c: Include <atomic.h>.
39852         * elf/dl-lookup.c: Likewise.
39854 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39856         * sysdeps/unix/sysv/linux/kernel-features.h
39857         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39858         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39859         unconditionally.
39860         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39861         unconditionally.
39862         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39863         condition on __ASSUME_CLONE_THREAD_FLAGS.
39865 2012-08-14  Andreas Jaeger  <aj@suse.de>
39867         * sysdeps/i386/fpu/libm-test-ulps: Update.
39869 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39871         * include/atomic.h (atomic_exchange_and_add): Split into ...
39872         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39873         New atomic macros.
39875 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39877         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39879 2012-08-13  Jeff Law <law@redhat.com>
39881         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39882         null byte in the output string.
39884 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39886         * sysdeps/unix/sysv/linux/kernel-features.h
39887         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39888         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39889         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39890         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39891         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39892         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39893         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39895 2012-08-09  Jeff Law <law@redhat.com>
39897         [BZ #13939]
39898         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39899         When avoid_arena is set, don't retry in the that arena.  Pick the
39900         next one, whatever it might be.
39901         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39902         (arena_lock): Pass in new parameter to arena_get2.
39903         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39904         arena_get2.
39905         (__libc_malloc): Unify retrying after main arena failure with
39906         __libc_memalign version.
39907         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39909 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39911         [BZ #14166]
39912         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39913         to __redirect_strstr.
39914         (__strstr_sse42): Use typeof __redirect_strstr.
39915         (__strstr_ia32): Likewise.
39916         (__libc_strstr): New prototype.
39917         (strstr): Renamed to ...
39918         (__libc_strstr): This.
39919         (strstr): New strong alias of __libc_strstr.
39920         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39921         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39922         __redirect_time.
39923         Include <time.h>.
39924         (__libc_time): New prototype.
39925         (time_ifunc): Replace time with __libc_time.
39926         (time): New strong alias and hidden definition of __libc_time.
39927         (__GI_time): Remove strong alias.
39928         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39929         Include <stddef.h>.
39930         (memmove): Redefined to __redirect_memmove.
39931         (__memmove_sse2): Use typeof __redirect_memmove.
39932         (__memmove_ssse3): Likewise.
39933         (__memmove_ssse3_back): Likewise.
39934         (__libc_memmove): New prototype.
39935         (memmove): Renamed to ...
39936         (__libc_memmove): This.
39937         (memmove): New strong alias of __libc_memmove.
39939 2012-08-08  Mark Salter  <msalter@redhat.com>
39941         * elf/elf.h
39942         (R_MN10300_TLS_GD): Define.
39943         (R_MN10300_TLS_LD): Likewise.
39944         (R_MN10300_TLS_LDO): Likewise.
39945         (R_MN10300_TLS_GOTIE): Likewise.
39946         (R_MN10300_TLS_IE): Likewise.
39947         (R_MN10300_TLS_LE): Likewise.
39948         (R_MN10300_TLS_DTPMOD): Likewise.
39949         (R_MN10300_TLS_DTPOFF): Likewise.
39950         (R_MN10300_TLS_TPOFF): Likewise.
39951         (R_MN10300_SYM_DIFF): Likewise.
39952         (R_MN10300_ALIGN): Likewise.
39953         (R_MN10300_NUM): Update.
39955 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39958         Remove.
39960 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39962         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39964         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39965         sysdeps/unix -> sysdeps/posix move.
39966         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39968 2012-08-07      Allan McRae     <allan@archlinux.org>
39970         [BZ #14303]
39971         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39972         (SUNOS_CPP): Likewise.
39973         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39974         not found.
39975         (open_input): Call CPP using execvp.
39977 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39979         * sysdeps/unix/sysv/linux/kernel-features.h
39980         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39981         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39982         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39983         (__ASSUME_WAITID_SYSCALL): Likewise.
39984         * sysdeps/unix/sysv/linux/dl-execstack.c
39985         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39986         code unconditional.
39987         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39988         conditional code.
39989         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39990         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39991         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39992         code.
39993         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39994         unconditional.
39995         [__ASSUME_WAITID_SYSCALL]: Likewise.
39996         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39998 2012-08-07  Roland McGrath  <roland@hack.frob.com>
40000         * sysdeps/unix/closedir.c: Renamed to ...
40001         * sysdeps/posix/closedir.c: ... here.
40002         * sysdeps/unix/dirfd.c: Renamed to ...
40003         * sysdeps/posix/dirfd.c: ... here.
40004         * sysdeps/unix/dirstream.h: Renamed to ...
40005         * sysdeps/posix/dirstream.h: ... here.
40006         * sysdeps/unix/fdopendir.c: Renamed to ...
40007         * sysdeps/posix/fdopendir.c: ... here.
40008         * sysdeps/unix/opendir.c: Renamed to ...
40009         * sysdeps/posix/opendir.c: ... here.
40010         * sysdeps/unix/readdir.c: Renamed to ...
40011         * sysdeps/posix/readdir.c: ... here.
40012         * sysdeps/unix/readdir_r.c: Renamed to ...
40013         * sysdeps/posix/readdir_r.c: ... here.
40014         * sysdeps/unix/rewinddir.c: Renamed to ...
40015         * sysdeps/posix/rewinddir.c: ... here.
40016         * sysdeps/unix/seekdir.c: Renamed to ...
40017         * sysdeps/posix/seekdir.c: ... here.
40018         * sysdeps/unix/telldir.c: Renamed to ...
40019         * sysdeps/posix/telldir.c: ... here.
40020         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40021         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40022         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40023         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40025         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40026         * bits/fcntl.h: ... here.
40028         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40029         not 0.
40030         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40031         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40032         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40033         (struct flock): Move l_start, l_len to the beginning.
40034         Use __pid_t for l_pid.
40035         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40036         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40037         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40038         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40039         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40040         [__USE_LARGEFILE64] (struct flock64): New type.
40041         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40043         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40044         * bits/dirent.h: ... here.
40046         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40047         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40049 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40051         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40052         Change from 2.6.0 to 2.6.16.
40053         * sysdeps/unix/sysv/linux/configure: Regenerated.
40054         * sysdeps/unix/sysv/linux/kernel-features.h
40055         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40056         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40057         version.
40058         (__ASSUME_UTIMES): Likewise.
40059         (__ASSUME_CLONE_STOPPED): Remove.
40060         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40061         architectures, not kernel version.
40062         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40063         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40064         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40065         (__ASSUME_WAITID_SYSCALL): Likewise.
40066         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40067         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40068         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40069         refer to older versions.
40071 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40073         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40074         Define alphasort64 as an alias.
40075         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40076         Define versionsort64 as an alias.
40077         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40078         Define scandir64 as an alias.
40079         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40080         Define scandirat64 as an alias.
40081         * dirent/alphasort64.c (alphasort64):
40082         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40083         * dirent/versionsort64.c: Likewise.
40084         * dirent/scandir64.c: Likewise.
40085         * dirent/scandirat64.c: Likewise.
40086         * sysdeps/wordsize-64/alphasort.c: File removed.
40087         * sysdeps/wordsize-64/alphasort64.c: File removed.
40088         * sysdeps/wordsize-64/scandir.c: File removed.
40089         * sysdeps/wordsize-64/scandir64.c: File removed.
40090         * sysdeps/wordsize-64/scandirat.c: File removed.
40091         * sysdeps/wordsize-64/scandirat64.c: File removed.
40092         * sysdeps/wordsize-64/versionsort.c: File removed.
40093         * sysdeps/wordsize-64/versionsort64.c: File removed.
40094         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40095         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40096         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40097         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40098         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40099         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40100         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40101         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40103         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40104         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40105         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40106         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40107         [defined __arch64__ || defined __sparcv9]
40108         (__INO_T_MATCHES_INO64_T): New macro.
40109         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40110         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40111         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40112         * sysdeps/unix/sysv/linux/bits/dirent.h
40113         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40114         (_DIRENT_MATCHES_DIRENT64): New macro.
40116         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40117         Define lockf64 as an alias.
40118         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40119         Define fseeko64 as an alias.
40120         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40121         Define ftello64 as an alias.
40122         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40123         Define _IO_fgetpos64 and fgetpos64 as aliases.
40124         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40125         Define _IO_fsetpos64 and fsetpos64 as aliases.
40126         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40127         Conditionalize body on this.
40128         * libio/fseeko64.c: Likewise.
40129         * libio/ftello64.c: Likewise.
40130         * libio/iofgetpos64.c: Likewise.
40131         * libio/iofsetpos64.c: Likewise.
40132         * sysdeps/wordsize-64/lockf.c: File removed.
40133         * sysdeps/wordsize-64/lockf64.c: File removed.
40134         * sysdeps/wordsize-64/fseeko.c: File removed.
40135         * sysdeps/wordsize-64/fseeko64.c: File removed.
40136         * sysdeps/wordsize-64/ftello.c: File removed.
40137         * sysdeps/wordsize-64/ftello64.c: File removed.
40138         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40139         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40140         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40141         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40142         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40143         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40144         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40145         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40146         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40147         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40148         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40149         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40150         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40151         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40153         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40154         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40155         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40156         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40157         [defined __arch64__ || defined __sparcv9]
40158         (__OFF_T_MATCHES_OFF64_T): New macro.
40159         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40160         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40162         (__OFF_T_MATCHES_OFF64_T): New macro.
40164 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40166         * stdlib/secure-getenv.c (__secure_getenv): Replace
40167         GLIBC_2_16 with GLIBC_2_17.
40169 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40171         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40172         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40174 2012-08-03  David S. Miller  <davem@davemloft.net>
40176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40178 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40180         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40181         Remove.
40182         (__ASSUME_CORRECT_SI_PID): Likewise.
40183         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40184         (__ASSUME_TMPFS_NAME): Likewise.
40185         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40186         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40187         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40188         (HAVE_AUX_SECURE): Make definition unconditional.
40189         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40190         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40192 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40194         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40195         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40196         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40197         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40198         __eloop_threshold instead of SYMLOOP_MAX.
40200         * sysdeps/generic/eloop-threshold.h: New file.
40201         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40202         of MAXSYMLINKS.
40203         * elf/chroot_canon.c (chroot_canon): Likewise.
40205 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40207         [BZ #13717]
40208         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40209         Change to 2.6.0 everywhere.
40210         * sysdeps/unix/sysv/linux/configure: Regenerated.
40211         * sysdeps/unix/sysv/linux/kernel-features.h
40212         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40213         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40214         kernel versions.
40215         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40216         (__ASSUME_FUTEX_REQUEUE): Remove.
40217         (__ASSUME_STATFS64): Define unconditionally.
40218         (__ASSUME_AT_SECURE): Likewise.
40219         (__ASSUME_CORRECT_SI_PID): Likewise.
40220         (__ASSUME_TGKILL): Define without depending on kernel version for
40221         i386.
40222         (__ASSUME_UTIMES): Likewise.
40223         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40224         kernel version.
40225         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40226         (__ASSUME_TMPFS_NAME): Likewise.
40227         * README: Update reference to Linux kernel versions.
40229 2012-08-02  Marek Polacek  <polacek@redhat.com>
40231         [BZ# 14150]
40232         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40233         libc_cv_asm_type_prefix with %.
40234         * configure: Regenerated.
40235         * include/libc-symbols.h: Remove comment about
40236         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40237         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40238         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40239         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40240         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40241         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40242         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40243         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40244         * elf/tst-unique2mod1.c: Likewise.
40245         * elf/tst-unique1mod2.c: Likewise.
40246         * elf/tst-unique1mod1.c: Likewise.
40247         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40248         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40249         Replace ASM_TYPE_DIRECTIVE with .type.
40250         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40251         * sysdeps/i386/sysdep.h: Likewise.
40252         * sysdeps/x86_64/sysdep.h: Likewise.
40253         * sysdeps/sh/sysdep.h: Likewise.
40254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40255         Do not define ASM_TYPE_DIRECTIVE.
40256         * sysdeps/powerpc/sysdep.h: Likewise.
40257         * sysdeps/powerpc/powerpc32/sysdep.h:
40258         Replace ASM_TYPE_DIRECTIVE with .type.
40259         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40260         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40261         * sysdeps/i386/fpu/e_powf.S: Likewise.
40262         * sysdeps/i386/fpu/e_expl.S: Likewise.
40263         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40264         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40265         * sysdeps/i386/fpu/e_pow.S: Likewise.
40266         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40267         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40268         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40269         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40270         * sysdeps/i386/fpu/e_log2.S: Likewise.
40271         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40272         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40273         * sysdeps/i386/fpu/e_powl.S: Likewise.
40274         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40275         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40276         * sysdeps/i386/fpu/e_logl.S: Likewise.
40277         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40278         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40279         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40280         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40281         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40282         * sysdeps/i386/fpu/e_log.S: Likewise.
40283         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40284         * sysdeps/i386/fpu/e_logf.S: Likewise.
40285         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40286         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40287         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40288         * sysdeps/i386/fpu/e_log10.S: Likewise.
40289         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40290         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40291         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40292         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40293         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40294         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40295         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40296         * sysdeps/i386/i686/strtok.S: Likewise.
40297         * sysdeps/i386/i386-mcount.S: Likewise.
40298         * sysdeps/i386/strtok.S: Likewise.
40299         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40300         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40302         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40303         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40304         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40305         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40306         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40307         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40308         * sysdeps/x86_64/_mcount.S: Likewise.
40309         * sysdeps/x86_64/strtok.S: Likewise.
40310         * sysdeps/sh/_mcount.S: Likewise.
40312 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40314         * libio/iofopen.c: Include <fcntl.h>.
40315         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40316         (_IO_fopen64, fopen64): Define as aliases.
40317         * libio/iofopen64.c: Include <fcntl.h>.
40318         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40319         Conditionalize body on this.
40320         * sysdeps/wordsize-64/iofopen.c: File removed.
40321         * sysdeps/wordsize-64/iofopen64.c: File removed.
40323 2012-08-01  Marek Polacek  <polacek@redhat.com>
40325         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40326         Use dlfcn directly instead of a variable.
40327         (binfmt-subdir): Do not define.
40328         (dlfcn): Likewise.
40330 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40333         Remove all definitions.
40334         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40335         <kernel-features.h>.
40336         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40337         (miss_F_GETOWN_EX): Remove all definitions.
40338         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40339         macro definition.
40340         [!__ASSUME_FCNTL64]: Remove conditional code.
40341         [__ASSUME_FCNTL64]: Make code unconditional.
40342         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40343         <kernel-features.h>.
40344         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40345         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40346         (lockf64) [__NR_fcntl64]: Make code unconditional.
40347         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40349         * sysdeps/unix/sysv/linux/kernel-features.h
40350         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40351         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40352         Make code unconditional.
40353         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40354         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40356         [__NR_vfork]: Make code unconditional.
40357         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40358         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40360         [__NR_vfork]: Make code unconditional.
40361         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40362         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40364 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40366         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40367         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40369         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40370         Define mkstemp64 as an alias.
40371         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40372         Define mkstemps64 as an alias.
40373         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40374         Define mkostemp64 as an alias.
40375         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40376         Define mkostemps64 as an alias.
40377         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40378         Conditionalize body on this.
40379         * misc/mkostemp64.c: Likewise.
40380         * misc/mkostemps64.c: Likewise.
40381         * misc/mkstemps64.c: Likewise.
40382         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40383         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40384         * sysdeps/wordsize-64/mkostemp.c: File removed.
40385         * sysdeps/wordsize-64/mkstemp.c: File removed.
40386         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40387         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40388         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40389         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40391         [BZ #14138]
40392         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40393         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40394         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40395         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40397         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40398         compat_symbol macros from <shlib-compat.h> rather than the underlying
40399         default_symbol_version and symbol_version macros, so that DEFAULT
40400         lines in shlib-versions are respected.
40401         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40403 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40405         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40406         Declare with warn_unused_result.
40407         (setgid, setregid, setegid, setresgid): Likewise.
40408         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40409         Likewise.
40410         * WUR-REPORT: Remove set*id functions.
40412 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40414         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40416 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40418         [BZ #10191]
40419         * include/sys/socket.h (__libc_accept, __libc_accept4):
40420         Add attribute_hidden.
40421         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40423         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40424         use of PTR_MANGLE.
40425         * inet/getnetgrent_r.c (setup): Likewise.
40427         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40429 2012-07-31  David S. Miller  <davem@davemloft.net>
40431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40433 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40435         [BZ #13629]
40436         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40437         value between 1.0 and 2.0 and smaller part has absolute value less
40438         than 1.0.
40439         * math/s_clog10.c (__clog10): Likewise.
40440         * math/s_clog10f.c (__clog10f): Likewise.
40441         * math/s_clog10l.c (__clog10l): Likewise.
40442         * math/s_clogf.c (__clogf): Likewise.
40443         * math/s_clogl.c (__clogl): Likewise.
40444         * math/libm-test.inc (clog_test): Add more tests.
40445         (clog10_test): Likewise.
40446         * sysdeps/i386/fpu/libm-test-ulps: Update.
40447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40449 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40451         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40452         Exit with zero in case no suitable GID is found, and write a
40453         message to standard error.
40455 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40457         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40458         rather than to 1.
40459         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40460         (MAXPATHLEN): Removed.
40461         (NOGROUP, NODEV): New macros.
40462         (setbit, clrbit, isset, isclr): New macros.
40463         (howmany, roundup, powerof2): New macros.
40464         (DEV_BSIZE): New macro.
40466         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40467         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40469         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40470         definition on [!__NO_LONG_DOUBLE_MATH].
40472         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40473         PTR_MANGLE and PTR_DEMANGLE.
40475         * socket/accept4.c (accept4): Rename to __libc_accept4.
40476         Define accept4 as a weak alias.
40478         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40479         on [_DIRENT_HAVE_D_TYPE].
40480         * io/ftw.c (ftw_dir): Likewise.
40482         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40484         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40486         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40487         Use the BSD numbers rather than the arbitrary ones we had.
40488         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40489         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40490         (SIGXCPU, SIGXFSZ): New macros.
40491         (_NSIG): Now 32.
40493         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40494         initializer on [_LIBC_REENTRANT].
40496         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40497         definitions inside [_POSIX_MAPPED_FILES].
40499         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40501         * dirent/opendir.c: Include <fcntl.h>.
40503         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40504         (__libc_getspecific): Likewise.
40505         (__libc_key_create): Likewise.
40507         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40508         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40509         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40510         (tmpfile64): Define as alias.
40511         * sysdeps/wordsize-64/tmpfile.c: File removed.
40512         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40514         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40516         * stdio-common/vfscanf.c: Include <stdbool.h>.
40517         * nss/makedb.c: Likewise.
40518         * stdio-common/_i18n_number.h: Likewise.
40519         * argp/argp-help.c: Likewise.
40520         * posix/wordexp.c: Likewise.
40521         * sysdeps/posix/spawni.c: Likewise.
40522         * nss/nss_files/files-initgroups.c: Likewise.
40523         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40524         * nss/nss_files/files-initgroups.c: Likewise.
40525         * nss/nss_db/db-netgrp.c: Likewise.
40526         * nss/nss_db/db-initgroups.c: Likewise.
40527         * io/fchmodat.c: Include <sys/stat.h>.
40529         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40530         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40532         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40533         [HAVE_MMAP].
40535         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40536         Add multiple inclusion protection.
40538 2012-07-27  David S. Miller  <davem@davemloft.net>
40540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40542 2012-07-27  Gary Benson  <gbenson@redhat.com>
40544         [BZ #14298]
40545         * elf/rtld.c: Include <stap-probe.h>.
40546         (dl_main): Added static probes "init_start" and "init_complete".
40547         * elf/dl-load.c: Include <stap-probe.h>.
40548         (lose): Take new parameter "nsid".
40549         Added static probe "map_failed".
40550         (_dl_map_object_from_fd): Pass namespace id to lose.
40551         Added static probe "map_start".
40552         (open_verify): Pass namespace id to lose.
40553         * elf/dl-open.c: Include <stap-probe.h>.
40554         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40555         and "reloc_complete".
40556         * elf/dl-close.c: Include <stap-probe.h>.
40557         (_dl_close_worker): Added static probes "unmap_start" and
40558         "unmap_complete".
40559         * elf/rtld-debugger-interface.txt: New file documenting the above.
40561 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40563         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40564         rather than a string variable.
40565         * sunrpc/rpc_main.c (h_output): Likewise.
40566         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40568 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40570         * inet/check_native.c: New file.
40572 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40574         [BZ #13629]
40575         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40576         if larger part has absolute value 1.0.
40577         * math/s_clog10.c (__clog10): Likewise.
40578         * math/s_clog10f.c (__clog10f): Likewise.
40579         * math/s_clog10l.c (__clog10l): Likewise.
40580         * math/s_clogf.c (__clogf): Likewise.
40581         * math/s_clogl.c (__clogl): Likewise.
40582         * math/libm-test.inc (clog_test): Add more tests.
40583         (clog10_test): Likewise.
40584         * sysdeps/i386/fpu/libm-test-ulps: Update.
40585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40587         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40588         (pltexit): Likewise.
40589         (La_regs): Likewise.
40590         (La_retval): Likewise.
40591         (int_retval): Likewise.
40592         Update #error for removed macros to refer only to definitions in
40593         tst-audit.h.
40594         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40595         macro.
40596         (pltexit): Likewise.
40597         (La_regs): Likewise.
40598         (La_retval): Likewise.
40599         (int_retval): Likewise.
40600         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40601         macro.
40602         (pltexit): Likewise.
40603         (La_regs): Likewise.
40604         (La_retval): Likewise.
40605         (int_retval): Likewise.
40606         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40607         macro.
40608         (pltexit): Likewise.
40609         (La_regs): Likewise.
40610         (La_retval): Likewise.
40611         (int_retval): Likewise.
40612         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40613         macro.
40614         (pltexit): Likewise.
40615         (La_regs): Likewise.
40616         (La_retval): Likewise.
40617         (int_retval): Likewise.
40618         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40619         macro.
40620         (pltexit): Likewise.
40621         (La_regs): Likewise.
40622         (La_retval): Likewise.
40623         (int_retval): Likewise.
40624         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40625         macro.
40626         (pltexit): Likewise.
40627         (La_regs): Likewise.
40628         (La_retval): Likewise.
40629         (int_retval): Likewise.
40630         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40631         macro definitions in tst-audit.h.
40632         * sysdeps/i386/tst-audit.h: New file.
40633         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40634         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40635         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40636         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40637         * sysdeps/sh/tst-audit.h: Likewise.
40638         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40639         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40640         * sysdeps/x86_64/tst-audit.h: Likewise.
40642 2012-07-26  Andreas Jaeger  <aj@suse.de>
40644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40645         ptrace.
40647         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40648         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40649         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40650         PTRACE_O_MASK.
40651         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40652         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40653         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40655         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40656         value.
40658         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40659         _sigsys.
40660         (si_call_addr, si_syscall, si_arch): Define new macro.
40661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40662         _sigsys.
40663         (si_call_addr, si_syscall, si_arch): Define new marcro.
40664         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40665         _sigsys.
40666         (si_call_addr, si_syscall, si_arch): Define new macro.
40667         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40668         _sigsys.
40669         (si_call_addr, si_syscall, si_arch): Define new macro.
40671 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40673         [BZ #13717]
40674         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40675         Change to 2.4.21 where previously 2.4.1.
40676         * sysdeps/unix/sysv/linux/configure: Regenerated.
40677         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40678         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40679         Linux kernel version.
40680         (__ASSUME_STD_AUXV): Remove.
40681         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40682         kernel version.
40683         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40684         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40685         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40686         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40687         (__ASSUME_NETLINK_SUPPORT): Likewise.
40688         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40689         (__no_netlink_support): Remove conditional definition.
40690         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40691         Remove.
40692         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40693         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40694         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40695         (if_nameindex_ioctl): Remove.
40696         (if_nameindex_netlink): Do not handle __no_netlink_support.
40697         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40698         code.
40699         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40700         Remove conditional code.
40701         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40702         code.
40703         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40704         unconditional.
40705         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40706         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40707         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40708         Remove.
40709         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40710         [!__ASSUME_STD_AUXV]: Remove conditional code.
40711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40712         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40713         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40715         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40716         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40717         code.
40718         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40720         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40721         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40722         conditional code.
40723         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40725         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40726         code.
40727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40728         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40729         conditional code.
40730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40731         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40732         code unconditional.
40733         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40734         conditional code.
40735         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40736         unconditional.
40737         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40738         conditional code.
40739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40740         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40741         unconditional.
40742         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40743         conditional code.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40745         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40746         code unconditional.
40747         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40748         conditional code.
40749         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40750         unconditional.
40751         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40752         conditional code.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40754         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40755         code unconditional.
40756         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40757         conditional code.
40758         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40759         unconditional.
40760         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40761         conditional code.
40763 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40765         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40766         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40767         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40768         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40769         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40770         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40771         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40772         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40773         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40774         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40775         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40776         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40777         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40778         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40779         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40780         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40781         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40782         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40783         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40784         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40785         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40786         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40787         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40789 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40791         * Versions.def: Add GLIBC_2.17.
40792         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40793         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40794         Introduce __libc_secure_getenv.
40795         * stdlib/Versions (2.17): Add secure_getenv
40796         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40797         * stdlib/secure-getenv.c: Rename __secure_getenv to
40798         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40799         symbol __secure_getenv for GLIBC_2.0.
40800         * stdlib/tst-secure-getenv.c: New.
40801         * stdlib/Makefile (tests): Add testcase.
40802         * manual/startup.texi (Environment Access): Document
40803         secure_getenv.
40804         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40805         __libc_secure_getenv.
40806         * inet/ruserpass.c (ruserpass): Likewise.
40807         * malloc/mtrace.c (mtrace): Likewise.
40808         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40809         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40810         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40811         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40812         HAVE_SECURE_GETENV.
40813         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40814         __secure_getenv to __libc_secure_getenv.
40815         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40817         Likewise.
40818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40819         Likewise.
40820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40822         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40828 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40830         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40831         (struct La_i86_retval): Likewise.
40832         (struct La_x86_64_regs): Likewise.
40833         (struct La_x86_64_retval): Likewise.
40834         (struct La_x32_regs): Likewise.
40835         (struct La_x32_retval): Likewise.
40836         (struct La_ppc32_regs): Likewise.
40837         (struct La_ppc32_retval): Likewise.
40838         (struct La_ppc64_regs): Likewise.
40839         (struct La_ppc64_retval): Likewise.
40840         (struct La_sh_regs): Likewise.
40841         (struct La_sh_retval): Likewise.
40842         (struct La_s390_32_regs): Likewise.
40843         (struct La_s390_32_retval): Likewise.
40844         (struct La_s390_64_regs): Likewise.
40845         (struct La_s390_64_retval): Likewise.
40846         (struct La_sparc32_regs): Likewise.
40847         (struct La_sparc32_retval): Likewise.
40848         (struct La_sparc64_regs): Likewise.
40849         (struct La_sparc64_retval): Likewise.
40850         (struct audit_ifaces): Remove architecture-specific pltenter and
40851         pltexit members.
40852         * sysdeps/i386/ldsodefs.h: New file.
40853         * sysdeps/powerpc/ldsodefs.h: Likewise.
40854         * sysdeps/s390/ldsodefs.h: Likewise.
40855         * sysdeps/sh/ldsodefs.h: Likewise.
40856         * sysdeps/sparc/ldsodefs.h: Likewise.
40857         * sysdeps/x86_64/ldsodefs.h: Likewise.
40859 2012-07-25  Marek Polacek  <polacek@redhat.com>
40861         [BZ #6808]
40862         * math/libm-test.inc (yn_test): Add another test.
40863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40864         to ERANGE when the result is +-Inf.
40865         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40866         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40867         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40868         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40870 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40872         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40873         equal to 0.
40874         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40875         clock_t.
40876         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40878 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40880         * configure.in <sysdeps resolving>: Correct printing
40881         Implies_before.
40882         * configure: Regenerate.
40884 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40886         * math/w_ilogb.c: Include <limits.h>.
40887         * math/w_ilogbl.c: Likewise.
40889 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40891         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40892         va_copy.  Document allowing for unavailable va_copy only as
40893         pre-C99 compatibility.
40894         * manual/string.texi (Copying and Concatenation): Use va_copy
40895         instead of __va_copy in concat example.
40897 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40899         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40900         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40901         it if not null.
40903         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40904         with O_NOLINK passed to __file_name_lookup.
40906         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40907         with O_NOLINK passed to __file_name_lookup.
40909         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40910         negative N or less than NGIDS.
40912         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40913         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40914         enough.  Use memcpy instead of strncpy.
40916 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40918         * elf/Makefile (check-data): Remove.
40919         (localplt.data): New vpath directive.
40920         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40921         instead of $(check-data).
40922         * scripts/data/localplt-generic.data: Move to ...
40923         * sysdeps/generic/localplt.data: ... here.
40924         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40925         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40926         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40928         ... here.
40929         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40931         ... here.
40932         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40934         ... here.
40935         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40937         ... here.
40938         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40940         ... here.
40941         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40943         ... here.
40945 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40947         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40948         PPC32 and PPC64 files.
40949         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40950         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40952 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40954         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40955         __makecontext_ret to ...
40956         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40957         ... here and call exit if uc_link is NULL.  New file.
40958         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40959         __makecontext_ret.S.
40960         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40961         __makecontext_ret to ...
40962         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40963         ... here and call exit if uc_link is NULL.  New file.
40964         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40965         __makecontext_ret.S.
40967 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40969         * elf/elf.h (R_390_IRELATIVE): New definition.
40970         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40971         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40972         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40973         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40974         (elf_machine_lazy_rel): Likewise.
40975         * sysdeps/s390/dl-irel.h: New file.
40976         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40977         * sysdeps/s390/s390-64/memset.S: New asm code.
40978         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40979         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40980         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40981         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40982         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40983         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40984         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40985         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40986         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40987         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40988         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40989         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40990         * sysdeps/s390/s390-32/memset.S: New asm code.
40991         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40993 2012-07-17  Marek Polacek  <polacek@redhat.com>
40995         [BZ #14349]
40996         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40997         * sysdeps/s390/s390-64/configure.in: Likewise.
40998         * sysdeps/sparc/configure.in: Likewise.
40999         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41000         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41001         * sysdeps/i386/configure.in: Likewise.
41002         * sysdeps/x86_64/configure.in: Likewise.
41003         * sysdeps/sh/configure.in: Likewise.
41004         * sysdeps/s390/s390-32/configure: Regenerated.
41005         * sysdeps/s390/s390-64/configure: Likewise.
41006         * sysdeps/x86_64/configure: Likewise.
41007         * sysdeps/sh/configure: Likewise.
41008         * sysdeps/powerpc/powerpc64/configure: Likewise.
41009         * sysdeps/powerpc/powerpc32/configure: Likewise.
41010         * sysdeps/sparc/configure: Likwise.
41011         * sysdeps/i386/configure: Likewise.
41013         * elf/dl-open.c: Comment fixes.
41015 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
41017         * Makefile [CXX] (check-data): Remove.
41018         [CXX] (c++-types.data): New vpath directive.
41019         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41020         vpath.  Do not allow for C++ type data being missing.
41021         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41022         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41023         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41024         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41025         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41026         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41027         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41029         ... here.
41030         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41032         ... here.
41033         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41035         ... here.
41036         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41037         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41038         ... here.
41039         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41041         ... here.
41042         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41044         ... here.
41045         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41047         ... here.
41048         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41051         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41052         definitions to architecture-specific files.
41053         (TLS_IE): Likewise.
41054         (TLS_LD): Likewise.
41055         (TLS_GD): Likewise.
41056         * sysdeps/i386/tls-macros.h: New file.
41057         * sysdeps/powerpc/tls-macros.h: Likewise.
41058         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41059         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41060         * sysdeps/sh/tls-macros.h: Likewise.
41061         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41062         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41063         * sysdeps/x86_64/tls-macros.h: Likewise.
41065 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41067         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41068         zero value for regular exit case.
41070         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41071         (__start_context): Preserve zero value for regular exit case.
41073 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41074             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41076         * manual/setjmp.texi (setcontext): Clarify normal process
41077         termination when uc_link is the null pointer.
41078         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41079         exit call.
41081 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41083         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41084         preprocessor.  Test for each exception mask separately.
41086 2012-07-16  Andreas Jaeger  <aj@suse.de>
41088         * po/ru.po: Update from translation team.
41090 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41092         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41093         equal to 0.
41094         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41095         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41096         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41097         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41098         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41100 2012-07-13  Andreas Jaeger  <aj@suse.de>
41102         * po/fr.po: Update from translation team.
41104 2012-07-12  Marek Polacek  <polacek@redhat.com>
41106         [BZ #14173]
41107         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41108         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41109         loop condition.
41111 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41113         [BZ #13717]
41114         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41115         Change to 2.4.1 where previously 2.4.0.
41116         * sysdeps/unix/sysv/linux/configure: Regenerated.
41117         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41118         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41119         version.
41120         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41121         (__ASSUME_AT_CLKTCK): Remove.
41122         (__ASSUME_AT_PAGESIZE): Likewise.
41123         (__ASSUME_AT_XID): Likewise.
41124         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41125         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41126         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41127         unconditionally.
41128         (HAVE_AUX_PAGESIZE): Likewise.
41129         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41130         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41131         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41133 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41135         [BZ #14307]
41136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41137         the temporary buffer used to invoke __gethostbyname2_r,
41138         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41139         host_data / struct gaih_addrtuple.
41140         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41141         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41142         header file nss/nsswitch.h.
41143         * nss/nsswitch.h (global scope): Add definition of implementation
41144         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41145         resolv/nss_dns/dns-host.c).
41147 2012-07-11  Andreas Jaeger  <aj@suse.de>
41149         * po/fr.po: Update from translation team.
41151         * po/sv.po: Update from translation team
41152         * po/fr.po: Another update from translation team.
41154 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41156         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41157         for subnormals or multiply small sinh result by itself.
41158         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41161 2012-07-11  David S. Miller  <davem@davemloft.net>
41163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41165 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41167         [BZ #14347]
41168         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41169         (INTERNAL_MARK): Shift it here.
41171 2012-07-10  Marek Polacek  <polacek@redhat.com>
41173         [BZ #14151]
41174         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41175         libc_cv_asm_global_directive with .globl.
41176         * configure: Regenerated.
41177         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41178         with .globl.
41179         * sysdeps/i386/configure: Regenerated.
41180         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41181         with .globl.
41182         * sysdeps/x86_64/configure: Regenerated.
41183         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41184         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41185         * elf/tst-unique2mod2.c: Likewise.
41186         * elf/tst-unique2mod1.c: Likewise.
41187         * elf/tst-unique1mod2.c: Likewise.
41188         * elf/tst-unique1mod1.c: Likewise.
41189         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41190         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41191         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41192         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41193         * sysdeps/mach/sysdep.h: Likewise.
41194         * sysdeps/i386/sysdep.h: Likewise.
41195         * sysdeps/i386/i386-mcount.S: Likewise.
41196         * sysdeps/x86_64/_mcount.S: Likewise.
41197         * sysdeps/x86_64/sysdep.h: Likewise.
41198         * sysdeps/sh/_mcount.S: Likewise.
41199         * sysdeps/sh/sysdep.h: Likewise.
41200         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41201         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41202         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41203         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41204         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41205         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41206         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41207         * locale/localeinfo.h: Likewise.
41208         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41209         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41211 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41213         [BZ #14336]
41214         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41215         system".
41216         * manual/message.texi (The Uniforum approach): Likewise.
41217         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41218         (glibc iconv Implementation): Likewise.
41220 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41222         [BZ #14337]
41223         * math/s_clog.c (__clog): Avoid scaling a value down where that
41224         could result in underflow.
41225         * math/s_clog10.c (__clog10): Likewise.
41226         * math/s_clog10f.c (__clog10f): Likewise.
41227         * math/s_clog10l.c (__clog10l): Likewise.
41228         * math/s_clogf.c (__clogf): Likewise.
41229         * math/s_clogl.c (__clogl): Likewise.
41230         * math/libm-test.inc (clog_test): Add more tests.
41231         (clog10_test): Likewise.
41232         * sysdeps/i386/fpu/libm-test-ulps: Update.
41233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41235 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41237         [BZ #14283]
41238         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41239         by 7 not 8 to examine high bit of fractional part.
41241         [BZ #14042]
41242         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41243         for call to __mcount_internal.
41244         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41245         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41246         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41248 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41250         [BZ #14154]
41251         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41252         approximation for values within 0x1p-13f of an odd multiple of
41253         pi/4.
41254         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41255         exception.  Add more tests.
41256         * sysdeps/i386/fpu/libm-test-ulps: Update.
41258         [BZ #6778]
41259         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41260         inputs and return -1 for them.  Do not check for +Inf in case not
41261         reachable for +Inf.
41262         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41263         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41264         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41265         and return -1 for them.  Do not check for +Inf in case not
41266         reachable for +Inf.
41267         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41268         define.
41269         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41270         and return -1 for them.  Do not check for +Inf in case not
41271         reachable for +Inf.
41272         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41273         spurious underflow.
41274         * sysdeps/i386/fpu/libm-test-ulps: Update.
41275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41277 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41279         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41281 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41283         [BZ #14157]
41284         [BZ #14331]
41285         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41286         could result in spurious underflow.  Scale down values above
41287         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41288         * math/s_csqrtf.c (__csqrtf): Likewise.
41289         * math/s_csqrtl.c (__csqrtl): Likewise.
41290         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41291         spurious underflow.
41292         * sysdeps/i386/fpu/libm-test-ulps: Update.
41293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41295 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41297         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41298         xopen-msg.sed.
41299         * catgets/xopen-msg.awk: New file.
41300         * catgets/xopen-msg.sed: Removed.
41302         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41303         po2text.sed.
41304         * intl/po2test.awk: New file.
41305         * intl/po2test.sed: Removed.
41307 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41309         [BZ #14328]
41310         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41311         or multiply small sinh result by itself.
41312         * math/s_ctanf.c (__ctanf): Likewise.
41313         * math/s_ctanh.c (__ctanh): Likewise.
41314         * math/s_ctanhf.c (__ctanhf): Likewise.
41315         * math/s_ctanhl.c (__ctanhl): Likewise.
41316         * math/s_ctanl.c (__ctanl): Likewise.
41317         * math/libm-test.inc (ctan_test_tonearest): New function.
41318         (ctan_test_towardzero): Likewise.
41319         (ctan_test_downward): Likewise.
41320         (ctan_test_upward): Likewise.
41321         (ctanh_test_tonearest): Likewise.
41322         (ctanh_test_towardzero): Likewise.
41323         (ctanh_test_downward): Likewise.
41324         (ctanh_test_upward): Likewise.
41325         (main): Call these new functions.
41326         * sysdeps/i386/fpu/libm-test-ulps: Update.
41327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41329 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41331         * .gitignore: Delete /ports entry.
41333 2012-07-03  Andreas Jaeger  <aj@suse.de>
41335         * po/bg.po: Update from translation team.
41336         * po/cs.po: Likewise.
41337         * po/de.po: Likewise.
41338         * po/hr.po: Likewise.
41339         * po/nl.pl: Likewise.
41340         * po/pl.po: Likewise.
41341         * po/vi.po: Likewise.
41343 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41345         * Makeconfig [!+link] (+link-before-libc): New variable.
41346         [!+link] (+link-after-libc): Likewise.
41347         [!+link] (+link-tests): Likewise.
41348         [!+link] (+link): Define in terms of $(+link-before-libc) and
41349         $(+link-after-libc).
41350         [!+link-static] (+link-static-before-libc): New variable.
41351         [!+link-static] (+link-static-after-libc): Likewise.
41352         [!+link-static] (+link-static-tests): Likewise.
41353         [!+link-static] (+link-static): Define in terms of
41354         $(+link-static-before-libc) and $(+link-static-after-libc).
41355         [build-shared] (link-libc-before-gnulib): New variable.
41356         [build-shared] (link-libc-tests): Likewise.
41357         [build-shared] (link-libc): Define in terms of
41358         $(link-libc-before-gnulib).
41359         [!build-shared] (link-libc-tests): New variable.
41360         (link-libc-static-tests): New variable.
41361         [!gnulib] (gnulib-arch): New variable.
41362         [!gnulib] (gnulib-tests): Likewise.
41363         [!gnulib] (static-gnulib-arch): Likewise.
41364         [!gnulib] (static-gnulib-tests): Likewise.
41365         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41366         Define with "=" instead of ":=".
41367         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41368         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41369         * Rules (binaries-all-notests): New variable.
41370         (binaries-all-tests): Likewise.
41371         (binaries-static-notests): Likewise.
41372         (binaries-static-tests): Likewise.
41373         (binaries-all): Define using $(binaries-all-notests) and
41374         $(binaries-all-tests).
41375         (binaries-static): Define using $(binaries-static-notests) and
41376         $(binaries-static-tests).
41377         (binaries-shared-tests): New variable.
41378         (binaries-shared-notests): Likewise.
41379         (binaries-shared): Remove variable.
41380         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41381         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41382         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41383         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41384         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41385         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41386         * elf/Makefile (sln-modules): New variable.
41387         (extra-objs): Add $(sln-modules:=.o).
41388         (ldconfig-modules): Add static-stubs.
41389         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41390         * elf/static-stubs.c: New file.
41392         [BZ #14283]
41393         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41394         by 7 not 8 to examine high bit of fractional part.  Use volatile
41395         variables when splitting into final array of floats if
41396         __FLT_EVAL_METHOD__ != 0.
41397         * math/libm-test.inc (cos_test): Add another test.
41398         (sin_test): Likewise.
41399         * sysdeps/i386/fpu/libm-test-ulps: Update.
41401         [BZ #14273]
41402         * math/libm-test.inc (cosh_test): Add more tests.
41404         * version.h (RELEASE): Set to "development".
41405         (VERSION): Set to "2.16.90".
41407 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41409         * NEWS: Update copyright. Remove last-updated date.
41410         Mention math library bug fixes and timezone data changes.
41411         * README: Mention GNU/Hurd, x32, and HPPA support status.
41413 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41415         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41417 2012-06-27  Andreas Jaeger  <aj@suse.de>
41419         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41421 2012-06-25  Andreas Jaeger  <aj@suse.de>
41423         * sysdeps/s390/fpu/libm-test-ulps: Update.
41425 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41426             Thomas Schwinge  <thomas@codesourcery.com>
41428         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41429         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41430         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41431         fanotify_mark.
41433 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41435         * sysdeps/mach/start.c: Remove file.
41436         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41437         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41438         * sysdeps/sh/init-first.c: Likewise.
41440         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41441         registers for frame unwinding purposes, add CFI directives.
41442         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41443         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41444         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41445         Likewise.
41447         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41448         __fortify_fail returning.
41449         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41451         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41452         sysdeps/sh/____longjmp_chk.S.
41453         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41454         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41455         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41456         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41458         * sysdeps/sh/abort-instr.h: New file.
41459         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41460         process in case exit returns.
41462         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41463         initialize the GOT register before use.
41465         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41466         calculation of ARGC > 4.
41468         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41469         meaningful names to some local labels.
41471 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41472             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41474         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41475         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41476         (__arch_compare_and_exchange_val_16_acq): Likewise.
41477         (__arch_compare_and_exchange_val_32_acq): Likewise.
41478         (atomic_exchange_and_add): Fix gUSA sequence.
41479         (atomic_add): Likewise.
41480         (atomic_add_negative): Likewise.
41481         (atomic_add_zero): Likewise.
41482         (atomic_bit_test_set): Likewise.
41484 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41486         [BZ #13579]
41487         * include/link.h (struct link_map): Add l_free_initfini.
41488         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41489         l_initfini.
41490         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41491         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41492         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41493         set.
41495 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41497         * configure.in: Use AC_LANG_SOURCE.
41498         * configure: Regenerate.
41500 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41502         * configure.in (libc_cv_localstatedir): New substituted variable.
41503         * configure: Regenerated.
41504         * config.make.in (localstatedir): New variable, substituted from
41505         libc_cv_localstatedir.
41506         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41507         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41508         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41509         * sysdeps/gnu/configure: Regenerated.
41511 2012-06-21  Jeff Law  <law@redhat.com>
41513         [BZ #14277]
41514         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41515         free.  Simplify list management for _LIBC case.
41517 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41519         [BZ #14273]
41520         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41521         Clear sign bit of 64-bit integer value before comparing against
41522         overflow value.
41524         * sysdeps/mach/configure: Regenerated.
41526 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41528         [BZ #14278]
41529         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41531 2012-06-21  Jeff Law  <law@redhat.com>
41533         [BZ #13882]
41534         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41535         uint16_t for elements in the "seen" array to avoid char overflows.
41536         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41537         * elf/dl-open.c (dl_open_worker): Likewise.
41539 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41541         * scripts/list-sources.sh: Scan PORTS for translations.
41542         * po/libc.pot: Regenerated.
41544 2012-06-21  Andreas Jaeger  <aj@suse.de>
41546         [BZ #12194]
41547         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41548         warning.
41549         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41550         * bits/byteswap-16.h (__bswap_16): Likewise.
41551         * bits/byteswap.h (__bswap_constant_16): Likewise.
41553 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41555         [BZ #14117]
41556         * sysdeps/i386/fpu_control.h: Removed.
41557         * sysdeps/x86_64/fpu_control.h: Moved to ...
41558         * sysdeps/x86/fpu_control.h: Here.
41560         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41561         (_FPU_SETCW): Likewise.
41563 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41565         [BZ #14117]
41566         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41567         * sysdeps/x86/fpu/bits/mathinline.h: This.
41568         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41570         [BZ #14050]
41571         [BZ #14117]
41572         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41573         functions if __x86_64__ is defined.
41575 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41577         * string/endian.h: Add !__ASSEMBLER__ condition for including
41578         conversion interfaces.
41580 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41582         [BZ #14241]
41583         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41584         of ABS(x) in calculating zero to negative powers other than odd
41585         integers.
41586         * math/libm-test.inc (pow_test): Add more tests.
41588 2012-06-15  Andreas Jaeger  <aj@suse.de>
41590         * manual/contrib.texi (Contributors): Update entry of Liubov
41591         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41592         Machado Filho.
41594 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41596         * string/string.h: Add __wur to GNU version of strerror_r.
41598 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41600         [BZ #14229]
41601         * string/Makefile (tests): Add tst-strtok_r.
41602         * string/tst-strtok_r.c: New file.
41603         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41604         RAX_LP/RDX_LP on SAVE_PTR.
41606 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41608         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41610 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41612         * libm_test.inc (csqrt_test): Allow more spurious underflow
41613         exceptions.
41614         (j0_test): Likewise.
41615         (j1_test): Likewise.
41616         (y0_test): Likewise.
41617         (y1_test): Likewise.
41619 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41621         * po/Makefile (libc.pot): Use UTF-8 charset.
41623 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41625         [BZ #14210]
41626         Suppress sign-conversion warning from FD_SET.
41627         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41628         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41629         not unsigned long int.
41630         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41632 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41634         [BZ #14050]
41635         [BZ #14117]
41636         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41637         __extern_always_inline instead of __extern_inline.
41638         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41639         (__signbit): Likewise.
41640         (__signbitl): Support C++ namespace.
41641         (lrintf): New inline function.
41642         (lrint): Likewise.
41643         (llrintf): Likewise.
41644         (llrint): Likewise.
41645         (fmaxf): Likewise.
41646         (fmax): Likewise.
41647         (fminf): Likewise.
41648         (fmin): Likewise.
41649         (rint): Likewise.
41650         (rintf): Likewise.
41651         (ceil): Likewise.
41652         (ceilf): Likewise.
41653         (floor): Likewise.
41654         (floorf): Likewise.
41655         (nearbyint): Likewise.
41656         (nearbyintf): Likewise.
41658 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41660         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41661         non-default versions.
41663 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41665         [BZ #14218]
41666         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41668 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41670         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41671         (FE_UPWARD, FE_DOWNWARD): Don't define.
41672         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41673         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41675         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41676         reading it.
41677         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41678         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41680 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41682         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41683         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41684         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41685         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41687 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41689         [BZ #14117]
41690         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41691         * sysdeps/i386/fpu/Implies: New file.
41692         * sysdeps/x86_64/fpu/Implies: Likewise.
41693         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41694         * sysdeps/x86/fpu/bits/fenv.h: This.
41696         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41697         __SSE_MATH__.
41699 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41701         [BZ #14134]
41702         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41703         character 0xffff that matches the last element of the
41704         conversion table.
41706 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41708         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41709         fmodl commit.
41711 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41713         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41714         values higher than 25.6283.
41716 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41718         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41719         subnormal exponent extraction and add some __builtin_expect.
41720         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41721         Fix for subnormal mantissa calculation.
41723 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41725         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41726         cpu2 is -1 and errno is not ENOSYS.
41728 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41730         [BZ #14117]
41731         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41732         * sysdeps/x86/bits/string.h: This.
41733         * sysdeps/x86_64/bits/string.h: Removed.
41735         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41736         if not compiling for x86-64, but compiling for >= i486.
41738         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41739         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41741         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41742         New macro from Linux kernel 3.4.0.
41743         (FP_XSTATE_MAGIC2): Likewise.
41744         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41745         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41746         (struct _fpx_sw_bytes): New struct.
41747         (struct _xsave_hdr): Likewise.
41748         (struct _ymmh_state): Likewise.
41749         (struct _xstate): Likewise.
41751         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41752         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41754         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41755         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41756         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41758         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41759         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41760         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41761         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41762         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41763         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41765 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41767         [BZ #13743]
41768         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41769         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41770         (sysdep_headers): Include sys/platform/ppc.h.
41771         * sysdeps/powerpc/test-gettimebase.c: Test for
41772         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41773         * manual/Makefile (appendices): Include platform.texi.
41774         * manual/contrib.texi (Contributors): Update @node pointers.
41775         * manual/maint.texi (Maintenance): Likewise.
41776         (Platform): New node.
41777         * manual/platform.texi: New file.  Document the new features.
41779 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41780             Jakub Jelinek  <jakub@redhat.com>
41782         [BZ #14188]
41783         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41784         where __builtin_expect is unavailable.
41786 2012-06-03  David S. Miller  <davem@davemloft.net>
41788         * stdlib/longlong.h: Updated from GCC.
41790 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41792         [BZ #14042]
41793         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41794         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41795         __mcount_internal.
41796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41797         (GLIBC_2.16): Likewise.
41799 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41803 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41806         (default-abi): New variable.
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41808         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41809         variable.
41810         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41811         Likewise.
41812         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41813         Likewise.
41814         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41815         Likewise.
41817         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41818         definition.  Document in comment.
41820 2012-06-01  David S. Miller  <davem@davemloft.net>
41822         * stdlib/longlong.h: Updated from GCC.
41824 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41826         [BZ #14117]
41827         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41828         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41829         sys/debugreg.h sys/io.h here.
41830         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41831         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41832         sys/io.h.
41833         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41834         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41835         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41836         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41837         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41838         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41840         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41841         Define only if __x86_64__ is defined.
41843 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41845         [BZ #14048]
41846         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41847         Use int64_t for variable i.
41848         * math/libm-test.inc (fmod_test): Add more tests.
41850         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41851         z computation is not scheduled after fetestexcept.
41852         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41853         Use math_force_eval instead of asm to ensure calculation scheduled
41854         before exception test.
41855         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41856         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41858 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41860         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41861         computation is not scheduled after fetestexcept.
41863 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41865         [BZ #14117]
41866         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41867         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41869 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41871         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41872         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41874 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41876         [BZ #14117]
41877         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41878         <bits/wordsize.h>.
41879         (__WCHAR_MIN): Support __WORDSIZE == 64.
41880         (__WCHAR_MAX): Likewise.
41882         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41883         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41885         [BZ #14183]
41886         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41887         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41889         [BZ #14117]
41890         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41891         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41893         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41894         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41896         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41897         Defined to 1 if __x86_64__ isn't defined.
41898         (_STAT_VER_LINUX_OLD): New.
41899         (st_atime): Remove duplicate.
41900         (st_mtime): Likewise.
41901         (st_ctime): Likewise.
41903 2012-05-31  David S. Miller  <davem@davemloft.net>
41905         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41906         entries.
41908 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41910         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41911         gen-libm-test.pl.
41913         [BZ #14132]
41914         * elf/dl-reloc.c: Include <_itoa.h>.
41915         (_dl_reloc_bad_type): Remove use of INTUSE.
41916         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41917         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41918         * stdio-common/psiginfo.c (psiginfo): Likewise.
41919         * stdio-common/psignal.c (psignal): Likewise.
41920         * string/strsignal.c (strsignal): Likewise.
41921         * include/signal.h (_sys_siglist): Declare hidden proto.
41922         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41923         INTVARDEF with libc_hidden_data_def.
41924         * stdio-common/itoa-udigits.c: Likewise.
41925         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41926         (_itoa_lower_digits_internal): Remove declaration.
41927         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41928         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41929         (_sys_sigabbrev_internal): Remove aliases.
41930         (_sys_siglist): Define hidden alias.
41932 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41934         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41935         bits/sysctl.h.
41937 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41939         [BZ #14117]
41940         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41941         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41943         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41944         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41945         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41946         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41947         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41948         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41950         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41951         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41952         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41954         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41955         with __addr.
41956         (insw): Likewise.
41957         (insl): Likewise.
41958         (outsb): Likewise.
41959         (outsw): Likewise.
41960         (outsl): Likewise.
41962         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41963         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41964         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41966         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41967         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41968         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41969         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41970         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41971         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41973         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41974         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41976         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41979         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41981         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41983         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41984         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41985         to ...
41986         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41988         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41989         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41990         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41992         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41993         for x86-64.
41994         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41996 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41998         * math/math.h (M_El): Use two more decimal places.
41999         (M_LOG2El): Likewise.
42000         (M_LOG10El): Likewise.
42001         (M_LN2l): Likewise.
42002         (M_LN10l): Likewise.
42003         (M_PIl): Likewise.
42004         (M_PI_2l): Likewise.
42005         (M_PI_4l): Likewise.
42006         (M_1_PIl): Likewise.
42007         (M_2_PIl): Likewise.
42008         (M_2_SQRTPIl): Likewise.
42009         (M_SQRT2l): Likewise.
42010         (M_SQRT1_2l): Likewise.
42012 2012-05-31  David S. Miller  <davem@davemloft.net>
42014         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42015         values between float registers.
42016         * sysdeps/sparc/sparc64/memset.S: Likewise.
42017         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42019 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
42021         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42022         -D_FORTIFY_SOURCE=1.
42023         (CPPFLAGS-tst-longjmp_chk.c): Define.
42024         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42025         (CPPFLAGS-tst-longjmp_chk2.c): Define.
42026         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42027         CFLAGS-tst-wchar-h.c.
42029 2012-05-31  Marek Polacek  <polacek@redhat.com>
42031         [BZ #14132]
42032         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42033         __endmntent_internal): Remove declaration.
42034         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42035         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42036         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42038 2012-05-30  David S. Miller  <davem@davemloft.net>
42040         * sysdeps/sparc/sparc32/soft-fp/q_util.c
42041         (___Q_simulate_exceptions): Use real FP ops rather than writing
42042         into the %fsr.
42043         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42044         Likewise.
42046 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42048         [BZ #14117]
42049         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42050         * sysdeps/x86/bits/xtitypes.h: This.
42052         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42053         * sysdeps/x86/bits/wordsize.h: This.
42055         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42056         * sysdeps/x86/bits/huge_vall.h: This.
42058         * sysdeps/i386/bits/select.h: Removed.
42059         * sysdeps/x86_64/bits/select.h: Renamed to ...
42060         * sysdeps/x86/bits/select.h: This.
42062         * sysdeps/i386/bits/setjmp.h: Removed.
42063         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42064         * sysdeps/x86/bits/setjmp.h: This.
42066         * sysdeps/i386/bits/mathdef.h: Removed.
42067         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42068         * sysdeps/x86/bits/mathdef.h: This.
42070 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42072         [BZ #14132]
42073         * include/sys/socket.h (__connect_internal)
42074         (__libc_sa_len_internal): Remove declaration.
42075         (__connect, __libc_sa_len): Declare hidden_proto.
42076         (SA_LEN): Remove use of INTUSE.
42077         * socket/connect.c: Add libc_hidden_def.
42078         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42079         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42080         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42081         alias.
42082         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42083         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42084         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42085         of adding _internal alias.
42087 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42089         [BZ #14117]
42090         * sysdeps/i386/bits/link.h: Removed.
42091         * sysdeps/i386/bits/linkmap.h: Likewise.
42092         * sysdeps/x86_64/bits/link.h: Renamed to ...
42093         * sysdeps/x86/bits/link.h: This.
42094         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42095         * sysdeps/x86/bits/linkmap.h: This.
42097         * sysdeps/i386/bits/endian.h: Removed.
42098         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42099         * sysdeps/x86/bits/endian.h: This.
42101         * sysdeps/i386/bits/byteswap.h: Removed.
42102         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42103         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42104         * sysdeps/x86/bits/byteswap.h: This.
42105         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42106         * sysdeps/x86/bits/byteswap-16.h: This.
42107         * sysdeps/i386/Implies: Add x86.
42108         * sysdeps/x86_64/Implies: Likewise.
42110 2012-05-30  David S. Miller  <davem@davemloft.net>
42112         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42113         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42114         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42115         (FP_TRAPPING_EXCEPTIONS): Define.
42116         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42117         (FP_TRAPPING_EXCEPTIONS): Define.
42118         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42119         subnormals only when inexact has been signalled or underflow
42120         exceptions are enabled.
42121         (_FP_PACK_CANONICAL): Likewise.
42123 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42125         [BZ #14183]
42126         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42127         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42129 2012-05-30  Richard Henderson  <rth@twiddle.net>
42131         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42132         with #ifndef NOT_IN_libc.
42134         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42135         marked to avoid plt entry.
42137 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42139         [BZ #14112]
42140         * Makeconfig (default-abi): New macro.
42141         (abi-includes): Likewise.
42142         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42143         $(abi-$(default-abi)-lib-soname) for soname if defined.
42144         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42145         abi-variants.
42146         * Makefile (installed-stubs): Likewise.
42147         * include/stubs-biarch.h: Removed.
42148         * scripts/lib-names.awk: Only handle one library at a time.
42149         * scripts/soversions.awk: Remove WORDSIZE support.
42150         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42151         entries.
42152         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42153         Removed.
42154         (syscall-list-default-condition): Likewise.
42155         (syscall-list-default-condition): Likewise.
42156         (syscall-list-includes): Likewise.
42157         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42158         syscall-list-* with abi-*.  Handle undefined abi-variants.
42159         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42160         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42161         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42162         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42163         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42164         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42165         Removed.
42166         (syscall-list-32-options): Likewise.
42167         (syscall-list-32-condition): Likewise.
42168         (syscall-list-64-options): Likewise.
42169         (syscall-list-64-condition): Likewise.
42170         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42171         macro.
42172         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42173         Renamed to ...
42174         (abi-*): This.
42175         (abi-64-ld-soname): New macro.
42176         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42177         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42178         Renamed to ...
42179         (abi-*): This.
42180         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42181         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42183 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42185         * sysdeps/unix/sysv/linux/kernel-features.h
42186         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42187         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42188         include <kernel-features.h>.
42189         [!__NR_ftruncate64]: Remove conditional code.
42190         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42191         [__NR_ftruncate64]: Make code unconditional.
42192         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42193         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42194         include <kernel-features.h>.
42195         [!__NR_ftruncate64]: Remove conditional code.
42196         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42197         [__NR_ftruncate64]: Make code unconditional.
42198         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42200         include <kernel-features.h>.
42201         [!__NR_ftruncate64]: Remove conditional code.
42202         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42203         [__NR_ftruncate64]: Make code unconditional.
42204         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42206         include <kernel-features.h>.
42207         [!__NR_ftruncate64]: Remove conditional code.
42208         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42209         [__NR_ftruncate64]: Make code unconditional.
42210         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42212         * configure.in (libc_cv_fpie): Weaken to a compile test using
42213         LIBC_TRY_CC_OPTION.
42214         * configure: Regenerated.
42216 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42222         Refreshed.
42223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42225         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42229         Refreshed.
42231 2012-05-27  David S. Miller  <davem@davemloft.net>
42233         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42234         (___Q_zero): New.
42235         (__Q_simulate_exceptions): Return void.  Change to simulate
42236         exceptions by writing into the %fsr.
42237         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42238         (__Qp_handle_exceptions): Likewise.
42239         (numbers): Delete.
42240         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42241         __Qp_handle_exceptions.
42242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42243         __Qp_handle_exceptions.
42244         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42245         as unused and give dummy FP_RND_NEAREST initializer.
42246         (FP_INHIBIT_RESULTS): Define.
42247         (___Q_simulate_exceptions): Update declaration.
42248         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42249         formatting.
42250         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42251         as unused and give dummy FP_RND_NEAREST initializer.
42252         (__Qp_handle_exceptions): Update declaration.
42253         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42254         formatting.
42256 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42258         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42259         the temporary FPU control word.
42260         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42261         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42262         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42263         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42264         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42265         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42266         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42267         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42268         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42269         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42270         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42272 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42274         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42275         fields.
42277 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42279         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42280         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42281         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42282         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42283         Likewise.
42284         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42285         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42286         Likewise.
42288 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42290         * po/h.po: Update from translation team.
42292 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42294         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42296         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42297         handling of denormals.
42298         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42299         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42300         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42301         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42304         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42305         Likewise.
42307 2012-05-26  Marek Polacek  <polacek@redhat.com>
42309         [BZ #14152]
42310         * math/libm-test.inc (fma_test): Don't always expect underflow
42311         exception.
42313 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42315         [BZ #12416]
42316         * elf/tst-execstack.c: Include stackinfo.h.
42317         (do_test): Adjust test case to ensure that pthread_getattr_np
42318         behaviour remains the same after marking stack executable.
42320 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42322         * sysdeps/unix/sysv/linux/kernel-features.h
42323         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42324         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42325         kernel-features.h.
42326         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42327         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42328         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42329         kernel-features.h.
42330         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42331         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42333 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42335         * configure.in: Define the default includes to being none.
42336         * configure: Regenerated.
42338 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42340         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42341         * sysdeps/x86_64/setjmp.S: Likewise.
42342         * sysdeps/i386/bsd-setjmp.S: Likewise.
42343         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42344         * sysdeps/i386/setjmp.S: Likewise.
42345         * sysdeps/i386/__longjmp.S: Likewise.
42346         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42347         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42349         * include/stap-probe.h: New file.
42350         * configure.in: Handle --enable-systemtap.
42351         * configure: Regenerated.
42352         * config.h.in (USE_STAP_PROBE): New #undef.
42353         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42354         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42355         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42357 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42359         [BZ #13717]
42360         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42361         to 2.4.0 where earlier.
42362         * sysdeps/unix/sysv/linux/configure: Regenerated.
42363         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42364         <kernel-features.h>.
42365         [__ASSUME_32BITUIDS]: Make code unconditional.
42366         [!__ASSUME_32BITUIDS]: Remove conditional code.
42367         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42368         <kernel-features.h>.
42369         [__ASSUME_32BITUIDS]: Make code unconditional.
42370         [!__ASSUME_32BITUIDS]: Remove conditional code.
42371         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42372         [__ASSUME_32BITUIDS]: Make code unconditional.
42373         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42374         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42375         <kernel-features.h>.
42376         [__ASSUME_32BITUIDS]: Make code unconditional.
42377         [!__ASSUME_32BITUIDS]: Remove conditional code.
42378         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42379         <kernel-features.h>.
42380         [__ASSUME_32BITUIDS]: Make code unconditional.
42381         [!__ASSUME_32BITUIDS]: Remove conditional code.
42382         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42383         <kernel-features.h>.
42384         [__ASSUME_32BITUIDS]: Make code unconditional.
42385         [!__ASSUME_32BITUIDS]: Remove conditional code.
42386         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42387         <kernel-features.h>.
42388         [__ASSUME_32BITUIDS]: Make code unconditional.
42389         [!__ASSUME_32BITUIDS]: Remove conditional code.
42390         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42391         <kernel-features.h>.
42392         [__ASSUME_32BITUIDS]: Make code unconditional.
42393         [!__ASSUME_32BITUIDS]: Remove conditional code.
42394         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42395         <kernel-features.h>.
42396         [__ASSUME_32BITUIDS]: Make code unconditional.
42397         [!__ASSUME_32BITUIDS]: Remove conditional code.
42398         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42399         <kernel-features.h>.
42400         [__ASSUME_32BITUIDS]: Make code unconditional.
42401         [!__ASSUME_32BITUIDS]: Remove conditional code.
42402         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42403         <kernel-features.h>.
42404         [__ASSUME_32BITUIDS]: Make code unconditional.
42405         [!__ASSUME_32BITUIDS]: Remove conditional code.
42406         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42407         <kernel-features.h>.
42408         [__ASSUME_32BITUIDS]: Make code unconditional.
42409         [!__ASSUME_32BITUIDS]: Remove conditional code.
42410         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42411         <kernel-features.h>.
42412         [__ASSUME_32BITUIDS]: Make code unconditional.
42413         [!__ASSUME_32BITUIDS]: Remove conditional code.
42414         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42415         <kernel-features.h>.
42416         [__NR_setresgid] (__setresgid): Do not declare.
42417         [__ASSUME_32BITUIDS]: Make code unconditional.
42418         [!__ASSUME_32BITUIDS]: Remove conditional code.
42419         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42420         <kernel-features.h>.
42421         [__NR_setresuid] (__setresuid): Do not declare.
42422         [__ASSUME_32BITUIDS]: Make code unconditional.
42423         [!__ASSUME_32BITUIDS]: Remove conditional code.
42424         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42425         <kernel-features.h>.
42426         [__ASSUME_32BITUIDS]: Make code unconditional.
42427         [!__ASSUME_32BITUIDS]: Remove conditional code.
42428         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42429         <kernel-features.h>.
42430         [__ASSUME_32BITUIDS]: Make code unconditional.
42431         [!__ASSUME_32BITUIDS]: Remove conditional code.
42432         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42433         <kernel-features.h>.
42434         [__ASSUME_32BITUIDS]: Make code unconditional.
42435         [!__ASSUME_32BITUIDS]: Remove conditional code.
42436         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42437         <kernel-features.h>.
42438         [__ASSUME_32BITUIDS]: Make code unconditional.
42439         [!__ASSUME_32BITUIDS]: Remove conditional code.
42440         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42441         <kernel-features.h>.
42442         [__ASSUME_32BITUIDS]: Make code unconditional.
42443         [!__ASSUME_32BITUIDS]: Remove conditional code.
42444         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42445         <kernel-features.h>.
42446         [__ASSUME_32BITUIDS]: Make code unconditional.
42447         [!__ASSUME_32BITUIDS]: Remove conditional code.
42448         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42449         <kernel-features.h>.
42450         [__ASSUME_32BITUIDS]: Make code unconditional.
42451         [!__ASSUME_32BITUIDS]: Remove conditional code.
42452         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42453         <kernel-features.h>.
42454         [__ASSUME_32BITUIDS]: Make code unconditional.
42455         [!__ASSUME_32BITUIDS]: Remove conditional code.
42456         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42457         <kernel-features.h>.
42458         [__ASSUME_32BITUIDS]: Make code unconditional.
42459         [!__ASSUME_32BITUIDS]: Remove conditional code.
42460         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42461         <kernel-features.h>.
42462         [__ASSUME_32BITUIDS]: Make code unconditional.
42463         [!__ASSUME_32BITUIDS]: Remove conditional code.
42464         * sysdeps/unix/sysv/linux/kernel-features.h
42465         (__ASSUME_SETRESUID_SYSCALL): Remove.
42466         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42467         (__ASSUME_32BITUIDS): Likewise.
42468         (__ASSUME_LDT_WORKS): Likewise.
42469         (__ASSUME_O_DIRECTORY): Likewise.
42470         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42471         architecture but not kernel version.
42472         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42473         (__ASSUME_MMAP2_SYSCALL): Likewise.
42474         (__ASSUME_STAT64_SYSCALL): Likewise.
42475         (__ASSUME_IPC64): Likewise.
42476         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42477         <kernel-features.h>.
42478         [__ASSUME_32BITUIDS]: Make code unconditional.
42479         [!__ASSUME_32BITUIDS]: Remove conditional code.
42480         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42481         <kernel-features.h>.
42482         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42483         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42484         132096]: Remove conditional code.
42485         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42486         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42487         <kernel-features.h>.
42488         [__ASSUME_32BITUIDS]: Make code unconditional.
42489         [!__ASSUME_32BITUIDS]: Remove conditional code.
42490         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42491         <kernel-features.h>.
42492         [__ASSUME_32BITUIDS]: Make code unconditional.
42493         [!__ASSUME_32BITUIDS]: Remove conditional code.
42494         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42495         <kernel-features.h>.
42496         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42497         unconditional.
42498         (__setresgid): Do not declare.
42499         [__ASSUME_32BITUIDS]: Make code unconditional.
42500         [!__ASSUME_32BITUIDS]: Remove conditional code.
42501         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42502         <kernel-features.h>.
42503         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42504         unconditional.
42505         (__setresuid): Do not declare.
42506         [__ASSUME_32BITUIDS]: Make code unconditional.
42507         [!__ASSUME_32BITUIDS]: Remove conditional code.
42508         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42509         <kernel-features.h>.
42510         [__ASSUME_32BITUIDS]: Make code unconditional.
42511         [!__ASSUME_32BITUIDS]: Remove conditional code.
42512         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42513         <kernel-features.h>.
42514         [__ASSUME_32BITUIDS]: Make code unconditional.
42515         [!__ASSUME_32BITUIDS]: Remove conditional code.
42517 2012-05-25  Richard Henderson  <rth@twiddle.net>
42519         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42520         dl_hwcap to ifunc resolver.
42521         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42522         elf_ifunc_invoke.
42523         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42524         dl_hwcap to ifunc resolver.
42525         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42527 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42529         [BZ #14153]
42530         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42531         for |x| <= 2**-26, not 2**-57.
42532         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42533         exception.
42535 2012-05-24  Jeff Law  <law@redhat.com>
42537         * stdio-common/Makefile (tests): Add bug25.
42538         * stdio-common/bug25.c: New test.
42540 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42542         [BZ #13576]
42543         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42544         multiple of MALLOC_ALIGNMENT in size.
42545         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42547 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42549         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42550         Require >= 256.
42551         (FILENAME_MAX): Use macro-int-constant.
42552         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42553         (_IOFBF): Use macro-int-constant.
42554         (_IOLBF): Likewise.
42555         (_IONBF): Likewise.
42556         (SEEK_CUR): Likewise.
42557         (SEEK_END): Likewise.
42558         (SEEK_SET): Likewise.
42559         (TMP_MAX): Likewise.
42560         (EOF): Use macro-int-constant.  Require < 0.
42561         (NULL): Use macro-constant.  Require == 0.
42562         (stdin): Require type to be FILE *.
42563         (stdout): Likewise.
42564         (stderr): Likewise.
42565         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42566         macro-int-constant.
42567         (EXIT_SUCCESS): Likewise.
42568         (NULL): Use macro-constant.  Require == 0.
42569         (RAND_MAX): Use macro-int-constant.
42570         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42571         [C99-based standards] (strtof): Require function.
42572         [C99-based standards] (strtold): Likewise.
42573         [C99-based standards] (strtoll): Likewise.
42574         [C99-based standards] (strtoull): Likewise.
42575         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42576         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42577         [ISO || ISO99 || ISO11] (math.h): Likewise.
42578         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42579         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42580         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42582 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42584         [BZ #14132]
42585         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42586         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42587         * intl/dgettext.c (DCGETTEXT): Likewise.
42588         * intl/gettext.c (DCGETTEXT): Likewise.
42589         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42590         * posix/regex_internal.h (gettext): Likewise.
42591         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42592         Remove declaration.
42593         * include/argz.h (__argz_count_internal)
42594         (__argz_stringify_internal): Remove declaration.
42595         (__argz_count, __argz_stringify): Declare hidden proto.
42596         * intl/dcgettext.c: Remove use of INTDEF.
42597         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42598         * string/argz-stringify.c: Likewise.
42599         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42600         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42601         Declare hidden proto.
42602         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42603         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42604         Declare hidden proto.
42605         * include/stdio.h (__asprintf_internal): Don't declare.
42606         (__asprintf): Don't define as macro.  Declare hidden proto.
42607         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42608         (__fsetlocking): Declare hidden proto.
42609         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42610         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42611         hidden proto.
42612         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42613         (_IO_setlinebuf): Remove use of INTUSE.
42614         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42615         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42616         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42617         Remove declaration.
42618         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42619         (_IO_do_flush): Remove use of INTUSE.
42620         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42621         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42622         (_IO_adjust_column, _IO_least_wmarker)
42623         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42624         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42625         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42626         (_IO_default_doallocate, _IO_wdefault_doallocate)
42627         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42628         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42629         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42630         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42631         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42632         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42633         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42634         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42635         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42636         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42637         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42638         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42639         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42640         proto.
42641         (_IO_flush_all_internal, _IO_adjust_column_internal)
42642         (_IO_default_uflow_internal, _IO_default_finish_internal)
42643         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42644         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42645         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42646         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42647         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42648         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42649         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42650         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42651         (_IO_file_close_internal, _IO_file_close_it_internal)
42652         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42653         (_IO_file_init_internal, _IO_file_attach_internal)
42654         (_IO_file_fopen_internal, _IO_file_read_internal)
42655         (_IO_file_sync_internal, _IO_file_seek_internal)
42656         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42657         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42658         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42659         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42660         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42661         (_IO_list_all_internal, _IO_link_in_internal)
42662         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42663         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42664         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42665         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42666         (_IO_do_write_internal, _IO_padn_internal)
42667         (_IO_getline_info_internal, _IO_getline_internal)
42668         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42669         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42670         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42671         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42672         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42673         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42674         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42675         with libc_hidden_ver, remove use of INTUSE.
42676         * libio/genops.c: Likewise.
42677         * libio/freopen.c: Likewise.
42678         * libio/freopen64.c: Likewise.
42679         * libio/iofclose.c: Likewise.
42680         * libio/iofdopen.c: Likewise.
42681         * libio/iofflush.c: Likewise.
42682         * libio/iofflush_u.c: Likewise.
42683         * libio/iofgets.c: Likewise.
42684         * libio/iofgets_u.c: Likewise.
42685         * libio/iofopen.c: Likewise.
42686         * libio/iofopncook.c: Likewise.
42687         * libio/iofread.c: Likewise.
42688         * libio/iofread_u.c: Likewise.
42689         * libio/ioftell.c: Likewise.
42690         * libio/iofwrite.c: Likewise.
42691         * libio/iogetline.c: Likewise.
42692         * libio/iogets.c: Likewise.
42693         * libio/iogetwline.c: Likewise.
42694         * libio/iopadn.c: Likewise.
42695         * libio/iopopen.c: Likewise.
42696         * libio/ioseekoff.c: Likewise.
42697         * libio/ioseekpos.c: Likewise.
42698         * libio/iosetbuffer.c: Likewise.
42699         * libio/iosetvbuf.c: Likewise.
42700         * libio/ioungetc.c: Likewise.
42701         * libio/ioungetwc.c: Likewise.
42702         * libio/iovdprintf.c: Likewise.
42703         * libio/iovsprintf.c: Likewise.
42704         * libio/iovsscanf.c: Likewise.
42705         * libio/memstream.c: Likewise.
42706         * libio/obprintf.c: Likewise.
42707         * libio/oldfileops.c: Likewise.
42708         * libio/oldiofclose.c: Likewise.
42709         * libio/oldiofdopen.c: Likewise.
42710         * libio/oldiofopen.c: Likewise.
42711         * libio/oldiopopen.c: Likewise.
42712         * libio/oldstdfiles.c: Likewise.
42713         * libio/putc.c: Likewise.
42714         * libio/setbuf.c: Likewise.
42715         * libio/setlinebuf.c: Likewise.
42716         * libio/stdfiles.c: Likewise.
42717         * libio/strops.c: Likewise.
42718         * libio/vasprintf.c: Likewise.
42719         * libio/vscanf.c: Likewise.
42720         * libio/vsnprintf.c: Likewise.
42721         * libio/vswprintf.c: Likewise.
42722         * libio/wfiledoalloc.c: Likewise.
42723         * libio/wfileops.c: Likewise.
42724         * libio/wgenops.c: Likewise.
42725         * libio/wmemstream.c: Likewise.
42726         * libio/wstrops.c: Likewise.
42727         * libio/__fpurge.c: Likewise.
42728         * libio/__fsetlocking.c: Likewise.
42729         * assert/assert.c: Likewise.
42730         * debug/fgets_chk.c: Likewise.
42731         * debug/fgets_u_chk.c: Likewise.
42732         * debug/fread_chk.c: Likewise.
42733         * debug/fread_u_chk.c: Likewise.
42734         * debug/gets_chk.c: Likewise.
42735         * debug/obprintf_chk.c: Likewise.
42736         * debug/vasprintf_chk.c: Likewise.
42737         * debug/vdprintf_chk.c: Likewise.
42738         * debug/vsnprintf_chk.c: Likewise.
42739         * debug/vsprintf_chk.c: Likewise.
42740         * malloc/mtrace.c: Likewise.
42741         * misc/error.c: Likewise.
42742         * misc/syslog.c: Likewise.
42743         * stdio-common/asprintf.c: Likewise.
42744         * stdio-common/fxprintf.c: Likewise.
42745         * stdio-common/getw.c: Likewise.
42746         * stdio-common/isoc99_fscanf.c: Likewise.
42747         * stdio-common/isoc99_scanf.c: Likewise.
42748         * stdio-common/isoc99_vfscanf.c: Likewise.
42749         * stdio-common/isoc99_vscanf.c: Likewise.
42750         * stdio-common/isoc99_vsscanf.c: Likewise.
42751         * stdio-common/printf-prs.c: Likewise.
42752         * stdio-common/printf_fp.c: Likewise.
42753         * stdio-common/printf_fphex.c: Likewise.
42754         * stdio-common/printf_size.c: Likewise.
42755         * stdio-common/putw.c: Likewise.
42756         * stdio-common/scanf.c: Likewise.
42757         * stdio-common/sprintf.c: Likewise.
42758         * stdio-common/tmpfile.c: Likewise.
42759         * stdio-common/vfprintf.c: Likewise.
42760         * stdio-common/vfscanf.c: Likewise.
42761         * stdlib/strfmon_l.c: Likewise.
42762         * sunrpc/openchild.c: Likewise.
42763         * sunrpc/xdr_stdio.c: Likewise.
42764         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42765         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42767 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42769         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42771         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42772         in the third column, to generate for the shared library an IFUNC
42773         that uses _dl_vdso_vsym.
42774         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42775         * Makeconfig (object-suffixes-noshared): New variable.
42777         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42778         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42779         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42780         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42782         [BZ #14132]
42783         * include/sys/time.h (__gettimeofday): Remove macro.
42784         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42785         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42786         Remove INTDEF.
42787         (__gettimeofday): Add libc_hidden_def.
42788         (gettimeofday): Add libc_hidden_weak.
42789         * sysdeps/mach/gettimeofday.c: Likewise.
42790         * sysdeps/posix/gettimeofday.c: Likewise.
42791         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42792         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42793         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42794         (__gettimeofday_internal): Remove strong_alias.
42795         (__gettimeofday): Add libc_hidden_def.
42796         (gettimeofday): Add libc_hidden_weak.
42797         * sysdeps/unix/syscalls.list (gettimeofday):
42798         Remove __gettimeofday_internal alias.
42800 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42801             H.J. Lu  <hongjiu.lu@intel.com>
42803         [BZ #12495]
42804         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42805         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42806         (largebin_index_32_big): New.
42807         (largebin_index): Use it for 16-byte alignment.
42808         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42809         correction with front_misalign.
42811 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42815         Likewise.
42816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42817         Likewise.
42818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42819         Likewise.
42820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42821         Likewise.
42822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42823         Likewise.
42824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42825         Likewise.
42826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42827         Likewise.
42828         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42829         Likewise.
42830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42831         Likewise.
42832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42833         Likewise.
42834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42835         Likewise.
42836         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42837         Likewise.
42839         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42840         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42842 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #10846]
42845         [BZ #14036]
42846         * math/libm-test.inc (exp_test): Add test from bug 14036.
42847         (pow_test): Add test from bug 10846.
42849         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42850         and other flags.
42851         (special_function): Do not include flags in test name.
42852         (parse_args): Likewise.
42853         * sysdeps/i386/fpu/libm-test-ulps: Update.
42854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42855         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42856         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42859         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42860         exceptions.
42861         * math/libm-test.inc ("Philosophy"): Update comment about
42862         exception testing.
42863         (UNDERFLOW_EXCEPTION): New macro.
42864         (UNDERFLOW_EXCEPTION_OK): Likewise.
42865         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42866         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42867         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42868         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42869         (INVALID_EXCEPTION_OK): Update value.
42870         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42871         (OVERFLOW_EXCEPTION_OK): Likewise.
42872         (IGNORE_ZERO_INF_SIGN): Likewise.
42873         (test_exceptions): Handle underflow exceptions.
42874         (acos_test): Update for underflow exception expectations.
42875         (cexp_test): Likewise.
42876         (clog_test): Likewise.
42877         (clog10_test): Likewise.
42878         (csqrt_test): Likewise.
42879         (ctan_test): Likewise.
42880         (ctanh_test): Likewise.
42881         (exp_test): Likewise.
42882         (exp10_test): Likewise.
42883         (exp2_test): Likewise.
42884         (expm1_test): Likewise.
42885         (fma_test): Likewise.
42886         (j0_test): Likewise.
42887         (jn_test): Likewise.
42888         (nexttoward_test): Likewise.
42889         (pow_test): Likewise.
42890         (scalbn_test): Likewise.
42891         (scalbln_test): Likewise.
42892         (tan_test): Likewise.
42893         (y1_test): Likewise.
42894         * sysdeps/i386/fpu/libm-test-ulps: Update.
42895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42897 2012-05-23  David S. Miller  <davem@davemloft.net>
42899         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42900         (__libc_sigaction): Remove unused local variables.
42902 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42904         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42906 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42908         mktime: avoid signed integer overflow
42909         * time/mktime.c (__mktime_internal): Do not mishandle the case
42910         where diff == INT_MIN.
42912         mktime: simplify computation of average
42913         * time/mktime.c (ranged_convert): Use new time_t_avg function
42914         instead of rolling our own (probably-slower) code.
42916         mktime: do not assume signed right shift propagates sign bit
42917         * time/mktime.c (isdst_differ): New static function.
42918         (__mktime_internal): No need to normalize tm_isdst now.
42919         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42920         tm_isdst values.
42922         mktime: merge another wrapv change from gnulib
42923         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42924         from some compilers.
42926         mktime: remove incorrect attempt at unusual arithmetics
42927         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42928         The code didn't really work on such machines anyway.
42929         (TYPE_MINIMUM): Assume two's complement.
42930         (twos_complement_arithmetic): Verify that long_int and time_t
42931         are two's complement (or unsigned, in the latter case).
42933         mktime: check signed shifts on long_int and time_t, too
42934         * time/mktime.c (SHR): Check that shifts work as desired
42935         on the types long_int and time_t too, as SHR is used on
42936         such types.
42938         mktime: do not assume 'long' is wide enough
42939         * time/mktime.c (verify): Move decl up.
42940         (long_int): New type.
42941         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42942         to remove assumption in the code that 'long' is wide enough to
42943         store year values.  This assumption is not true on x32 and on
42944         some non-glibc platforms.
42946         mktime: merge wrapv change from gnulib
42947         * time/mktime.c (WRAPV): New macro.
42948         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42949         (guess_time_tm, __mktime_internal): Do not assume that signed
42950         integer overflow wraps around; modern compilers generate code
42951         where this assumption is no longer valid.
42953 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42955         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42956         Replace "jmp L(pseudo_end)" with "ret".
42957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42958         Likewise.
42960 2012-05-23  Andreas Jaeger  <aj@suse.de>
42962         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42963         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42965 2012-05-23  Andreas Jaeger  <aj@suse.de>
42966             Maximilian Attems  <max@stro.at>
42968         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42969         New macros.
42971 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42973         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42974         code so that pseudo_end is just ret and the stack pointer is
42975         correct also for static library in error case.
42977 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42979         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42980         move to syscalls.list.
42981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42986         * manual/install.texi (Running make install): Do not mention Linux
42987         kernel version for which pt_chown is not needed.
42988         (Linux): Do not mention problems with nscd with 2.0 kernels.
42989         * INSTALL: Regenerated.
42991 2012-05-23  Andreas Jaeger  <aj@suse.de>
42993         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42994         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42995         macro.
42996         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42997         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42998         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42999         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43000         * sysdeps/unix/sysv/linux/i386/bits/mman.h
43001         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43002         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43003         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43004         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43005         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43006         * sysdeps/unix/sysv/linux/bits/in.h
43007         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43009 2012-05-22  Roland McGrath  <roland@hack.frob.com>
43011         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43012         (PREPARE_VERSION): Just use assert instead, it will be elided
43013         under [NDEBUG] anyway.
43015 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43017         * sysdeps/unix/sysv/linux/Makefile: Include
43018         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
43019         (sysdep_routines): Remove sysctl.
43020         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43021         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43022         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43023         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43024         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43026 2012-05-22  Andreas Jaeger  <aj@suse.de>
43028         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43029         that pseudo_end is just ret and the stack pointer is correct also
43030         for static library in error case.
43032 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
43034         [BZ #14122]
43035         * nss/nsswitch.c (defconfig_entries): New variable.
43036         (__nss_database_lookup): Don't leak defconfig entries.
43037         (nss_parse_service_list): Don't leak on error paths.
43038         (free_database_entries): New function.
43039         (free_defconfig): New function.
43040         (free_mem): Move common code to free_database_entries.
43042 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43044         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43045         Add arch_prctl.
43046         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43048         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43049         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43050         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43051         New macro.
43052         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43053         (INTERNAL_SYSCALL_TYPES): Likewise.
43054         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43055         (LOAD_REGS_TYPES_[1-6]): Likewise.
43056         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43057         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43059 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43061         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43062         copysignl for GLIBC_2_0.
43063         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43064         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43065         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43066         logbl for GLIBC_2_0.
43067         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43068         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43070 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43072         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43075         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43076         Use "neg %eax".
43078         * time/mktime.c: Update copyright years.
43080 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43082         mktime: merge comment-quoting-style change from gnulib
43083         * time/mktime.c: Quote 'like this' in comments.
43084         The GNU coding standards suggest that we no longer quote `like this',
43085         as "`" and "'" are typically rendered asymmetrically nowadays.
43086         The typical gnulib style is to quote 'like this' when quoting
43087         code, and "like this" when quoting English.
43089         * time/mktime.c (compile-command): Add "-I.".
43091         mktime: merge mktime-internal.h change from gnulib
43092         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43094         mktime: merge time_r change from gnulib
43095         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43097         mktime: merge DEBUG change from gnulib
43098         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43099         case system <time.h> has a #define.
43101         mktime: merge <sys/types.h> change from gnulib
43102         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43103         since <time.t> is now guaranteed to define time_t.
43105         mktime: merge HAVE_CONFIG_H change from gnulib
43106         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43108 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43111         Use "neg %eax".
43113         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43114         __rlim_t cast.
43115         (struct rusage): Use anonymous union to pad each field to
43116         __syscall_slong_t.
43118 2012-05-21  David S. Miller  <davem@davemloft.net>
43120         * Makefules (o-iterator): Remove .s cases.
43121         (compile-command.s): Delete.
43122         (COMPILE.s): Delete.
43123         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43125 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43127         * configure.in (libc_cv_predef_stack_protector): Only consider
43128         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43129         * configure: Regenerated.
43131 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43134         New macro.  Use R*LP on int and pointer.
43135         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43136         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43137         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43138         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43140         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43141         [__WORDSIZE_TIME64_COMPAT32] instead of
43142         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43143         (struct utmp): Likewise.
43144         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43145         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43146         Renamed to ...
43147         (__WORDSIZE_TIME64_COMPAT32): This.
43148         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43149         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43150         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43151         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43152         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43153         (__WORDSIZE_TIME64_COMPAT32): New macro.
43155 2012-05-21  Andreas Jaeger  <aj@suse.de>
43157         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43158         only if [SHARED]. Add prototype for __wcschr_ia32.
43160 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43162         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43163         of %rbp unmolested in the jmp_buf while mangling the low bits.
43164         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43165         unmolested high bits of %rbp while demangling the low bits.
43166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43168 2012-05-21  Andreas Jaeger  <aj@suse.de>
43170         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43171         * sunrpc/svc_simple.c: Use it for registerrpc.
43172         * sunrpc/xcrypt.c: Use it for passwd2des.
43174         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43176 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43178         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43179         Don't define if [__SYSCALL_WORDSIZE != 32].
43180         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43181         New macro.
43183 2012-05-21  Bruno Haible  <bruno@clisp.org>
43184             Andreas Jaeger  <aj@suse.de>
43186         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43187         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43188         inptr and inend for must_buffer_ch.
43189         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43190         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43191         * stdio-common/Makefile (tests): Remove bug15.
43192         (bug15-ENV): Remove macro.
43193         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43194         anymore.
43196 2012-05-19  Andreas Jaeger  <aj@suse.de>
43197             Roland McGrath  <roland@hack.frob.com>
43199         * manual/contrib.texi: Completely rewritten. It contains now an
43200         alphabetical list of contributors and their contributions.
43202 2012-05-21  Richard Henderson  <rth@twiddle.net>
43204         * misc/getauxval.c (__getauxval): Use unsigned long int.
43205         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43206         (getauxval): Use unsigned long int.
43208 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43210         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43212 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43214         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43215         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43216         __alignof__ (long double).
43218 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43222 2012-05-20  Richard Henderson  <rth@twiddle.net>
43224         * misc/getauxval.c: New file.
43225         * misc/sys/auxv.h: New file.
43226         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43227         (routines): Add getauxval.
43228         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43229         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43230         * elf/dl-sysdep.c (_dl_auxv): Remove.
43231         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43232         * elf/dl-support.c (_dl_auxv): New variable.
43233         (_dl_aux_init): Initialize it.
43234         * manual/startup.texi (Auxiliary Vector): New node.
43235         * sysdeps/generic/bits/hwcap.h: New file.
43236         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43237         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43238         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43239         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43240         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43241         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43243         Update.
43244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43247         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43253 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43257 2012-05-19  David S. Miller  <davem@davemloft.net>
43259         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43261 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43263         [BZ #14123]
43264         * math/s_ccosh.c: Include <float.h>
43265         (__ccosh): Avoid internal overflow calculating sinh and cosh
43266         values before multiplying by sin and cos values.
43267         * math/s_ccoshf.c: Likewise.
43268         * math/s_ccoshl.c: Likewise.
43269         * math/s_csin.c: Likewise.
43270         * math/s_csinf.c: Likewise.
43271         * math/s_csinl.c: Likewise.
43272         * math/s_csinh.c: Likewise.
43273         * math/s_csinhf.c: Likewise.
43274         * math/s_csinhl.c: Likewise.
43275         * math/libm-test.inc (ccos_test): Add more tests.
43276         (ccosh_test): Likewise.
43277         (csin_test): Likewise.
43278         (csinh_test): Likewise.
43279         * sysdeps/i386/fpu/libm-test-ulps: Update.
43280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43282 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43284         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43285         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43287         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43289 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43291         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43292         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43293         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43294         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43295         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43296         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43297         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43298         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43299         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43300         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43301         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43302         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43303         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43304         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43305         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43306         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43307         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43308         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43309         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43310         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43311         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43312         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43313         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43314         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43315         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43316         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43317         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43318         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43319         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43320         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43321         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43323 2012-05-18  Andreas Jaeger  <aj@suse.de>
43325         * csu/.gitignore: Delete.
43327 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43329         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43330         (timex): Use __syscall_slong_t.
43332 2012-05-18  Andreas Jaeger  <aj@suse.de>
43333             Carlos O'Donell  <carlos_odonell@mentor.com>
43335         * manual/install.texi (Configuring and compiling): Update
43336         description about files modified in the source directory.
43337         * INSTALL: Regenerated.
43339 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43341         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43342         value.  Use "or" to set return value to -1.
43343         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43344         negate return value.
43346 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43348         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43349         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43350         failure if the compiler has Graphite support disabled.
43351         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43352         Likewise.
43353         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43354         (CFLAGS-memmove.c): Likewise.
43355         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43356         Likewise.
43358 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43360         * sysdeps/x86_64/x32/_itoa.h: New file.
43362         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43363         getdents system call only if kernel and user dirents have the
43364         same d_ino and d_off.
43366         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43367         LLONG_MAX != LONG_MAX.
43368         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43369         (_fitoa_word): Likewise.
43371         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43372         years.
43373         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43374         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43375         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43377         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43378         include <bits/wordsize.h>.  Check __x86_64__ instead of
43379         __WORDSIZE.
43380         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43381         if __x86_64__ is defined.  Use anonymous union on fpstate.
43383         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43384         anonymous union.
43386 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43388         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43389         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43391         Refer to _rtld_local_ro instead of _rtld_global_ro.
43392         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43393         Likewise.
43394         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43395         Likewise.
43396         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43397         Likewise.
43398         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43399         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43400         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43402         * sysdeps/powerpc/powerpc32/dl-machine.c
43403         (__elf_machine_runtime_setup) [PROF]: Don't reference
43404         _dl_prof_resolve.
43406 2012-05-18  Andreas Jaeger  <aj@suse.de>
43408         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43409         function only available for GCCs before 3.4 since GCC 3.4
43410         introduced a builtin.
43411         (lrint): Likewise.
43412         (llrintf): Likewise.
43413         (llrint): Likewise.
43414         (fmaxf): Likewise.
43415         (fmax): Likewise.
43416         (fminf): Likewise.
43417         (fmin): Likewise.
43418         (rint): Likewise.
43419         (rintf): Likewise.
43420         (nearbyint): Likewise.
43421         (nearbyintf): Likewise.
43422         (ceil): Likewise.
43423         (ceilf): Likewise.
43424         (floor): Likewise.
43425         (floorf): Likewise.
43427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43429         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43430         on both fields and cast pointer to __syscall_ulong_t.
43432         * bits/types.h (__fsword_t): New type.
43433         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43434         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43436         (__FSWORD_T_TYPE): Likewise.
43437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43438         (__FSWORD_T_TYPE): Likewise.
43439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43440         (__FSWORD_T_TYPE): Likewise.
43441         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43442         (__FSWORD_T_TYPE): Likewise.
43443         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43444         __SWORD_TYPE with __fsword_t.
43445         (statfs64): Likewise.
43447 2012-05-17  David S. Miller  <davem@davemloft.net>
43449         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43451 2012-05-17  Andreas Jaeger  <aj@suse.de>
43453         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43454         warning.
43456 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43458         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43460 2012-05-17  Andreas Jaeger  <aj@suse.de>
43462         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43463         when it is used.
43465 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43467         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43469 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43471         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43472         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43474 2012-05-17  Andreas Jaeger  <aj@suse.de>
43475             Carlos O'Donell  <carlos_odonell@mentor.com>
43477         [BZ #14059]
43478         * sysdeps/x86_64/multiarch/init-arch.h
43479         (bit_YMM_Usable): Rename to...
43480         (bit_AVX_Usable): ... this.
43481         (bit_FMA4_Usable): New macro.
43482         (bit_XMM_state): New macro.
43483         (bit_YMM_state): New macro.
43484         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43485         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43486         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43487         (CPUID_OSXSAVE): New macro.
43488         (CPUID_AVX): New macro.
43489         (CPUID_FMA4): New macro.
43490         (index_YMM_Usable): Rename to...
43491         (index_AVX_Usable): ... this.
43492         (HAS_AVX): Use HAS_ARCH_FEATURE.
43493         (HAS_FMA4): Likewise.
43494         (HAS_YMM_USABLE): Remove.
43495         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43496         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43497         are present.
43498         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43499         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43500         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43501         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43502         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43504 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43506         * math/libm-test.c: Support platforms without multiple rounding modes.
43507         * math/bug-nextafter.c: Support platforms without FP exceptions.
43508         * math/bug-nexttoward.c: Likewise.
43509         * math/test-fenv.c: Likewise.
43510         * math/test-misc.c: Likewise.
43511         * stdlib/bug-getcontext.c: Likewise.
43513 2012-05-17  Andreas Jaeger  <aj@suse.de>
43515         * manual/examples/search.c (critter_cmp): Change signature to
43516         avoid warnings.
43517         * manual/string.texi (Collation Functions): Likewise.
43519 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43521         * bits/types.h: Fold copyright years.
43522         * bits/typesizes.h: Likewise.
43523         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43526         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43527         * time/time.h: Likewise.
43529 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43531         [BZ #208]
43532         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43533         in instead of returning them.  Return void.
43534         (__libc_mallinfo): Accumulate over all arenas.
43535         (__malloc_stats): Adjust for change in int_mallinfo interface.
43537 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43539         [BZ #10375]
43540         * configure.in (NM): Add AC_CHECK_TOOL for it.
43541         (libc_extra_cflags): New substituted variable.
43542         Check for -fstack-protector being used implicitly.
43543         * configure: Regenerated.
43544         * config.make.in (config-extra-cflags): New variable,
43545         gets @libc_extra_cflags@.
43546         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43548         [BZ #10375]
43549         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43550         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43551         * configure: Regenerated.
43552         * config.make.in (CPPUNDEFS): New substituted variable.
43553         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43554         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43555         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43557 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43559         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43560         (mq_attr): Use __syscall_slong_t.
43562 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43564         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43565         Check __x86_64__ instead of __WORDSIZE.
43566         (_STAT_VER_LINUX): Likewise.
43567         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43568         __syscall_ulong_t and __syscall_slong_t.
43569         (stat64): Likewise.
43571 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43573         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43575 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43577         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43579 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43581         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43582         __syscall_ulong_t.
43584         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43585         include <bits/wordsize.h>.  Check __x86_64__ instead of
43586         __WORDSIZE.
43587         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43588         defined.
43589         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43591         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43592         include <bits/wordsize.h>.  Check __x86_64__ instead of
43593         __WORDSIZE.
43594         (user_regs_struct): Use "__extension__ unsigned long long"
43595         instead of "unsigned long" if __x86_64__ is defined.
43596         (user): Likewise.  Pad after pointer field if __ILP32__ is
43597         defined.
43599 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43601         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43602         versions 5 to 9.
43603         * configure: Regenerated.
43604         * manual/install.texi (texinfo): Increase version requirement to
43605         4.5 or later.
43606         * INSTALL: Regenerated.
43608         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43610 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43612         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43614         * sysdeps/x86_64/x32/ffs.c: New file.
43616         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43617         __syscall_ulong_t.
43618         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43619         defined.  Use __syscall_ulong_t.
43620         (shminfo): Use __syscall_ulong_t.
43621         (shm_info): Likewise.
43623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43624         __syscall_ulong_t.
43626         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43627         <bits/wordsize.h>.
43628         (msgqnum_t): Use __syscall_ulong_t.
43629         (msglen_t): Likewise.
43630         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43631         __syscall_ulong_t.
43633         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43634         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43636         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43638         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43639         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43641         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43642         __syscall_slong_t.
43644         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43645         include <bits/wordsize.h>.  Check __x86_64__ instead of
43646         __WORDSIZE.
43648         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43649         "unsigned long long int" if __x86_64__ is defined.
43650         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43652         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43653         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43654         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43656         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43657         <stdint.h>.
43658         (GET_PC): Cast to uintptr_t first.
43659         (GET_FRAME): Likewise.
43660         (GET_STACK): Likewise.
43662         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43663         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43664         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43665         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43666         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43667         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43668         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43669         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43670         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43671         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43672         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43673         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43674         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43675         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43676         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43677         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43678         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43679         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43680         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43681         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43682         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43683         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43685         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43687         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43688         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43689         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43690         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43692 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43694         * Makerules (+depfiles): Also collect depfiles from .oS in
43695         $(extra-objs).
43696         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43697         .oS, $(libnldbl-routines)).
43699         * Makerules (native-compile-mkdep-flags): Define.
43700         * sunrpc/Makefile (extra-objs): Add $(addprefix
43701         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43702         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43703         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43704         calling $(make-target-directory).
43706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43708         * bits/types.h (__snseconds_t): Removed.
43709         * time/time.h (struct timespec): Replace __snseconds_t with
43710         __syscall_slong_t.
43711         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43712         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43713         Likewise.
43714         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43715         (__SNSECONDS_T_TYPE): Likewise.
43716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43717         (__SNSECONDS_T_TYPE): Likewise.
43718         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43719         (__SNSECONDS_T_TYPE): Likewise.
43721 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43723         * sysdeps/mach/hurd/bits/typesizes.h
43724         (__SYSCALL_SLONG_TYPE): New macro.
43725         (__SYSCALL_ULONG_TYPE): Likewise.
43727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43729         * bits/types.h (__syscall_slong_t): New type.
43730         (__syscall_ulong_t): Likewise.
43732         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43733         (__SYSCALL_ULONG_TYPE): Likewise.
43734         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43735         (__SYSCALL_SLONG_TYPE): Likewise.
43736         (__SYSCALL_ULONG_TYPE): Likewise.
43737         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43738         (__SYSCALL_SLONG_TYPE): Likewise.
43739         (__SYSCALL_ULONG_TYPE): Likewise.
43740         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43741         (__SYSCALL_SLONG_TYPE): Likewise.
43742         (__SYSCALL_ULONG_TYPE): Likewise.
43744 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43746         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43747         Add sigaltstack-offsets.sym.
43748         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43749         <sigaltstack-offsets.h>.
43750         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43751         longjmp_msg pointer.
43752         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43753         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43754         signal stack.
43755         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43759         * elf/stackguard-macros.h: Remove file.
43760         * sysdeps/generic/stackguard-macros.h: New file.
43761         * sysdeps/i386/stackguard-macros.h: Likewise.
43762         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43763         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43764         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43765         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43766         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43767         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43768         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43769         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43770         <elf/stackguard-macros.h>.
43772         [BZ #14109]
43773         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43774         __aligned__ in attribute.
43775         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43776         (gregset_t): Likewise.
43778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43780         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43781         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43782         * sysdeps/x86_64/x32/Implies-after: New file.
43784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43786         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43787         and access return value for _dl_profile_fixup.  Use R10_LP to
43788         load frame size.
43790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43792         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43796         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43797         * sysdeps/x86_64/x32/sysdep.h: New file.
43799 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43801         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43802         * sysdeps/x86_64/setjmp.S: Likewise.
43804 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43806         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43807         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43808         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43809         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43810         remove unused global constant.
43812 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43814         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43815         include of <not-cancel.h>.
43817 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43819         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43821 2012-05-15  Jeff Law  <law@redhat.com>
43822             Andreas Jaeger  <aj@suse.de>
43824         [BZ #13594]
43825         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43826         out from...
43827         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43828         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43829         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43830         code changing __hst_map_handle.map.
43832 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43834         * configure.in (sysnames): Look for Implies-before and Implies-after
43835         files.
43836         * configure: Regenerated.
43838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43840         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43841         8-byte data alignment with LP_SIZE alignment.
43843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43845         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43846         into R10_LP.
43848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43850         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43854         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43855         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43856         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43857         Likewise.
43858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43862         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43863         (stackinfo_sub_sp): Likewise.
43865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43867         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43868         RAX_LP.
43870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43872         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43873         into R*_LP.
43875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43877         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43878         sizes into R*_LP.
43880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43882         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43884 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43886         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43887         into R11_LP and load __x86_64_shared_cache_size_half into
43888         R8_LP.
43890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43892         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43893         R8_LP.
43895 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43897         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43898         logb for POWER7.
43899         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43900         logbf for POWER7.
43901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43902         logbl for POWER7.
43903         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43904         powerpc32/power7/fpu/s_logb.c via #include.
43905         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43906         powerpc32/power7/fpu/s_logbf.c via #include.
43907         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43908         powerpc32/power7/fpu/s_logbl.c via #include.
43910 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43912         * README.libm: Remove file.
43914 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43916         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43917         count for x32.  Use R*_LP and omit operand-size suffix.
43919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43921         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43922         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43923         * sysdeps/x86_64/x32/shlib-versions: New file.
43925 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43927         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43928         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43929         Use _dl_fatal_printf instead.
43931 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43933         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43934         set if not set by the user.  Do not allow for being unset.
43935         * sysdeps/unix/sysv/linux/configure: Regenerated.
43937 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43939         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43940         the `q' suffix from lea and replace .quad with ASM_ADDR.
43942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43944         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43945         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43946         instead of $17.
43947         (PTR_DEMANGLE): Likewise.
43949 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43951         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43952         (LP_OP): Likewise.
43953         (ASM_ADDR): Likewise.
43954         (RAX_LP): Likewise.
43955         (RBP_LP): Likewise.
43956         (RBX_LP): Likewise.
43957         (RCX_LP): Likewise.
43958         (RDI_LP): Likewise.
43959         (RSI_LP): Likewise.
43960         (RSP_LP): Likewise.
43961         (R8_LP): Likewise.
43962         (R9_LP): Likewise.
43963         (R10_LP): Likewise.
43964         (R10_LP): Likewise.
43965         (R11_LP): Likewise.
43966         (R12_LP): Likewise.
43967         (R13_LP): Likewise.
43968         (R14_LP): Likewise.
43969         (R15_LP): Likewise.
43971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43973         * sysdeps/x86_64/x32/dl-machine.h: New file.
43975 2012-05-14  Andreas Jaeger  <aj@suse.de>
43977         * manual/Makefile (subdir): Remove export of subdir.
43978         (all): Remove target.
43979         (.PHONY): Remove all from list.
43980         (mkinstalldirs): Remove.
43981         (.PHONY): Remove installdirs from list.
43982         ($(inst_infodir)/libc.info): Use make-target-directory.
43983         (installdirs): Remove.
43984         (subdir_%): Remove.
43985         (glibc-targets): Remove.
43986         (lib): Remove.
43987         (stubs): Remove.
43988         ($(objpfx)stubs ../po/manual.pot): Remove.
43989         ($(objpfx)stamp%): Remove.
43990         (make-target-directory): Remove.
43991         (subdir_install): Remove.
43992         (routines): Remove.
43993         (aux): Remove.
43994         (sources): Remove.
43995         (objects): Remove.
43996         (headers): Remove.
43998         [BZ #13750]
43999         * manual/.gitignore: Remove, it's not needed anymore.
44000         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44001         all files in it.
44002         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44003         directory.
44004         (texis): Renamed to $(objpfx)texis.
44005         (texis-path): New, contains path to generated files.
44006         (chapters.%): Use texis-path for complete path, add extra argument
44007         libc-texinfo.sh.
44008         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44009         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44010         (summary,texi, stamp-summary): Use complete path of
44011         files. Generate files in build dir.
44012         (dir-add.texi): Build in build dir.
44013         (libm-err.texi,stamp-libm-err): Likewise.
44014         (version.texi, stamp-version): Likewise.
44015         (.%c.texi): Likewise.
44016         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44017         (mostlyclean): Remove target.
44018         (realclean): Remove target.
44019         (generated): Add new variable with contents from mostlyclean and
44020         realclean, remove entries duplicated in common-mostlyclean, add
44021         stamp-libm-err and stamp-version.
44022         (generated-dirs): Add libc directory.
44023         ($(inst_infodir)/libc.info): Install files from build dir.
44025         * manual/install.texi (Configuring and compiling): Adjust since
44026         the info files are not part of the tar ball anymore.
44028 2012-05-14  Andreas Jaeger  <aj@suse.de>
44030         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44031         variable.
44033 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
44035         [BZ #13717]
44036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44037         to 2.2.0 where earlier.
44038         * sysdeps/unix/sysv/linux/configure: Regenerated.
44039         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44040         Remove conditional code.
44041         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44042         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44043         Remove conditional code.
44044         [!__NR_lchown]: Likewise.
44045         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44046         [__NR_lchown]: Likewise.
44047         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44048         comment referencing __ASSUME_LCHOWN_SYSCALL.
44049         * sysdeps/unix/sysv/linux/i386/sigaction.c
44050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44052         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44053         Remove conditional code.
44054         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44055         (__protocol_available): Remove #if 0 code.
44056         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44057         conditional code.
44058         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44059         * sysdeps/unix/sysv/linux/kernel-features.h
44060         (__ASSUME_GETCWD_SYSCALL): Don't define.
44061         (__ASSUME_REALTIME_SIGNALS): Likewise.
44062         (__ASSUME_PREAD_SYSCALL): Likewise.
44063         (__ASSUME_PWRITE_SYSCALL): Likewise.
44064         (__ASSUME_POLL_SYSCALL): Likewise.
44065         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44066         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44067         non-SPARC.
44068         (__ASSUME_SIOCGIFNAME): Don't define.
44069         (__ASSUME_MSG_NOSIGNAL): Likewise.
44070         (__ASSUME_SENDFILE): Define unconditionally.
44071         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44072         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44073         conditional code.
44074         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44075         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44076         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44077         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44078         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44079         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44080         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44085         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44091         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44092         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44094         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44097         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44098         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44100         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44101         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44103         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44104         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44105         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44106         Remove conditional code.
44107         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44108         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44109         Remove conditional code.
44110         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44111         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44112         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44113         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44114         Remove conditional code.
44115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44116         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44117         Remove conditional code.
44118         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44119         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44120         Remove conditional code.
44121         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44122         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44123         Remove conditional code.
44124         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44125         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44126         Remove conditional code.
44127         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44128         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44129         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44130         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44131         * sysdeps/unix/sysv/linux/sigaction.c
44132         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44133         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44134         * sysdeps/unix/sysv/linux/sigpending.c
44135         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44136         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44137         * sysdeps/unix/sysv/linux/sigprocmask.c
44138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44140         * sysdeps/unix/sysv/linux/sigsuspend.c
44141         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44142         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44143         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44144         (__libc_missing_rt_sigs): Remove.
44145         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44146         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44147         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44148         Remove conditional code.
44149         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44150         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44151         return 1.
44152         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44153         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44154         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44155         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44157 2012-05-14  Andreas Jaeger  <aj@suse.de>
44159         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44160         it's not used in glibc.
44161         (__coshm1): Likewise.
44162         (__acosh1p): Likewise.
44163         (__sgn): Likewise.
44165         * manual/string.texi (Copying and Concatenation): Add missing
44166         variable in concat example.
44167         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44169 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44171         [BZ #14103]
44172         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44173         __builtin_clzl with __builtin_clzll.
44175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44177         [BZ #14104]
44178         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44179         libc_freeres_ptr.
44181 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44183         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44184         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44185         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44186         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44188 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44190         * NEWS: Update ia64 info.
44192 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44194         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44195         used as bcopy.
44197 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44199         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44200         * sysdeps/unix/syscalls.list (dup3): Likewise.
44201         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44202         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44204 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44206         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44207         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44209 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44211         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44212         thread pointer.
44213         (TLS_IE): Use mov/add instead of movq/addq to load thread
44214         pointer.
44215         (TLS_GD_PREFIX): New.
44216         (TLS_GD): Use it.
44218 2012-05-11  David S. Miller  <davem@davemloft.net>
44220         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44221         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44222         (_FPU_SETCW): Likewise.
44224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44226         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44227         is 32-byte aligned.
44229 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44231         [BZ #11837]
44232         * iconvdata/gb18030.c: Update tables.
44233         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44234         characters specially.
44235         (BODY for TO_LOOP): Add encoding of missing ranges.
44237 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44239         [BZ #13673]
44240         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44241         * sysdeps/mach/hurd/dup3.c: Likewise.
44242         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44243         * sysdeps/powerpc/memmove.c:: Likewise.
44245 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44247         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44248         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44250 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44252         * elf/elf.h (R_X86_64_RELATIVE64): New.
44253         (R_X86_64_NUM): Updated.
44254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44255         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44256         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44257         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44258         tst-quad1pie tst-quad2pie
44259         (modules-names): Add tst-quadmod1 tst-quadmod2.
44260         ($(objpfx)tst-quad1): New dependency.
44261         ($(objpfx)tst-quad2): Likewise.
44262         ($(objpfx)tst-quad1pie): Likewise.
44263         ($(objpfx)tst-quad2pie): Likewise.
44264         * sysdeps/x86_64/tst-quad1.c: New file.
44265         * sysdeps/x86_64/tst-quad1pie.c: New file.
44266         * sysdeps/x86_64/tst-quad2.c: Likewise.
44267         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44268         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44269         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44270         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44271         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44275         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44276         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44277         * streams/stropts.h (t_scalar_t): Define type.
44279         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44280         (_PATH_PRESERVE): Set to "/var/lib".
44281         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44283         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44284         instead of int.
44286         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44287         if __dir_mkfile succeeded.
44289         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44290         checking for _hurd_dtablesize.  Unlock it right after having
44291         finished _hurd_dtable allocation.
44293 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44295         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44296         * sysdeps/mach/hurd/configure: Regenerated.
44297         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44298         special-casing to...
44299         * sysdeps/gnu/configure.in: ... this new file.
44300         * sysdeps/unix/sysv/linux/configure: Regenerated.
44301         * sysdeps/gnu/configure: New generated file.
44303         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44304         for Linux: use nsec instead of usec, as well as:
44305         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44306         members of type struct timespec.
44307         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44308         New macros.
44309         (struct stat64): Likewise.
44310         (_STATBUF_ST_NSEC): New macro.
44311         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44313         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44314         __strtoul_internal rather than strtoul.
44316 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44318         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44319         and reject them.
44321 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44323         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44324         which preserves existing values.
44325         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44327 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44329         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44330         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44331         greater than FD_SETSIZE.
44333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44335         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44336         allocated, call __vm_protect to finish enabling the existing space, and
44337         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44338         allocate the remainder.
44340 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44342         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44343         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44347         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44348         sysdeps/mach/hurd/readlink.c.
44350         * posix/tst-sysconf.c (posix_options): Only use
44351         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44352         _POSIX_SYNCHRONIZED_IO when they are defined
44353         * sysdeps/mach/hurd/bits/posix_opt.h:
44354         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44355         (_XOPEN_REALTIME): Undefine macro.
44356         (_XOPEN_REALTIME_THREADS): Undefine macro.
44357         (_XOPEN_SHM): Undefine macro.
44358         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44359         macro to -1.
44360         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44361         macro to -1.
44362         (_POSIX_ASYNC_IO): Undefine macro.
44363         (_POSIX_PRIORITIZED_IO): Undefine macro.
44364         (_POSIX_SPIN_LOCKS): Define macro to -1.
44366         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44367         SA_NODEFER, SA_RESETHAND.
44368         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44369         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44370         F_DUPFD_CLOEXEC.
44372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44374         * elf/Makefile (pldd-modules): Define unconditionally.
44376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44378         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44382         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44383         Return ENOENT when name is empty.
44384         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44386 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44388         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44390         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44392 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44394         Fix mlock in all cases except non-readable pages.
44395         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44396         instead of VM_PROT_ALL as parameter to __vm_wire function.
44398         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44399         (__mkdir): When path is `/', just fail with EEXIST.
44400         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44402 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44404         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44405         <sys/uio.h> (for writev).
44406         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44407         and <sys/param.h> (for MIN).
44409 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44411         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44412         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44413         if interrupted.
44415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44417         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44418         Depend on against $(link-rpcuserlibs).
44420 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44422         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44423         (__libc_stack_end): Do not use attribute_relro.
44424         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44425         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44426         to libthread-provided value.
44427         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44428         attribute_relro.
44430 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44432         [BZ #3748]
44433         * bits/libc-lock.h (__libc_once_get): New macro.
44434         * sysdeps/mach/bits/libc-lock.h: Likewise.
44435         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44436         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44437         instead of using implementation details.
44439         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44440         * libio/freopen.c: Likewise.
44441         * libio/freopen64.c: Likewise.
44442         * misc/syslog.c: Likewise.
44443         * nscd/connections.c: Likewise.
44444         * nscd/netgroupcache.c: Likewise.
44445         * sysdeps/posix/getcwd.c: Likewise.
44447 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44449         * math/w_ilogbf.c: Add #include <limits.h>.
44451 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44453         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44454         path instead of returning without unlocking.
44456         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44457         immediate-write ioctls.
44458         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44462         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44463         __builtin_frame_address instead of making assumptions about the
44464         location of the return address relative to DATA.  Force early load of
44465         the return address.
44466         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44467         __builtin_frame_address.
44469         dup3 for GNU Hurd.
44470         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44471         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44472         implement dup3 and do some further code clean-ups.
44473         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44474         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44476 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44478         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44480         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44481         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44482         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44483         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44484         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44485         d->port.lock.
44487         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44488         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44489         when handler == SIG_ERR, not when handler != SIG_ERR.
44491 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44493         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44494         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44495         definitions.
44497         accept4 for GNU Hurd.
44498         * include/sys/socket.h (__libc_accept4): New prototype.
44499         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44500         to implement __libc_accept4.
44501         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44502         __libc_accept4.
44503         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44505         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44506         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44507         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44508         signal-defines.sym.
44510 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44512         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44516         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44517         assertion on O_CLOEXEC flag.
44518         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44519         * hurd/intern-fd.c: Likewise.
44520         * hurd/port2fd.c: Likewise.
44522 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44524         [BZ #3906]
44525         * bits/in.h (IPV6_PKTINFO): Define new macro.
44526         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44528 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44530         [BZ #13954]
44531         [BZ #13955]
44532         [BZ #13956]
44533         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44534         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44535         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44536         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44537         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44538         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44539         * math/libm-test.inc (logb_test) : Additional logb tests.
44541 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44542             Andreas Jaeger  <aj@suse.de>
44544         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44545         * configure: Regenerated.
44546         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44547         * config.make.in (link-obsolete-rpc): New substituted variable.
44548         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44549         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44550         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44551         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44552         so that libc.a contains the symbols.
44553         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44554         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44555         * sunrpc/auth_none.c: Likewise.
44556         * sunrpc/auth_unix.c: Likewise.
44557         * sunrpc/authdes_prot.c: Likewise.
44558         * sunrpc/authuxprot.c: Likewise.
44559         * sunrpc/clnt_gen.c: Likewise.
44560         * sunrpc/clnt_perr.c: Likewise.
44561         * sunrpc/clnt_raw.c: Likewise.
44562         * sunrpc/clnt_simp.c: Likewise.
44563         * sunrpc/clnt_tcp.c: Likewise.
44564         * sunrpc/clnt_udp.c: Likewise.
44565         * sunrpc/clnt_unix.c: Likewise.
44566         * sunrpc/des_crypt.c: Likewise.
44567         * sunrpc/des_soft.c: Likewise.
44568         * sunrpc/get_myaddr.c: Likewise.
44569         * sunrpc/key_call.c: Likewise.
44570         * sunrpc/key_prot.c: Likewise.
44571         * sunrpc/netname.c: Likewise.
44572         * sunrpc/pm_getmaps.c: Likewise.
44573         * sunrpc/pm_getport.c: Likewise.
44574         * sunrpc/pmap_clnt.c: Likewise.
44575         * sunrpc/pmap_prot.c: Likewise.
44576         * sunrpc/pmap_prot2.c: Likewise.
44577         * sunrpc/pmap_rmt.c: Likewise.
44578         * sunrpc/publickey.c: Likewise.
44579         * sunrpc/rpc_cmsg.c: Likewise.
44580         * sunrpc/rpc_common.c: Likewise.
44581         * sunrpc/rpc_dtable.c: Likewise.
44582         * sunrpc/rpc_prot.c: Likewise.
44583         * sunrpc/rpc_thread.c: Likewise.
44584         * sunrpc/rtime.c: Likewise.
44585         * sunrpc/svc.c: Likewise.
44586         * sunrpc/svc_auth.c: Likewise.
44587         * sunrpc/svc_raw.c: Likewise.
44588         * sunrpc/svc_run.c: Likewise.
44589         * sunrpc/svc_tcp.c: Likewise.
44590         * sunrpc/svc_udp.c: Likewise.
44591         * sunrpc/svc_unix.c: Likewise.
44592         * sunrpc/svcauth_des.c: Likewise.
44593         * sunrpc/xcrypt.c: Likewise.
44594         * sunrpc/xdr.c: Likewise.
44595         * sunrpc/xdr_array.c: Likewise.
44596         * sunrpc/xdr_float.c: Likewise.
44597         * sunrpc/xdr_intXX_t.c: Likewise.
44598         * sunrpc/xdr_mem.c: Likewise.
44599         * sunrpc/xdr_rec.c: Likewise.
44600         * sunrpc/xdr_ref.c: Likewise.
44601         * sunrpc/xdr_sizeof.c: Likewise.
44602         * sunrpc/xdr_stdio.c: Likewise.
44604 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44606         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44607         change.  Update copyright years.
44609 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44611         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44613 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44614             Joseph Myers  <joseph@codesourcery.com>
44615             Paul Pluzhnikov  <ppluzhnikov@google.com>
44617         [BZ #14012]
44618         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44619         requiring rpcgen.
44620         [cross-compiling] (extra-libs): Likewise.
44621         [cross-compiling] (extra-libs-others): Likewise.
44622         [cross-compiling] (librpcsvc-routines): Likewise.
44623         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44624         [cross-compiling] (omit-deps): Likewise.
44625         (sunrpc-CPPFLAGS): New variable.
44626         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44627         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44628         (cross-rpcgen-objs): New variable.
44629         (extra-objs): Append $(cross-rpcgen-objs).
44630         ($(cross-rpcgen-objs)): New rule.
44631         ($(objpfx)cross-rpcgen): Likewise.
44632         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44633         comment.
44634         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44635         ($(objpfx)x%.stmp): Likewise.
44636         * sunrpc/proto.h [IS_IN_build] (_): Define.
44637         [IS_IN_build] (_libc_intl_domainname): Likewise.
44639 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44642         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44643         and R_X86_64_TPOFF64.
44645 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44647         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44648         sysdeps/unix/sysv/syscalls.list.
44649         (stime): Likewise.
44650         (utime): Likewise.
44651         * sysdeps/unix/sysv/syscalls.list: Remove file.
44653 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44655         [BZ #3440]
44656         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44657         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44658         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44659         (__LC_IDENTIFICATION): Make these macros useful in #if
44660         expressions, as required by C99.
44662 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44664         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44665         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44666         after this.
44668 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44670         * stdlib/longlong.h: Updated from GCC.
44672 2012-05-09  Andreas Jaeger  <aj@suse.de>
44674         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44675         default is first entry.
44676         (run_mode): Set type.
44677         (main): Remove informal message about syslog.
44678         (options): Fix typo.
44680         [BZ #14053]
44681         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44682         to asm.
44683         (lrint): Likewise.
44684         (llrintf): Likewise.
44685         (llrint): Likewise.
44686         (rint): Likewise.
44687         (rintf): Likewise.
44688         (nearbyint): Likewise.
44689         (nearbyintf): Likewise.
44691 2012-05-09  Andreas Jaeger  <aj@suse.de>
44692             Pedro Alves  <palves@redhat.com>
44694         * nscd/nscd.c (run_mode): Use enum.
44695         (main): Cleanup coding style issue.
44697 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44698             Andreas Jaeger  <aj@suse.de>
44700         * nscd/nscd.c (go_background): Replaced with...
44701         (run_mode): ... this.
44702         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44703         (options): Add -F --foreground.
44704         (main): Implement it.
44705         (parse_opt): Parse it.
44707 2012-05-09  Andreas Jaeger  <aj@suse.de>
44709         [BZ #14083]
44710         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44711         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44712         -Wconversion warning.
44713         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44714         Likewise.
44716 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44718         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44719         == 0.
44720         (LC_ALL): Use macro-int-constant.
44721         (LC_COLLATE): Likewise.
44722         (LC_CTYPE): Likewise.
44723         (LC_MESSAGES): Likewise.
44724         (LC_MONETARY): Likewise.
44725         (LC_NUMERIC): Likewise.
44726         (LC_TIME): Likewise.
44727         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44728         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44729         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44730         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44731         Specify type.
44732         [C99-based standards] (float_t): Expect type.
44733         [C99-based standards] (double_t): Expect type.
44734         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44735         type.
44736         [C99-based standards] (HUGE_VALL): Likewise.
44737         [C99-based standards] (INFINITY): Likewise.
44738         [C99-based standards] (NAN): Likewise.
44739         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44740         [C99-based standards] (FP_NAN): Likewise.
44741         [C99-based standards] (FP_NORMAL): Likewise.
44742         [C99-based standards] (FP_SUBNORMAL): Likewise.
44743         [C99-based standards] (FP_ZERO): Likewise.
44744         [C99-based standards] (FP_FAST_FMA): Use
44745         optional-macro-int-constant.  Specify type.  Require == 1.
44746         [C99-based standards] (FP_FAST_FMAF): Likewise.
44747         [C99-based standards] (FP_FAST_FMAL): Likewise.
44748         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44749         [C99-based standards] (FP_ILOGBNAN): Likewise.
44750         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44751         Specify type.
44752         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44753         [C99-based standards] (math_errhandling): Specify type.
44754         [ISO99 || ISO11] (signgam): Do not allow.
44755         [non-C99-based standards] (copysignf): Do not allow.
44756         [non-C99-based standards] (exp2f): Likewise.
44757         [non-C99-based standards] (log2f): Likewise.
44758         [non-C99-based standards] (modff): Allow.
44759         [non-C99-based standards] (erff): Do not allow.
44760         [non-C99-based standards] (erfcf): Likewise.
44761         [non-C99-based standards] (gammaf): Likewise.
44762         [non-C99-based standards] (hypotf): Likewise.
44763         [non-C99-based standards] (j0f): Likewise.
44764         [non-C99-based standards] (j1f): Likewise.
44765         [non-C99-based standards] (jnf): Likewise.
44766         [non-C99-based standards] (lgammaf): Likewise.
44767         [non-C99-based standards] (tgammaf): Likewise.
44768         [non-C99-based standards] (y0f): Likewise.
44769         [non-C99-based standards] (y1f): Likewise.
44770         [non-C99-based standards] (ynf): Likewise.
44771         [non-C99-based standards] (isnanf): Likewise.
44772         [non-C99-based standards] (acoshf): Likewise.
44773         [non-C99-based standards] (asinhf): Likewise.
44774         [non-C99-based standards] (atanhf): Likewise.
44775         [non-C99-based standards] (cbrtf): Likewise.
44776         [non-C99-based standards] (expm1f): Likewise.
44777         [non-C99-based standards] (ilogbf): Likewise.
44778         [non-C99-based standards] (log1pf): Likewise.
44779         [non-C99-based standards] (logbf): Likewise.
44780         [non-C99-based standards] (nextafterf): Likewise.
44781         [non-C99-based standards] (remainderf): Likewise.
44782         [non-C99-based standards] (rintf): Likewise.
44783         [non-C99-based standards] (scalbf): Likewise.
44784         [non-C99-based standards] (copysignl): Likewise.
44785         [non-C99-based standards] (exp2l): Likewise.
44786         [non-C99-based standards] (log2l): Likewise.
44787         [non-C99-based standards] (modfl): Allow.
44788         [non-C99-based standards] (erfl): Do not allow.
44789         [non-C99-based standards] (erfcl): Likewise.
44790         [non-C99-based standards] (gammal): Likewise.
44791         [non-C99-based standards] (hypotl): Likewise.
44792         [non-C99-based standards] (j0l): Likewise.
44793         [non-C99-based standards] (j1l): Likewise.
44794         [non-C99-based standards] (jnl): Likewise.
44795         [non-C99-based standards] (lgammal): Likewise.
44796         [non-C99-based standards] (tgammal): Likewise.
44797         [non-C99-based standards] (y0l): Likewise.
44798         [non-C99-based standards] (y1l): Likewise.
44799         [non-C99-based standards] (ynl): Likewise.
44800         [non-C99-based standards] (isnanl): Likewise.
44801         [non-C99-based standards] (acoshl): Likewise.
44802         [non-C99-based standards] (asinhl): Likewise.
44803         [non-C99-based standards] (atanhl): Likewise.
44804         [non-C99-based standards] (cbrtl): Likewise.
44805         [non-C99-based standards] (expm1l): Likewise.
44806         [non-C99-based standards] (ilogbl): Likewise.
44807         [non-C99-based standards] (log1pl): Likewise.
44808         [non-C99-based standards] (logbl): Likewise.
44809         [non-C99-based standards] (nextafterl): Likewise.
44810         [non-C99-based standards] (remainderl): Likewise.
44811         [non-C99-based standards] (rintl): Likewise.
44812         [non-C99-based standards] (scalbl): Likewise.
44813         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44814         [non-C99-based standards] (FP_*): Do not allow.
44815         [C99-based standards] (FP_*): Change to
44816         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44817         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44818         allow.
44819         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44820         (SIG_ERR): Likewise.
44821         [X/Open-based standards] (SIG_HOLD): Likewise.
44822         (SIG_IGN): Likewise.
44823         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44824         positive value.
44825         (SIGFPE): Likewise.
44826         (SIGILL): Likewise.
44827         (SIGINT): Likewise.
44828         (SIGSEGV): Likewise.
44829         (SIGTER): Likewise.
44830         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44831         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44832         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44833         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44834         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44835         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44836         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44837         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44838         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44839         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44840         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44841         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44842         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44843         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44844         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44845         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44846         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44847         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44848         [X/Open-based standards] (SIGTRAP): Likewise.
44849         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44850         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44851         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44852         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44853         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44854         allow.
44856 2012-05-08  Ian Wienand  <ianw@vmware.com>
44858         [BZ #14080]
44859         * time/tzset.c (__tzset_parse_tz): Update default rules for
44860         daylight time changes in the Energy Policy Act of 2005.
44862 2012-05-09  Andreas Jaeger  <aj@suse.de>
44864         [BZ #13983]
44865         * elf/ldconfig.c (parse_conf): Change string to make clear that
44866         ldconfig only issued a warning if ld.so.conf does not exist.
44868 2012-05-08  David S. Miller  <davem@davemloft.net>
44870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44871         movxtod instead of popping the value on the stack.
44873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44875 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44877         * config.h.in: Add HAVE_ARM_PCS_VFP.
44879 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44881         [BZ #13979]
44882         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44883         checking but the checks are disabled for any reason.
44885 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44887         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44888         and ELF64_R_TYPE with ELFW(R_TYPE).
44890 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44892         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44893         (ulimit): Likewise.
44895         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44896         (settimeofday): Likewise.
44898 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44900         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44901         a struct th_u2 inside the union, and move tu_block/tu_code into
44902         a new th_u3 union of tu_block/tu_code inside of that.  Move
44903         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44904         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44905         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44906         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44907         (th_stuff): Change to th_u1.tu_stuff.
44908         (th_data): Define.
44909         (th_msg): Change to th_u1.th_u2.tu_data.
44911 2012-05-07  David S. Miller  <davem@davemloft.net>
44913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44915         [BZ #14074]
44916         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44917         (SETUP_PIC_REG): Use it.
44918         (SETUP_PIC_REG_LEAF): Use it.
44920 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44922         [BZ #13885]
44923         [BZ #13923]
44924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44925         USE_AS_EXPM1L.
44926         (EXPL_FINITE): Likewise.
44927         (FLDLOG): Likewise.
44928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44929         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44930         e_expl.S.
44931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44932         USE_AS_EXPM1L.
44933         (EXPL_FINITE): Likewise.
44934         (FLDLOG): Likewise.
44935         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44936         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44937         e_expl.S.
44938         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44939         test of -max_value argument for long double.
44940         * sysdeps/i386/fpu/libm-test-ulps: Update.
44941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943 2012-05-06  David S. Miller  <davem@davemloft.net>
44945         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44946         quad soft-float symbols whose references which are compiler
44947         generated.
44948         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44950 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44952         [BZ #13884]
44953         [BZ #13914]
44954         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44955         USE_AS_EXP10L.
44956         (EXPL_FINITE): Likewise.
44957         (FLDLOG): Likewise.
44958         (c0): Likewise.
44959         (c1): Likewise.
44960         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44961         Adjust comments for base varying.
44962         (__expl_finite): Change alias to EXPL_FINITE.
44963         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44964         e_expl.S.
44965         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44966         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44967         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44968         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44970         USE_AS_EXP10L.
44971         (EXPL_FINITE): Likewise.
44972         (FLDLOG): Likewise.
44973         (c0): Likewise.
44974         (c1): Likewise.
44975         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44976         Adjust comments for base varying.
44977         (__expl_finite): Change alias to EXPL_FINITE.
44978         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44979         tests for bugs.
44980         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44982         [BZ #14064]
44983         * math/libm-test.inc (check_float_internal): Correct ulp
44984         calculation for subnormal expected results.
44986 2012-05-06  Andreas Jaeger  <aj@suse.de>
44988         * Makeconfig (+math-flags): New, set to -frounding-math.
44989         (+cflags): Add +math-flags so that all of glibc gets compiled with
44990         it.
44992         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44994 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44996         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44997         Disable one test.
44999         [BZ #13787]
45000         [BZ #13922]
45001         [BZ #14036]
45002         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45003         (__ieee754_expl): Allow for and saturate large arguments.
45004         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45005         (u_threshold): Likewise.
45006         (__exp): Call __ieee754_exp before checking for overflow and
45007         underflow.
45008         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45009         (u_threshold): Likewise.
45010         (__expf): Call __ieee754_expf before checking for overflow and
45011         underflow.
45012         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45013         (u_threshold): Likewise.
45014         (__expl): Call __ieee754_expl before checking for overflow and
45015         underflow.
45016         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45017         (__ieee754_expl): Allow for and saturate large arguments.
45018         * math/libm-test.inc (exp_test): Add another test.  Do not allow
45019         missing overflow exception on overflow.
45020         (expm1_test): Do not allow missing overflow exception on overflow.
45022         * sysdeps/i386/fpu/e_expl.c: Move to ...
45023         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
45024         rather than using inline asm.
45025         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45026         * sysdeps/x86_64/fpu/e_expl.S: Copy from
45027         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45029         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45030         (nice): Likewise.
45031         (poll): Likewise.
45032         (signal): Likewise.
45033         (time): Likewise.
45034         (times): Likewise.
45036 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45038         * sysdeps/unix/syscalls.list (adjtime): Add entry from
45039         sysdeps/unix/common/syscalls.list.
45040         (fchmod): Likewise.
45041         (fchown): Likewise.
45042         (ftruncate): Likewise.
45043         (getrusage): Likewise.
45044         (gettimeofday): Likewise.
45045         (setpgid): Likewise.
45046         (setregid): Likewise.
45047         (setreuid): Likewise.
45048         (sigaction): Likewise.
45049         (truncate): Likewise.
45050         (vhangup): Likewise.
45051         * sysdeps/unix/common/syscalls.list: Remove file.
45052         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45053         * sysdeps/unix/sysv/linux/Implies: Likewise.
45055 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45057         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45058         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45059         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45060         Moved to ...
45061         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45062         Here.
45063         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45064         to ...
45065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45066         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45067         to ...
45068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45069         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45070         to ...
45071         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45072         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45073         to ...
45074         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45075         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45076         to ...
45077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45078         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45079         to ...
45080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45081         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45082         to ...
45083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45084         Here.
45085         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45086         to ...
45087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45088         Here.
45089         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45090         to ...
45091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45092         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45093         Moved to ...
45094         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45095         Here.
45096         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45097         to ...
45098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45100 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45102         * sysdeps/unix/common/bits/dirent.h: Remove file.
45103         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45105         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45106         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45107         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45108         * sysdeps/unix/bsd/isatty.c: Likewise.
45109         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45110         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45111         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45113 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45115         [BZ #13563]
45116         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45117         long double comparison inaccuracies.
45118         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45119         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45121 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45123         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45124         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45126 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45128         [BZ #14049]
45129         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45130         nonzero digits before rounding a hex value.
45131         * stdlib/tst-strtod.c (tests): Add another test.
45133 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45135         * sysdeps/s390/fpu/libm-test-ulps: Update.
45137 2012-05-03  Andreas Jaeger  <aj@suse.de>
45139         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45140         does not get optimized out.
45141         (malloc_opt_barrier): New.
45143 2012-05-03  Andreas Jaeger  <aj@suse.de>
45144             Roland McGrath  <roland@hack.frob.com>
45146         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45147         intermediate file deletion.
45148         (generated): Add .symlist files.
45150 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45152         [BZ #13775]
45153         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45154         Redirect under this condition.
45155         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45156         [__USE_GNU] (__dprintf_chk): Not under this condition.
45157         [__USE_GNU] (__vdprintf_chk): Likewise.
45158         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45159         under this condition.
45160         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45161         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45162         [__USE_XOPEN2K8] (vdprintf): Likewise.
45163         [__USE_GNU] (__dprintf_chk): Not under this condition.
45164         [__USE_GNU] (__vdprintf_chk): Likewise.
45165         [__USE_GNU] (dprintf): Likewise.
45166         [__USE_GNU] (vdprintf): Likewise.
45168 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45170         * elf/Makefile (common-generated): Set this instead of generated for
45171         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45172         $(all-built-dso)-derived lists.
45174 2012-05-03  Andreas Jaeger  <aj@suse.de>
45176         * sysdeps/i386/fpu/libm-test-ulps: Update.
45178         * FAQ: Removed.
45179         * FAQ.in: Likewise.
45180         * scripts/gen-FAQ.pl: Likewise.
45181         * manual/install.texi (Installation): Point to online location of
45182         FAQ.
45183         * Makefile (files-for-dist): Remove FAQ.
45184         (FAQ): Remove.
45186 2012-05-02  Allan McRae  <allan@archlinux.org>
45188         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45189         (LDFLAGS-reldepmod5.so): Likewise.
45190         (LDFLAGS-reldep6mod1.so): Likewise.
45191         (LDFLAGS-reldep6mod4.so): Likewise.
45192         (LDFLAGS-reldep8mod3.so): Likewise.
45193         (LDFLAGS-unload4mod1.so): Likewise.
45194         (LDFLAGS-unload4mod2.so): Likewise.
45195         (LDFLAGS-tst-initorder): Likewise.
45196         (LDFLAGS-tst-initordera2.so): Likewise.
45197         (LDFLAGS-tst-initordera3.so): Likewise.
45198         (LDFLAGS-tst-initordera4.so): Likewise.
45199         (LDFLAGS-tst-initorderb2.so): Likewise.
45200         (LDFLAGS-noload): Likewise.
45201         (LDFLAGS-next): Likewise.
45202         (LDFLAGS-order2mod1.so): Likewise.
45203         (LDFLAGS-order2mod2.so): Likewise.
45204         (LDFLAGS-tst-initorder2): Likewise.
45205         (LDFLAGS-tst-initorder2a.so): Likewise.
45206         (LDFLAGS-tst-initorder2b.so): Likewise.
45207         (LDFLAGS-tst-initorder2c.so): Likewise.
45208         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45210 2012-05-02  David S. Miller  <davem@davemloft.net>
45212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45214 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45216         [BZ #14055]
45217         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45219 2012-05-02  Andreas Jaeger  <aj@suse.de>
45221         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45222         since we manipulate rounding mode.
45223         (CPPFLAGS-test-idouble.c): Likewise.
45224         (CPPFLAGS-test-ifloat.c): Likewise.
45225         (CFLAGS-test-ldouble.c): Likewise.
45226         (CFLAGS-test-double.c): Likewise.
45227         (CFLAGS-test-float.c): Likewise.
45228         (CFLAGS-test-misc.c): Likewise.
45229         (CFLAGS-test-test-fenv.c): Likewise.
45231 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45233         [BZ #2550]
45234         [BZ #2570]
45235         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45236         comparisons to determine direction to adjust input.
45238 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45240         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45241         output to the target.
45243         * scripts/localplt.awk: New file.
45244         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45245         (check-localplt-CFLAGS): Variable removed.
45246         ($(all-built-dso:=.jmprel)): New static pattern rule.
45247         (generated): Add those targets.
45248         (localplt-built-dso): New variable.
45249         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45251         * elf/check-localplt.c: File removed.
45253         * scripts/check-execstack.awk: New file.
45254         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45255         (check-execstack-CFLAGS): Variable removed.
45256         ($(objpfx)check-execstack.h): Target removed.
45257         ($(objpfx)execstack-default): New target.
45258         (generated): Add that instead of check-execstack.h.
45259         ($(all-built-dso:=.phdr)): New static pattern rule.
45260         (generated): Add those targets.
45261         * elf/check-execstack.c: File removed.
45263         * scripts/check-textrel.awk: New file.
45264         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45265         (check-textrel-CFLAGS): Variable removed.
45266         (all-built-dso): Use := to define.o
45267         ($(all-built-dso:=.dyn)): New static pattern rule.
45268         (generated): Add those targets.
45269         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45270         * config.make.in (READELF): New substituted variable.
45271         * elf/check-textrel.c: File removed.
45273 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45275         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45276         allow.
45277         * conform/data/ctype.h-data [C99-based standards] (isblank):
45278         Expect function.
45279         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45280         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45282         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45283         Specify type.  Require positive value.
45284         (EILSEQ): Likewise.
45285         (ERANGE): Likewise.
45286         [ISO || POSIX] (EILSEQ): Do not expect.
45287         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45288         Specify type.  Require positive value.
45289         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45290         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45291         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45292         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45293         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45294         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45295         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45296         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45297         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45298         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45299         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45300         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45301         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45302         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45303         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45304         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45305         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45306         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45307         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45308         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45309         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45310         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45311         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45312         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45313         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45314         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45315         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45316         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45317         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45318         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45319         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45320         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45321         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45322         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45323         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45324         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45325         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45326         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45327         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45328         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45329         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45330         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45331         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45332         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45333         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45334         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45335         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45336         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45337         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45338         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45339         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45340         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45341         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45342         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45343         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45344         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45345         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45346         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45347         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45348         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45349         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45350         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45351         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45352         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45353         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45354         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45355         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45356         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45357         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45358         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45359         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45360         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45361         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45362         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45363         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45364         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45365         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45366         Require >= 2.
45367         (FLT_ROUNDS): Expect as macro, not constant.
45368         (FLT_MANT_DIG): Use macro-int-constant.
45369         (DBL_MANT_DIG): Likewise.
45370         (LDBL_MANT_DIG): Likewise.
45371         (FLT_DIG): Likewise.
45372         (DBL_DIG): Likewise.
45373         (LDBL_DIG): Likewise.
45374         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45375         (DBL_MIN_EXP): Likewise.
45376         (LDBL_MIN_EXP): Likewise.
45377         (FLT_MAX_EXP): Use macro-int-constant.
45378         (DBL_MAX_EXP): Likewise.
45379         (LDBL_MAX_EXP): Likewise.
45380         (FLT_MAX_10_EXP): Likewise.
45381         (DBL_MAX_10_EXP): Likewise.
45382         (LDBL_MAX_10_EXP): Likewise.
45383         (FLT_MAX): Use macro-constant.
45384         (DBL_MAX): Likewise.
45385         (LDBL_MAX): Likewise.
45386         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45387         (DBL_EPSILON): Likewise.
45388         (LDBL_EPSILON): Likewise.
45389         (FLT_MIN): Likewise.
45390         (DBL_MIN): Likewise.
45391         (LDBL_MIN): Likewise.
45392         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45393         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45394         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45395         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45396         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45397         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45398         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45399         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45400         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45401         [ISO11] (FLT_TRUE_MIN): Likewise.
45402         [ISO11] (LDBL_TRUE_MIN): Likewise.
45403         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45404         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45405         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45406         (SCHAR_MAX): Likewise.
45407         (UCHAR_MAX): Likewise.
45408         (CHAR_MIN): Likewise.
45409         (CHAR_MAX): Likewise.
45410         (MB_LEN_MAX): Use macro-int-constant.
45411         (SHRT_MIN): Use macro-int-constant.  Specify type.
45412         (SHRT_MAX): Likewise.
45413         (USHRT_MAX): Likewise.
45414         (INT_MAX): Likewise.
45415         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45416         bound negative.
45417         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45418         bound with "U".
45419         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45420         bound with "L".
45421         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45422         bound negative.  Suffix upper bound with "L".
45423         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45424         bound with "UL".
45425         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45426         Specify type.
45427         [C99-based standards] (LLONG_MAX): Likewise.
45428         [C99-based standards] (ULLONG_MAX): Likewise.
45429         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45430         == 0.
45431         [ISO11] (max_align_t): Require type.
45432         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45434         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45435         from $CFLAGS, without defining away __attribute__ calls.
45436         (checknamespace): Use $CFLAGS_namespace.
45438         * conform/conformtest.pl (@keywords): Only include C99 keywords
45439         for standards based on C99 or C11.
45441         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45442         Disable tests.
45443         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45444         UNIX98]: Likewise.
45446         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45447         usability of symbols in #if.
45449         * conform/conformtest.pl: If macro or constant types start
45450         "promoted:", expect the symbol to be of the following type
45451         promoted by the integer promotions.
45453         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45454         in one place.  Also handle "macro-constant".
45456         * conform/conformtest.pl: Only accept expected macro values with
45457         "==".  Parse all "macro" lines in one place.
45458         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45460         * conform/conformtest.pl: Handle braced types on "constant" lines
45461         instead of handling "typed-constant".
45462         * conform/data/signal.h-data: Use "constant" instead of
45463         "typed-constant".
45465         * conform/conformtest.pl: Handle "optional-" at start of lines in
45466         one place rather than duplicating several cases.  Handle each
45467         format of "macro" line with initial "optional-".
45469         * conform/conformtest.pl: Only accept expected constant or
45470         optional-constant values with "==".  Parse all "constant" lines in
45471         one place.  Parse all "optional-constant" lines in one place.
45472         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45473         * conform/data/fmtmsg.h-data: Likewise.
45474         * conform/data/netinet/in.h-data: Likewise.
45475         * conform/data/tar.h-data: Likewise.
45476         * conform/data/limits.h-data: Use "==" form on "constant" and
45477         "optional-constant" lines.
45479         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45480         Use -std=c99 for XOPEN2K.
45481         (@knownproblems): Remove.
45482         (newtoken): Don't check %isknown.
45484         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45485         Do not expect macro.
45486         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45494         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45495         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45498         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45499         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45507         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45508         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45516         [XPG3] (acosh): Likewise.
45517         [XPG3] (asinh): Likewise.
45518         [XPG3] (atanh): Likewise.
45519         [XPG3] (cbrt): Likewise.
45520         [XPG3] (expm1): Likewise.
45521         [XPG3] (ilogb): Likewise.
45522         [XPG3] (log1p): Likewise.
45523         [XPG3] (logb): Likewise.
45524         [XPG3] (nextafter): Likewise.
45525         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45526         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45527         [XPG3] (remainder): Likewise.
45528         [XPG3] (rint): Likewise.
45529         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45530         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45531         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45532         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45533         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45536         [UNIX98 || XOPEN2K] (scalb): Expect.
45537         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45538         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45545         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45546         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45547         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45575         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45576         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45577         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45578         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45579         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45580         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45581         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45582         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45583         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45584         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45585         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45586         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45587         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45588         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45589         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45590         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45591         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45592         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45593         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45594         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45595         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45596         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45597         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45598         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45599         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45600         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45601         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45602         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45603         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45604         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45605         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45606         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45607         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45608         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45609         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45610         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45611         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45612         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45613         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45614         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45615         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45616         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45617         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45618         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45619         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45620         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45621         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45622         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45623         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45624         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45625         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45626         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45627         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45628         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45629         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45630         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45631         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45632         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45633         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45634         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45635         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45636         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45637         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45638         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45639         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45640         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45641         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45642         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45643         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45644         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45645         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45646         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45647         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45648         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45649         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45650         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45651         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45652         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45653         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45654         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45655         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45656         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45657         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45658         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45659         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45660         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45661         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45662         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45663         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45664         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45665         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45666         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45667         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45668         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45669         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45670         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45671         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45672         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45673         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45675         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45676         _XOPEN_SOURCE_EXTENDED for XPG4.
45678         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45680         * Makeconfig (localtime): Remove variable.
45681         (inst_localtime-file): Likewise.
45683 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45686         Update.
45687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45688         Update.
45689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45690         Update.
45691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45692         Update.
45693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45694         Update.
45695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45696         Update.
45697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45698         Update.
45699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45700         Update.
45701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45702         Update.
45704 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45706         [BZ #2550]
45707         [BZ #2570]
45708         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45709         comparisons to determine direction to adjust input.
45710         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45711         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45712         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45713         Likewise.
45714         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45715         Likewise.
45716         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45717         Likewise.
45718         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45719         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45720         Likewise.
45721         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45722         Likewise.
45723         * math/libm-test.inc (nexttoward_test): Add more tests.
45725 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45727         [BZ #14040]
45728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45729         in version GLIBC_2.1, not GLIBC_2.0.
45730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45731         Likewise.
45733 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45735         [BZ #13942]
45736         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45737         (1 - x) * (1 + x).
45738         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45739         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45740         * math/libm-test.inc (acos_test): Add more tests.
45741         (asin_test): Likewise.
45742         * sysdeps/i386/fpu/libm-test-ulps: Update.
45743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45745         [BZ #14034]
45746         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45747         of square root.
45748         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45749         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45750         * math/libm-test.inc (acos_test_tonearest): New function.
45751         (acos_test_towardzero): Likewise.
45752         (acos_test_downward): Likewise.
45753         (acos_test_upward): Likewise.
45754         (asin_test_tonearest): Likewise.
45755         (asin_test_towardzero): Likewise.
45756         (asin_test_downward): Likewise.
45757         (asin_test_upward): Likewise.
45758         (main): Call the new functions.
45759         * sysdeps/i386/fpu/libm-test-ulps: Update.
45760         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45762         [BZ #13884]
45763         [BZ #13924]
45764         * math/e_exp10.c: Include <float.h>.
45765         (__ieee754_exp10): Handle underflow here rather than multiplying
45766         large negative argument by M_LN10.
45767         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45768         of __ieee754_expf.
45769         * math/e_exp10l.c: Include <float.h>.
45770         (__ieee754_exp10l): Handle underflow here rather than multiplying
45771         large negative argument by M_LN10l.
45772         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45773         spurious overflow exception on underflow.
45775 2012-04-29  Marek Polacek  <polacek@redhat.com>
45777         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45778         (__fortify_function): New macro.
45779         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45780         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45781         __extern_always_inline.
45782         * libio/bits/stdio2.h: Likewise.
45783         * libio/bits/stdio.h: Likewise.
45784         * string/string.h: Likewise.
45785         * string/bits/string3.h: Likewise.
45786         * include/stdio.h: Likewise.
45787         * stdlib/bits/stdlib.h: Likewise.
45788         * stdlib/stdlib.h: Likewise.
45789         * rt/bits/mqueue2.h: Likewise.
45790         * rt/mqueue.h: Likewise.
45791         * posix/bits/unistd.h: Likewise.
45792         * posix/unistd.h: Likewise.
45793         * io/bits/poll2.h: Likewise.
45794         * io/bits/fcntl2.h: Likewise.
45795         * io/fcntl.h: Likewise.
45796         * io/sys/poll.h: Likewise.
45797         * misc/bits/syslog.h: Likewise.
45798         * misc/bits/syslog-ldbl.h: Likewise.
45799         * misc/sys/syslog.h: Likewise.
45800         * socket/bits/socket2.h: Likewise.
45801         * socket/sys/socket.h: Likewise.
45802         * debug/tst-chk1.c: Likewise.
45803         * wcsmbs/bits/wchar2.h: Likewise.
45804         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45805         * wcsmbs/wchar.h: Likewise.
45807 2012-04-29  Andreas Jaeger  <aj@suse.de>
45809         * Makerules (tests): Remove enable-check-abi protection.
45810         (check-abi-warn): Remove.
45811         (check-abi-%): Remove check-abi-warn usage.
45813         * configure.in: Remove check-abi configure option.
45814         * configure: Regenerated.
45815         * config.make.in (enable-check-abi): Remove.
45817 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45819         [BZ #14033]
45820         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45821         double functions to double *_finite functions.
45823         [BZ #13941]
45824         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45825         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45826         LDBL_MIN_EXP.
45827         * stdio-common/Makefile (tests): Add tst-sprintf3.
45828         * stdio-common/tst-sprintf3.c: New file.
45830         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45831         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45833 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45835         * conform/conformtest.pl: Remove duplicate typed-constant
45836         handling.
45838 2012-04-28  David S. Miller  <davem@davemloft.net>
45840         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45841         (check-abi-%): Remove AWK script prerequisite and explicit
45842         abilist directory.
45843         (check-abi): Rewrite to just diff the symlist with the abilist.
45844         (config-tls, config-abi-config): Delete, no longer used.
45845         (update-abi-%): Remove AWK script and explicit abilist directory.
45846         (update-abi): Rewrite to simply compare and conditionally copy the
45847         symlist and the sysdep abilist file.  Remove update-abi-config
45848         checks.
45849         * abilist/ld.abilist: Remove.
45850         * abilist/libBrokenLocale.abilist: Remove.
45851         * abilist/libanl.abilist: Remove.
45852         * abilist/libcrypt.abilist: Remove.
45853         * abilist/libdl.abilist: Remove.
45854         * abilist/librt.abilist: Remove.
45855         * abilist/libthread_db.abilist: Remove.
45856         * abilist/libutil.abilist: Remove.
45857         * scripts/extract-abilist.awk: Remove.
45858         * scripts/merge-abilist.awk: Remove.
45859         * sysdeps/generic/libcidn.abilist: New file.
45860         * sysdeps/generic/libnss_compat.abilist: New file.
45861         * sysdeps/generic/libnss_db.abilist: New file.
45862         * sysdeps/generic/libnss_dns.abilist: New file.
45863         * sysdeps/generic/libnss_files.abilist: New file.
45864         * sysdeps/generic/libnss_hesiod.abilist: New file.
45865         * sysdeps/generic/libnss_nis.abilist: New file.
45866         * sysdeps/generic/libnss_nisplus.abilist: New file.
45867         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45868         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45869         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45870         file.
45871         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45872         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45873         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45874         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45875         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45876         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45877         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45878         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45879         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45880         file.
45881         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45882         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45883         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45884         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45885         file.
45886         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45887         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45888         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45889         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45890         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45891         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45892         file.
45893         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45894         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45895         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45896         file.
45897         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45898         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45899         New file.
45900         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45901         New file.
45902         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45903         New file.
45904         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45905         New file.
45906         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45907         New file.
45908         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45909         New file.
45910         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45911         New file.
45912         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45913         New file.
45914         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45915         New file.
45916         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45917         New file.
45918         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45919         New file.
45920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45921         New file.
45922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45923         New file.
45924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45925         file.
45926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45927         New file.
45928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45929         New file.
45930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45931         file.
45932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45933         New file.
45934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45935         New file.
45936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45937         file.
45938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45939         New file.
45940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45941         New file.
45942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45943         New file.
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45945         New file.
45946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45947         New file.
45948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45949         New file.
45950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45952         file.
45953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45954         New file.
45955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45956         file.
45957         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45958         file.
45959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45960         file.
45961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45962         file.
45963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45964         file.
45965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45966         New file.
45967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45968         file.
45969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45970         file.
45971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45972         New file.
45973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45974         file.
45975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45977         file.
45978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45979         New file.
45980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45981         file.
45982         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45983         file.
45984         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45985         file.
45986         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45987         file.
45988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45989         file.
45990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45991         New file.
45992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45993         file.
45994         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45995         file.
45996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45997         New file.
45998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45999         file.
46000         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46001         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46002         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46003         file.
46004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46005         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46006         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46007         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46008         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46009         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46010         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46011         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46012         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46013         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46015         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46016         file.
46017         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46018         New file.
46019         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46020         file.
46021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46022         file.
46023         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46024         file.
46025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46026         file.
46027         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46028         file.
46029         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46030         New file.
46031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46032         New file.
46033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46034         file.
46035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46036         New file.
46037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46038         file.
46039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46040         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46041         file.
46042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46043         New file.
46044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46045         file.
46046         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46047         file.
46048         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46049         file.
46050         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46051         file.
46052         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46053         file.
46054         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46055         New file.
46056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46057         New file.
46058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46059         file.
46060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46061         New file.
46062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46063         file.
46065 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46067         * conform/conformtest.pl: Fix typo in handling typed-constant from
46068         allow-header.
46070 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46072         * README: Cut down references to pre-2.6 Linux kernels and
46073         Linuxthreads.  Update lists of configurations in libc and ports
46074         and sort alphabetically.  Say "or newer" with Linux kernel version
46075         requirements.
46077         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46079 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46081         [BZ #887]
46082         * math/libm-test.inc (logb_test_downward): New test to expose
46083         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46084         rounding mode.
46086 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46088         [BZ #14027]
46089         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46090         to be done.
46091         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46092         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46094 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46096         * sysdeps/unix/i386/brk.S: Remove file.
46097         * sysdeps/unix/i386/dl-brk.S: Likewise.
46098         * sysdeps/unix/i386/pipe.S: Likewise.
46099         * sysdeps/unix/i386/sigreturn.S: Likewise.
46100         * sysdeps/unix/i386/syscall.S: Likewise.
46101         * sysdeps/unix/i386/vfork.S: Likewise.
46102         * sysdeps/unix/i386/wait.S: Likewise.
46104         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46105         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46107         * configure.in (arm*-none*): Do not allow without
46108         --enable-hacker-mode.
46109         (netbsd*): Remove case setting base_os.
46110         (386bsd*): Likewise.
46111         (freebsd*): Likewise.
46112         (bsdi*): Likewise.
46113         (osf*): Likewise.
46114         (sunos*): Likewise.
46115         (ultrix*): Likewise.
46116         (newsos*): Likewise.
46117         (dynix*): Likewise.
46118         (*bsd*): Likewise.
46119         (sysv*): Likewise.
46120         (isc*): Likewise.
46121         (esix*): Likewise.
46122         (sco*): Likewise.
46123         (minix*): Likewise.
46124         (irix4*): Likewise.
46125         (irix6*): Likewise.
46126         (solaris[2-9]*): Likewise.
46127         (none): Likewise.
46128         * configure: Regenerated.
46130 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46132         [BZ #11521]
46133         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46134         overflow or cancellation in calculating denominator.
46135         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46136         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46137         down expression to avoid unexpected rounding in newer GCCs.
46138         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46140 2012-04-26  David S. Miller  <davem@davemloft.net>
46142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46143         long-double compat symbols.
46144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46158 2012-04-25  David S. Miller  <davem@davemloft.net>
46160         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46161         HWCAP_* values only after the memory barriers have been defined.
46162         (atomic_full_barrier): Define.
46163         (atomic_read_barrier): Define.
46164         (atomic_write_barrier): Define.
46166 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46168         * shlib-versions: Add libgcc_s version information.
46169         * sysdeps/generic/libgcc_s.h: Remove.
46170         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46171         libgcc_s.h.
46172         * sysdeps/gnu/unwind-resume.c: Likewise.
46173         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46175 2012-04-25  David S. Miller  <davem@davemloft.net>
46177         * sysdeps/unix/sparc/brk.S: Delete.
46178         * sysdeps/unix/sparc/dl-brk.S: Delete.
46179         * sysdeps/unix/sparc/pipe.S: Delete.
46180         * sysdeps/unix/sparc/sysdep.S: Delete.
46181         * sysdeps/unix/sparc/sysdep.h: Delete.
46182         * sysdeps/unix/sparc/vfork.S: Delete.
46183         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46184         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46185         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46186         (ret_ERRVAL, r0, r1, MOVE): Define.
46187         (JUMPTARGET): Remove.
46188         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46189         sysdeps/unix/sparc/sysdep.h
46190         (ENTRY, END): Remove.
46191         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46193 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46195         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46196         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46197         -DIS_IN_build.
46199         * timezone/README: Update upstream location and email address for
46200         tzcode and tzdata.
46201         * timezone/zdump.c: Update from tzcode 2012b.
46202         * timezone/zic.c: Likewise.
46204         * configure.in (libc_cv_as_needed): Remove test.
46205         * configure: Regenerated.
46206         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46207         conditional definition.
46208         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46209         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46210         * config.make.in (have-as-needed): Remove variable.
46212 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46213             Paul Pluzhnikov  <ppluzhnikov@google.com>
46215         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46216         strings correctly.
46218 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46220         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46221         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46222         * sysdeps/sh/strlen.S: Likewise.
46224 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46226         * sysdeps/unix/fork.S: Remove file.
46227         * sysdeps/unix/i386/fork.S: Likewise.
46228         * sysdeps/unix/sparc/fork.S: Likewise.
46230         * sysdeps/unix/system.c: Remove file.
46231         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46233         * sysdeps/unix/getegid.S: Remove file.
46234         * sysdeps/unix/geteuid.S: Likewise.
46236 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46238         * scripts/check-localplt.awk: New file.
46239         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46240         of diff.
46241         * scripts/data/localplt-generic.data: Add a comment.
46243         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46244         NODE when __dir_mkfile failed.
46245         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46246         Reported by Ludovic Courtès <ludo@gnu.org>.
46248 2012-04-24  Andreas Jaeger  <aj@suse.de>
46250         * Makerules (common-clean): Also remove gen-as-const-headers
46251         files.
46253 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46255         * Makerules (native-compile): Do not change working directory for
46256         build.  Use $(OUTPUT_OPTION) in command.
46257         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46259 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46261         [BZ #13886]
46262         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46263         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46264         * math/libm-test.inc (floor_test): Add more tests.
46265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46267 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46269         * sysdeps/unix/getdents.c: Remove file.
46270         * sysdeps/unix/sysv/getdents.c: Likewise.
46271         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46273         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46274         sysdeps/unix/mman/syscalls.list.
46275         (mmap): Likewise.
46276         (mprotect): Likewise.
46277         (msync): Likewise.
46278         (munmap): Likewise.
46279         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46280         * sysdeps/unix/mman/syscalls.list: Remove.
46281         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46283         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46284         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46285         * configure: Regenerated.
46286         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46287         $(libgcc_s_suffix).
46288         * config.make.in (libgcc_s_suffix): Remove variable.
46290 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46292         * sysdeps/unix/sysv/gethostname.c: Move to ...
46293         * sysdeps/posix/gethostname.c: ... here.
46295         * sysdeps/unix/execve.S: Remove file.
46297         * sysdeps/unix/_exit.S: Remove file.
46299 2012-04-23  Andreas Jaeger  <aj@suse.de>
46301         [BZ #13739]
46302         * manual/Makefile: Remove make dist support, there's no
46303         need for a stand-alone documentation tar ball.
46304         (TEXI2DVI): Define always, it's not in Makeconfig.
46305         (dist): Removed.
46306         (tar-it): Removed.
46307         (edition): Removed.
46308         (glibc-doc-$(edition).tar): Removed
46309         (%.Z): Removed.
46310         (%.gz): Removed.
46311         (%.uu): Removed.
46312         (ETAGS): Remove, it's in Makeconfig.
46313         (move-if-change): Remove, it's in Makeconfig.
46315 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46317         [BZ #13970]
46318         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46319         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46320         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46321         (strtod_l, strtof_l, strtold_l): Remove __wur.
46322         It is not necessarily an error to ignore strtol's return value.
46323         One can reliably look at the stored endptr to decide whether
46324         the number had valid syntax.
46326 2012-04-21  Andreas Jaeger  <aj@suse.de>
46328         [BZ #13739]
46329         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46331 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46333         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46334         * sysdeps/unix/sysv/Versions: Remove file.
46336 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46338         [BZ #13927]
46339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46341 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46343         [BZ #7064]
46344         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46345         version from __vm86.
46347 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46349         * sysdeps/unix/common/lxstat.c: Remove file.
46350         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46352         * sysdeps/unix/sysv/Makefile: Remove file.
46354         * sysdeps/unix/sysv/direct.h: Remove file.
46356         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46357         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46358         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46359         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46360         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46361         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46362         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46364         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46366         * sysdeps/unix/xmknod.c: Remove file.
46367         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46369         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46371         * sysdeps/unix/sysv/i386/time.S: Remove file.
46373         * sysdeps/unix/fxstat.c: Remove file.
46374         * sysdeps/unix/xstat.c: Likewise.
46375         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46377         * sysdeps/unix/sysv/sigaction.c: Remove file.
46379         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46380         (sysdep_headers): Remove variable.
46381         [termio.h not in sysdep_headers] (generated): Likewise.
46382         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46383         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46384         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46385         * sysdeps/unix/sysv/tcflow.c: Likewise.
46386         * sysdeps/unix/sysv/tcflush.c: Likewise.
46387         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46388         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46389         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46390         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46391         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46393         * sysdeps/unix/siglist.c: Remove file.
46395         * sysdeps/unix/getppid.S: Remove file.
46397         * sysdeps/unix/mkdir.c: Remove file.
46398         * sysdeps/unix/rmdir.c: Likewise.
46400 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46402         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46403         ERR_MAX value.
46404         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46405         errlist-compat value.
46407 2012-04-18  David S. Miller  <davem@davemloft.net>
46409         * sysdeps/generic/memcopy.h (reg_char): Delete.
46410         * debug/strcat_chk.c: Use char, not reg_char.
46411         * debug/strcpy_chk.c: Likewise.
46412         * debug/strncat_chk.c: Likewise.
46413         * debug/strncpy_chk.c: Likewise.
46414         * string/memchr.c: Likewise.
46415         * string/memrchr.c: Likewise.
46416         * string/rawmemchr.c: Likewise.
46417         * string/strcat.c: Likewise.
46418         * string/strchr.c: Likewise.
46419         * string/strchrnul.c: Likewise.
46420         * string/strcmp.c: Likewise.
46421         * string/strcpy.c: Likewise.
46422         * string/strncat.c: Likewise.
46423         * string/strncmp.c: Likewise.
46424         * string/strncpy.c: Likewise.
46426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46428         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46429         __builtin_memcopy is called when src and dest ranges are known to not
46430         overlap.
46432 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46434         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46435         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46436         fwd_align_merge macro call.
46437         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46438         bwd_align_merge macro call.
46439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46441 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46443         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46444         bwd_align_merge macros.
46445         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46446         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46447         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46449 2012-04-18  David S. Miller  <davem@davemloft.net>
46451         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46453 2012-04-18  Andreas Jaeger  <aj@suse.de>
46455         [BZ# 6794]
46456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46457         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46458         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46460         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46461         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46462         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46464         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46465         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46466         Adjust for changed ldbl-128 files.
46468         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46469         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46470         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46472 2012-04-17  David S. Miller  <davem@davemloft.net>
46474         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46476 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46478         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46479         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46480         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46481         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46482         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46483         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46485 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46487         [BZ #6794]
46488         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46489         * math/libm-test.inc: Add ilogb errno and exception tests.
46490         * math/w_ilogb.c: New file: ilogb wrapper.
46491         * math/w_ilogbf.c: New file: ilogbf wrapper.
46492         * math/w_ilogbl.c: New file: ilogbl wrapper.
46493         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46494         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46495         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46496         exception being thrown with 0.0 as argument.
46497         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46498         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46499         exception being thrown with 0.0 as argument.
46500         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46501         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46502         exception being thrown with 0.0 as argument.
46503         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46504         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46505         exception being thrown with 0.0 as argument.
46506         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46507         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46508         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46509         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46510         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46511         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46512         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46513         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46514         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46516 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46518         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46519         with altivec.
46521 2012-04-16  Marek Polacek  <polacek@redhat.com>
46523         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46525 2012-04-16  Marek Polacek  <polacek@redhat.com>
46527         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46528         operands of fdivp instruction.
46530 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46532         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46533         * elf/tst-auditmod3b.c: Likewise.
46534         * elf/tst-auditmod4b.c: Likewise.
46535         * elf/tst-auditmod5b.c: Likewise.
46536         * elf/tst-auditmod6b.c: Likewise.
46537         * elf/tst-auditmod6c.c: Likewise.
46538         * elf/tst-auditmod7b.c: Likewise.
46539         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46540         * sysdeps/x86_64/preconfigure.in: Likewise.
46541         * sysdeps/x86_64/preconfigure: Regenerated.
46543 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46545         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46546         __ILP32__.
46548 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46551         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46553 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46555         [BZ #13973]
46556         * locale/iso-639.def: Fix gl language name. Spotted by
46557         Yaron Shahrabani.
46559 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46561         [BZ #2074]
46562         * libio/libio.h (__io_write_fn): Update comment.
46564 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46566         [BZ #2074]
46567         * stdio.texi (Hook Functions): The user provided writer function
46568         is not allowed to return -1.
46570 2012-04-11  David S. Miller  <davem@davemloft.net>
46572         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46574 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46576         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46577         Add a leading slash to rtkaio.
46579 2012-04-11  Jim Meyering  <meyering@redhat.com>
46581         [BZ #11959]
46582         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46583         It is not necessarily an error to ignore fwrite's return
46584         value.  One can reliably use ferror to test for errors after
46585         the fact.
46587 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46589         * bits/types.h (__snseconds_t): New type.
46590         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46592         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46593         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46594         (__SNSECONDS_T_TYPE): Likewise.
46595         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46596         (__SNSECONDS_T_TYPE): Likewise.
46597         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46598         (__SNSECONDS_T_TYPE): Likewise.
46600 2012-04-10  Andreas Jaeger  <aj@suse.de>
46602         [BZ #2636]
46603         * manual/time.texi (Processor Time): Return type of times is
46604         elapsed real time since an arbitrary point in the past.
46605         (CPU Time): Move CLK_TCK from here...
46606         (Processor Time): ...to here.  Correct description.
46607         * manual/conf.texi (Constants for Sysconf): Correct description of
46608         _SC_CLK_TCK.
46610 2012-04-10  David S. Miller  <davem@davemloft.net>
46612         [BZ #13967]
46613         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46614         where the is a gap between DT_REL(A) and DT_JMPREL.
46616 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46618         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46619         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46620         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46622 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46624         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46625         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46626         (dl_main): Handle --inhibit-cache.
46627         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46628         _dl_inhibit_cache.
46629         * elf/dl-load.c (_dl_map_object): Use it.
46630         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46632 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46634         [BZ #13872]
46635         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46636         (__ieee754_powl): Saturate large exponents rather than testing for
46637         overflow of y*log2(x).
46638         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46639         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46640         exceptions.
46642         [BZ #11521]
46643         * math/s_ctan.c: Include <float.h>.
46644         (__ctan): Avoid internal overflow or cancellation in calculating
46645         denominator.
46646         * math/s_ctanf.c: Likewise.
46647         * math/s_ctanl.c: Likewise.
46648         * math/s_ctanh.c: Likewise.
46649         * math/s_ctanhf.c: Likewise.
46650         * math/s_ctanhl.c: Likewise.
46651         * math/libm-test.inc (ctan_test): Add more tests.
46652         (ctanh_test): Likewise.
46653         * sysdeps/i386/fpu/libm-test-ulps: Update.
46654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46656 2012-04-09  Andreas Jaeger  <aj@suse.de>
46658         [BZ #6894]
46659         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46660         is an optional BSD extension.
46662         [BZ #10254]
46663         * manual/stdio.texi (Opening Streams): Document additional fopen
46664         parameters.
46666 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46668         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46669         %eax without telling the compiler.
46671 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46673         [BZ # 13963]
46674         * manual/install.texi: Use sourceware.org.
46676 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46678         [BZ #13873]
46679         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46680         (__ieee754_pow): Generate overflow and underflow using huge*huge
46681         and tiny*tiny rather than just returning constant infinity or zero
46682         for large exponents.
46683         * math/libm-test.inc (pow_test): Require overflow exceptions for
46684         applicable cases of large exponents.
46686         [BZ #706]
46687         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46688         (__ieee754_pow): Use iterative multiplication algorithm only for
46689         integer exponents with absolute value below 1024.  Check for odd
46690         integer exponents when using algorithm for real exponents.
46691         * math/libm-test.inc (pow_test): Add more tests.
46692         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46694 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46696         [BZ #13705]
46697         * math/libm-test.inc (exp_test): Do not allow overflow exception
46698         on underflow test.
46700 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46702         [BZ #13705]
46703         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46704         instead of __kernel_standard_f.
46706 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46708         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46709         * sysdeps/x86_64/memset_chk.S: Likewise.
46711 2012-04-08  Andreas Jaeger  <aj@suse.de>
46713         [BZ #10153]
46714         * manual/startup.texi (Environment Access): Describe return value
46715         for putenv and setenv.
46717         [BZ #6895]
46718         * manual/filesys.texi (Directory Entries): Add description for
46719         DT_LNK.
46721         [BZ #6890]
46722         * manual/filesys.texi (Directory Entries): Clarify that it's file
46723         system not operating system in the description of DT_UNKNOWN.
46725         [BZ #6578]
46726         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46728 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46730         [BZ #6649]
46731         * manual/llio.texi (Opening and Closing Files): Add cross
46732         reference to explain mode argument.
46734 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46736         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46737         * sysdeps/x86_64/memset_chk.S: Likewise.
46739 2012-04-07  David S. Miller  <davem@davemloft.net>
46741         * elf/elf.h (R_SPARC_WDISP10): Define.
46742         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46743         R_SPARC_SIZE32.
46744         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46745         R_SPARC_SIZE64 and R_SPARC_H34.
46747 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46749         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46750         conditions and remove no longer applicable assertion.
46752 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46754         * bits/byteswap.h: Include <features.h>.
46755         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46756         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46758 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46760         * bits/byteswap.h (__bswap_16): Removed.
46761         Include <bits/byteswap-16.h> to get __bswap_16.
46762         * sysdeps/i386/bits/byteswap.h: Likewise.
46763         * sysdeps/s390/bits/byteswap.h: Likewise.
46764         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46765         * bits/byteswap-16.h: New file.
46766         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46767         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46768         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46769         * string/Makefile (headers): Add bits/byteswap-16.h.
46771 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46773         [BZ #13895]
46774         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46775         extra indirection.
46776         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46777         * nss/tst-nss-static.c: New.
46779 2012-04-06  Robert Millan  <rmh@gnu.org>
46781         [BZ #6486]
46782         * manual/llio.texi (File Position Primitive): lseek
46783         refers to WHENCE when it really means OFFSET.
46785 2012-04-06  Andreas Jaeger  <aj@suse.de>
46787         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46788         strncmp declarations.
46790         * abilist/libc.abilist: Add __poll and __ppoll.
46792 2012-04-05  David S. Miller  <davem@davemloft.net>
46794         * scripts/check-local-headers.sh: Accept a host triplet in the
46795         path matched by the exclude regexp.
46797         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46798         definition.
46799         * sysdeps/powerpc/powerpc32/dl-machine.h
46800         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46801         * sysdeps/s390/s390-32/dl-machine.h
46802         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46803         * sysdeps/sparc/sparc32/dl-machine.h
46804         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46805         * sysdeps/sparc/sparc64/dl-machine.h
46806         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46808         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46809         lazy binding.
46810         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46811         undefined symbol errors.
46813         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46814         DT_NEEDED entries.
46816 2012-04-05  Michael Matz  <matz@suse.de>
46818         [BZ #13592]
46819         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46821 2012-04-05  Andreas Jaeger  <aj@suse.de>
46823         [BZ #13908]
46824         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46825         comment.
46827 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46829         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46830         which ROUND is no valid rounding mode.
46832 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46835         read again.
46836         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46838 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46840         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46841         an exception using FPU order intentionally.
46843 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46845         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46846         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46847         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46848         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46850 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46852         [BZ #12340]
46853         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46854         EINVAL when BUFLEN is too smal.
46856 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46858         [BZ #13553]
46859         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46860         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46862 2012-04-03  Andreas Jaeger  <aj@suse.de>
46864         [BZ #13938]
46865         * manual/setjmp.texi (System V contexts): Fix sentence.
46867         [BZ #13926]
46868         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46869         New macro for this case.
46870         [!__GNUC__] (__bswap_64): New inline function for this case.
46871         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46872         * bits/byteswap.h: Likewise.
46873         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46874         ull, guard with __GLIBC_HAVE_LONG_LONG.
46876         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46877         __GLIBC_HAVE_LONG_LONG.
46879         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46880         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46882 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46884         [BZ #13691]
46885         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46886         inptr and inend, rather than using last_ch.
46888 2012-04-02  David S. Miller  <davem@davemloft.net>
46890         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46891         * stdio-common/printf-parse.h (read_int): Change return type to
46892         'int', return -1 on INT_MAX overflow.
46893         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46894         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46895         overflows INT_MAX.  Check for overflow of in-format-string precision
46896         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46897         SIZE_MAX not INT_MAX for integer overflow test.
46898         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46899         skip the construct in the format string but do not record anything.
46900         * stdio-common/bug22.c: Adjust to test both width/prevision
46901         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46902         explicitly for proper errno values.
46904 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46906         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46907         CHAR_MAX.
46908         * string/test-strcmp.c [! WIDE]: Likewise.
46909         * time/tst-mktime2.c: Likewise for INT_MAX.
46910         * string/test-string.h: #include <sys/param.h> for MIN.
46912         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46913         * sysdeps/i386/init-first.c (init): Likewise.
46914         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46915         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46916         * sysdeps/sh/init-first.c (init): Likewise.
46918 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46920         * po/ru.po: Update from translation team.
46921         * po/vi.po: Likewise.
46923 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46925         * resolv/nss_dns/dns-host.c: Merge copyright years.
46927 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46929         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46930         Optimize memcpy with prefetch if
46931         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46932         src, dst pointers have unequal 16 byte alignments.
46934 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46936         [BZ #13928]
46937         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46938         from a CNAME entry and return the minimum ttl for the query.
46939         (gaih_getanswer_slice): Likewise.
46941 2012-03-30  Jeff Law  <law@redhat.com>
46943         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46944         due to long keys.
46945         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46946         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46948         * resolv/nss_dns/dns-host.c: Update copyright year.
46950 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46952         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46953         requests to save a system call.  Fix check that all bytes are sent.
46955         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46956         comments for sendmmsg.
46958 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46960         [BZ #13691]
46961         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46962         with only 1 character between 0x0041 and 0x01b0.
46963         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46964         * wcsmbs/tst-mbsnrtowcs.c: New file.
46966 2012-03-29  David S. Miller  <davem@davemloft.net>
46968         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46969         small copies by hand.
46971 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46973         [BZ #13761]
46974         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46975         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46976         group memberships.
46978 2012-03-28  David S. Miller  <davem@davemloft.net>
46980         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46981         that branches into memcpy.
46982         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46983         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46984         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46985         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46986         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46987         bits.
46988         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46989         implementation too.
46990         * sysdeps/sparc/mempcpy.S: New file.
46992         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46993         the IFUNC routine in the libc case.
46994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46996         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46997         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46998         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46999         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47000         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47001         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47002         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47003         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47005         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47006         loop to 256 bytes instead of 64 bytes and fix test signedness.
47008         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47009         * sysdeps/sparc/sparc32/Makefile: rather than here...
47010         * sysdeps/sparc/sparc64/Makefile: and here.
47012 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
47014         * malloc/mallocbug.c: Avoid warnings about unused variables.
47016 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47018         [BZ #13760]
47019         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47020         in the right place. Discard and retry query if response is
47021         larger than input buffer size.
47023 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
47025         [BZ #369]
47026         [BZ #2678]
47027         [BZ #3866]
47028         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47029         x for large integer exponent.
47030         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47031         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
47032         sign of result as needed afterwards.
47033         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47034         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47035         result for underflowing pow the same as for overflow.
47036         (__kernel_standard_l): Handle powl overflow and underflow here
47037         rather than calling __kernel_standard.
47038         * math/libm-test.inc (pow_test): Add more tests.
47040         [BZ #3868]
47041         [BZ #13879]
47042         [BZ #13910]
47043         [BZ #13911]
47044         [BZ #13912]
47045         [BZ #13913]
47046         [BZ #13915]
47047         [BZ #13916]
47048         [BZ #13917]
47049         [BZ #13918]
47050         [BZ #13919]
47051         [BZ #13920]
47052         [BZ #13921]
47053         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47054         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47055         (__kernel_standard_l): New function.
47056         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47057         __kernel_standard.
47058         * math/w_acosl.c (__acosl): Likewise.
47059         * math/w_asinl.c (__asinl): Likewise.
47060         * math/w_atan2l.c (__atan2l): Likewise.
47061         * math/w_atanhl.c (__atanhl): Likewise.
47062         * math/w_coshl.c (__coshl): Likewise.
47063         * math/w_exp10l.c (__exp10l): Likewise.
47064         * math/w_exp2l.c (__exp2l): Likewise.
47065         * math/w_fmodl.c (__fmodl): Likewise.
47066         * math/w_hypotl.c (__hypotl): Likewise.
47067         * math/w_j0l.c (__j0l, __y0l): Likewise.
47068         * math/w_j1l.c (__j1l, __y1l): Likewise.
47069         * math/w_jnl.c (__jnl, __ynl): Likewise.
47070         * math/w_lgammal.c (__lgammal): Likewise.
47071         * math/w_log10l.c (__log10l): Likewise.
47072         * math/w_log2l.c (__log2l): Likewise.
47073         * math/w_logl.c (__logl): Likewise.
47074         * math/w_powl.c (__powl): Likewise.
47075         * math/w_remainderl.c (__remainderl): Likewise.
47076         * math/w_scalbl.c (sysv_scalbl): Likewise.
47077         * math/w_sinhl.c (__sinhl): Likewise.
47078         * math/w_sqrtl.c (__sqrtl): Likewise.
47079         * math/w_tgammal.c (__tgammal): Likewise.
47080         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47081         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47082         * math/libm-test.inc (acos_test): Add more tests.
47083         (acosh_test): Likewise.
47084         (asin_test): Likewise.
47085         (atanh_test): Likewise.
47086         (exp_test): Likewise.
47087         (exp10_test): Likewise.
47088         (exp2_test): Likewise.
47089         (expm1_test): Likewise.
47090         (lgamma_test): Likewise.
47091         (log_test): Likewise.
47092         (log10_test): Likewise.
47093         (log1p_test): Likewise.
47094         (log2_test): Likewise.
47095         (pow_test): Do not allow some spurious overflow exceptions.
47096         (sqrt_test): Add more tests.
47097         (tgamma_test): Likewise.
47098         (y0_test): Likewise.
47099         (y1_test): Likewise.
47100         (yn_test): Likewise.
47102 2012-03-27  Anton Blanchard  <anton@samba.org>
47104         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47105         MAP_HUGETLB.
47106         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47107         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47108         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47110 2012-03-27  David S. Miller  <davem@davemloft.net>
47112         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47114         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47115         have-as-vis3 check.
47117 2012-03-27  Andreas Jaeger  <aj@suse.de>
47119         * sysdeps/x86_64/elf/configure.in: Moved to ...
47120         * sysdeps/x86_64/configure.in: ... here.
47121         * sysdeps/x86_64/elf/start.S: Moved to ...
47122         * sysdeps/x86_64/start.S: ... here.
47123         * sysdeps/x86_64/elf/configure: Delete.
47125         * sysdeps/x86_64/configure.in: Merge contents from
47126         sysdeps/i386/configure.in (without i686 check).
47128         * sysdeps/i386/elf/Versions: Merge into ...
47129         * sysdeps/i386/Versions: ... this.
47130         * sysdeps/i386/elf/Versions: Delete file.
47131         * sysdeps/i386/elf/start.S: Moved to ...
47132         * sysdeps/i386/start.S: ...here.
47133         * sysdeps/i386/elf/configure.in: Merge into...
47134         * sysdeps/i386/configure.in: ...here.
47135         * sysdeps/i386/elf/configure.in: Delete file.
47136         * sysdeps/i386/elf/configure: Delete file.
47138         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47139         * debug/backtracesyms.c: ... here.
47140         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47141         * debug/backtracesymsfd.c: ... here.
47142         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47143         * sysdeps/generic/ifunc-sel.h: ... here.
47145         * sysdeps/unix/i386/start.c: Delete file.
47146         * sysdeps/unix/sparc/start.c: Delete file.
47147         * sysdeps/unix/start.c: Delete file.
47149         * sysdeps/sh/elf/configure.in: Moved to ...
47150         * sysdeps/sh/configure.in: ... here.
47151         * sysdeps/sh/elf/start.S: Moved to ...
47152         * sysdeps/sh/start.S: ... here.
47153         * sysdeps/sh/elf/configure: Delete file.
47155         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47156         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47157         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47158         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47159         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47160         * sysdeps/powerpc/powerpc64/start.S: here.
47161         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47162         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47163         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47164         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47165         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47167         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47168         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47169         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47170         * sysdeps/powerpc/powerpc32/start.S: ... here.
47171         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47172         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47173         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47175         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47176         * sysdeps/powerpc/ifunc-sel.h: ... here.
47177         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47178         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47180         * sysdeps/sparc/elf/configure.in: Moved to ...
47181         * sysdeps/sparc/configure.in: ... here.
47182         * sysdeps/sparc/elf/configure: Delete file.
47183         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47184         * sysdeps/sparc/sparc32/start.S: ... here.
47185         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47186         * sysdeps/sparc/sparc64/start.S: ... here.
47187         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47188         * sysdeps/sparc/sparc32/Makefile: ... this.
47189         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47190         * sysdeps/sparc/sparc64/Makefile: ... this.
47192         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47193         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47194         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47195         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47196         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47197         * sysdeps/s390/s390-32/setjmp.S: ... here.
47198         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47199         * sysdeps/s390/s390-32/configure.in: ... here.
47200         * sysdeps/s390/s390-32/elf/configure: Delete file.
47201         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47202         * sysdeps/s390/s390-32/start.S: ... here.
47204         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47205         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47206         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47207         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47208         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47209         * sysdeps/s390/s390-64/setjmp.S: ... here.
47210         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47211         * sysdeps/s390/s390-64/configure.in: ... here
47212         * sysdeps/s390/s390-64/elf/configure: Delete file.
47213         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47214         * sysdeps/s390/s390-64/start.S: ... here.
47215         * sysdeps/s390/s390-64/elf/configure: Delete.
47217         * configure.in: Remove support for elf directories in sysdeps.
47219         * configure: Regenerated.
47220         * sysdeps/i386/configure: Regenerated.
47221         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47222         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47223         * sysdeps/s390/s390-32/configure: Regenerated.
47224         * sysdeps/s390/s390-64/configure: Regenerated.
47225         * sysdeps/sh/configure: Regenerated.
47226         * sysdeps/sparc/configure: Regenerated.
47227         * sysdeps/x86_64/configure: Regenerated.
47229 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47231         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47234         denormal result into account.
47236 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47238         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47239         Reported by Allan McRae <allan@archlinux.org>.
47241 2012-03-23  Jeff Law  <law@redhat.com>
47243         * nss/getnssent.c (__nss_getent): Fix typo.
47245 2012-03-23  David S. Miller  <davem@davemloft.net>
47247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47249 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47251         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47252         to pad to uint64_t for each field.
47253         (dl_tls_index): Replace unsigned long with uint64_t.
47255 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47256         Paul Pluzhnikov  <ppluzhnikov@google.com>
47258         [BZ #6528]
47259         * grp/Makefile (otherlibs): Don't set it.
47260         * inet/Makefile (otherlibs): Likewise.
47261         * login/Makefile (otherlibs): Likewise.
47262         * nscd/Makefile (otherlibs): Likewise.
47263         * posix/Makefile (otherlibs): Likewise.
47264         * pwd/Makefile (otherlibs): Likewise.
47265         * rt/Makefile (otherlibs): Likewise.
47266         * sunrpc/Makefile (otherlibs): Likewise.
47267         * nss/Makefile (otherlibs): Likewise.
47268         Add libnss_files to routines and static-only-routines.
47269         ($(objpfx)getent): Remove rule.
47270         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47271         static-only-routines.
47273 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47275         [BZ #13892]
47276         * math/s_cexp.c: Include <float.h>.
47277         (__cexp): Handle exp result overflowing not necessarily
47278         overflowing both real and imaginary parts of result.
47279         * math/s_cexpf.c: Likewise.
47280         * math/s_cexpl.c: Likewise.
47281         * math/libm-test.inc (cexp_test): Add more tests.
47282         * sysdeps/i386/fpu/libm-test-ulps: Update.
47283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47285 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47287         * include/link.h (ELFW): New macro.
47288         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47289         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47291 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47293         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47294         with uint64_t.
47296 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47298         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47299         declaration.
47300         (struct La_x32_retval): Likewise.
47302 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47304         * sysdeps/x86_64/preconfigure.in: New file.
47305         * sysdeps/x86_64/preconfigure: New generated file.
47307 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47309         [BZ #13824]
47310         * math/e_exp2l.c: Include <float.h>.
47311         (__ieee754_exp2l): Handle overflow and underflow cases
47312         separately.  Only pass fractional part of argument to
47313         __ieee754_expl.
47314         * math/libm-test.inc (exp2_test): Add more tests.
47316         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47317         negating x to take absolute value.
47318         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47319         Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47321         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47322         Likewise.
47323         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47324         computing low part if x was negated.
47325         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47327 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47329         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47330         la_x32_gnu_pltexit.
47331         (pltexit): Cast int_retval to ptrdiff_t.
47332         * elf/tst-auditmod3b.c: Likewise.
47333         * elf/tst-auditmod4b.c: Likewise.
47334         * elf/tst-auditmod5b.c: Likewise.
47335         * elf/tst-auditmod6b.c: Likewise.
47336         * elf/tst-auditmod6c.c: Likewise.
47337         * elf/tst-auditmod7b.c: Likewise.
47339         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47340         and x32_gnu_pltexit.
47342         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47343         __ELF_NATIVE_CLASS.
47344         (La_x32_regs): New macro.
47345         (La_x32_retval): Likewise.
47346         (la_x32_gnu_pltenter): New function prototype.
47347         (la_x32_gnu_pltexit): Likewise.
47349 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47352         exponent.
47354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47356         * configure.in (libc_cv_cc_nofma): Check for option to disable
47357         generation of FMA instructions.
47358         * configure: Regenerate.
47359         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47360         * sysdeps/ieee754/dbl-64/Makefile: New file.
47361         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47362         Remove brandred-fma4.
47363         (CFLAGS-brandred-fma4.c): Remove.
47364         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47365         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47366         define.
47367         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47368         define.
47370 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47372         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47373         LLONG_MAX != LONG_MAX.
47374         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47375         (_fitoa_word): Likewise.
47376         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47377         LLONG_MAX != LONG_MAX.
47378         * stdio-common/_itowa.h: Include <_itoa.h>.
47379         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47380         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47381         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47382         only if not defined.
47383         (_ITOA_WORD_TYPE): Likewise.
47384         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47385         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47387 2012-03-21  David S. Miller  <davem@davemloft.net>
47389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47391 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47393         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47394         of x86_64 when setting libc_cv_slibdir, libdir and
47395         libc_cv_localedir.
47396         * sysdeps/unix/sysv/linux/configure: Regenerated.
47398 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47400         * manual/lang.texi (Old Varargs): Remove section.
47401         (How Variadic): Update menu.
47402         (va_start): Do not mention varargs.h.
47404 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47405             Joseph Myers  <joseph@codesourcery.com>
47407         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47408         link test.
47409         * configure: Regenerated.
47411 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47413         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47414         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47415         conformtest.pl
47417 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47419         * NOTES: Remove.
47420         * Makefile (files-for-dist): Remove NOTES.
47421         (NOTES): Remove rule.
47422         * README: Don't refer to NOTES.
47423         * manual/creature.texi: Don't include macros.texi.
47424         * manual/intro.texi (creature.texi): Remove comment referring to
47425         NOTES.
47427         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47428         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47429         * configure: Regenerated.
47430         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47431         LIBC_TRY_CC_OPTION.
47432         (libc_cv_as_i686): Likewise.
47433         (libc_cv_cc_avx): Likewise.
47434         (libc_cv_cc_sse2avx): Likewise.
47435         (libc_cv_cc_fma4): Likewise.
47436         (libc_cv_cc_novzeroupper): Likewise.
47437         * sysdeps/i386/configure: Regenerated.
47439         [BZ #13883]
47440         * sysdeps/i386/fpu/s_cexp.S: Remove.
47441         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47442         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47443         * math/libm-test.inc (cexp_test): Add more tests.
47444         * sysdeps/i386/fpu/libm-test-ulps: Update.
47445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47447 2012-03-21  Allan McRae  <allan@archlinux.org>
47449         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47451 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47453         [BZ #13871]
47454         * math/w_exp2.c: Do not include <float.h>.
47455         (o_threshold, u_threshold): Remove.
47456         (__exp2): Calculate result before checking finiteness and calling
47457         __kernel_standard.
47458         * math/w_exp2f.c: Likewise.
47459         * math/w_exp2l.c: Likewise.
47460         * math/libm-test.inc (exp2_test): Require overflow exception for
47461         1e6 input.
47463         [BZ #3866]
47464         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47465         range of signed 64-bit integers before using fistpll.  Remove
47466         checks for whether integers fit in mantissa bits.
47467         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47468         the range of signed 32-bit integers before using fistpl.  Remove
47469         checks for whether integers fit in mantissa bits.
47470         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47471         (__ieee754_powl): Test for y outside the range of signed 64-bit
47472         integers before using fistpll.  Reduce 64-bit values to 63-bit
47473         ones as needed.
47474         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47475         divide-by-zero is raised for zero to large negative powers.
47476         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47477         (__ieee754_powl): Test for y outside the range of signed 64-bit
47478         integers before using fistpll.  Reduce 64-bit values to 63-bit
47479         ones as needed.
47480         * math/libm-test.inc (pow_test): Add more tests.
47482 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47484         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47485         <stdio-common/_itoa.h>.
47486         * debug/segfault.c: Likewise.
47487         * elf/dl-cache.c: Likewise.
47488         * elf/dl-minimal.c: Likewise.
47489         * elf/dl-misc.c: Likewise.
47490         * elf/dl-sysdep.c: Likewise.
47491         * elf/dl-version.c: Likewise.
47492         * elf/rtld.c: Likewise.
47493         * hurd/hurdsock.c: Likewise.
47494         * hurd/lookup-retry.c: Likewise.
47495         * malloc/malloc.c: Likewise.
47496         * malloc/mtrace.c: Likewise.
47497         * nscd/nscd_getgr_r.c: Likewise.
47498         * nscd/nscd_getpw_r.c: Likewise.
47499         * nscd/nscd_getserv_r.c: Likewise.
47500         * posix/getopt_init.c: Likewise.
47501         * posix/wordexp.c: Likewise.
47502         * stdio-common/_itoa.c: Likewise.
47503         * stdio-common/printf_fphex.c: Likewise.
47504         * stdio-common/vfprintf.c: Likewise.
47505         * string/_strerror.c: Likewise.
47506         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47507         * sysdeps/i386/i686/hp-timing.h: Likewise.
47508         * sysdeps/mach/_strerror.c: Likewise.
47509         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47510         * sysdeps/mach/hurd/sethostid.c: Likewise.
47511         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47512         * sysdeps/mach/xpg-strerror.c: Likewise.
47513         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47514         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47515         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47516         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47517         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47518         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47519         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47520         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47521         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47522         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47523         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47524         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47525         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47526         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47527         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47528         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47529         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47530         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47531         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47532         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47533         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47535         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47537         * stdio-common/_itoa.h: Moved to ...
47538         * sysdeps/generic/_itoa.h: Here.
47540         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47542         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47543         instead of "_itoa.h" and "_itowa.h".
47544         * stdio-common/vfprintf.: Likewise.
47546 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47548         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47549         <bits/wordsize.h>.
47550         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47551         (__signbit): Likwise.
47552         (llrintf): Likwise.
47553         (llrint): Likwise.
47555 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47557         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47558         __WORDSIZE != 64.
47560 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47562         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47563         OVERFLOW_EXCEPTION_OK.
47564         * math/libm-test.inc ("Philosophy"): Update comment about
47565         exception testing.
47566         (OVERFLOW_EXCEPTION): Define.
47567         (OVERFLOW_EXCEPTION_OK): Likewise.
47568         (INVALID_EXCEPTION_OK): Renumber.
47569         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47570         (IGNORE_ZERO_INF_SIGN): Likewise.
47571         (test_exceptions): Handle FE_OVERFLOW.
47572         (exp10_test): Expect overflow exceptions.
47573         (exp2_test): Likewise.
47574         (expm1_test): Likewise.
47575         (nextafter_test): Likewise.
47576         (pow_test): Likewise.
47577         (scalbn_test): Likewise.
47578         (scalbln_test): Likewise.
47580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47582         * sysdeps/x86_64/bits/atomic.h
47583         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47584         64bit integer.
47585         (atomic_exchange_acq): Likewise.
47586         (__arch_exchange_and_add_body): Likewise.
47587         (__arch_add_body): Likewise.
47588         (atomic_add_negative): Likewise.
47589         (atomic_add_zero): Likewise.
47591 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47593         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47594         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47596 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47598         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47599         Check __x86_64__ instead of __WORDSIZE.
47601 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47603         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47605 2012-03-19  David S. Miller  <davem@davemloft.net>
47607         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47609         * sysdeps/sparc/fpu/fenv_private.h: New file.
47610         * sysdeps/sparc/fpu/math_private.h: Use it.
47611         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47612         Remove.
47613         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47614         (libc_feholdexcept_setroundl): Remove.
47615         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47616         Remove.
47617         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47618         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47620 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47622         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47623         int64_t instead of long int.
47624         (INSERT_WORDS64): Likwise.
47626 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47628         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47629         _Unwind_GetCFA return to _Unwind_Ptr first.
47631 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47633         [BZ #13629]
47634         * math/s_clog.c: Include <float.h>.
47635         (__clog): Scale large or subnormal inputs.
47636         * math/s_clogf.c: Likewise.
47637         * math/s_clogl.c: Likewise.
47638         * math/s_clog10.c: Include <float.h>.
47639         (M_LOG10_2): Define.
47640         (__clog10): Scale large or subnormal inputs.
47641         * math/s_clog10f.c: Likewise.
47642         * math/s_clog10l.c: Likewise.
47643         * math/libm-test.inc (clog_test): Add more tests.
47644         (clog10_test): Likewise.
47645         * sysdeps/i386/fpu/libm-test-ulps: Update.
47646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47648         [BZ #11451]
47649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47650         x and y.
47651         * math/libm-test.inc (atan2_test): Add another test.
47653         * Makerules (common-objdir-compile): Remove.
47654         * sysdeps/unix/Makefile (config-generated): Do not add
47655         $(unix-generated) to variable.
47656         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47657         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47658         Remove rule.
47659         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47660         Likewise.
47661         [generic bits/local_lim.h] (before-compile): Do not append to
47662         variable.
47663         [generic bits/local_lim.h] (common-generated): Likewise.
47664         [generic sys/param.h] (before-compile): Do not append to variable.
47665         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47666         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47667         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47668         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47669         include.
47670         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47671         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47672         [generic sys/param.h] ($(addprefix
47673         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47674         [generic sys/param.h] (common-generated): Do not append to
47675         variable.
47676         [generic sys/param.h] (sysdep_headers): Likewise.
47677         [generic bits/errno.h] (before-compile): Do not append to
47678         variable.
47679         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47680         rule.
47681         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47682         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47683         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47684         [generic bits/errno.h] (common-generated): Do not append to
47685         variable.
47686         [generic bits/ioctls.h] (before-compile): Do not append to
47687         variable.
47688         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47689         rule.
47690         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47691         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47692         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47693         rule.
47694         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47695         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47696         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47697         [generic bits/ioctls.h] (common-generated): Do not append to
47698         variable.
47699         [generic sys/syscall.h] (syscall.h): Remove variable.
47700         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47701         rule.
47702         [generic sys/syscall.h] (before-compile): Do not append to
47703         variable.
47704         [generic sys/syscall.h] (common-generated): Likewise.
47705         * sysdeps/unix/errnos-tmpl.c: Remove file.
47706         * sysdeps/unix/errnos.awk: Likewise.
47707         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47708         * sysdeps/unix/ioctls.awk: Likewise.
47709         * sysdeps/unix/mk-local_lim.c: Likewise.
47710         * sysdeps/unix/snarf-ioctls: Likewise.
47712 2012-03-19  Richard Henderson  <rth@twiddle.net>
47714         * sysdeps/i386/fpu/fenv_private.h: New file.
47715         * sysdeps/i386/fpu/math_private.h: Use it.
47716         (math_opt_barrier, math_force_eval): Remove.
47717         (libc_feholdexcept_setround_53bit): Remove.
47718         (libc_feupdateenv_53bit): Remove.
47719         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47720         (math_opt_barrier, math_force_eval): Remove.
47721         (libc_feholdexcept): Remove.
47722         (libc_feholdexcept_setround): Remove.
47723         (libc_fetestexcept, libc_fesetenv): Remove.
47724         (libc_feupdateenv_test): Remove.
47725         (libc_feupdateenv, libc_feholdsetround): Remove.
47726         (libc_feresetround): Remove.
47728         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47729         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47731         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47732         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47733         (libc_feupdateenv_testl): New.
47734         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47735         (libc_feupdateenv_testf): New.
47736         (libc_feupdateenv): Use libc_feupdateenv_test.
47737         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47740         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47741         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47742         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47743         (libc_feresetround_noex): New.
47744         (libc_feresetround_noexf): New.
47745         (libc_feresetround_noexl): New.
47746         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47747         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47748         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47749         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47750         SET_RESTORE_ROUND.
47751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47753         (__cos): Likewise.
47754         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47755         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47756         SET_RESTORE_ROUND_NOEX.
47757         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47758         SET_RESTORE_ROUND_NOEXF.
47759         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47760         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47761         (libc_feholdsetroundf): New.
47762         (libc_feresetround, libc_feresetroundf): New.
47764         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47765         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47766         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47768         * sysdeps/generic/math_private.h: Include <fenv.h>.
47769         (default_libc_feholdexcept): New.
47770         (default_libc_feholdexcept_setround): New.
47771         (default_libc_fesetenv, default_libc_feupdateenv): New.
47772         (libc_feholdexcept): Only define if undefined.
47773         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47774         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47775         (libc_feholdexcept_setroundl): Likewise.
47776         (libc_feholdexcept_setround_53bit): Likewise.
47777         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47778         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47779         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47780         (libc_feupdateenv_53bit): Likewise.
47781         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47782         (libc_feholdexcept): Convert from macro to inline function.
47783         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47784         (libc_fesetenv, libc_feupdateenv): Likewise.
47786         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47787         not previously defined.
47788         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47789         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47790         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47791         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47792         * sysdeps/ieee754/flt-32/math_private.h: New file.
47793         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47794         math_private.h below SET_FLOAT_WORD.
47795         (__isnan, __isinf_ns, __finite): Remove.
47796         (__isnanf, __isinf_nsf, __finitef): Remove.
47798 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47802 2012-03-17  David S. Miller  <davem@davemloft.net>
47804         [BZ #6471]
47805         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47806         for 2.16.
47808 2012-03-16  David S. Miller  <davem@davemloft.net>
47810         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47811         warnings.
47813         [BZ #6471]
47814         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47815         properly.
47816         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47817         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47818         sysdep_routines when subdir is sysvipc.
47819         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47820         __getshmlba helper.
47822         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47824 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47826         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47827         [__LP64__].
47829 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47831         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47832         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47833         (__lround): Renamed to ...
47834         (__llround): This.  Replace long int with long long int.
47835         Define lround functions as aliases of llround functions.
47836         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47838 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47840         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47841         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47842         adresses to uintptr_t.  Replace "long int" and "unsigned long
47843         int" with "greg_t" on va_arg.
47845 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47847         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47848         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47850         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47851         Move e_machine check before EI_CLASS check.  Handle x32
47852         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47853         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47854         SKIP_EM_IA_64 and include
47855         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47857         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47858         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47859         (add_system_dir): New macro.
47861         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47862         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47864 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47866         [BZ #2551]
47867         [BZ #2552]
47868         [BZ #2553]
47869         [BZ #2554]
47870         [BZ #2562]
47871         [BZ #2563]
47872         [BZ #2565]
47873         [BZ #2566]
47874         [BZ #2576]
47875         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47876         (y0): Likewise.
47877         * math/w_j0f.c (j0f): Likewise.
47878         (y0f): Likewise.
47879         * math/w_j0l.c (__j0l): Likewise.
47880         (__y0l): Likewise.
47881         * math/w_j1.c (j1): Likewise.
47882         (y1): Likewise.
47883         * math/w_j1f.c (j1f): Likewise.
47884         (y1f): Likewise.
47885         * math/w_j1l.c (__j1l): Likewise.
47886         (__y1l): Likewise.
47887         * math/w_jn.c (jn): Likewise.
47888         (yn): Likewise.
47889         * math/w_jnf.c (jnf): Likewise.
47890         (ynf): Likewise.
47891         * math/w_jnl.c (__jnl): Likewise.
47892         (__ynl): Likewise.
47893         * math/libm-test.inc (j0_test): Add more tests.
47894         (j1_test): Likewise.
47895         (jn_test): Likewise.  Add trailing semicolon to existing test.
47896         (y0_test): Likewise.
47897         (y1_test): Likewise.
47898         * sysdeps/i386/fpu/libm-test-ulps: Update.
47899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47901         [BZ #13851]
47902         [BZ #13854]
47903         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47904         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47905         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47906         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47907         (__tanl): Set errno for infinite argument.
47908         * sysdeps/i386/fpu/mptan.c: Remove.
47909         * sysdeps/i386/fpu/s_tan.S: Likewise.
47910         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47911         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47912         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47913         * math/libm-test.inc (tan_test): Add more tests and enable more
47914         tests for double and long double.
47915         * sysdeps/i386/fpu/libm-test-ulps: Update.
47916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47918 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47920         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47921         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47923 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47925         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47926         * configure.in: Use it for both main tree and add-ons.
47927         * configure: Regenerated.
47929 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47931         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47933 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47935         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47936         in comment.
47938         [BZ #13851]
47939         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47940         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47941         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47942         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47943         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47944         infinite argument.
47945         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47946         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47947         != 0 for prec == 2.
47948         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47949         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47950         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47951         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47952         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47953         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47954         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47955         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47956         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47957         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47958         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47959         * math/libm-test.inc (cos_test): Add more tests and enable more
47960         tests for long double.
47961         (sin_test): Likewise.
47962         (sincos_test): Likewise.
47963         * sysdeps/i386/fpu/libm-test-ulps: Update.
47964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47966 2012-03-16  David S. Miller  <davem@davemloft.net>
47968         * sysdeps/sparc/fpu/math_private.h: New file.
47970 2012-03-15  David S. Miller  <davem@davemloft.net>
47972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47973         file.
47974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47976         file.
47977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47982         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47983         sysdep routines.
47984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47986         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47987         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47989         * sysdeps/sparc/sparc-ifunc.h: New file.
47990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47991         sparc-ifunc.h
47992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47994         Likewise.
47995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47996         Likewise.
47997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48001         Likewise.
48002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
48006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48007         Likewise.
48008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48009         Likewise.
48010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48014         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48015         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48016         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48017         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48018         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48019         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48020         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48021         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48022         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48023         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48024         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48025         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48026         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48027         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48028         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48029         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48030         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48031         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48032         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48035 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48037         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48038         scaling.
48039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48041 2012-03-15  Andreas Jaeger  <aj@suse.de>
48043         [BZ #13852]
48044         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48045         ieee754/flt-32 implementation for sin, cos and sincos.
48046         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48047         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48048         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48049         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48050         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48051         ieee754/flt-32 implementation for tan.
48053         * math/libm-test.inc (cos_test): Enable some large input tests for
48054         float as well
48055         (sin_test): Likewise.
48056         (sincos_test): Likewise.
48057         (tan_test): Add tests for large input.
48059         * sysdeps/i386/fpu/libm-test-ulps: Update.
48061 2012-03-15  Andreas Jaeger  <aj@suse.de>
48063         [BZ #13658]
48064         * math/libm-test.inc (cos_test): Add more test cases.
48065         (sin_test): Likewise.
48066         (sincos_test): Likewise.
48068 2012-03-15  Andreas Jaeger  <aj@suse.de>
48070         [BZ #13837]
48071         * math/libm-test.inc (cos_test): Add a test case for large input
48072         value.
48073         (sin_test): Likewise.
48074         (sincos_test): Likewise.
48076 2012-03-15  Andreas Jaeger  <aj@suse.de>
48077             Joseph Myers  <joseph@codesourcery.com>
48079         [BZ #13658]
48080         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48081         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48082         * sysdeps/i386/fpu/branred.c: Likewise.
48083         * sysdeps/i386/fpu/dosincos.c: Likewise.
48084         * sysdeps/i386/fpu/mpa.c: Likewise.
48085         * sysdeps/i386/fpu/s_cos.S: Likewise.
48086         * sysdeps/i386/fpu/s_sin.S: Likewise.
48087         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48088         * sysdeps/i386/fpu/sincos32.c: Likewise.
48090         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48091         Define.
48092         (libc_feupdateenv_53bit): Define.
48093         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48094         Define.
48095         (libc_feupdateenv_53bit): Define.
48097         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48098         53 bit (without extend i386 double precision).
48100         * math/libm-test.inc (sincos_test): Add tests for large input.
48101         (sin): Likewise.
48102         (cos): Likewise.
48104         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48106 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48110 2012-03-15  David S. Miller  <davem@davemloft.net>
48112         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48113         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48114         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48115         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48118         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48119         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48120         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48121         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48122         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48123         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48124         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48125         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48126         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48128         file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48131         file.
48132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48134         file.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48137         file.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48139         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48140         fmin/fmax sysdep routines.
48141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48143 2012-03-14  David S. Miller  <davem@davemloft.net>
48145         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48146         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48147         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48148         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48149         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48150         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48151         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48152         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48153         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48154         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48155         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48156         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48157         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48158         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48159         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48160         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48161         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48162         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48163         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48164         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48165         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48166         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48167         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48168         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48169         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48170         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48171         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48172         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48173         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48174         routines.
48175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48176         file.
48177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48179         file.
48180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48182         file.
48183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48185         file.
48186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48188         file.
48189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48191         file.
48192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48193         file.
48194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48195         file.
48196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48197         file.
48198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48199         New file.
48200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48201         file.
48202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48203         file.
48204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48206         file.
48207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48209         file.
48210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48212         file.
48213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48215         VIS3 routines.
48217         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48218         New file.
48220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48222         * sysdeps/sparc/configure.in: New file.
48223         * sysdeps/sparc/configure: Generate.
48224         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48225         * configure: Regenerate.
48226         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48227         * config.make.in (have-as-vis3): New.
48228         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48229         available use -Av9d instead of -Av9a.
48230         * sysdeps/sparc/sparc64/Makefile: Likewise.
48231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48233         New file.
48234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48235         file.
48236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48237         New file.
48238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48239         file.
48240         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48241         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48242         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48246         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48247         fzeros/fnegs to load 0x80000000 into a float register instead of
48248         using the stack.
48249         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48251 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48254         bits/syscall.h.
48255         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48256         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48257         ($(inst_includedir)/bits/syscall.h): Remove rule.
48258         ($(objpfx)bits/syscall.d): Include instead of
48259         $(objpfx)syscall-list.d.
48260         (generated): Change syscall-list.h and syscall-list.d to
48261         bits/syscall.h and bits/syscall.d.
48263 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48265         [BZ #13846]
48266         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48268 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48270         [BZ #13841]
48271         * math/s_csqrt.c: Include <float.h>.
48272         (__csqrt): Scale large or subnormal inputs.
48273         * math/s_csqrtf.c: Likewise.
48274         * math/s_csqrtl.c: Likewise.
48275         * math/libm-test.inc (csqrt_test): Add more tests.
48276         * sysdeps/i386/fpu/libm-test-ulps: Update.
48277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48279         [BZ #13840]
48280         * math/libm-test.inc (hypot_test): Add more tests.
48282 2012-03-13  David S. Miller  <davem@davemloft.net>
48284         [BZ #13840]
48285         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48286         double-precision for the calculation instead of scaling.
48288 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48290         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48291         manipulate bits before adding and subtracting TWO52[sx].
48292         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48293         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48294         Likewise.
48295         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48297 2012-03-13  David S. Miller  <davem@davemloft.net>
48299         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48300         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48301         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48302         rtld-global-offsets.h
48303         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48305         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48306         large parameters.
48308         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48310         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48311         'err' in the ifdef scope in which it is actually used.
48313         * nss/nss_db/db-init.c: Include string.h
48315 2012-03-12  David S. Miller  <davem@davemloft.net>
48317         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48318         masking out of the most significant byte of random value used.
48319         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48320         Fix coding style in previous change.
48322         * sysdeps/unix/sysv/linux/kernel-features.h
48323         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48324         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48325         expression.
48326         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48327         later.
48329 2012-03-11  David S. Miller  <davem@davemloft.net>
48331         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48332         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48333         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48334         for 'resultvar' otherwise things get truncated on 64-bit.
48336         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48337         Fix masking out of the most significant byte of random value used.
48339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48341 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48345 2012-03-09  David S. Miller  <davem@davemloft.net>
48347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48348         variables with appropriate CPP guards.
48349         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48350         from the frame pointer, not the stack pointer.  Correct layout
48351         comments.  Fix test on resulting framesize and the management of
48352         the outregs buffer for pltexit.  Preserve floating point return
48353         values across _dl_call_pltexit call.
48354         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48355         framesize and the management of the outregs buffer for pltexit.
48356         Preserve floating point return values across _dl_call_pltexit
48357         call.
48358         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48359         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48360         (la_sparc64_gnu_pltexit): New functions.
48361         (print_exit): Fix format string for return register value.
48363 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48365         * sunrpc/Makefile (others): Add rpcgen.
48366         ($(objpfx)rpcgen): Remove special build rule and dependency on
48367         libc.
48368         * sunrpc/rpcgen.c: New file.
48370 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48372         [BZ #13673]
48373         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48374         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48375         * sysdeps/i386/crti.S: Likewise.
48376         * sysdeps/i386/crtn.S: Likewise.
48377         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48378         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48379         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48380         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48381         * sysdeps/sh/crti.S: Likewise.
48382         * sysdeps/sh/crtn.S: Likewise.
48383         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48385         [BZ #13673]
48386         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48387         with URL.
48388         * locale/programs/locfile-kw.gperf: Likewise.
48389         * locale/programs/charmap-kw.h: Regenerated.
48390         * locale/programs/locfile-kw.h: Likewise.
48392         [BZ #13673]
48393         * intl/plural.y: Replace FSF snail mail address with URL.
48394         * intl/plural.c: Regenerated.
48396 2012-03-09  Richard Henderson  <rth@twiddle.net>
48398         * include/math_private.h: Remove file.
48399         * math/math_private.h: Move file ...
48400         * sysdeps/generic/math_private.h: ... here.
48402         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48403         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48404         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48406         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48407         and <math_private.h>.
48408         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48409         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48410         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48411         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48412         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48413         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48414         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48416         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48417         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48418         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48419         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48420         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48421         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48422         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48423         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48424         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48425         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48426         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48427         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48430         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48433         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48438         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48439         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48440         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48441         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48442         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48443         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48444         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48445         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48446         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48448         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48449         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48450         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48451         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48452         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48453         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48454         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48455         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48456         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48457         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48458         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48459         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48460         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48461         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48462         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48463         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48464         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48465         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48466         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48467         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48468         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48469         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48470         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48471         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48472         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48473         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48474         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48475         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48476         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48477         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48478         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48479         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48480         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48482         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48483         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48484         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48485         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48486         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48487         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48488         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48489         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48490         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48491         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48492         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48493         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48494         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48495         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48496         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48498         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48499         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48500         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48501         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48502         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48503         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48504         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48505         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48506         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48508         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48509         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48510         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48511         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48512         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48513         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48514         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48515         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48516         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48517         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48518         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48519         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48520         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48521         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48522         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48523         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48524         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48525         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48527         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48528         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48529         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48530         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48531         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48532         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48533         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48534         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48535         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48536         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48537         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48538         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48539         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48540         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48541         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48542         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48543         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48544         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48545         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48546         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48547         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48548         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48549         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48550         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48551         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48552         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48553         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48554         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48555         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48556         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48557         * sysdeps/ieee754/k_standard.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48562         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48563         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48564         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48589         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48590         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48591         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48593         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48595         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48600         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48607         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48608         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48609         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48610         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48631         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48635         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48637         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48640         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48641         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48642         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48643         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48644         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48645         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48646         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48648         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48649         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48650         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48651         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48654         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48655         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48661         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48662         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48663         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48664         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48665         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48666         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48670         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48671         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48672         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48673         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48674         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48675         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48676         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48677         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48678         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48680         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48681         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48682         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48683         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48684         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48685         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48686         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48687         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48688         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48689         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48690         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48691         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48692         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48693         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48694         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48695         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48696         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48697         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48698         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48699         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48700         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48701         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48702         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48703         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48704         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48705         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48706         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48707         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48708         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48709         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48710         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48711         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48712         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48713         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48714         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48715         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48716         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48717         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48718         * sysdeps/ieee754/s_lib_version.c: Likewise.
48719         * sysdeps/ieee754/s_matherr.c: Likewise.
48720         * sysdeps/ieee754/s_signgam.c: Likewise.
48721         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48722         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48723         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48724         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48725         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48726         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48727         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48728         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48729         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48730         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48731         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48732         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48733         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48734         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48735         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48736         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48737         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48738         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48739         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48740         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48741         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48743 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48745         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48746         * sunrpc/rpc_main.c: Likewise.
48747         * sunrpc/rpc_svcout.c: Likewise.
48749 2012-03-09  David S. Miller  <davem@davemloft.net>
48751         * include/math_private.h: New file.
48753 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48755         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48756         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48757         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48758         from <bits/socket_type.h>.
48759         (enum __socket_type): Don't define here.
48760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48761         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48762         bits/socket_type.h.
48764         [BZ #13566]
48765         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48766         checking __USE_GNU.
48768         * Makerules ($(inst_includedir)/%.h): New rule.
48769         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48770         (install-others): Remove variable setting.
48771         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48773 2012-03-08  Richard Henderson  <rth@twiddle.net>
48775         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48776         from macro to inline function; merge with the
48777         !__LIBC_INTERNAL_MATH_INLINES version.
48778         (__ieee754_sqrtf): Likewise.
48780         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48781         to inline function.
48782         (__rintf, __floor, __floorf): Likewise.
48784         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48785         macro to inline function.
48786         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48788         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48789         not <math/math_private.h>.
48791 2012-03-08  David S. Miller  <davem@davemloft.net>
48793         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48794         copyright year.
48795         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48797 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48799         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48800         normalization.
48801         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48802         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48804 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48806         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48807         be defined individually, they must be defined as a block.  Define
48808         S for printing a string instead of hidint the different by using a
48809         macro for adding the 'l'.
48810         * stdio-common/tst-fphex-wide.c: Adjust.
48812 2012-03-07  Marek Polacek  <polacek@redhat.com>
48814         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48816 2012-03-08  Marek Polacek  <polacek@redhat.com>
48818         [BZ #13806]
48819         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48820         * stdio-common/tst-fphex.c: Define a few macros to make the
48821         test reusable.  Use them.
48822         * stdio-common/tst-fphex-wide.c: New file.
48824 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48826         [BZ #6911]
48827         * manual/macros.texi (gnusystems): New macro.
48828         (nongnusystems): Likewise.
48829         (gnulinuxhurdsystems): Likewise.
48830         (gnuhurdsystems): Likewise..
48831         (gnulinuxsystems): Likewise.
48832         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48833         variants of the GNU system, not "GNU system".
48834         * manual/conf.texi: Likewise.
48835         * manual/errno.texi: Likewise.  Update example of errno macro
48836         expansion.
48837         * manual/filesys.texi: Likewise.
48838         (getumask): Document as specific to GNU/Hurd.
48839         * manual/install.texi: Likewise.  Reword some references to
48840         GNU/Linux.
48841         * manual/intro.texi: Likewise.
48842         * manual/io.texi: Likewise.
48843         (File Name Portability): Detail which constraints are inapplicable
48844         to all GNU systems and which are only inapplicable to GNU/Hurd.
48845         * manual/job.texi: Likewise.
48846         * manual/llio.texi: Likewise.
48847         (O_NOCTTY): Document as present on GNU/Linux.
48848         * manual/maint.texi: Likewise.
48849         * manual/memory.texi: Likewise.
48850         * manual/pattern.texi: Likewise.
48851         * manual/pipe.texi: Likewise.
48852         * manual/process.texi: Likewise.
48853         * manual/resource.texi: Likewise.
48854         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48855         child on GNU/Hurd.
48856         * manual/setjmp.texi: Likewise.
48857         * manual/signal.texi: Likewise.
48858         * manual/startup.texi: Likewise.
48859         * manual/stdio.texi: Likewise.
48860         * manual/terminal.texi: Likewise.
48861         (ONLCR): Document as POSIX.
48862         (OXTABS): Document availability on GNU/Linux as XTABS.
48863         (ONOEOT): Document availability separately from other bits.
48864         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48865         * manual/time.texi: Likewise.
48866         * manual/users.texi: Likewise.
48867         * INSTALL: Regenerated.
48868         * sysdeps/gnu/errlist.c: Regenerated.
48870         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48871         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48872         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48873         puts.
48874         * configure: Regenerated.
48876 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48878         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48879         default includes instead of AC_HEADER_CHECK.
48880         * sysdeps/i386/configure: Regenerated.
48882         [BZ #10716]
48883         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48884         * math/s_cacoshf.c (__cacoshf): Likewise.
48885         * math/s_cacoshl.c (__cacoshl): Likewise.
48886         * math/s_casinh.c (__casinh): Set signs of result from argument.
48887         * math/s_casinhf.c (__casinhf): Likewise.
48888         * math/s_casinhl.c (__casinhl): Likewise.
48889         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48890         (casinh_test): Add more tests.
48891         * sysdeps/i386/fpu/libm-test-ulps: Update.
48892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48894 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48896         * po/zh_TW.po: Update from translation team.
48898         * login/Makefile (distribute): Remove variable.
48899         * catgets/Makefile: Likewise.
48900         * mach/Makefile: Likewise.
48901         * malloc/Makefile: Likewise.
48902         * misc/Makefile: Likewise.
48903         * iconv/Makefile: Likewise.
48904         * nscd/Makefile: Likewise.
48905         * hurd/Makefile: Likewise.
48906         * manual/Makefile: Likewise.
48907         * locale/Makefile: Likewise.
48908         * intl/Makefile: Likewise.
48909         * conform/Makefile: Likewise.
48910         * nss/Makefile: Likewise.
48911         * time/Makefile: Likewise.
48912         * soft-fp/Makefile: Likewise.
48913         * dirent/Makefile: Likewise.
48914         * gmon/Makefile: Likewise.
48915         * po/Makefile: Likewise.
48916         * rt/Makefile: Likewise.
48917         * socket/Makefile: Likewise.
48918         * math/Makefile: Likewise.
48919         * signal/Makefile: Likewise.
48920         * debug/Makefile: Likewise.
48921         * elf/Makefile: Likewise.
48922         * timezone/Makefile: Likewise.
48923         * stdlib/Makefile: Likewise.
48924         * iconvdata/Makefile: Likewise.
48925         * sunrpc/Makefile: Likewise.
48926         * io/Makefile: Likewise.
48927         * argp/Makefile: Likewise.
48928         * inet/Makefile: Likewise.
48929         * hesiod/Makefile: Likewise.
48930         * grp/Makefile: Likewise.
48931         * csu/Makefile: Likewise.
48932         * wctype/Makefile: Likewise.
48933         * crypt/Makefile: Likewise.
48934         * libio/Makefile: Likewise.
48935         * string/Makefile: Likewise.
48936         * nis/Makefile: Likewise.
48937         * resolv/Makefile: Likewise.
48938         * stdio-common/Makefile: Likewise.
48939         * wcsmbs/Makefile: Likewise.
48940         * dlfcn/Makefile: Likewise.
48941         * posix/Makefile: Likewise.
48943         [BZ #6959]
48944         * timezone/Makefile: Don't install timezone files, just the programs
48945         and scripts.
48947 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48949         * nss/databases.def: Add missing gshadow entry.
48951         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48953 2012-03-06  Marek Polacek  <polacek@redhat.com>
48955         [BZ #13726]
48956         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48957         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48958         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48959         * stdio-common/tst-long-dbl-fphex.c: New file.
48961 2012-03-06  David S. Miller  <davem@davemloft.net>
48963         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48964         (set_obp_int): New function.
48965         (get_obp_int): New function.
48966         (__get_clockfreq_via_dev_openprom): Likewise.
48967         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48968         Avoid unused variable warnings on 'val' and use builtin_expect.
48969         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48970         __builtin_expect.
48971         (INLINE_CLONE_SYSCALL): Likewise.
48973 2012-03-05  David S. Miller  <davem@davemloft.net>
48975         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48977 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48981         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48982         only for |x| >= 40.
48983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48985 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48988         Replace gettimeofday with __vdso_gettimeofday.
48990         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48991         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48992         __vdso_clock_gettime and __vdso_getcpu.
48994         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48995         time with __vdso_time.
48997 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48999         * manual/lang.texi (size_t): Note types to which size_t may be
49000         equivalent with the GNU C Library, but do not describe when
49001         differences between them are significant.
49003 2012-03-05  Andreas Jaeger  <aj@suse.de>
49005         * sysdeps/i386/fpu/libm-test-ulps: Update.
49007 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
49009         [BZ #3976]
49010         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49011         (__ieee754_pow): Save and restore rounding mode and use
49012         round-to-nearest for main computations.
49013         * math/libm-test.inc (pow_test_tonearest): New function.
49014         (pow_test_towardzero): Likewise.
49015         (pow_test_downward): Likewise.
49016         (pow_test_upward): Likewise.
49017         (main): Call the new functions.
49018         * sysdeps/i386/fpu/libm-test-ulps: Update.
49019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49021         [BZ #3976]
49022         * math/libm-test.inc (cosh_test_tonearest): New function.
49023         (cosh_test_towardzero): Likewise.
49024         (cosh_test_downward): Likewise.
49025         (cosh_test_upward): Likewise.
49026         (sinh_test_tonearest): Likewise.
49027         (sinh_test_towardzero): Likewise.
49028         (sinh_test_downward): Likewise.
49029         (sinh_test_upward): Likewise.
49030         (main): Call the new functions.
49031         * sysdeps/i386/fpu/libm-test-ulps: Update.
49032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49034 2012-03-05  Tom de Vries  <tom@codesourcery.com>
49036         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49037         default stack guard is set in last bytes.
49038         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49040 2012-03-05  Kees Cook  <keescook@chromium.org>
49042         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49044         [BZ #13656]
49045         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49046         possibly allocate from heap instead of stack.
49047         * stdio-common/bug-vfprintf-nargs.c: New file.
49048         * stdio-common/Makefile (tests): Add nargs overflow test.
49050 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49054 2012-03-03  Marek Polacek  <polacek@redhat.com>
49056         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49057         * math/math_private.h: Likewise.
49058         * stdlib/tst-strtod.c: Likewise.
49059         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49060         * sysdeps/x86_64/bits/atomic.h: Likewise.
49062 2012-03-02  David S. Miller  <davem@davemloft.net>
49064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49068         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49069         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49070         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49071         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49073 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49075         [BZ #13792]
49076         * manual/examples/README: New file, says the example source files
49077         can be used under GPL>=2.
49078         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49079         line containing just "*/".
49080         * manual/examples/add.c: Add copyright header (GPL>=2).
49081         * manual/examples/argp-ex1.c: Likewise.
49082         * manual/examples/argp-ex2.c: Likewise.
49083         * manual/examples/argp-ex3.c: Likewise.
49084         * manual/examples/argp-ex4.c: Likewise.
49085         * manual/examples/atexit.c: Likewise.
49086         * manual/examples/db.c: Likewise.
49087         * manual/examples/dir.c: Likewise.
49088         * manual/examples/dir2.c: Likewise.
49089         * manual/examples/execinfo.c: Likewise.
49090         * manual/examples/filecli.c: Likewise.
49091         * manual/examples/filesrv.c: Likewise.
49092         * manual/examples/fmtmsgexpl.c: Likewise.
49093         * manual/examples/genpass.c: Likewise.
49094         * manual/examples/inetcli.c: Likewise.
49095         * manual/examples/inetsrv.c: Likewise.
49096         * manual/examples/isockad.c: Likewise.
49097         * manual/examples/longopt.c: Likewise.
49098         * manual/examples/memopen.c: Likewise.
49099         * manual/examples/memstrm.c: Likewise.
49100         * manual/examples/mkfsock.c: Likewise.
49101         * manual/examples/mkisock.c: Likewise.
49102         * manual/examples/mygetpass.c: Likewise.
49103         * manual/examples/pipe.c: Likewise.
49104         * manual/examples/popen.c: Likewise.
49105         * manual/examples/rprintf.c: Likewise.
49106         * manual/examples/search.c: Likewise.
49107         * manual/examples/select.c: Likewise.
49108         * manual/examples/setjmp.c: Likewise.
49109         * manual/examples/sigh1.c: Likewise.
49110         * manual/examples/sigusr.c: Likewise.
49111         * manual/examples/stpcpy.c: Likewise.
49112         * manual/examples/strdupa.c: Likewise.
49113         * manual/examples/strftim.c: Likewise.
49114         * manual/examples/strncat.c: Likewise.
49115         * manual/examples/subopt.c: Likewise.
49116         * manual/examples/swapcontext.c: Likewise.
49117         * manual/examples/termios.c: Likewise.
49118         * manual/examples/testopt.c: Likewise.
49119         * manual/examples/testpass.c: Likewise.
49120         * manual/examples/timeval_subtract.c: Likewise.
49122         [BZ #13792]
49123         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49124         function to ...
49125         * manual/timeval_subtract.c.texi: ... here, new file.
49127 2012-03-02  David S. Miller  <davem@davemloft.net>
49129         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49131 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49133         [BZ #3976]
49134         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49135         (__sin): Save and restore rounding mode and use round-to-nearest
49136         for all computations.
49137         (__cos): Save and restore rounding mode and use round-to-nearest
49138         for all computations.
49139         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49140         <fenv.h>.
49141         (tan): Save and restore rounding mode and use round-to-nearest for
49142         all computations.
49143         * math/libm-test.inc (cos_test_tonearest): New function.
49144         (cos_test_towardzero): Likewise.
49145         (cos_test_downward): Likewise.
49146         (cos_test_upward): Likewise.
49147         (sin_test_tonearest): Likewise.
49148         (sin_test_towardzero): Likewise.
49149         (sin_test_downward): Likewise.
49150         (sin_test_upward): Likewise.
49151         (tan_test_tonearest): Likewise.
49152         (tan_test_towardzero): Likewise.
49153         (tan_test_downward): Likewise.
49154         (tan_test_upward): Likewise.
49155         (main): Call the new functions.
49156         * sysdeps/i386/fpu/libm-test-ulps: Update.
49157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49159         [BZ #10135]
49160         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49161         small n, then large n, before computing and testing k+n.
49162         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49163         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49164         Likewise.
49165         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49166         Likewise.
49167         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49168         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49169         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49170         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49175         * math/libm-test.inc (scalbn_test): Add more tests.
49176         (scalbln_test): Likewise.
49178         * manual/filesys.texi (mode_t): Describe constraints on size and
49179         signedness, not exact equivalence to a particular type.
49180         (ino_t): Likewise.
49181         (ino64_t): Likewise.
49182         (dev_t): Likewise.
49183         (nlink_t): Likewise.
49184         (blkcnt_t): Likewise.
49185         (blkcnt64_t): Likewise.
49186         * manual/llio.texi (off_t): Likewise.
49188         [BZ #3976]
49189         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49190         (__ieee754_exp): Save and restore rounding mode and use
49191         round-to-nearest for all computations.
49192         * math/libm-test.inc (exp_test_tonearest): New function.
49193         (exp_test_towardzero): Likewise.
49194         (exp_test_downward): Likewise.
49195         (exp_test_upward): Likewise.
49196         (main): Call the new functions.
49197         * sysdeps/i386/fpu/libm-test-ulps: Update.
49198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49200 2012-03-01  Chris Demetriou  <cgd@google.com>
49202         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49203         have predictable order.
49205 2012-03-01  David S. Miller  <davem@davemloft.net>
49207         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49209         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49210         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49211         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49212         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49214         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49215         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49216         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49218         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49219         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49220         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49221         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49222         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49226         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49227         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49228         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49230         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49231         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49232         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49233         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49234         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49235         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49236         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49237         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49238         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49239         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49240         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49241         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49243         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49244         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49245         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49246         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49247         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49248         * sysdeps/sparc/elf/configure: Regenerated.
49250 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49252         * configure.in (AS, LD): Require binutils 2.20 or later.
49253         * configure: Regenerated.
49254         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49255         as required minimum version.
49256         * INSTALL: Regenerated.
49258         [BZ #2541]
49259         [BZ #4108]
49260         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49261         before squaring exponent.
49262         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49263         bottom long double and 27 bits of top long double before squaring
49264         exponent.
49265         * math/libm-test.inc (erfc_test): Add more tests.
49266         * sysdeps/i386/fpu/libm-test-ulps: Update.
49267         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49270 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49272         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49273         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49274         containing bit-fields.
49275         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49276         * soft-fp/single.h (_FP_UNION_S): Likewise.
49277         * soft-fp/double.h (_FP_UNION_D): Likewise.
49279 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49281         [BZ #13786]
49282         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49283         not include ../strcmp.S.
49284         [USE_AS_STRNCASECMP_L]: Likewise.
49285         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49286         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49287         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49288         (__strncasecmp_l_ia32): Define as alias to
49289         __strncasecmp_l_nonascii.
49291         [BZ #5794]
49292         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49293         * sysdeps/i386/fpu/libm-test-ulps: Update.
49294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49296         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49299 2012-02-29  Jeff Law  <law@redhat.com>
49301         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49302         out of bounds read.
49304 2012-02-29  Marek Polacek  <polacek@redhat.com>
49306         [BZ #13706]
49307         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49308         * elf/Makefile: Add rules to run tst-unused-dep.out.
49310 2012-02-28  David S. Miller  <davem@davemloft.net>
49312         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49313         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49314         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49315         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49316         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49317         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49319 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49321         * math/libm-test.inc (llround_test): Move one test from
49322         lround_test.  Use TEST_f_L in moved test.
49323         (lround_test): Move misplaced test to llround_test.  Add testcase
49324         from bug 2561.
49326 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49328         * sysdeps/x86_64/fpu/e_expf.S: New file.
49329         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49331 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49333         [BZ #13637]
49334         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49335         of remain_len that may cause incomplete multi-byte character and
49336         false match.
49337         * posix/bug-regex33.c: New file.
49338         * posix/Makefile (tests): Add bug-regex33.
49340 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49342         * manual/macros.texi: New file.
49343         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49344         * manual/libc.texinfo: Include macros.texi.
49345         * manual/creatute.texi: Likewise.
49346         * manual/install.texi: Likewise.
49347         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49348         @glibcadj{} in references to the GNU C Library.
49349         * manual/charset.texi: Likewise.
49350         * manual/conf.texi: Likewise.
49351         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49352         when not using those macros.
49353         * manual/creature.texi: Likewise.
49354         * manual/crypt.texi: Likewise.
49355         * manual/errno.texi: Likewise.
49356         * manual/filesys.texi: Likewise.
49357         * manual/header.texi: Likewise.
49358         * manual/install.texi: Likewise.
49359         * manual/intro.texi: Likewise.
49360         * manual/io.texi: Likewise.
49361         * manual/job.texi: Likewise.
49362         * manual/lang.texi: Likewise.
49363         * manual/libc.texiinfo: Likewise.
49364         * manual/llio.texi: Likewise.
49365         * manual/locale.texi: Likewise.
49366         * manual/maint.texi: Likewise.
49367         * manual/math.texi: Likewise.
49368         * manual/memory.texi: Likewise.
49369         * manual/message.texi: Likewise.
49370         * manual/nss.texi: Likewise.
49371         * manual/pattern.texi: Likewise.
49372         * manual/process.texi: Likewise.
49373         * manual/resource.texi: Likewise.
49374         * manual/search.texi: Likewise.
49375         * manual/setjmp.texi: Likewise.
49376         * manual/signal.texi: Likewise.
49377         * manual/socket.texi: Likewise.
49378         * manual/startup.texi: Likewise.
49379         * manual/stdio.texi: Likewise.
49380         * manual/string.texi: Likewise.
49381         * manual/sysinfo.texi: Likewise.
49382         * manual/syslog.texi: Likewise.
49383         * manual/terminal.texi: Likewise.
49384         * manual/time.texi: Likewise.
49385         * manual/users.texi: Likewise.
49386         * INSTALL: Regenerated.
49387         * NOTES: Regenerated.
49388         * sysdeps/gnu/errlist.c: Regenerated.
49390 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49392         * include/dirent.h: Include <dirstream.h> before
49393         <dirent/dirent.h>.
49395 2012-02-28  David S. Miller  <davem@davemloft.net>
49397         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49398         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49399         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49400         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49402 2012-02-27  David S. Miller  <davem@davemloft.net>
49404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49405         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49406         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49407         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49410         frame pointer instead of stack pointer relative arg slot.
49411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49412         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49413         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49415 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49417         [BZ #3992]
49418         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49420 2012-02-27  David S. Miller  <davem@davemloft.net>
49422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49426         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49427         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49428         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49429         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49431 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49433         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49434         later.  Allow versions 5-9.
49435         * configure: Regenerated.
49436         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49437         required minimum version and 4.6 as recommended version.  Do not
49438         mention bugs in GCC 2.7 and 2.8.
49439         * INSTALL: Regenerated.
49441 2012-02-27  David S. Miller  <davem@davemloft.net>
49443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49447         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49448         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49449         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49450         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49452         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49453         manipulate bits before adding and subtracting TWO112[sx].
49454         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49456 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49458         [BZ #13775]
49459         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49460         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49461         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49462         being in POSIX, because they are in 1003.1-2008.
49464         * rt/tst-aio.c: Include <fcntl.h>.
49465         * rt/tst-aio7.c: Likewise.
49466         * rt/tst-aio64.c: Likewise.
49468         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49470 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49472         * manual/install.texi (--with-headers): Describe headers as
49473         interface headers, not private headers.
49474         (Specific advice for GNU/Linux systems): Describe use of headers
49475         from "make headers_install", not private headers from older
49476         kernels.
49477         * INSTALL: Regenerated.
49478         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49479         Change to 2.6.19.
49480         * sysdeps/unix/sysv/linux/configure: Regenerated.
49482         * manual/llio.texi (fclean): Remove documentation.
49484         * manual/Makefile (libc-texi-generated): New variable.  Include
49485         version.texi.
49486         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49487         $(libc-texi-generated), not duplicated list of files.
49488         (version.texi, stamp-version): New rules.
49489         (realclean): Remove $(libc-texi-generated), not individual files
49490         from that list.  Do not remove dir-add.texinfo.
49491         * manual/libc.texinfo: Comment out uses of edition numbers and
49492         references to printed manual.  Remove last-updated dates.
49493         (EDITION): Comment out.
49494         (ISBN): Likewise.
49495         (VERSION, UPDATED): Remove.
49496         (version.texi): Include.
49498 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49500         * sysdeps/posix/spawni.c: Include <signal.h>.
49501         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49502         * sysdeps/pthread/aio_fsync.c: Likewise.
49504 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49506         * conform/Makefile (tests): Run only when not cross-compiling and
49507         when fast-check is not defined.
49509         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49510         * conform/data/limits.h-data: Fixes for POSIX2008.
49511         * conform/run-conformtest.sh: Run all tests.
49512         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49513         headers.
49514         * include/bits/dlfcn.h: Likewise.
49515         * include/langinfo.h: Likewise.
49516         * include/monetary.h: Likewise.
49517         * include/sys/poll.h: Likewise.
49519         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49520         for __USE_GNU.
49521         * posix/spawn.h: Define __need_sigset_t.
49522         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49523         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49524         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49525         to get sigevent_t only.
49526         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49527         only for __USE_GNU.
49528         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49529         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49530         process_vm_writev only for __USE_GNU.
49531         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49533         * conform/Makefile: For now ignore errors from run-conformtest.
49534         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49535         POSIX to avoid namespace pollution.  Don't prepend headers.
49536         * conform/data/aio.h-data: Fixes for POSIX testing.
49537         * conform/data/fcntl.h-data: Likewise.
49538         * conform/data/glob.h-data: Likewise.
49539         * conform/data/grp.h-data: Likewise.
49540         * conform/data/pthread.h-data: Likewise.
49541         * conform/data/pwd.h-data: Likewise.
49542         * conform/data/signal.h-data: Likewise.
49543         * conform/data/spawn.h-data: Likewise.
49544         * conform/data/stdio.h-data: Likewise.
49545         * conform/data/stdlib.h-data: Likewise.
49546         * conform/data/stropts.h-data: Likewise.
49547         * conform/data/sys/mman.h-data: Likewise.
49548         * conform/data/sys/stat.h-data: Likewise.
49549         * conform/data/sys/types.h-data: Likewise.
49550         * conform/data/sys/wait.h-data: Likewise.
49551         * conform/data/time.h-data: Likewise.
49552         * conform/data/unistd.h-data: Likewise.
49553         * conform/data/utime.h-data: Likewise.
49555         * io/sys/stat.h: fchmod was always in POSIX.
49556         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49557         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49558         * rt/aio.h: Define __need_timespec before including <time.h>.
49559         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49560         struct.  Add forward declaration of pthread_attr_t and use it in
49561         sigevent.
49562         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49563         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49564         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49565         always remove CLK_TCK definition.
49567 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49569         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49571 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49573         * conform/run-conformtest.sh: New file.
49574         * conform/Makefile: Run run-conformtest for tests.
49575         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49576         support.
49578         * conform/data/uchar.h-data: New file.
49579         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49580         * conform/data/arpa/inet.h-data: Likewise.
49581         * conform/data/assert.h-data: Likewise.
49582         * conform/data/complex.h-data: Likewise.
49583         * conform/data/cpio.h-data: Likewise.
49584         * conform/data/ctype.h-data: Likewise.
49585         * conform/data/dirent.h-data: Likewise.
49586         * conform/data/dlfcn.h-data: Likewise.
49587         * conform/data/errno.h-data: Likewise.
49588         * conform/data/fcntl.h-data: Likewise.
49589         * conform/data/float.h-data: Likewise.
49590         * conform/data/fmtmsg.h-data: Likewise.
49591         * conform/data/fnmatch.h-data: Likewise.
49592         * conform/data/ftw.h-data: Likewise.
49593         * conform/data/glob.h-data: Likewise.
49594         * conform/data/grp.h-data: Likewise.
49595         * conform/data/iconv.h-data: Likewise.
49596         * conform/data/inttypes.h-data: Likewise.
49597         * conform/data/langinfo.h-data: Likewise.
49598         * conform/data/libgen.h-data: Likewise.
49599         * conform/data/limits.h-data: Likewise.
49600         * conform/data/locale.h-data: Likewise.
49601         * conform/data/math.h-data: Likewise.
49602         * conform/data/monetary.h-data: Likewise.
49603         * conform/data/mqueue.h-data: Likewise.
49604         * conform/data/ndbm.h-data: Likewise.
49605         * conform/data/net/if.h-data: Likewise.
49606         * conform/data/netdb.h-data: Likewise.
49607         * conform/data/netinet/in.h-data: Likewise.
49608         * conform/data/nl_types.h-data: Likewise.
49609         * conform/data/poll.h-data: Likewise.
49610         * conform/data/pthread.h-data: Likewise.
49611         * conform/data/pwd.h-data: Likewise.
49612         * conform/data/regex.h-data: Likewise.
49613         * conform/data/sched.h-data: Likewise.
49614         * conform/data/search.h-data: Likewise.
49615         * conform/data/semaphore.h-data: Likewise.
49616         * conform/data/setjmp.h-data: Likewise.
49617         * conform/data/signal.h-data: Likewise.
49618         * conform/data/spawn.h-data: Likewise.
49619         * conform/data/stdarg.h-data: Likewise.
49620         * conform/data/stdio.h-data: Likewise.
49621         * conform/data/stdlib.h-data: Likewise.
49622         * conform/data/string.h-data: Likewise.
49623         * conform/data/strings.h-data: Likewise.
49624         * conform/data/stropts.h-data: Likewise.
49625         * conform/data/sys/ipc.h-data: Likewise.
49626         * conform/data/sys/mman.h-data: Likewise.
49627         * conform/data/sys/msg.h-data: Likewise.
49628         * conform/data/sys/resource.h-data: Likewise.
49629         * conform/data/sys/select.h-data: Likewise.
49630         * conform/data/sys/sem.h-data: Likewise.
49631         * conform/data/sys/shm.h-data: Likewise.
49632         * conform/data/sys/socket.h-data: Likewise.
49633         * conform/data/sys/stat.h-data: Likewise.
49634         * conform/data/sys/statvfs.h-data: Likewise.
49635         * conform/data/sys/time.h-data: Likewise.
49636         * conform/data/sys/timeb.h-data: Likewise.
49637         * conform/data/sys/times.h-data: Likewise.
49638         * conform/data/sys/types.h-data: Likewise.
49639         * conform/data/sys/uio.h-data: Likewise.
49640         * conform/data/sys/un.h-data: Likewise.
49641         * conform/data/sys/utsname.h-data: Likewise.
49642         * conform/data/sys/wait.h-data: Likewise.
49643         * conform/data/syslog.h-data: Likewise.
49644         * conform/data/tar.h-data: Likewise.
49645         * conform/data/termios.h-data: Likewise.
49646         * conform/data/utime.h-data: Likewise.
49647         * conform/data/utmpx.h-data: Likewise.
49648         * conform/data/varargs.h-data: Likewise.
49649         * conform/data/wchar.h-data: Likewise.
49650         * conform/data/wctype.h-data: Likewise.
49651         * conform/data/wordexp.h-data: Likewise.
49653         * include/stropts.h: New file.
49654         * include/uchar.h: New file.
49655         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49656         * include/assert.h: Likewise.
49657         * include/ctype.h: Likewise.
49658         * include/dirent.h: Likewise.
49659         * include/dlfcn.h: Likewise.
49660         * include/fcntl.h: Likewise.
49661         * include/fnmatch.h: Likewise.
49662         * include/glob.h: Likewise.
49663         * include/grp.h: Likewise.
49664         * include/libio.h: Likewise.
49665         * include/locale.h: Likewise.
49666         * include/math.h: Likewise.
49667         * include/net/if.h: Likewise.
49668         * include/netdb.h: Likewise.
49669         * include/netinet/in.h: Likewise.
49670         * include/pthread.h: Likewise.
49671         * include/pwd.h: Likewise.
49672         * include/regex.h: Likewise.
49673         * include/sched.h: Likewise.
49674         * include/search.h: Likewise.
49675         * include/setjmp.h: Likewise.
49676         * include/signal.h: Likewise.
49677         * include/stdio.h: Likewise.
49678         * include/stdlib.h: Likewise.
49679         * include/string.h: Likewise.
49680         * include/sys/cdefs.h: Likewise.
49681         * include/sys/mman.h: Likewise.
49682         * include/sys/msg.h: Likewise.
49683         * include/sys/resource.h: Likewise.
49684         * include/sys/select.h: Likewise.
49685         * include/sys/socket.h: Likewise.
49686         * include/sys/stat.h: Likewise.
49687         * include/sys/statvfs.h: Likewise.
49688         * include/sys/time.h: Likewise.
49689         * include/sys/times.h: Likewise.
49690         * include/sys/uio.h: Likewise.
49691         * include/sys/utsname.h: Likewise.
49692         * include/sys/wait.h: Likewise.
49693         * include/termios.h: Likewise.
49694         * include/time.h: Likewise.
49695         * include/ulimit.h: Likewise.
49696         * include/unistd.h: Likewise.
49697         * include/utime.h: Likewise.
49698         * include/wchar.h: Likewise.
49699         * include/wctype.h: Likewise.
49700         * include/wordexp.h: Likewise.
49702         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49704         * time/time.h: TIME_UTC must be a macro.
49705         Make timespec_get available for ISO C11 only as well.
49707 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49709         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49710         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49712 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49714         * configure.in: Use -o not -a in test for unsupported multi-arch.
49716 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49718         * manual/texinfo.tex: Update to version 2012-01-19.16.
49720 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49722         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49724 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49726         [BZ #13738]
49727         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49728         * manual/fdl-1.3.texi: New file.
49729         * manual/fdl-1.1.texi: File removed.
49731         [BZ #13738]
49732         * manual/libc.texinfo (FDL_VERSION): New @set.
49733         Use it for mention of FDL in cover text.
49734         (Documentation License): Use it in @include file name.
49736 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49737             Roland McGrath  <roland@hack.frob.com>
49739         [BZ #5461]
49740         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49741         (not LONG_LONG_MAX and LONG_LONG_MIN.
49742         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49743         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49744         name.
49745         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49747 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49749         [BZ #2547]
49750         [BZ #11365]
49751         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49752         manipulate bits before adding and subtracting TWO23[sx].
49753         * math/libm-test.inc (nearbyint_test): Add more tests.
49755 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49757         [BZ #2548]
49758         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49759         bits before adding and subtracting TWO23[sx].
49760         * math/libm-test.inc (rint_test): Add more tests.
49761         (rint_test_tonearest): Likewise.
49762         (rint_test_towardzero): Likewise.
49763         (rint_test_downward): Likewise.
49764         (rint_test_upward: Likewise.
49766 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49768         [BZ #10110]
49769         * include/stdc-predef.h: New file.  Extracted from features.h.
49770         * include/features.h: Include stdc-predef.h.
49771         * Makefile (headers): Add stdc-predef.h.
49772         * CONFORMANCE (Compiler limitations): Update.
49774 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49776         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49778 2012-02-21  David S. Miller  <davem@davemloft.net>
49780         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49781         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49783 2012-02-20  David S. Miller  <davem@davemloft.net>
49785         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49786         using a normal save/restore sequence, rather than allocating a
49787         dummy stack frame just to store a frame pointer and restore.
49788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49790 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49792         * manual/install.texi: Fix stray word in line-wrapped comment.
49794 2012-02-20  David S. Miller  <davem@davemloft.net>
49796         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49797         both binutils and gcc support GOTDATA.
49799         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49800         "rd %pc" in the PIC register setup sequences.
49802         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49803         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49804         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49805         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49806         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49807         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49808         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49809         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49810         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49811         (SYSCALL_ERROR_HANDLER): Likewise.
49812         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49813         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49815         (SYSCALL_ERROR_HANDLER): Likewise.
49817         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49818         (HAVE_GCC_GOTDATA): New.
49819         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49820         relocation support in both binutils and gcc.
49821         * sysdeps/sparc/elf/configure: Regenerate.
49823         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49824         * sysdeps/sparc/sparc32/elf/configure: Delete.
49825         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49826         * sysdeps/sparc/sparc64/elf/configure: Delete.
49827         * sysdeps/sparc/elf/configure.in: New file.
49828         * sysdeps/sparc/elf/configure: Generate.
49830         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49831         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49832         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49833         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49834         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49836 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49838         * manual/install.texi: Do not mention specific glibc version
49839         numbers.
49840         * manual/libc.texinfo (VERSION, UPDATED): Update.
49841         (@copying): Use @copyright{} and range of years.
49843 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49845         [BZ #13695]
49846         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49847         [crti.S not in sysdirs] (generated): Do not append.
49848         [crti.S not in sysdirs] (omit-deps): Likewise.
49849         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49850         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49851         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49852         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49853         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49854         Likewise.
49855         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49856         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49857         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49858         * csu/defs.awk: Remove file.
49859         * sysdeps/generic/initfini.c: Likewise.
49860         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49861         variable.
49862         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49863         Likewise.
49865 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49867         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49868         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49869         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49870         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49871         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49872         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49873         <bits/epoll.h>.
49874         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49875         (__EPOLL_PACKED): Define to empty if not defined by
49876         <bits/epoll.h>.
49877         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49879         bits/epoll.h.
49881 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49883         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49884         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49885         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49886         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49887         <bits/timerfd.h>.
49888         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49889         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49890         bits/timerfd.h.
49892 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49894         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49895         in C locale.
49896         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49897         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49898         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49901 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49903         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49904         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49906 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49908         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49909         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49910         defined.
49911         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49912         Likewise.
49913         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49914         entry for 2.16.
49916 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49918         * math/w_acos.c: Use non-signaling floating-point comparisons.
49919         * math/w_acosf.c: Likewise.
49920         * math/w_acosh.c: Likewise.
49921         * math/w_acoshf.c: Likewise.
49922         * math/w_acoshl.c: Likewise.
49923         * math/w_acosl.c: Likewise.
49924         * math/w_asin.c: Likewise.
49925         * math/w_asinf.c: Likewise.
49926         * math/w_asinl.c: Likewise.
49927         * math/w_atanh.c: Likewise.
49928         * math/w_atanhf.c: Likewise.
49929         * math/w_atanhl.c: Likewise.
49930         * math/w_exp2.c: Likewise.
49931         * math/w_exp2f.c: Likewise.
49932         * math/w_exp2l.c: Likewise.
49933         * math/w_j0.c: Likewise.
49934         * math/w_j0f.c: Likewise.
49935         * math/w_j0l.c: Likewise.
49936         * math/w_j1.c: Likewise.
49937         * math/w_j1f.c: Likewise.
49938         * math/w_j1l.c: Likewise.
49939         * math/w_jn.c: Likewise.
49940         * math/w_jnf.c: Likewise.
49941         * math/w_log.c: Likewise.
49942         * math/w_log10.c: Likewise.
49943         * math/w_log10f.c: Likewise.
49944         * math/w_log10l.c: Likewise.
49945         * math/w_log2.c: Likewise.
49946         * math/w_log2f.c: Likewise.
49947         * math/w_log2l.c: Likewise.
49948         * math/w_logf.c: Likewise.
49949         * math/w_logl.c: Likewise.
49950         * math/w_sqrt.c: Likewise.
49951         * math/w_sqrtf.c: Likewise.
49952         * math/w_sqrtl.c: Likewise.
49953         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49954         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49955         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49956         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49957         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49959 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49961         [BZ #9739]
49962         * manual/string.texi (strnlen): Use correct parameter name in
49963         equivalent expression.
49965 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49967         [BZ #11174]
49968         * manual/users.texi (seteuid): Consistently use neweuid for
49969         argument name.
49971 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49973         [BZ #13704]
49974         * manual/nss.texi (Services in the NSS configuration): Correct
49975         list of services in example configuration file.
49977 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49979         [BZ #11322]
49980         * manual/arith.texi: Remove statements about negative zero
49981         behaving identically to zero.
49983 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49985         [BZ #5993]
49986         * manual/install.texi: Do not document upgrading from libc5.
49988 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49990         [BZ #4596]
49991         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49993 2012-02-18  David S. Miller  <davem@davemloft.net>
49995         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49996         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49997         %o7 across the call.
49998         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49999         instead.
50000         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50001         SETUP_PIC_REG_LEAF.
50002         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50003         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50004         * sysdeps/sparc/crtn.S: Likewise.
50006 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
50008         * aout/Makefile: Remove.
50010 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
50012         [BZ #13058]
50013         * manual/examples/argp-ex1.c (main): Format definition in GNU
50014         style.
50015         * manual/examples/argp-ex2.c (main): Likewise.
50016         * manual/examples/argp-ex3.c (main): Likewise.
50017         * manual/examples/argp-ex4.c (main): Likewise.
50018         * manual/examples/longopt.c (main): Use new-style prototype
50019         definition.
50020         * manual/examples/strncat.c (main): Specify return type and use
50021         (void) for arguments.
50022         * manual/examples/subopt.c (main): Use char **argv argument.
50024 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50026         [BZ #5077]
50027         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50028         rounding modes.
50030 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
50032         [BZ #6907]
50033         * manual/string.texi (strchr): Change when strchrnul is
50034         recommended.
50036 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
50038         [BZ #174]
50039         * manual/locale.texi (setlocale): Document LOCPATH.
50041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50043         [BZ #10210]
50044         * manual/process.texi (execle): Move @dots{} before last argument.
50046 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50048         [BZ #12047]
50049         * manual/charset.texi (Generic Charset Conversion): Fix typo
50050         (LC_TYPE -> LC_CTYPE).
50052 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50054         [BZ #5805]
50055         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50056         (scalbnf): Likewise.
50057         (scalbnl): Likewise.
50058         (scalbln): Likewise.
50059         (scalblnf): Likewise.
50060         (scalblnl): Likewise.
50061         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50062         (vwarnx): Likewise.
50063         (verr): Likewise.
50064         (verrx): Likewise.
50065         * manual/filesys.texi (telldir): Use braces around return type.
50066         * manual/llio.texi (mmap): Add space after comma.
50067         (mmap64): Likewise.
50068         * manual/math.texi (jn): Use @var{} on parameter names.
50069         (jnf): Likewise.
50070         (jnl): Likewise.
50071         (yn): Likewise.
50072         (ynf): Likewise.
50073         (ynl): Likewise.
50074         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50075         line.
50076         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50077         "...".
50078         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50079         (sched_get_priority_max): Likewise.
50080         * manual/signal.texi (sigvec): Add space after comma.
50081         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50082         names.
50083         (if_indextoname): Likewise.
50084         (if_freenameindex): Likewise.
50085         (sendto): Use ',' instead of '.' in prototype.
50086         * manual/startup.texi (syscall): Use @dots{} instead of literal
50087         "...".
50088         * manual/stdio.texi (__fpending): Separate initial words of
50089         paragraph from @deftypefun line.
50090         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50091         "...".
50092         (vsyslog): Use @var{} on parameter names.
50093         * manual/terminal.texi (stty): Use @var{} on parameter names.
50094         * manual/users.texi (getutmp): Use @var{} on parameter names.
50095         (getutmpx): Likewise.
50097 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50099         [BZ #6884]
50100         * manual/stdio.texi (fopen): Fix typos in description of
50101         ",ccs=STRING".
50103 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50105         [BZ #4026]
50106         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50107         get clock_id definition.
50109 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50111         [BZ #4822]
50112         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50113         (madvise): Cast every argument to void on its own.
50115 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50117         [BZ #9902]
50118         * manual/startup.texi (Exit Status): Fix typo.
50120 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50122         [BZ #10140]
50123         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50124         * manual/examples/argp-ex2.c: Likewise.
50125         * manual/examples/argp-ex3.c: Likewise.
50127 2012-02-16  Richard Henderson  <rth@redhat.com>
50129         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50130         * sysdeps/s390/s390-32/initfini.c: Remove.
50131         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50132         * sysdeps/s390/s390-64/initfini.c: Remove.
50134 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50136         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50137         compiler output for sysdeps/generic/initfini.c.
50138         * sysdeps/sh/elf/initfini.c: Remove file.
50140 2012-02-16  David S. Miller  <davem@davemloft.net>
50142         [BZ #11494]
50143         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50145         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50146         * sysdeps/sparc/crti.S: New file.
50147         * sysdeps/sparc/crtn.S: New file.
50148         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50149         * sysdeps/sparc/sparc64/Makefile: Likewise.
50151 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50153         [BZ #3335]
50154         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50156 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50158         [BZ #4822]
50159         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50161         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50162         (write, read, close): Likewise.
50163         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50165 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50167         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50168         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50169         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50170         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50171         <bits/signalfd.h>.
50172         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50174         bits/signalfd.h.
50176 2012-02-14  Marek Polacek  <polacek@redhat.com>
50178         * sysdeps/x86_64/crti.S: New file.
50179         * sysdeps/x86_64/crtn.S: New file.
50180         * sysdeps/x86_64/elf/initfini.c: Remove file.
50182 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50184         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50185         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50186         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50187         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50188         <bits/inotify.h>.
50189         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50190         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50191         bits/inotify.h.
50193 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50195         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50196         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50197         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50198         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50199         <bits/eventfd.h>.
50200         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50202         bits/eventfd.h.
50204 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50206         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50207         __feraiseexcept instead of feraiseexcept.
50209         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50210         nanosleep invocations.
50211         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50212         strings, and add error checking for a nanosleep invocations.
50214 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50216         Replace FSF snail mail address with URLs, as per GNU coding standards.
50217         Most of the snail mail addresses were wrong anyway, and omitting
50218         them makes the source code easier to maintain.  Almost all of the
50219         changes are to license notices and to locale LC_IDENTIFICATION
50220         addresses, except for this one:
50221         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50222         not its snail mail address.
50224 2012-02-09  Richard Henderson  <rth@twiddle.net>
50226         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50227         of kernel-features.h.
50229         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50231 2012-02-08  Marek Polacek  <polacek@redhat.com>
50233         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50234         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50235         * sysdeps/gnu/_G_config.h: Likewise.
50236         * sysdeps/generic/_G_config.h: Likewise.
50238 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50240         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50241         tests.
50242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50244         * sysdeps/powerpc/powerpc32/crti.S: New file.
50245         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50246         * sysdeps/powerpc/powerpc64/crti.S: New file.
50247         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50249         * Makeconfig (have-initfini): Don't set.
50250         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50251         * configure.in (nopic_initfini): Don't substitute.
50252         * config.h.in (HAVE_INITFINI): Don't #undef.
50253         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50254         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50256 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50258         Support crti.S and crtn.S provided directly by architectures.
50259         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50260         [crti.S in sysdirs] (omit-deps): Likewise.
50261         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50262         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50263         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50264         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50265         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50266         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50267         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50268         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50269         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50270         compiler output for sysdeps/generic/initfini.c.
50271         * sysdeps/i386/elf/Makefile: Remove file.
50272         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50274 2012-02-07  Marek Polacek  <polacek@redhat.com>
50276         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50277         * sysdeps/gnu/_G_config.h: Likewise.
50278         * sysdeps/mach/hurd/_G_config.h: Likewise.
50280 2012-02-07  Marek Polacek  <polacek@redhat.com>
50282         * math/Makefile (tests): Add tst-CMPLX2.
50283         * math/tst-CMPLX2.c: New file.
50285 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50287         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50289         * math/libm-test.inc (jn_test): Add missing L suffix.
50291 2012-02-06  Marek Polacek  <polacek@redhat.com>
50293         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50294         * sysdeps/i386/fpu/e_powf.S: Likewise.
50295         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50296         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50297         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50298         * sysdeps/i386/fpu/e_pow.S: Likewise.
50299         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50300         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50301         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50302         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50303         * sysdeps/i386/fpu/e_log2.S: Likewise.
50304         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50305         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50306         * sysdeps/i386/fpu/e_powl.S: Likewise.
50307         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50308         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50309         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50310         * sysdeps/i386/fpu/e_logl.S: Likewise.
50311         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50312         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50313         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50314         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50315         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50316         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50317         * sysdeps/i386/fpu/e_log.S: Likewise.
50318         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50319         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50320         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50321         * sysdeps/i386/fpu/e_logf.S: Likewise.
50322         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50323         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50324         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50325         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50326         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50327         * sysdeps/i386/fpu/e_log10.S: Likewise.
50328         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50329         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50330         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50331         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50332         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50333         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50334         * sysdeps/i386/asm-syntax.h: Likewise.
50335         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50336         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50337         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50338         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50339         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50340         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50341         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50342         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50344         * sysdeps/powerpc/sysdep.h: Likewise.
50345         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50346         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50348 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50350         [BZ #411]
50351         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50353 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50355         * sysdeps/i386/sysdep.h: Include <features.h>.
50356         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50357         version.
50359 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50361         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50362         Define.
50363         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50364         LOAD_PIC_REG_STR.
50366 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50368         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50369         (SETUP_PIC_REG): Use GET_PC_THUNK.
50370         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50371         macro.
50373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50375         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50376         for non-PIC compilation.
50377         (SETUP_PIC_REG): Add .p2align directive.
50378         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50379         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50380         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50381         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50382         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50383         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50384         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50385         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50386         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50387         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50388         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50389         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50390         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50391         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50392         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50393         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50394         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50395         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50396         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50397         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50398         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50399         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50400         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50401         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50402         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50403         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50404         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50405         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50406         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50407         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50408         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50409         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50410         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50411         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50412         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50413         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50414         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50415         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50416         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50417         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50418         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50420 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50422         * math/tst-CMPLX.c: Include <stdio.h>.
50424 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50426         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50427         float.
50428         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50429         * sysdeps/sparc/bits/mathdef.h: Likewise.
50431 2012-01-31  Marek Polacek  <polacek@redhat.com>
50433         * libio/libio.h: Don't define _PARAMS.
50434         * locale/programs/config.h: Don't define PARAMS.
50435         * stdlib/strtol_l.c: Likewise.
50436         (__strtol_l): Remove PARAMS from the prototype.
50438 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50440         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50441         names.  Just use the correct names.  Remove unnecessary wrapper
50442         functions.
50443         * malloc/arena.c: Likewise.
50444         * malloc/hooks.c: Likewise.
50446         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50447         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50448         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50450 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50452         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50453         into tail calls.
50454         (update_get_addr): New function.
50455         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50456         GET_ADDR_MODULE parameter.
50458 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50460         * crypt/cert.c: Remove __STDC__ conditionals.
50461         * crypt/crypt-entry.c: Likewise.
50462         * crypt/crypt_util.c: Likewise.
50463         * libio/filedoalloc.c: Likewise.
50464         * libio/fileops.c: Likewise.
50465         * libio/genops.c: Likewise.
50466         * libio/iofclose.c: Likewise.
50467         * libio/iofdopen.c: Likewise.
50468         * libio/iofopen.c: Likewise.
50469         * libio/iofopen64.c: Likewise.
50470         * libio/iogetdelim.c: Likewise.
50471         * libio/iopopen.c: Likewise.
50472         * libio/obprintf.c: Likewise.
50473         * libio/oldfileops.c: Likewise.
50474         * libio/oldiofclose.c: Likewise.
50475         * libio/oldiofdopen.c: Likewise.
50476         * libio/oldiofopen.c: Likewise.
50477         * libio/oldiopopen.c: Likewise.
50478         * libio/wfiledoalloc.c: Likewise.
50479         * libio/wgenops.c: Likewise.
50480         * locale/programs/xmalloc.c: Likewise.
50481         * misc/syslog.c: Likewise.
50482         * stdio-common/xbug.c: Likewise.
50483         * string/memchr.c: Likewise.
50484         * string/memcmp.c: Likewise.
50485         * string/memrchr.c: Likewise.
50486         * string/rawmemchr.c: Likewise.
50487         * sysdeps/posix/getcwd.c: Likewise.
50488         * time/strftime_l.c: Likewise.
50490 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50492         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50493         * config.make.in (config-cflags-sse2avx): Define.
50494         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50495         Fix typo.
50497 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50499         * scripts/config.guess: Update from upstream config git repository.
50500         * scripts/config.sub: Likewise.
50502 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50504         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50505         (EM_NUM): Update.
50506         (R_TILEPRO_*, R_TILEGX_*): New macros.
50508         * scripts/firstversions.awk: Fix bug in version range handling.
50510         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50512         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50514         * include/sys/epoll.h: New file.
50515         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50516         libc_hidden_def.
50518 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50520         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50521         Avoid unnecessary __WORDSIZE == 64 test.
50522         (fmaxf): Use VEX format if possible.
50523         (fmax): Likewise.
50524         (fminf): Likewise.
50525         (fmin): Likewise.
50527         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50528         * math/math_private.h: Remove libc_fegetround* and
50529         libc_fesetround*.
50530         * sysdeps/i386/configure.in: Check for -msse2avx.
50531         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50532         also if SSE2AVX is defined.
50533         Remove libc_fegetround* and libc_fesetround*.
50534         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50535         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50536         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50537         of HAS_YMM_USABLE.
50538         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50539         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50540         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50541         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50542         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50544         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50546 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50548         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50549         size is not set.
50550         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50552 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50554         [BZ #13618]
50555         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50556         relocation.
50557         * Makeconfig (libm): Define.
50558         * elf/Makefile: Add rules to build and run tst-relsort1.
50559         * elf/tst-relsort1.c: New file.
50560         * elf/tst-relsort1mod1.c: New file.
50561         * elf/tst-relsort1mod2.c: New file.
50563 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50565         * math/s_ldexp.c: Remove __STDC__ conditionals.
50566         * math/s_ldexpf.c: Likewise.
50567         * math/s_ldexpl.c: Likewise.
50568         * math/s_nextafter.c: Likewise.
50569         * math/s_nexttowardf.c: Likewise.
50570         * math/s_significand.c: Likewise.
50571         * math/s_significandf.c: Likewise.
50572         * math/s_significandl.c: Likewise.
50573         * math/w_jnl.c: Likewise.
50574         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50575         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50576         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50577         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50578         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50579         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50580         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50583         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50584         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50586         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50593         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50594         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50595         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50596         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50598         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50599         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50600         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50601         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50602         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50603         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50604         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50605         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50606         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50607         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50608         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50609         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50610         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50611         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50612         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50613         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50614         * sysdeps/ieee754/k_standard.c: Likewise.
50615         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50617         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50618         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50619         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50620         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50621         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50622         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50623         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50624         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50625         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50626         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50627         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50628         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50629         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50630         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50631         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50632         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50633         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50634         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50635         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50636         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50637         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50638         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50639         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50640         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50642         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50643         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50644         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50645         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50646         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50647         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50648         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50649         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50650         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50651         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50652         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50653         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50654         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50655         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50656         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50657         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50658         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50659         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50660         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50663         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50665         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50666         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50667         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50668         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50669         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50670         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50671         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50672         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50673         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50674         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50675         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50676         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50677         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50678         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50679         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50680         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50681         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50682         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50683         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50684         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50685         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50686         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50687         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50688         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50689         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50690         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50691         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50692         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50694         * sysdeps/ieee754/s_matherr.c: Likewise.
50695         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50696         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50697         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50700 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50702         * crypt/md5.h: Remove __STDC__ conditionals.
50703         * libio/libioP.h: Likewise.
50704         * locale/programs/config.h: Likewise.
50705         * sysdeps/generic/sysdep.h: Likewise.
50706         * sysdeps/i386/asm-syntax.h: Likewise.
50707         * sysdeps/s390/asm-syntax.h: Likewise.
50708         * sysdeps/unix/sysdep.h: Likewise.
50709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50712 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50714         * libio/libio.h: Remove __STDC__ conditionals.
50715         * malloc/obstack.h: Likewise.
50716         * math/complex.h: Likewise.
50717         * math/math.h: Likewise.
50718         * sysdeps/generic/_G_config.h: Likewise.
50719         * sysdeps/gnu/_G_config.h: Likewise.
50720         * sysdeps/mach/hurd/_G_config.h: Likewise.
50721         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50722         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50723         * sysdeps/sparc/bits/mathdef.h: Likewise.
50725 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50727         [BZ #13583]
50728         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50729         Clean up HAS_* macros.
50730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50731         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50732         possible.
50733         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50734         HAS_AVX.
50735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50736         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50737         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50738         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50739         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50741 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50743         * elf/tst-unique3.cc (gets): Remove declaration.
50744         * elf/tst-unique3lib.cc (gets): Likewise.
50745         * elf/tst-unique3lib2.cc (gets): Likewise.
50746         * elf/tst-unique4.cc (gets): Likewise.
50748 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50750         * include/stdio.h: Add C++ protection.  Add gets declarations and
50751         definitions.
50752         * debug/tst-chk1.c: Don't declare gets here.
50753         * stdio-common/tst-gets.c: Likewise.
50755 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50757         * posix/glob: Remove directory.
50759 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50761         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50763 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50765         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50766         of the non-standard EPFNOSUPPORT.
50768 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50770         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50771         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50772         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50774 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50776         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50778 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50780         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50781         transient errors.
50782         * nscd/grpcache.c (cache_addgr): Likewise.
50783         * nscd/hstcache.c (cache_addhst): Likewise.
50784         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50785         * nscd/pwdcache.c (cache_addpw): Likewise.
50786         * nscd/servicescache.c (cache_addserv): Likewise.
50788 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50790         * malloc/malloc.c: Various cleanups.
50791         * malloc/hooks.c: Likewise.
50793         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50794         * stdlib/bug-fmtmsg1.c: New file.
50796         * stdlib/fmtmsg.c (init): Add missing unlock.
50797         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50799 2012-01-12  Marek Polacek  <polacek@redhat.com>
50801         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50802         and _GNU_SOURCE.
50804 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50806         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50807         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50808         macro to ensure uniqueness of label name.
50809         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50810         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50812 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50814         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50816         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50817         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50821 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50823         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50825         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50826         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50827         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50829         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50831         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50832         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50833         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50834         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50836         * math/bits/math-finite.h: Add ldexp support.
50838 2012-01-10  Marek Polacek  <polacek@redhat.com>
50840         * locale/programs/localedef.h (show_archive_content): Add noreturn
50841         attribute.
50843 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50845         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50847 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50849         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50851         * io/Makefile (headers): Add bits/poll2.h.
50853 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50856         typo #include statement.
50858 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50860         * include/sys/cdefs.h: Define __attribute_alloc_size.
50861         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50862         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50863         * elf/pldd.c: Likewise.
50864         * iconv/iconv_charmap.c: Likewise.
50865         * iconv/iconvconfig.c: Likewise.
50866         * iconv/strtab.c: Likewise.
50867         * locale/programs/locale.c: Likewise.
50868         * locale/programs/localedef.h: Likewise.
50869         * locale/programs/simple-hash.c: Likewise.
50870         * nscd/nscd.h: Likewise.
50871         * nss/makedb.c: Likewise.
50872         * sysdeps/generic/ldconfig.h: Likewise.
50873         * locale/programs/localedef.c: Remove xmalloc prototype.
50874         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50876 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50878         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50879         appropriate.
50881 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50883         * math/Makefile (tests): Add tst-CMPLX.
50884         * math/tst-CMPLX.c: New file.
50886         * math/complex.h (CMPLXL): Fix typo.
50888         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50889         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50890         GLIBC_2.16.
50891         * debug/tst-chk1.c: Add poll and ppoll tests.
50892         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50893         * include/sys/poll.h: Add hidden proto for ppoll.
50894         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50895         * sysdeps/mach/hurd/ppoll.c: Likewise.
50896         * io/ppoll.c: Likewise.
50897         * debug/poll_chk.c: New file.
50898         * debug/ppoll_chk.c: New file.
50899         * include/bits/poll2.h: New file.
50900         * io/bits/poll2.h: New file.
50902         [BZ #1350]
50903         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50905         * configure.in: static is always set to yes.  Remove.
50906         * config.make.in: Don't set build-static.
50907         * Makeconfig: Remove use of build-static.
50908         * dlfcn/Makefile: Likewise.
50909         * elf/Makefile: Likewise.
50910         * math/Makefile: Likewise.
50911         * misc/Makefile: Likewise.
50912         * nptl/Makefile: Likewise.
50913         * sysdeps/mach/hurd/Makefile: Likewise.
50915         * configure.in: PWD_P is not used anymore.
50916         * config.make.in: Remove PWD_P entry.
50918         * configure.in: Remove last remnants of RANLIB.
50919         No need to check for signed size_t anymore.
50920         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50921         and IA-64.
50922         Remove __builtin_expect test because we require at least gcc 3.4.
50923         * aclocal.m4: Likewise.
50925         * wcsmbs/mbrtoc16.c: Implement using towc function.
50926         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50927         * wcsmbs/wcsmbsload.c: Likewise.
50928         * iconv/gconv_simple.c: Likewise.
50929         * iconv/gconv_int.h: Likewise.
50930         * iconv/gconv_builtin.h: Likewise.
50931         * iconv/iconv_prog.c: Remove CHAR16 handling.
50933         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50935         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50937         * configure.in: Remove --with-elf and --enable-bounded options.
50938         Dont set base_machine for ia64.  More non-ELF conditions removed.
50939         Remove testing and setting of leading underscore information.
50940         * config.make.in (build-bounded): Set to no.
50941         * config.h.in: Remove NO_UNDERSCORES entry.
50942         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50943         them.
50944         * csu/start.c: Remove !NO_UNDERSCORE code.
50945         * locale/localeinfo.h: Likewise.
50946         * sysdeps/generic/machine-gmon.h: Likewise.
50947         * sysdeps/generic/sysdep.h: Likewise.
50948         * sysdeps/i386/sysdep.h: Likewise.
50949         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50950         * sysdeps/mach/sysdep.h: Likewise.
50951         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50952         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50953         * sysdeps/sh/sysdep.h: Likewise.
50954         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50955         * sysdeps/unix/i386/sysdep.S: Likewise.
50956         * sysdeps/unix/sparc/start.c: Likewise.
50957         * sysdeps/unix/sparc/sysdep.S: Likewise.
50958         * sysdeps/unix/sparc/sysdep.h: Likewise.
50959         * sysdeps/unix/start.c: Likewise.
50960         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50961         * sysdeps/x86_64/sysdep.h: Likewise.
50963 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50965         [BZ #13553]
50966         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50967         for non-gcc.
50968         * argp/argp-fmtstream.h: Use const instead __const.
50969         * argp/argp.h: Likewise.
50970         * assert/assert.h: Likewise.
50971         * bits/fenv.h: Likewise.
50972         * bits/sched.h: Likewise.
50973         * bits/sigset.h: Likewise.
50974         * bits/sigthread.h: Likewise.
50975         * catgets/nl_types.h: Likewise.
50976         * conform/data/pthread.h-data: Likewise.
50977         * crypt/crypt-private.h: Likewise.
50978         * crypt/crypt.h: Likewise.
50979         * crypt/crypt_util.c: Likewise.
50980         * ctype/ctype.h: Likewise.
50981         * debug/execinfo.h: Likewise.
50982         * debug/mbsnrtowcs_chk.c: Likewise.
50983         * debug/mbsrtowcs_chk.c: Likewise.
50984         * debug/wcsnrtombs_chk.c: Likewise.
50985         * debug/wcsrtombs_chk.c: Likewise.
50986         * debug/wcstombs_chk.c: Likewise.
50987         * dirent/dirent.h: Likewise.
50988         * dlfcn/dlfcn.h: Likewise.
50989         * elf/neededtest4.c: Likewise.
50990         * grp/grp.h: Likewise.
50991         * gshadow/gshadow.h: Likewise.
50992         * iconv/gconv.h: Likewise.
50993         * iconv/gconv_int.h: Likewise.
50994         * iconv/gconv_simple.c: Likewise.
50995         * iconv/iconv.h: Likewise.
50996         * iconv/loop.c: Likewise.
50997         * iconv/skeleton.c: Likewise.
50998         * include/aio.h: Likewise.
50999         * include/aliases.h: Likewise.
51000         * include/argz.h: Likewise.
51001         * include/arpa/inet.h: Likewise.
51002         * include/assert.h: Likewise.
51003         * include/dirent.h: Likewise.
51004         * include/dlfcn.h: Likewise.
51005         * include/execinfo.h: Likewise.
51006         * include/fcntl.h: Likewise.
51007         * include/fenv.h: Likewise.
51008         * include/glob.h: Likewise.
51009         * include/grp.h: Likewise.
51010         * include/libintl.h: Likewise.
51011         * include/mntent.h: Likewise.
51012         * include/netdb.h: Likewise.
51013         * include/pwd.h: Likewise.
51014         * include/rpc/netdb.h: Likewise.
51015         * include/sched.h: Likewise.
51016         * include/search.h: Likewise.
51017         * include/shadow.h: Likewise.
51018         * include/signal.h: Likewise.
51019         * include/stdio.h: Likewise.
51020         * include/stdlib.h: Likewise.
51021         * include/string.h: Likewise.
51022         * include/sys/socket.h: Likewise.
51023         * include/sys/stat.h: Likewise.
51024         * include/sys/statfs.h: Likewise.
51025         * include/sys/statvfs.h: Likewise.
51026         * include/sys/syslog.h: Likewise.
51027         * include/sys/time.h: Likewise.
51028         * include/sys/uio.h: Likewise.
51029         * include/time.h: Likewise.
51030         * include/unistd.h: Likewise.
51031         * include/utmp.h: Likewise.
51032         * include/wchar.h: Likewise.
51033         * include/wctype.h: Likewise.
51034         * inet/aliases.h: Likewise.
51035         * inet/arpa/inet.h: Likewise.
51036         * inet/netinet/ether.h: Likewise.
51037         * inet/netinet/in.h: Likewise.
51038         * intl/libintl.h: Likewise.
51039         * io/bits/fcntl2.h: Likewise.
51040         * io/fcntl.h: Likewise.
51041         * io/ftw.h: Likewise.
51042         * io/sys/poll.h: Likewise.
51043         * io/sys/stat.h: Likewise.
51044         * io/sys/statfs.h: Likewise.
51045         * io/sys/statvfs.h: Likewise.
51046         * io/utime.h: Likewise.
51047         * libio/bits/stdio.h: Likewise.
51048         * libio/bits/stdio2.h: Likewise.
51049         * libio/libio.h: Likewise.
51050         * libio/libioP.h: Likewise.
51051         * libio/stdio.h: Likewise.
51052         * locale/lc-ctype.c: Likewise.
51053         * locale/locale.h: Likewise.
51054         * login/utmp.h: Likewise.
51055         * malloc/arena.c: Likewise.
51056         * malloc/malloc.c: Likewise.
51057         * malloc/malloc.h: Likewise.
51058         * malloc/mcheck.c: Likewise.
51059         * malloc/mtrace.c: Likewise.
51060         * math/bits/mathcalls.h: Likewise.
51061         * math/fenv.h: Likewise.
51062         * math/math_private.h: Likewise.
51063         * misc/bits/error.h: Likewise.
51064         * misc/bits/syslog.h: Likewise.
51065         * misc/err.h: Likewise.
51066         * misc/error.h: Likewise.
51067         * misc/fstab.h: Likewise.
51068         * misc/mntent.h: Likewise.
51069         * misc/regexp.h: Likewise.
51070         * misc/search.h: Likewise.
51071         * misc/sgtty.h: Likewise.
51072         * misc/sys/mman.h: Likewise.
51073         * misc/sys/syslog.h: Likewise.
51074         * misc/sys/uio.h: Likewise.
51075         * misc/sys/xattr.h: Likewise.
51076         * misc/ttyent.h: Likewise.
51077         * nis/rpcsvc/ypclnt.h: Likewise.
51078         * nss/nss.h: Likewise.
51079         * posix/bits/unistd.h: Likewise.
51080         * posix/fnmatch.h: Likewise.
51081         * posix/glob.h: Likewise.
51082         * posix/sched.h: Likewise.
51083         * posix/spawn.h: Likewise.
51084         * posix/sys/wait.h: Likewise.
51085         * posix/unistd.h: Likewise.
51086         * posix/wordexp.h: Likewise.
51087         * pwd/pwd.h: Likewise.
51088         * resolv/netdb.h: Likewise.
51089         * resource/sys/resource.h: Likewise.
51090         * rt/aio.h: Likewise.
51091         * rt/bits/mqueue2.h: Likewise.
51092         * rt/mqueue.h: Likewise.
51093         * shadow/shadow.h: Likewise.
51094         * signal/signal.h: Likewise.
51095         * socket/send.c: Likewise.
51096         * socket/sendto.c: Likewise.
51097         * socket/sys/socket.h: Likewise.
51098         * stdio-common/printf.h: Likewise.
51099         * stdlib/bits/stdlib.h: Likewise.
51100         * stdlib/fmtmsg.h: Likewise.
51101         * stdlib/monetary.h: Likewise.
51102         * stdlib/stdlib.h: Likewise.
51103         * stdlib/ucontext.h: Likewise.
51104         * streams/stropts.h: Likewise.
51105         * string/argz.h: Likewise.
51106         * string/bits/string2.h: Likewise.
51107         * string/string.h: Likewise.
51108         * string/strings.h: Likewise.
51109         * sunrpc/rpc/auth.h: Likewise.
51110         * sunrpc/rpc/auth_des.h: Likewise.
51111         * sunrpc/rpc/clnt.h: Likewise.
51112         * sunrpc/rpc/netdb.h: Likewise.
51113         * sunrpc/rpc/pmap_clnt.h: Likewise.
51114         * sunrpc/rpc/xdr.h: Likewise.
51115         * sysdeps/generic/inttypes.h: Likewise.
51116         * sysdeps/generic/net/if.h: Likewise.
51117         * sysdeps/generic/sys/swap.h: Likewise.
51118         * sysdeps/gnu/net/if.h: Likewise.
51119         * sysdeps/gnu/utmpx.h: Likewise.
51120         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51121         * sysdeps/i386/i486/bits/string.h: Likewise.
51122         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51123         * sysdeps/s390/bits/string.h: Likewise.
51124         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51125         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51126         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51127         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51128         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51129         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51130         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51131         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51132         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51133         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51134         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51135         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51136         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51137         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51138         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51139         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51140         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51141         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51142         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51143         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51144         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51145         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51146         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51147         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51148         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51149         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51150         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51151         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51152         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51153         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51154         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51155         * sysvipc/sys/ipc.h: Likewise.
51156         * sysvipc/sys/msg.h: Likewise.
51157         * sysvipc/sys/sem.h: Likewise.
51158         * sysvipc/sys/shm.h: Likewise.
51159         * termios/termios.h: Likewise.
51160         * time/sys/time.h: Likewise.
51161         * time/time.h: Likewise.
51162         * wcsmbs/bits/wchar2.h: Likewise.
51163         * wcsmbs/uchar.h: Likewise.
51164         * wcsmbs/wchar.h: Likewise.
51165         * wctype/wctype.h: Likewise.
51167         [BZ #13551]
51168         * Makeconfig: Remove all but ELF support including AIX support.
51169         * Makerules: Likewise.
51170         * config.h.in: Likewise.
51171         * config.make.in: Likewise.
51172         * configure: Likewise.
51173         * configure.in: Likewise.
51174         * csu/Makefile: Likewise.
51175         * csu/version.c: Likewise.
51176         * debug/Makefile: Likewise.
51177         * dlfcn/Makefile: Likewise.
51178         * elf/Makefile: Likewise.
51179         * extra-lib.mk: Likewise.
51180         * iconv/Makefile: Likewise.
51181         * include/libc-symbols.h: Likewise.
51182         * include/shlib-compat.h: Likewise.
51183         * resolv/Makefile: Likewise.
51184         * resolv/res_libc.c: Likewise.
51185         * rt/Makefile: Likewise.
51186         * sysdeps/i386/asm-syntax.h: Likewise.
51187         * sysdeps/i386/sysdep.h: Likewise.
51188         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51189         * sysdeps/mach/sysdep.h: Likewise.
51190         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51191         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51192         * sysdeps/s390/asm-syntax.h: Likewise.
51193         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51194         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51195         * sysdeps/sh/sysdep.h: Likewise.
51196         * sysdeps/unix/sparc/sysdep.h: Likewise.
51197         * sysdeps/wordsize-32/divdi3.c: Likewise.
51198         * sysdeps/x86_64/sysdep.h: Likewise.
51200         * argp/Versions: Remove _argp_unlock_xxx.
51202         [BZ #13559]
51203         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51204         * abilist/libBrokenLocale.abilist: Likewise.
51205         * abilist/libanl.abilist: Likewise.
51206         * abilist/libc.abilist: Likewise.
51207         * abilist/libcrypt.abilist: Likewise.
51208         * abilist/libdl.abilist: Likewise.
51209         * abilist/libm.abilist: Likewise.
51210         * abilist/libnsl.abilist: Likewise.
51211         * abilist/libpthread.abilist: Likewise.
51212         * abilist/libresolv.abilist: Likewise.
51213         * abilist/librt.abilist: Likewise.
51214         * abilist/libthread_db.abilist: Likewise.
51215         * abilist/libutil.abilist: Likewise.
51216         * abilist/libnss_db.abilist: New file.
51218         * scripts/abilist.awk: Add support for indirect functions.
51220         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51222         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51224         * shlib-versions: Remove entries for ports architectures.
51226         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51227         files in ports.
51228         * elf/stackguard-macros.h: Remove support for IA-64.
51229         * elf/tst-auditmod1.c: Likewise.
51230         * sysdeps/generic/ldsodefs.h: Likewise.
51232         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51233         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51234         configure files.
51236         [BZ #13552]
51237         * configure.in: Remove --enable-omitfp support.
51238         * FAQ.in: Adjust.
51239         * config.make.in: Likewise.
51240         * Makeconfig: Likewise.
51241         * manual/install.texi: Likewise.
51243         In case anyone cares, the IA-64 architecture could move to ports.
51244         * sysdeps/ia64/*: Removed.
51245         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51246         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51248         [BZ #13555]
51249         * configure.in: Remove entries for unsupported architectures.
51251         [BZ #13533]
51252         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51253         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51254         routines.
51255         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51256         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51257         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51258         fall back to using wcrtomb.
51259         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51260         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51261         renaming.
51262         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51263         * wcsmbs/tst-c16c32-1.c: New file.
51265         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51266         local variable.
51268         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51270         * elf/tst-unique3.cc: Add explicit declaration of gets.
51271         * elf/tst-unique3lib.cc: Likewise.
51272         * elf/tst-unique3lib2.cc: Likewise.
51273         * elf/tst-unique4.cc: Likewise.
51275         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51277 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51279         [BZ #13566]
51280         * assert/assert.h (static_assert): Don't define for C++.
51281         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51282         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51284 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51286         * iconv/loop.c (single loop): Fix assertion in storing of
51287         remaining bytes.
51289         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51291 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51293         * posix/getconf.c: Update copyright year.
51294         * nss/getent.c: Likewise.
51295         * nss/makedb.c: Likewise.
51296         * iconv/iconvconfig.c: Likewise.
51297         * iconv/iconv_prog.c: Likewise.
51298         * elf/ldconfig.c: Likewise.
51299         * elf/pldd.c: Likewise.
51300         * elf/sotruss.ksh: Likewise.
51301         * catgets/gencat.c: Likewise.
51302         * csu/version.c: Likewise.
51303         * elf/ldd.bash.in: Likewise.
51304         * elf/sprof.c (print_version): Likewise.
51305         * locale/programs/locale.c: Likewise.
51306         * locale/programs/localedef.c: Likewise.
51307         * login/programs/pt_chown.c: Likewise.
51308         * nscd/nscd.c (print_version): Likewise.
51309         * debug/xtrace.sh: Likewise.
51310         * malloc/memusage.sh: Likewise.
51311         * malloc/mtrace.pl: Likewise.
51312         * debug/catchsegv.sh: Likewise.
51314 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51316         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51317         pure attribute.
51319 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51321         [BZ #13533]
51322         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51323         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51324         transformations.
51325         * iconv/gconv_int.h: Likewise.
51326         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51327         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51328         from libc for GLIBC_2.16.
51329         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51330         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51331         * wcsmbs/uchar.h: Really define mbstate_t.
51332         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51333         * wcsmbs/c16rtomb.c: New file.
51334         * wcsmbs/mbrtoc16.c: New file.
51335         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51336         for C/POSIX locale.
51337         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51338         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51340         * wcsmbs/wchar.h: Add missing __restrict.
51342 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51344         [BZ #13532]
51345         * time/Makefile (routines): Add timespec_get.
51346         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51347         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51348         timespec for ISO C11.
51349         * time/timespec_get.c: New file.
51350         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51351         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51353         [BZ #13531]
51354         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51355         * stdlib/stdlib.h: Declare aligned_alloc.
51356         * Versions.def: Add GLIBC_2.16 for libc.
51357         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51359         [BZ 13527]
51360         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51361         ISO C11.
51363         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51364         code.
51366         [BZ #13528]
51367         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51369         [BZ #13529]
51370         * assert/assert.h (static_assert): Define.
51372         * version.h: Update for 2.16 development version.
51374         [BZ #13526]
51375         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51376         _ISOC11_SOURCE.
51378         * version.h (RELEASE): Bump for 2.15 release.
51379         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51381         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51382         Patch by Marek Polacek <mpolacek@redhat.com>.
51384         * bits/byteswap.h: Protect long long constants with __extension__.
51385         * sysdeps/i386/bits/byteswap.h: Likewise.
51386         * sysdeps/ia64/bits/byteswap.h: Likewise.
51387         * sysdeps/s390/bits/byteswap.h: Likewise.
51388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51390 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51392         [BZ #13540]
51393         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51394         destination buffer.
51395         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51397 2011-12-23  Marek Polacek  <polacek@redhat.com>
51399         * elf/dl-addr.c (determine_info): Add inline keyword.
51400         * elf/tst-auditmod4b.c (check_avx): Likewise.
51401         * elf/tst-auditmod6b.c (check_avx): Likewise.
51402         * elf/tst-auditmod6c.c (check_avx): Likewise.
51403         * elf/tst-auditmod7b.c (check_avx): Likewise.
51405 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51407         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51408         !__SSE_MATH__.
51410 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51412         [BZ #13540]
51413         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51414         processing for last bytes.
51416 2011-08-06  Bruno Haible  <bruno@clisp.org>
51418         [BZ #13061]
51419         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51420         U+0385, not to U+1FEE.
51422         [BZ #13062]
51423         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51424         entry for U+00A5 U+0301.
51426 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51428         [BZ #13166]
51429         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51430         buffer for the output is too small.
51432         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51433         optimization.
51435         [BZ #13185]
51436         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51437         SSE flags if possible.
51439 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51441         [BZ #13540]
51442         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51443         processing for last bytes.
51445 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51447         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51448         (syscall-list-default-options, syscall-list-default-condition)
51449         (syscall-list-includes): Define.
51450         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51451         list of ABIs and options and #if conditions for each ABI.  Do not
51452         handle common syscalls between ABIs specially.
51453         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51454         Remove.
51455         (syscall-list-variants, syscall-list-32bit-options)
51456         (syscall-list-32bit-condition, syscall-list-64bit-options)
51457         (syscall-list-64bit-condition): Define.
51458         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51459         (syscall-list-variants, syscall-list-32bit-options)
51460         (syscall-list-32bit-condition, syscall-list-64bit-options)
51461         (syscall-list-64bit-condition): Define.
51462         * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
51468         Remove.
51469         (syscall-list-variants, syscall-list-32bit-options)
51470         (syscall-list-32bit-condition, syscall-list-64bit-options)
51471         (syscall-list-64bit-condition): Define.
51473 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51475         * locale/iso-639.def: Add brx entry.
51477         [BZ #13328]
51478         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51479         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51481         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51482         __feraiseexcept_renamed.
51484 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51486         [BZ #13538]
51487         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51488         EPOLLET with unsigned values.
51489         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51490         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51492         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51493         to large cancellation.
51494         * math/s_cacoshf.c: Likewise.
51495         * math/s_cacoshl.c: Likewise.
51497 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51499         [BZ #13305]
51500         [BZ #12786]
51501         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51502         * math/s_cacoshf.c: Likewise.
51503         * math/s_cacoshl.c: Likewise.
51505 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51507         [BZ #13439]
51508         * iconv/gconv.h: Define __GCONV_SWAP.
51509         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51510         * iconvdata/utf-16.c: Likewise.
51511         * iconvdata/utf-32.c: Likewise.
51513 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51515         [BZ #13524]
51516         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51517         numerator after shifting it by one limb.
51519 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51521         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51522         under [__USE_EXTERN_INLINES].
51524 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51526         [BZ #13446]
51527         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51529 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51531         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51532         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51533         optimized code.
51534         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51535         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51536         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51537         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51538         for strncasecmp/strncasecmp_l compilation.
51539         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51540         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51542 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51544         [BZ #13484]
51545         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51546         of __asm__.
51548 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51550         [BZ #13506]
51551         * time/tzfile.c (__tzfile_read): Check values from file header.
51553 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51555         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51556         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51557         * powerpc/powerpc32/dl-start.S: Likewise.
51558         * powerpc/powerpc32/elf/start.S: Likewise.
51559         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51560         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51561         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51562         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51563         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51564         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51565         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51566         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51567         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51568         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51569         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51570         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51571         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51572         * powerpc/powerpc32/memset.S: Likewise.
51573         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51574         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51575         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51576         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51577         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51578         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51579         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51580         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51581         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51582         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51583         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51584         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51585         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51587 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51589         * math/libm-test.inc: Added more nearbyint tests.
51590         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51591         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51592         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51593         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51595 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51597         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51598         FD_CLOEXEC.
51600 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51602         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51603         Add wcscpy-ssse3 wcscpy-c.
51604         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51605         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51606         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51607         * sysdeps/x86_64/wcschr.S: New file.
51608         * sysdeps/x86_64/wcsrchr.S: New file.
51609         * string/test-strcmp.c: Remove checking of wcscmp function for
51610         wrong alignments.
51611         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51612         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51613         wcsrchr-sse2 wcsrchr-c.
51614         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51615         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51616         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51617         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51618         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51619         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51620         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51621         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51622         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51623         * wcsmbc/wcschr.c (WCSCHR): New macro.
51625 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51627         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51628         * wcsmbs/test-wcsrchr.c: New file.
51629         * string/test-strrchr.c: Add wcsrchr support.
51630         (WIDE): New macro.
51631         * wcsmbs/test-wcscpy.c: New file.
51632         * string/test-strcpy.c: Add wcscpy support.
51633         (WIDE): New macro.
51635 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51637         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51638         the inner loop.
51640 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51642         [BZ #13472]
51643         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51645 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51647         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51648         Minor optimizations.
51650         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51651         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51652         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51654 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51656         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51657         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51658         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51659         for gcc to avoid warnings.
51660         * inet/Makefile (tests): Add tst-checks.
51661         * inet/tst-checks.c: New file.
51663         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51664         warning.
51666         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51667         __wmemcmp_sse2.
51669         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51670         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51672         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51674 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51676         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51677         problem.
51679         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51681 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51683         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51684         conditional on GCC version.
51685         (__arch_compare_and_exchange_val_8_acq)
51686         (__arch_compare_and_exchange_val_16_acq)
51687         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51688         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51689         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51691 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51693         * sysdeps/sh/backtrace.c: New file.
51695 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51697         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51698         parenthesis.
51700 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51702         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51703         falling back to utime.
51705 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51707         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51708         expectations for float.
51710 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51712         * locale/weight.h (findidx): Add parameter len.
51713         * locale/weightwc.h (findidx): Likewise.
51714         * posix/fnmatch_loop.c (FCT): Adjust caller.
51715         * posix/regcomp.c (build_equiv_class): Likewise.
51716         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51717         * posix/regexec.c (check_node_accept_bytes): Likewise.
51718         * string/strcoll_l.c (STRCOLL): Likewise.
51719         * string/strxfrm_l.c (STRXFRM): Likewise.
51721 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51723         * Makefile.in: Remove CVSOPT handling.
51724         * configure.in: Remove use of AC_REVISION.
51725         * iconvdata/Makefile (distribute): No need to filter out CVS.
51726         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51727         handling.
51729 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51732         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51733         [USE_AS_STRNCASECMP_L]: Likewise.
51734         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51735         NO_TLS_DIRECT_SEG_REFS.
51736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51737         Fix argument offsets for non-PIC.
51738         [USE_AS_STRNCASECMP_L]: Likewise.
51739         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51740         NO_TLS_DIRECT_SEG_REFS.
51742 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51744         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51745         O_CLOEXEC.
51746         * locale/loadlocale.c (_nl_load_locale): Likewise.
51748 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51750         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51751         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51752         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51753         (SYSCALL_GETTIME): Set errno on error.
51755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51756         count references to noai6ai_cached.
51758 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51760         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51762         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51763         FD_CLOEXEC for /proc/self/maps.
51765         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51766         FD_CLOEXEC for /proc/meminfo.
51768         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51769         gai.conf.
51771         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51772         FD_CLOEXEC for given file.
51774         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51776         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51777         FD_CLOEXEC for /etc/hosts.
51778         (_gethtent): Likewise.
51780         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51782         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51783         cancellation and set FD_CLOEXEC for /etc/netgroup.
51785         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51786         reading /etc/publickey.
51788         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51789         allow cancellation when reading /etc/group.
51791         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51792         cancellation.
51793         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51795         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51796         when using data file.
51798         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51800         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51801         (write_nis_obj): Use "c" and "e" in fopen.
51803         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51805         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51807         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51809         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51811         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51812         locale.alias.
51814         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51816         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51818         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51820         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51821         file parsing and set FD_CLOEXEC.
51823 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51825         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51827 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51829         * malloc/arena.c (arena_get2): Don't call reused_arena when
51830         _int_new_arena failed.
51832 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51834         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51835         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51836         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51837         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51838         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51840         to compile strcasecmp and strncasecmp.
51841         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51842         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51844         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51846 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51848         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51849         locale-defines.sym to gen-as-const-headers.
51850         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51851         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51852         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51853         to compile strcasecmp and strncasecmp.
51854         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51855         strcasecmp_l and strncasecmp_l.
51856         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51857         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51858         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51859         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51860         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51861         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51862         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51863         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51864         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51865         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51866         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51868 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51870         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51871         result of SYSDEP_GETTIME_CPU to retval.
51872         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51873         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51875         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51876         variable.
51878         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51879         mantissa words.
51880         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51882         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51883         from unused variable.
51885         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51886         DWARF definitions.
51887         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51888         for assembling.
51890         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51891         over namespaces.
51893         * sunrpc/rpc_prot.c (rejected): Fix case value.
51895         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51896         unsigned long long int to avoid warnings in shift.
51898         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51899         of use of trans.
51900         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51901         variable tmp.
51903         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51904         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51905         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51907         * nis/nis_table.c (nis_list): Use variable of correct type for
51908         result of __follow_path call.
51910 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51912         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51913         of math functions ceil, trunc, floor, round, and sqrt, when
51914         avaliable on the platform.
51915         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51916         name clash.
51917         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51918         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51919         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51921 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51923         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51924         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51926 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51928         * include/unistd.h: Fix __readlink return type.
51929         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51931 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51933         * stdlib/ucontext.h: Undo last change for makecontext.
51935 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51937         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51939         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51940         * setjmp/setjmp.h: Mark functions as non-leaf.
51941         * setjmp/bits/setjmp2.h: Likewise.
51942         * stdlib/ucontext.h: Likewise.
51944 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51946         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51947         (reused_arena): Don't check arena limit.
51948         (arena_get2): Atomically check arena limit.
51950 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51952         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51953         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51955         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51956         instructions.
51958 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51960         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51961         handler when locking.
51963         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51964         Fix size of allocated buffer.
51966 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51968         [BZ #10103]
51969         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51970         declarations for long double functions.
51971         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51973         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51975 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51977         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51978         installed.
51980         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51981         is disabled.
51983 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51985         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51987 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51989         * include/alloca.h (stackinfo_alloca_round): Define.
51990         (extend_alloca): Use it.
51991         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51992         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51993         here.
51995         * scripts/check-local-headers.sh: Ignore libaudit.h.
51997         * nscd/Makefile (extra-objs): Make recursively expanded.
51999 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
52001         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52004         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52005         * posix/tst-rfc3484-2.c: Likewise.
52006         * posix/tst-rfc3484-3.c: Likewise.
52008         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52009         process_vm_writev.
52010         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52011         process_vm_writev.
52012         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52013         process_vm_writev from libc using GLIBC_2.15 version.
52015         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52017 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
52019         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52020         stack usage.
52022 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
52024         [BZ #13367]
52025         * nss/getent.c (initgroups_keys): Show error message in case no group
52026         names are given.
52028         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52029         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52030         __bump_nl_timestamp.
52031         * nscd/connections (nscd_init): When host database is served open
52032         netlink socket and request notification about configuration changes.
52033         (main_loop_poll): Track netlink file descriptor and bump timestamp
52034         in case data becomes available.
52035         (main_loop_epoll): Likewise.
52036         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52037         (database_pers_head): Add extra_data fileds.
52038         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52039         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52040         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52041         Adjust caller.
52042         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52043         in6ai data, call __free_in6ai.
52044         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52045         Add -DHAVE_NETLINK.
52046         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52047         interface information.  Reuse previous data if netlink timestamp
52048         is not changed.
52049         (__bump_nl_timestamp): New function.
52050         (__free_in6ai): New function.
52052 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52054         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52055         close_not_cancel_no_status here.
52056         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52058 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52060         [BZ #13276]
52061         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52062         return value.
52064         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52065         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52066         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52068 2011-07-03  Andreas Jaeger  <aj@suse.de>
52070         [BZ #10709]
52071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52072         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52073         * math/libm-test.inc (sin_test): Add test case.
52075 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52077         [BZ #13337]
52078         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52079         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52081         * elf/chroot_canon.c (chroot_canon): Cleanups.
52083         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52085         [BZ #13335]
52086         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52087         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52089         * string/test-strchr.c: Make usable for strchrnul testing.
52090         * string/test-strchrnul.c: New file.
52091         * string/Makefile (strop-tests): Add strchrnul.
52093         * po/it.po: Update from translation team.
52094         * po/es.po: Likewise.
52096 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52098         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52099         the three constants needed as parameters.  Drop the others.
52100         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52101         __m128i_strloadu_tolower.
52102         Create and initialize variable zero and use it in all the places
52103         where _mm_setzero_si128 was used.
52105         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52106         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52107         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52108         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52109         anymore.
52110         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52111         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52112         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52113         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52114         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52115         __mpranred, __mptan.
52116         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52117         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52118         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52119         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52120         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52121         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52122         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52123         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52124         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52126 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52128         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52129         redefine if SHARED.
52130         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52132         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52133         wide char related routines to wcsmbs subdir.
52135 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52137         [BZ #13344]
52138         * misc/sys/cdefs.h (__THROWNL): Define.
52139         * posix/unistd.h: Use __THREADNL instead of __THREAD
52140         for memory synchronization functions.
52142 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52144         [BZ #13349]
52145         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52146         doesn't exist.
52147         * manual/stdio.texi (Obstack Streams): Node removed.
52149 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52151         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52152         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52153         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52155         * math/math_private.h (math_force_eval): Allow non-addressable
52156         arguments.
52157         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52161         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52162         file is not needed.
52164         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52165         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52166         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52167         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52168         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52169         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52170         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52171         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52172         Add AVX variants.
52173         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52174         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52175         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52176         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52177         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52178         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52179         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52180         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52181         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52182         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52183         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52184         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52186         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52187         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52188         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52189         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52190         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52191         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52193         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52194         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52197         place.  Use VEX encoding when compiling for AVX.
52199 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52201         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52202         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52204         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52206 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52208         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52209         useless if() expression.
52210         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52211         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52215         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52216         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52217         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52218         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52219         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52220         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52221         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52222         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52223         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52224         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52225         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52226         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52228         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52230         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52232 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52234         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52235         condition.
52236         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52238 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52240         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52241         .text section.  Avoid duplicate constants.
52242         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52243         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52244         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52249         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52250         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52251         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52252         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52253         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52254         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52255         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52256         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52257         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52258         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52259         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52260         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52261         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52262         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52263         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52264         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52266         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52267         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52268         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52269         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52270         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52271         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52272         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52273         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52274         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52275         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52276         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52277         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52278         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52279         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52280         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52281         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52282         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52283         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52284         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52285         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52286         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52288 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52290         * sysdeps/x86_64/dla.h: Move to ...
52291         * sysdeps/x86_64/fpu/dla.h: ...here.
52292         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52293         situations.  Use __builtin_fma only for gcc 4.6 and up.
52295         * config.make.in: Add have-mfma4 entry.
52296         * configure.in: Substitute libc_cv_cc_fma4.
52297         * math/Makefile (dbl-only-routines): Add sincostab.
52298         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52299         Use __sincostab not sincos.
52300         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52301         name is a macro.
52302         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52303         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52304         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52305         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52306         using __copysign.
52307         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52308         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52309         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52310         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52311         and __inv.
52312         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52313         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52314         __copysign.
52315         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52316         define aliases when function name is a macro.
52317         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52318         sysdeps/ieee754/dbl-64/sincos.tbl.
52319         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52320         fma4-enabled routines.
52321         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52322         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52323         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52324         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52325         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52326         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52327         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52328         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52329         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52330         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52331         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52332         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52333         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52334         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52335         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52336         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52337         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52338         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52339         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52340         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52341         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52342         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52343         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52344         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52345         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52346         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52347         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52348         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52349         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52350         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52352         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52353         rename.
52354         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52356         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52357         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52358         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52359         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52360         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52361         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52363 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52365         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52367 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52369         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52371         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52372         prediction.
52373         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52375         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52376         Remove unused variable magic_bits.
52377         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52379         * string/strnlen.c: Define and use STRNLEN macro.
52380         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52381         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52383         * wcsmbs/wcslen.c: Define and use WCSLEN.
52384         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52385         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52386         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52387         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52388         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52389         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52390         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52392 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52395         strnlen-sse2-no-bsf.
52396         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52397         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52398         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52399         Add strnlen support.
52400         (USE_AS_STRNLEN): New macro.
52401         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52402         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52403         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52404         * sysdeps/x86_64/wcslen.S: New file.
52406 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52408         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52409         XMM-moves are used for copying on small sizes.
52411 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52413         * wcsmbs/Makefile (strop-tests): Add wcschr.
52414         * wcsmbs/test-wcschr.c: New file.
52415         * string/test-strchr.c: Update.
52416         Add wcschr support.
52417         (WIDE): New macro.
52419 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52421         * wcsmbs/Makefile (strop-tests): Add wcslen.
52422         * wcsmbs/test-wcslen.c: New file.
52423         * string/test-strlen.c: Update.
52424         Add wcslen support.
52425         (WIDE): New macro.
52427 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52429         * po/it.po: Update from translation team.
52431 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52433         * sysdeps/x86_64/wcscmp.S: Update.
52434         Fix wrong comparison semantics.
52435         wcscmp shall use signed comparison not unsigned.
52436         Don't use substraction to avoid overflow bug.
52437         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52438         * wcsmbc/wcscmp.c: Likewise.
52439         * string/test-strcmp.c: Likewise.
52440         Add new tests to check cases with negative values.
52442 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52444         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52445         * sysdeps/x86_64/dla.h: ...here.  New file.
52446         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52447         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52448         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52449         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52450         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52451         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52452         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52453         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52454         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52456 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52458         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52459         __ynl_finite aliases.
52461 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52463         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52465         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52466         define DLA_FMA.
52467         [DLA_FMA] (EMULV): Use DLA_FMA.
52468         [DLA_FMA] (MUL12): Use EMULV.
52469         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52470         that are not needed.
52471         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52473         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52474         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52475         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52476         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52479 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52481         * math/s_nan.c: Undef __nan.
52482         * math/s_nanf.c: Undef __nanf.
52483         * math/s_nanl.c: Undef __nanl.
52484         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52485         "math_private.h".
52487 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52489         * math/s_catan.c: Add branch predictions.
52490         * math/s_catanf.c: Likewise.
52491         * math/s_catanh.c: Likewise.
52492         * math/s_catanhf.c: Likewise.
52493         * math/s_catanhl.c: Likewise.
52494         * math/s_catanl.c: Likewise.
52495         * math/s_cexp.c: Likewise.
52496         * math/s_cexpf.c: Likewise.
52497         * math/s_cexpl.c: Likewise.
52498         * math/s_clog.c: Likewise.
52499         * math/s_clog10.c: Likewise.
52500         * math/s_clog10f.c: Likewise.
52501         * math/s_clog10l.c: Likewise.
52502         * math/s_clogf.c: Likewise.
52503         * math/s_clogl.c: Likewise.
52504         * math/s_csqrt.c: Likewise.
52505         * math/s_csqrtf.c: Likewise.
52506         * math/s_csqrtl.c: Likewise.
52507         * math/s_ctanf.c: Likewise.
52508         * math/s_ctanh.c: Likewise.
52509         * math/s_ctanhf.c: Likewise.
52510         * math/s_ctanhl.c: Likewise.
52511         * math/s_ctanl.c: Likewise.
52513         * math/math_private.h: Define __nan, __nanf, __nanl.
52514         * math/s_cacosh.c: Include <math_private.h>.
52515         * math/s_cacoshl.c: Likewise.
52516         * math/s_casinh.c: Likewise.
52517         * math/s_casinhf.c: Likewise.
52518         * math/s_casinhl.c: Likewise.
52519         * math/s_ccos.c: Rely entire on ccosh.
52520         * math/s_ccosf.c: Rely entire on ccoshf.
52521         * math/s_ccosl.c: Rely entirely on ccoshl.
52522         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52523         Remove tests for FE_INVALID.
52524         * math/s_ccoshf.c: Likewise.
52525         * math/s_ccoshl.c: Likewise.
52526         * math/s_csin.c: Likewise.
52527         * math/s_csinf.c: Likewise.
52528         * math/s_csinh.c Likewise.
52529         * math/s_csinhf.c: Likewise.
52530         * math/s_csinhl.c: Likewise.
52531         * math/s_csinl.c: Likewise.
52532         * math/s_ctan.c: Likewise.
52533         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52534         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52535         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52537 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52539         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52540         compilation problems.
52542         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52543         __builtin_expect.
52545 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52547         * sysdeps/i386/configure.in: Test for -mfma4 option.
52548         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52549         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52550         COMMON_CPUID_INDEX_80000001.
52551         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52552         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52553         use it if FMA3 is not supported.
52554         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52556         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52557         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52559 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52561         [BZ #12892]
52562         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52563         it would create a cycle with a link time dependency.
52565 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52567         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52568         instruction.
52569         * string/Makefile (strop-tests): Add rawmemchr.
52570         * string/test-rawmemchr.c: New file.
52572         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52573         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52574         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52575         when compiling str{,n}casecmp and when AVX is available.  Hook up
52576         new optimized code in initializers.
52578 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52580         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52581         __feraiseexcept instead of feraiseexcept.
52583 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52585         * math/math_private.h: Define defaults for libc_fetestexcept and
52586         libc_feupdateenv.
52587         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52588         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52589         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52590         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52591         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52592         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52593         libc_fetestexcept and libc_feupdateenv.
52595         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52596         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52597         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52598         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52599         libc_feholdexcept_setround.
52601         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52602         Add s_nearbyint-c and s_nearbyintf-c.
52603         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52604         nearbyintf inlines.
52605         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52606         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52607         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52608         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52610         * math/math_private.h: Define defaults for libc_fegetround,
52611         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52612         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52613         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52614         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52615         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52616         standard functions.
52617         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52618         Remove comments and hacks for old compiler versions.
52619         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52620         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52621         libc_feholdexceptl.
52623 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52625         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52626         (__feraiseexcept_renamed): Add __NTH.
52627         (feraiseexcept): Add __NTH.  Rename local variables to fix
52628         namespace violations.
52630 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52632         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52634         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52636         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52637         recently added interfaces.
52638         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52640         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52641         about macro parameter expansion.
52643         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52644         __NO_MATH_INLINES is defined.  Cleanups.
52646         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52647         and __floorf is target has SSE4.1.
52648         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52649         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52650         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52651         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52653         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52654         name.
52655         (floorf): Likewise.
52657         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52659 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52661         * misc/sys/cdefs.h: Fix last change.
52663         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52664         database lookup.
52666 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52668         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52670         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52671         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52672         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52673         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52674         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52675         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52676         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52677         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52678         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52679         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52680         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52681         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52682         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52683         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52684         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52685         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52686         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52687         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52688         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52689         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52690         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52691         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52693         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52694         ceil, ceilf, floor, floorf.
52696         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52697         Perform IRELATIVE relocations last.
52699         * elf/do-rel.h: Add another parameter nrelative, replacing the
52700         local variable with the same name.  Change name of the function
52701         to end in Rel or Rela (uppercase).
52702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52703         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52704         elf_dynamic_do_##reloc function.
52706 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52708         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52709         is sufficient, at least on modern CPUs.
52711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52713         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52714         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52716         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52717         __expl_finite.
52718         * math/bits/math-finite.h: Add entries for exp.
52719         * math/e_expl.c: Add __*_finite alias.
52720         * sysdeps/i386/fpu/e_exp.S: Likewise.
52721         * sysdeps/i386/fpu/e_expf.S: Likewise.
52722         * sysdeps/i386/fpu/e_expl.c: Likewise.
52723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52724         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52725         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52727         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52728         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52729         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52731         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52732         is sufficient, at least on modern CPUs.
52734         * ctype/ctype-info.c (__ctype_init): Define.
52735         * include/ctype.h (__ctype_init): Declare.
52736         (__ctype_b_loc): The variable is always initialized.
52737         (__ctype_toupper_loc): Likewise.
52738         (__ctype_tolower_loc): Likewise.
52739         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52740         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52742 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52744         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52746         * configure.in: Also look in $cxxmachine/include for C++ system
52747         headers.
52749 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52751         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52752         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52753         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52754         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52755         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52756         (USE_AS_WMEMCMP): New macro.
52757         Fixing indents.
52758         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52759         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52760         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52761         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52762         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52763         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52764         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52765         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52766         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52767         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52768         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52769         (USE_AS_WMEMCMP): New macro.
52770         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52771         * sysdeps/string/test-memcmp.c: Update.
52772         Fix simple_wmemcmp.
52773         Add new tests.
52774         * wcsmbs/wmemcmp.c: Update.
52775         (WMEMCMP): New macro.
52776         Fix overflow bug.
52778 2011-10-12  Andreas Jaeger  <aj@suse.de>
52780         [BZ #13268]
52781         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52783 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52785         * libio/iofwide.c (do_length): Avoid warning.
52787         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52789 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52791         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52793         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52794         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52795         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52796         * sysdeps/i386/i686/fpu/e_log.S: New file.
52797         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52798         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52800         * ctype/ctype.h: Add support for inlined isXXX functions when
52801         compiling C++ code.
52803 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52805         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52807         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52809 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52811         [BZ #13291]
52812         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52814 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52816         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52817         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52818         feraiseexcept.
52820         * sysdeps/x86_64/memrchr.S: Check for zero size.
52822         * string/stratcliff.c: Add memrchr tests.
52824 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52826         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52827         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52828         rawmemchr-sse2 rawmemchr-sse2-bsf.
52829         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52830         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52831         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52832         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52833         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52834         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52835         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52836         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52837         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52838         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52839         * string/memrchr.c (MEMRCHR): New macro.
52841 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52843         Add integration with gcc's -ffinite-math-only and optimize wrapper
52844         functions in libm.
52845         * Versions.def: Define GLIBC_2.15 version for libm.
52846         * math/Makefile (headers): Add bits/math-finite.h.
52847         * math/bits/math-finite.h: New file.
52848         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52849         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52850         * math/e_acoshl.c: Add __*_finite alias.
52851         * math/e_acosl.c: Likewise.
52852         * math/e_asinl.c: Likewise.
52853         * math/e_atan2l.c: Likewise.
52854         * math/e_atanhl.c: Likewise.
52855         * math/e_coshl.c: Likewise.
52856         * math/e_exp10.c: Likewise.
52857         * math/e_exp10f.c: Likewise.
52858         * math/e_exp10l.c: Likewise.
52859         * math/e_exp2l.c: Likewise.
52860         * math/e_fmodl.c: Likewise.
52861         * math/e_gammal_r.c: Likewise.
52862         * math/e_hypotl.c: Likewise.
52863         * math/e_j0l.c: Likewise.
52864         * math/e_j1l.c: Likewise.
52865         * math/e_jnl.c: Likewise.
52866         * math/e_lgammal_r.c: Likewise.
52867         * math/e_log10l.c: Likewise.
52868         * math/e_log2l.c: Likewise.
52869         * math/e_logl.c: Likewise.
52870         * math/e_powl.c: Likewise.
52871         * math/e_sinhl.c: Likewise.
52872         * math/e_sqrtl.c: Likewise.
52873         * math/e_scalb.c: Completely rewritten and optimized.
52874         * math/e_scalbf.c: Likewise.
52875         * math/e_scalbl.c: Likewise.
52876         * math/w_acos.c: Likewise.
52877         * math/w_acosf.c: Likewise.
52878         * math/w_acosl.c: Likewise.
52879         * math/w_acosh.c: Likewise.
52880         * math/w_acoshf.c: Likewise.
52881         * math/w_acoshl.c: Likewise.
52882         * math/w_asin.c: Likewise.
52883         * math/w_asinf.c: Likewise.
52884         * math/w_asinl.c: Likewise.
52885         * math/w_atan2.c: Likewise.
52886         * math/w_atan2f.c: Likewise.
52887         * math/w_atan2l.c: Likewise.
52888         * math/w_atanh.c: Likewise.
52889         * math/w_atanhf.c: Likewise.
52890         * math/w_atanhl.c: Likewise.
52891         * math/w_exp10.c: Likewise.
52892         * math/w_exp10f.c: Likewise.
52893         * math/w_exp10l.c: Likewise.
52894         * math/w_fmod.c: Likewise.
52895         * math/w_fmodf.c: Likewise.
52896         * math/w_fmodl.c: Likewise.
52897         * math/w_j0.c: Likewise.
52898         * math/w_j0f.c: Likewise.
52899         * math/w_j0l.c: Likewise.
52900         * math/w_j1.c: Likewise.
52901         * math/w_j1f.c: Likewise.
52902         * math/w_j1l.c: Likewise.
52903         * math/w_jn.c: Likewise.
52904         * math/w_jnf.c: Likewise.
52905         * math/w_log.c: Likewise.
52906         * math/w_logf.c: Likewise.
52907         * math/w_logl.c: Likewise.
52908         * math/w_log10.c: Likewise.
52909         * math/w_log10f.c: Likewise.
52910         * math/w_log10l.c: Likewise.
52911         * math/w_log2.c: Likewise.
52912         * math/w_log2f.c: Likewise.
52913         * math/w_log2l.c: Likewise.
52914         * math/w_pow.c: Likewise.
52915         * math/w_powf.c: Likewise.
52916         * math/w_powl.c: Likewise.
52917         * math/w_remainder.c: Likewise.
52918         * math/w_remainderf.c: Likewise.
52919         * math/w_remainderl.c: Likewise.
52920         * math/w_scalb.c: Likewise.
52921         * math/w_scalbf.c: Likewise.
52922         * math/w_scalbl.c: Likewise.
52923         * math/w_sqrt.c: Likewise.
52924         * math/w_sqrtf.c: Likewise.
52925         * math/w_sqrtl.c: Likewise.
52926         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52927         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52928         used.
52929         * math/math_private.h: Declare __kernel_standard_f.
52930         * math/w_cosh.c: Remove cruft and optimize a bit.
52931         * math/w_coshf.c: Likewise.
52932         * math/w_coshl.c: Likewise.
52933         * math/w_exp2.c: Likewise.
52934         * math/w_exp2f.c: Likewise.
52935         * math/w_exp2l.c: Likewise.
52936         * math/w_hypot.c: Likewise.
52937         * math/w_hypotf.c: Likewise.
52938         * math/w_hypotl.c: Likewise.
52939         * math/w_lgamma.c: Likewise.
52940         * math/w_lgamma_r.c: Likewise.
52941         * math/w_lgammaf.c: Likewise.
52942         * math/w_lgammaf_r.c: Likewise.
52943         * math/w_lgammal.c: Likewise.
52944         * math/w_lgammal_r.c: Likewise.
52945         * math/w_sinh.c: Likewise.
52946         * math/w_sinhf.c: Likewise.
52947         * math/w_sinhl.c: Likewise.
52948         * math/w_tgamma.c: Likewise.
52949         * math/w_tgammaf.c: Likewise.
52950         * math/w_tgammal.c: Likewise.
52951         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52952         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52953         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52954         Minor optimizations.  Pretty printing.  Remove cruft.
52955         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52956         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52957         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52958         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52959         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52960         * sysdeps/i386/fpu/e_asin.S: Likewise.
52961         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52962         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52963         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52964         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52965         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52966         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52967         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52968         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52969         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52970         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52971         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52972         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52973         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52974         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52975         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52976         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52977         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52978         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52979         * sysdeps/i386/fpu/e_log.S: Likewise.
52980         * sysdeps/i386/fpu/e_log10.S: Likewise.
52981         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52982         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52983         * sysdeps/i386/fpu/e_log2.S: Likewise.
52984         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52985         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52986         * sysdeps/i386/fpu/e_logf.S: Likewise.
52987         * sysdeps/i386/fpu/e_logl.S: Likewise.
52988         * sysdeps/i386/fpu/e_pow.S: Likewise.
52989         * sysdeps/i386/fpu/e_powf.S: Likewise.
52990         * sysdeps/i386/fpu/e_powl.S: Likewise.
52991         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52992         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52993         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52994         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52995         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52996         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52997         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52998         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52999         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53000         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53001         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53002         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53003         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53004         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53005         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53006         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53007         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53008         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53009         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53010         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53011         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53012         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53013         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53014         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53015         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53016         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53017         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53018         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53019         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53021         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53022         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53023         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53024         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53025         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53026         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53027         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53028         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53029         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53030         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53031         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53032         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53034         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53035         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53036         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53037         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53038         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53039         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53040         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53041         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53042         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53043         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53044         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53045         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53046         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53047         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53048         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53049         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53050         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53051         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53052         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53053         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53054         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53055         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53056         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53057         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53058         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53059         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53060         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53061         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53063         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53064         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53065         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53066         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53067         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53068         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53069         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53070         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53071         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53072         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53073         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53074         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53077         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53078         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53079         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53080         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53081         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53082         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53083         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53084         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53085         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53086         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53088         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53089         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53090         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53091         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53092         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53093         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53094         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53095         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53096         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53097         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53098         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53099         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53100         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53101         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53102         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53103         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53104         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53105         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53106         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53107         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53108         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53109         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53110         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53111         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53112         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53113         (__isnanf): Likewise.
53114         (__isinf_ns): Likewise.
53115         (__isinf_nsf): Likewise.
53116         (__finite): Likewise.
53117         (__finitef): Likewise.
53118         (__ieee754_sqrt): Define as macro.
53119         (__ieee754_sqrtf): Define as macro.
53120         (__ieee754_sqrtl): Define as macro.
53121         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53122         inlined copy.
53123         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53124         __FINITE_MATH_ONLY__ consistent.
53125         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53127 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53129         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53130         of rawmemchr.
53132         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53134 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53136         * po/ja.po: Update from translation team.
53138 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53140         * locale/programs/locarchive.c (prepare_address_space): New function.
53141         (create_archive, enlarge_archive, open_archive): Use it.
53143         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53144         inside [SHARED], where it is used.
53146         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53148         * nss/getent.c (netgroup_keys): Remove unused variable.
53149         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53151 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53153         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53154         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53155         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53156         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53157         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53158         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53159         * math/Makefile (libm-calls): Add s_isinf_ns.
53160         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53161         * math/multc3.c: Likewise.
53162         * math/s_casin.c: Likewise.
53163         * math/s_casinf.c: Likewise.
53164         * math/s_casinl.c: Likewise.
53165         * math/s_ccos.c: Likewise.
53166         * math/s_ccosf.c: Likewise.
53167         * math/s_ccosl.c: Likewise.
53168         * math/s_ctan.c: Likewise.
53169         * math/s_ctanf.c: Likewise.
53170         * math/s_ctanh.c: Likewise.
53171         * math/s_ctanhf.c: Likewise.
53172         * math/s_ctanhl.c: Likewise.
53173         * math/s_ctanl.c: Likewise.
53174         * math/w_fmod.c: Likewise.
53175         * math/w_fmodf.c: Likewise.
53176         * math/w_fmodl.c: Likewise.
53177         * math/w_remainder.c: Likewise.
53178         * math/w_remainderf.c: Likewise.
53179         * math/w_remainderl.c: Likewise.
53180         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53181         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53183         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53184         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53185         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53186         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53187         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53189         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53190         of the number.
53191         * stdio-common/printf_fphex.c: Likewise.
53192         * stdio-common/printf_size.c: Likewise.
53194         * math/e_exp10.c: Include math_private.h using <...> not "...".
53195         * math/e_exp10f.c: Likewise.
53196         * math/e_exp10l.c: Likewise.
53197         * math/e_exp2l.c: Likewise.
53198         * math/e_j0l.c: Likewise.
53199         * math/e_j1l.c: Likewise.
53200         * math/e_jnl.c: Likewise.
53201         * math/e_lgammal_r.c: Likewise.
53202         * math/e_rem_pio2l.c: Likewise.
53203         * math/e_scalb.c: Likewise.
53204         * math/e_scalbf.c: Likewise.
53205         * math/e_scalbl.c: Likewise.
53206         * math/k_cosl.c: Likewise.
53207         * math/k_sinl.c: Likewise.
53208         * math/k_tanl.c: Likewise.
53209         * math/s_cacoshf.c: Likewise.
53210         * math/s_catan.c: Likewise.
53211         * math/s_catanf.c: Likewise.
53212         * math/s_catanh.c: Likewise.
53213         * math/s_catanhf.c: Likewise.
53214         * math/s_catanhl.c: Likewise.
53215         * math/s_catanl.c: Likewise.
53216         * math/s_ccosh.c: Likewise.
53217         * math/s_ccoshf.c: Likewise.
53218         * math/s_ccoshl.c: Likewise.
53219         * math/s_cexp.c: Likewise.
53220         * math/s_cexpf.c: Likewise.
53221         * math/s_cexpl.c: Likewise.
53222         * math/s_clog.c: Likewise.
53223         * math/s_clog10.c: Likewise.
53224         * math/s_clog10f.c: Likewise.
53225         * math/s_clog10l.c: Likewise.
53226         * math/s_clogf.c: Likewise.
53227         * math/s_clogl.c: Likewise.
53228         * math/s_csin.c: Likewise.
53229         * math/s_csinf.c: Likewise.
53230         * math/s_csinh.c: Likewise.
53231         * math/s_csinhf.c: Likewise.
53232         * math/s_csinhl.c: Likewise.
53233         * math/s_csinl.c: Likewise.
53234         * math/s_csqrt.c: Likewise.
53235         * math/s_csqrtf.c: Likewise.
53236         * math/s_csqrtl.c: Likewise.
53237         * math/s_ctan.c: Likewise.
53238         * math/s_ctanf.c: Likewise.
53239         * math/s_ctanh.c: Likewise.
53240         * math/s_ctanhf.c: Likewise.
53241         * math/s_ctanhl.c: Likewise.
53242         * math/s_ctanl.c: Likewise.
53243         * math/s_ldexp.c: Likewise.
53244         * math/s_ldexpf.c: Likewise.
53245         * math/s_ldexpl.c: Likewise.
53246         * math/s_significand.c: Likewise.
53247         * math/s_significandf.c: Likewise.
53248         * math/s_significandl.c: Likewise.
53249         * math/w_acos.c: Likewise.
53250         * math/w_acosf.c: Likewise.
53251         * math/w_acosh.c: Likewise.
53252         * math/w_acoshf.c: Likewise.
53253         * math/w_acoshl.c: Likewise.
53254         * math/w_acosl.c: Likewise.
53255         * math/w_asin.c: Likewise.
53256         * math/w_asinf.c: Likewise.
53257         * math/w_asinl.c: Likewise.
53258         * math/w_atan2.c: Likewise.
53259         * math/w_atan2f.c: Likewise.
53260         * math/w_atan2l.c: Likewise.
53261         * math/w_atanh.c: Likewise.
53262         * math/w_atanhf.c: Likewise.
53263         * math/w_atanhl.c: Likewise.
53264         * math/w_cosh.c: Likewise.
53265         * math/w_coshf.c: Likewise.
53266         * math/w_coshl.c: Likewise.
53267         * math/w_dremf.c: Likewise.
53268         * math/w_exp10.c: Likewise.
53269         * math/w_exp10f.c: Likewise.
53270         * math/w_exp10l.c: Likewise.
53271         * math/w_exp2.c: Likewise.
53272         * math/w_exp2f.c: Likewise.
53273         * math/w_fmod.c: Likewise.
53274         * math/w_fmodf.c: Likewise.
53275         * math/w_fmodl.c: Likewise.
53276         * math/w_hypot.c: Likewise.
53277         * math/w_hypotf.c: Likewise.
53278         * math/w_hypotl.c: Likewise.
53279         * math/w_j0.c: Likewise.
53280         * math/w_j0f.c: Likewise.
53281         * math/w_j0l.c: Likewise.
53282         * math/w_j1.c: Likewise.
53283         * math/w_j1f.c: Likewise.
53284         * math/w_j1l.c: Likewise.
53285         * math/w_jn.c: Likewise.
53286         * math/w_jnf.c: Likewise.
53287         * math/w_jnl.c: Likewise.
53288         * math/w_lgamma.c: Likewise.
53289         * math/w_lgamma_r.c: Likewise.
53290         * math/w_lgammaf.c: Likewise.
53291         * math/w_lgammaf_r.c: Likewise.
53292         * math/w_lgammal.c: Likewise.
53293         * math/w_lgammal_r.c: Likewise.
53294         * math/w_log.c: Likewise.
53295         * math/w_log10.c: Likewise.
53296         * math/w_log10f.c: Likewise.
53297         * math/w_log10l.c: Likewise.
53298         * math/w_log2.c: Likewise.
53299         * math/w_log2f.c: Likewise.
53300         * math/w_log2l.c: Likewise.
53301         * math/w_logf.c: Likewise.
53302         * math/w_logl.c: Likewise.
53303         * math/w_pow.c: Likewise.
53304         * math/w_powf.c: Likewise.
53305         * math/w_powl.c: Likewise.
53306         * math/w_remainder.c: Likewise.
53307         * math/w_remainderf.c: Likewise.
53308         * math/w_remainderl.c: Likewise.
53309         * math/w_scalb.c: Likewise.
53310         * math/w_scalbf.c: Likewise.
53311         * math/w_scalbl.c: Likewise.
53312         * math/w_sinh.c: Likewise.
53313         * math/w_sinhf.c: Likewise.
53314         * math/w_sinhl.c: Likewise.
53315         * math/w_sqrt.c: Likewise.
53316         * math/w_sqrtf.c: Likewise.
53317         * math/w_sqrtl.c: Likewise.
53318         * math/w_tgamma.c: Likewise.
53319         * math/w_tgammaf.c: Likewise.
53320         * math/w_tgammal.c: Likewise.
53322         * po/ja.po: Update from translation team.
53324 2011-09-29  Andreas Jaeger  <aj@suse.de>
53326         [BZ #13179]
53327         * sunrpc/netname.c (netname2host): Fix logic.
53329         [BZ #6779]
53330         [BZ #6783]
53331         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53332         correctly.
53333         * math/w_remainder.c (__remainder): Likewise.
53334         * math/w_remainderf.c (__remainderf): Likewise.
53335         * math/libm-test.inc (remainder_test): Add test cases.
53337 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53339         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53340         sdiv_qrnnd.
53342 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53344         * string/test-memcmp.c: Avoid unncessary #defines.
53345         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53347 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53349         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53350         Use new sse2 version for core i3 - i7 as it's faster
53351         than sse42 version.
53352         (bit_Prefer_PMINUB_for_stringop): New.
53353         * sysdeps/x86_64/rawmemchr.S: Update.
53354         Replace with faster SSE2 version.
53355         * sysdeps/x86_64/memrchr.S: New file.
53356         * sysdeps/x86_64/memchr.S: Update.
53357         Replace with faster SSE2 version.
53359 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53361         * elf/dl-load.c (lose): Add cast to avoid warning.
53363 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53365         * po/ca.po: Update from translation team.
53367         * inet/getnetgrent_r.c: Hook up nscd.
53368         * nscd/Makefile (routines): Add nscd_netgroup.
53369         (nscd-modules): Add netgroupcache.
53370         (CFLAGS-netgroupcache.c): Define.
53371         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53372         (cache_search): Add const to second parameter.
53373         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53374         INNETGR.
53375         (dbs): Add netgrdb entry.
53376         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53377         (verify_persistent_db): Handle netgrdb.
53378         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53379         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53380         GETFDNETGR.
53381         (netgroup_response_header): Define.
53382         (innetgroup_response_header): Define.
53383         (datahead): Add netgroup_response_header and innetgroup_response_header
53384         elements.
53385         * nscd/nscd.conf: Add entries for netgroup cache.
53386         * nscd/nscd.h (dbtype): Add netgrdb.
53387         (_PATH_NSCD_NETGROUP_DB): Define.
53388         (netgroup_iov_disabled): Declare.
53389         (xmalloc, xcalloc, xrealloc): Move declarations here.
53390         (cache_search): Adjust prototype.
53391         Add netgroup-related prototypes.
53392         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53393         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53394         (__nscd_innetgr): Declare.
53395         * nscd/selinux.c (perms): Use access_vector_t as element type and
53396         add netgroup-related initializers.
53397         * nscd/netgroupcache.c: New file.
53398         * nscd/nscd_netgroup.c: New file.
53399         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53400         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53401         For four parameters use innetgr.
53402         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53403         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53404         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53405         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53407         * nscd/connections.c (register_traced_file): Don't register file
53408         for disabled databases.
53410 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53412         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53414         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53415         from tree and freeing node.
53417 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53419         * nss/nsswitch.c (__nss_database_lookup): Handle
53420         nss_parse_service_list out of memory case.
53422 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53424         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53425         out of memory case.
53427 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53429         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53430         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53431         pass it down.
53432         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53433         elf_machine_rela, elf_machine_lazy_rel.
53434         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53435         (ELF_DYNAMIC_DO_REL): Likewise.
53436         (ELF_DYNAMIC_DO_RELA): Likewise.
53437         (ELF_DYNAMIC_RELOCATE): Likewise.
53438         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53439         to ELF_DYNAMIC_DO_REL.
53440         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53441         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53442         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53443         elf_machine_rela.
53444         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53445         skip_ifunc, don't call ifunc function if non-zero.
53446         (elf_machine_rela): Likewise.
53447         (elf_machine_lazy_rel): Likewise.
53448         (elf_machine_lazy_rela): Likewise.
53449         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53450         (elf_machine_lazy_rel): Likewise.
53451         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53452         Likewise.
53453         (elf_machine_lazy_rel): Likewise.
53454         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53455         Likewise.
53456         (elf_machine_lazy_rel): Likewise.
53457         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53458         (elf_machine_lazy_rel): Likewise.
53459         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53460         (elf_machine_lazy_rel): Likewise.
53461         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53462         (elf_machine_lazy_rel): Likewise.
53463         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53464         (elf_machine_lazy_rel): Likewise.
53465         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53466         (elf_machine_lazy_rel): Likewise.
53467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53468         (elf_machine_lazy_rel): Likewise.
53470 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53472         * nss/nss_files/files-init.c (_nss_files_init): Use static
53473         initialization for all the *_traced_file variables.
53475 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53477         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53479 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53481         [BZ #13226]
53482         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53484 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53486         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53487         Reread the line before reparsing it.
53489 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53491         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53493 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53494             Maxim Kuvyrkov  <maxim@codesourcery.com>
53495             Joseph Myers  <joseph@codesourcery.com>
53497         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53498         if needed for __stack_chk_guard.
53500 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53502         * sysdeps/posix/spawni.c (script_execute): Always define it.
53503         It will be optimized away if unused.
53504         (maybe_script_execute): New function.
53505         (__spawni): Call it.
53507         * Makerules: Don't include tls.make.
53508         (config-tls): Always set to thread.
53509         * tls.make.c: File removed.
53511 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53513         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53514         * config.make.in (CPPFLAGS-config): New substituted variable.
53516 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53518         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53520         [BZ #13192]
53521         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53522         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53524 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53526         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53527         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53528         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53529         (CALL_FAIL): Likewise.
53530         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53531         (CALL_FAIL): Macro removed.
53532         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53534 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53536         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53537         for __FINITE_MATH_ONLY__ == 1.
53539 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53541         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53542         __ieee754_sqrt instead of sqrt.
53543         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53544         __ieee754_sqrtf instead of sqrtf.
53545         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53546         __floorf instead of floorf.
53547         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53548         __floorf, __truncf instead of floorf, truncf.
53550 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53552         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53554         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53555         __extern_always_inline.
53556         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53557         32-bit.
53559 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53561         * elf/rtld.c (dl_main): Also relocate in dependency order when
53562         doing symbol dependency testing.
53564 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53567         Always define `refsym'.
53569 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53571         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53572         (__FD_ELT): Renamed from __FDELT.
53573         * misc/bits/select2.h (__FD_ELT): Likewise.
53574         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53575         __FD_MASK instead of __FDELT, __FDMASK.
53576         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53577         Likewise.
53578         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53579         Likewise.
53581         * elf/Makefile (gen-ldd): Fix pattern.
53583         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53584         (init_tls): Likewise.
53586 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53588         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53590 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53592         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53593         `struct cmsghdr *' instead of `void *'.
53594         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53595         Likewise.
53597 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53599         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53600         if non-absolute.
53601         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53602         ldd_rewrite_script.
53604 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53606         * configure.in: Remove --with-tls option.
53607         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53608         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53609         out in case it is missing.
53610         * sysdeps/ia64/elf/configure.in: Likewise.
53611         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53612         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53613         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53614         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53615         * sysdeps/sh/elf/configure.in: Likewise.
53616         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53617         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53618         * sysdeps/x86_64/elf/configure.in: Likewise.
53619         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53620         * sysdeps/mach/hurd/tls.h: Likewise.
53622         [BZ #13067]
53623         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53625         [BZ #13090]
53626         * configure.in: Fix use of AC_INIT.
53628         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53630 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53632         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53633         __set_errno.
53634         * malloc/hooks.c: Likewise.
53636         [BZ #11929]
53637         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53638         variables statically.
53639         (narenas): Initialize.
53640         (list_lock): Initialize.
53641         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53642         initializtion of main_arena and list_lock.  Small cleanups.
53643         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53644         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53645         Add initializers to main_arena and mp_.
53646         (malloc_state): Remove pagesize member.  Change all users to use
53647         GLRO(dl_pagesize).
53649         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53650         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53651         is always initialized.
53653         * malloc/malloc.c: Removed unused configurations and dead code.
53654         * malloc/arena.c: Likewise.
53655         * malloc/hooks.c: Likewise.
53656         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53658         * include/tls.h: Removed.  USE___THREAD must always be defined.
53659         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53660         * elf/dl-libc.c: Likewise.
53661         * elf/dl-tsd.c: Likewise.
53662         * include/errno.h: Likewise.
53663         * include/netdb.h: Likewise.
53664         * include/resolv.h: Likewise.
53665         * inet/herrno-loc.c: Likewise.
53666         * inet/herrno.c: Likewise.
53667         * malloc/arena.c: Likewise.
53668         * malloc/hooks.c: Likewise.
53669         * malloc/malloc.c: Likewise.
53670         * resolv/res-state.c: Likewise.
53671         * resolv/res_libc.c: Likewise.
53672         * sysdeps/i386/dl-machine.h: Likewise.
53673         * sysdeps/ia64/dl-machine.h: Likewise.
53674         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53675         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53676         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53677         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53678         * sysdeps/sh/dl-machine.h: Likewise.
53679         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53680         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53681         * sysdeps/unix/i386/sysdep.S: Likewise.
53682         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53683         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53685         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53686         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53687         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53688         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53689         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53690         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53692         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53693         * sysdeps/x86_64/dl-machine.h: Likewise.
53694         * tls.make.c: Likewise.
53696         * configure.in: Remove --with-__thread option.  Make tests for
53697         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53698         tls_model attribute fail if no support is available.  Remove
53699         USE_IN_LIBIO.
53700         * Makeconfig: Adjust for dropped configure option.  All features are
53701         now mandatory.
53702         * Makerules: Likewise.
53703         * Versions.def: Likewise.
53704         * argp/argp-fmtstream.c: Likewise.
53705         * argp/argp-fmtstream.h: Likewise.
53706         * argp/argp-help.c: Likewise.
53707         * assert/assert.c: Likewise.
53708         * config.h.in: Likewise.
53709         * config.make.in: Likewise.
53710         * configure: Likewise.
53711         * configure.in: Likewise.
53712         * csu/Versions: Likewise.
53713         * csu/init.c: Likewise.
53714         * elf/tst-audit2.c: Likewise.
53715         * elf/tst-tls10.c: Likewise.
53716         * elf/tst-tls10.h: Likewise.
53717         * elf/tst-tls11.c: Likewise.
53718         * elf/tst-tls12.c: Likewise.
53719         * elf/tst-tls14.c: Likewise.
53720         * elf/tst-tlsmod11.c: Likewise.
53721         * elf/tst-tlsmod12.c: Likewise.
53722         * elf/tst-tlsmod13.c: Likewise.
53723         * elf/tst-tlsmod13a.c: Likewise.
53724         * elf/tst-tlsmod14a.c: Likewise.
53725         * elf/tst-tlsmod15b.c: Likewise.
53726         * elf/tst-tlsmod16a.c: Likewise.
53727         * elf/tst-tlsmod16b.c: Likewise.
53728         * elf/tst-tlsmod7.c: Likewise.
53729         * elf/tst-tlsmod8.c: Likewise.
53730         * elf/tst-tlsmod9.c: Likewise.
53731         * gmon/gmon.c: Likewise.
53732         * grp/fgetgrent_r.c: Likewise.
53733         * grp/putgrent.c: Likewise.
53734         * hurd/fopenport.c: Likewise.
53735         * include/libc-symbols.h: Likewise.
53736         * include/tls.h: Likewise.
53737         * intl/gettextP.h: Likewise.
53738         * intl/loadinfo.h: Likewise.
53739         * locale/global-locale.c: Likewise.
53740         * locale/localeinfo.h: Likewise.
53741         * mach/devstream.c: Likewise.
53742         * malloc/arena.c: Likewise.
53743         * malloc/set-freeres.c: Likewise.
53744         * misc/err.c: Likewise.
53745         * misc/getttyent.c: Likewise.
53746         * misc/mntent_r.c: Likewise.
53747         * posix/getopt.c: Likewise.
53748         * posix/wordexp.c: Likewise.
53749         * pwd/fgetpwent_r.c: Likewise.
53750         * resolv/Versions: Likewise.
53751         * resolv/res_hconf.c: Likewise.
53752         * shadow/fgetspent_r.c: Likewise.
53753         * shadow/putspent.c: Likewise.
53754         * stdio-common/printf_fphex.c: Likewise.
53755         * stdio-common/tmpfile.c: Likewise.
53756         * stdlib/abort.c: Likewise.
53757         * stdlib/fmtmsg.c: Likewise.
53758         * sunrpc/auth_unix.c: Likewise.
53759         * sunrpc/clnt_perr.c: Likewise.
53760         * sunrpc/clnt_tcp.c: Likewise.
53761         * sunrpc/clnt_udp.c: Likewise.
53762         * sunrpc/clnt_unix.c: Likewise.
53763         * sunrpc/openchild.c: Likewise.
53764         * sunrpc/svc_simple.c: Likewise.
53765         * sunrpc/svc_tcp.c: Likewise.
53766         * sunrpc/svc_udp.c: Likewise.
53767         * sunrpc/svc_unix.c: Likewise.
53768         * sunrpc/xdr.c: Likewise.
53769         * sunrpc/xdr_array.c: Likewise.
53770         * sunrpc/xdr_rec.c: Likewise.
53771         * sunrpc/xdr_ref.c: Likewise.
53772         * sunrpc/xdr_stdio.c: Likewise.
53774 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53776         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53778 2011-07-03  Andreas Jaeger  <aj@suse.de>
53780         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53781         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53782         regenerate with gen-libm-tests.pl.
53784 2010-05-12  Petr Baudis  <pasky@suse.cz>
53786         [BZ #11589]
53787         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53788         around j0() zero points by switching to j1().
53789         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53790         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53791         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53792         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53794 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53796         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53797         instead of 0.
53798         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53799         instead of 0.
53800         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53801         Patch in part by Pavel Roskin <proski@gnu.org>.
53803         [BZ #13138]
53804         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53805         realloc.
53806         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53807         Free memory block if necessary.
53809         [BZ #12847]
53810         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53811         be NULL.  Don't lock in this case.
53813 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53815         * elf/elf.h (ELFOSABI_GNU): New macro.
53816         (ELFOSABI_LINUX): Define to that.
53818 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53820         * string/strncat.c (strncat): Undef the symbol in case it has been
53821         defined in bits/string.h.
53823 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53825         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53827         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53828         link map.
53830 2011-08-17  Andreas Jaeger  <aj@suse.de>
53832         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53834 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53835             Ian Lance Taylor  <iant@google.com>
53837         * math/libm-test.inc (lround_test): New testcase.
53838         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53840 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53842         * Makefile: Remove support for automatic cvs check-ins.
53843         * Makerules: Likewise.
53844         * config.make.in: Likewise.
53845         * configure.in: Likewise.
53846         * intl/Makefile: Likewise.
53847         * locale/Makefile: Likewise.
53848         * po/Makefile: Likewise.
53849         * posix/Makefile: Likewise.
53850         * sysdeps/gnu/Makefile: Likewise.
53851         * sysdeps/mach/hurd/Makefile: Likewise.
53852         * sysdeps/sparc/sparc32/Makefile: Likewise.
53854         [BZ #13118]
53855         * posix/Makefile (bug-regex32-ENV): Define.
53856         Patch by John Stanley <jpsinthemix@verizon.net>.
53858         * misc/Makefile (headers): Add bits/select2.h.
53859         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53860         * misc/bits/select2.h: New file.
53861         * include/bits/select2.h: New file.
53862         * debug/Makefile (routines): Add fdelt_chk.
53863         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53864         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53865         FD_ISSET.
53866         * debug/fdelt_chk.c: New file.
53868         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53869         * wcsmbs/test-wmemcmp.c: Likewise.
53870         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53871         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53873 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53875         * string/Makefile (strop-tests): Add memcmp.
53876         * string/test-wmemcmp.c: New file.
53877         * string/test-memcmp.c: Add wmemcmp support.
53879 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53881         [BZ #13153]
53882         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53883         2011-07-19 change.
53885         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53886         garbage value in a __mach_port_mod_refs call in the cases of the
53887         task-self and thread-self ports.
53889 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53891         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53893 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53895         * elf/dl-load.c (lose): Check for non-null L.
53897 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53899         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53901         * elf/dl-libc.c (dlerror_run): Pass back error code from
53902         dl_catch_error.
53904         [BZ #13123]
53905         * elf/dl-load.c (lose): Free l_origin if it is valid.
53907         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53908         names.
53909         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53910         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53911         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53912         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53913         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53914         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53916 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53918         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53919         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53920         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53921         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53922         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53923         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53924         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53925         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53926         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53927         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53929 2011-08-15  Alan Modra  <amodra@gmail.com>
53931         [BZ #13092]
53932         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53933         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53934         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53935         ppc_mcount to static-only-routines.
53936         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53937         __mcount_internal.
53938         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53939         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53941 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53943         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53944         for finite and infinity parameters.
53946 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53948         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53949         and add nop instructions for throughput optimization.
53950         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53952 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53954         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53955         aligned copy for power7 with vector-scalar instructions.
53956         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53958 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53960         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53961         AVX check.
53963 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53965         [BZ #13144]
53966         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53967         last change.
53969 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53971         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53972         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53973         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53974         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53975         clock_gettime.
53977 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53979         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53980         Forgot to demangle the pointer.
53982         * sysdeps/i386/sysdep.h: Define atom_text_section.
53983         * sysdeps/x86_64/sysdep.h: Likewise.
53984         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53985         section with atom_text_section.
53986         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53987         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53988         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53989         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53990         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53992         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53993         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53994         already be defined.  Change to take two parameters and don't assign
53995         result to variable.  Adjust all users.
53996         Define INTERNAL_GETTIME if not already defined.
53997         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53998         call.
53999         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54000         HAVE_CLOCK_GETTIME_VSYSCALL.
54001         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54004         gettimeofday vsyscall, just use time.
54006 2011-09-06  Andreas Schwab  <schwab@redhat.com>
54008         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54009         <errno.h>.
54011 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
54013         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54014         syscall on x86-64.
54015         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54016         syscall.
54017         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54018         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54019         syscall if possible.
54021 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54023         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54024         e_ident.  Don't pass to find_mapsXX.
54025         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54027 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54030         strchr-sse2-no-bsf strrchr-sse2-no-bsf
54031         * sysdeps/x86_64/multiarch/strchr.S: Update.
54032         Check bit_slow_BSF bit.
54033         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54034         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54035         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54037 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54039         [BZ #13134]
54040         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54041         before glibc 2.15.
54042         (tryshell): Define.
54043         (__spawni): Change last parameter to be flag.  Test
54044         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54045         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54046         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54047         * posix/spawni.c: Likewise.
54048         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54049         * posix/spawnp.c: Likewise.  Change normal version to use
54050         SPAWN_XFLAGS_USE_PATH.
54051         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54052         SPAWN_XFLAGS_TRY_SHELL.
54054         [BZ #13150]
54055         * posix/glob.h: Remove gcc 1.x support.
54057         [BZ #13068]
54058         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54060 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54062         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54063         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54064         strrchr-sse2-bsf
54065         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54066         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54067         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54068         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54069         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54072 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54074         * sysdeps/x86_64/wcscmp.S: New file.
54076         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54077         wcscmp-c wcscmp-sse2
54078         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54079         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54080         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54081         * wcsmbs/wcscmp.c: Allow renaming.
54083 2011-09-05  David S. Miller  <davem@davemloft.net>
54085         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54086         stack slot, rather than the struct return pointer slot.
54087         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54088         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54090         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54092 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54094         * po/ja.po: Update from translation team.
54096         [BZ #13144]
54097         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54098         kernel in 64-bit binaries.
54100 2011-09-01  David S. Miller  <davem@davemloft.net>
54102         * elf/elf.h (HWCAP_SPARC_*): Move to..
54103         * sysdeps/sparc/sysdep.h: this new file and add new values.
54104         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54105         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54106         _DL_HWCAP_COUNT to 24.
54107         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54108         entries.
54109         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54110         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54111         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54112         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54113         instead of magic constants.
54114         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54116 2011-08-31  David S. Miller  <davem@davemloft.net>
54118         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54120         Reimplement to do errno handling inline.
54121         (SYSCALL_ERROR_HANDLER): New macro.
54122         (__SYSCALL_STRING): Do not do errno handling in asm.
54123         (__CLONE_SYSCALL_STRING): Delete.
54124         (__INTERNAL_SYSCALL_STRING): Delete.
54125         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54126         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54127         (PSEUDO): Reimplement to do errno handling inline.
54128         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54129         (SYSCALL_ERROR_HANDLER): New macro.
54130         (__SYSCALL_STRING): Do not do errno handling in asm.
54131         (__CLONE_SYSCALL_STRING): Delete.
54132         (__INTERNAL_SYSCALL_STRING): Delete.
54133         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54134         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54135         i386.
54136         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54137         (inline_syscall*): Add 'err' argument.
54138         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54139         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54140         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54141         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54143         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54144         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54146 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54148         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54150 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54152         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54153         directive.
54155 2011-08-24  David S. Miller  <davem@davemloft.net>
54157         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54159 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54161         * elf/Makefile: Add rules to build and run unload8 test.
54162         * elf/unload8.c: New file.
54163         * elf/unload8mod1.c: New file.
54164         * elf/unload8mod1x.c: New file.
54165         * elf/unload8mod2.c: New file.
54166         * elf/unload8mod3.c: New file.
54168         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54169         it wasn't used.
54171 2011-08-23  David S. Miller  <davem@davemloft.net>
54173         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54174         subtract stack bias.
54175         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54176         %sp not %fp in calculations.
54177         (_JMPBUF_UNWINDS_ADJ): Likewise.
54179         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54180         (aio_suspend): Call it to force an exception region around the
54181         AIO_MISC_WAIT() invocation.
54183 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54185         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54186         backslash.
54188 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54190         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54191         protection macro.
54192         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54193         and <dl-machine.h>.
54194         (Elf64_FuncDesc): Remove.
54196 2011-08-22  David S. Miller  <davem@davemloft.net>
54198         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54199         sigaltstack check, add missing cfi directives.
54200         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54201         missing cfi directives, and sigaltstack handling.
54203 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54205         [BZ #11724]
54206         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54207         object is seen twice.
54208         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54210         * elf/Makefile (distribute): Add tst-initorder2.c.
54211         (tests): Add tst-initorder2.
54212         (modules-names): Add tst-initorder2a tst-initorder2b
54213         tst-initorder2c tst-initorder2d.  Add rules to build them.
54214         ($(objpfx)tst-initorder2.out): New rule.
54215         * elf/tst-initorder2.c: New file.
54216         * elf/tst-initorder2.exp: New file.
54218 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54220         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54222         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54223         dependencies back to end of function.
54225         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54226         $(elfobjdir)/ld.so.
54228 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54230         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54231         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54232         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54233         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54234         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54235         of __vdso_gettimeofday.
54236         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54237         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54238         attribute_hidden.
54239         (_libc_vdso_platform_setup): Remove initialization of
54240         __vdso_gettimeofday and __vdso_time.
54242 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54244         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54245         and fgetc_unlocked.
54246         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54247         getc_unlocked.
54249         * elf/dl-open.c (add_to_global): Report additions to the global scope
54250         for LD_DEBUG=scopes.
54251         (dl_open_worker): Also print scope of newly loaded dependencies.
54252         (_dl_show_scope): Indicate if there is no scope.
54254         [BZ #13114]
54255         * stdio-common/Makefile (tests): Add bug24.
54256         * stdio-common/bug24.c: New file.
54258 2011-08-19  Andreas Jaeger  <aj@suse.de>
54260         [BZ #13114]
54261         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54262         non-existant file when using close-on-exec mode.
54264 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54266         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54267         the very first instruction.
54269         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54270         the CFI state in the end.
54271         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54272         inclusion of dl-trampoline.h.
54273         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54275 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54277         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54278         expectations for long double.
54280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54281         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54283 2011-08-14  David S. Miller  <davem@davemloft.net>
54285         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54286         artificual limit depends upon the system page size.
54288 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54290         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54291         * resolv/Makefile: Define CFLAGS-libresolv.
54293 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54295         * nss/makedb.c (compute_tables): Make variables used in nested
54296         function static.
54298 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54300         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54301         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54302         if buffer was too small.
54304         * elf/pldd.c (main): Attach to all threads in the process.
54305         Rewrite /proc handling to use *at functions.
54307 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54309         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54310         specifies first scope to show.
54311         (dl_open_worker): Update callers.  Move printing scope of new
54312         object to before the relocation.
54313         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54314         * sysdeps/generic/ldsodefs.h: Update declaration.
54316         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54317         string for the scope number.
54319 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54321         * nscd/servicescache.c (cache_addserv): Make sure written is always
54322         initialized.
54324 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54326         * sysdeps/i386/i486/bits/atomic.h
54327         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54328         statement expression, so as to suppress "set but not used" warning.
54329         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54331         * string/strncat.c (STRNCAT): Use prototype definition.
54333         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54334         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54335         -Iprograms here.
54336         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54337         (localedef-modules): Add localedef.
54338         (locale-modules): Add locale.
54340         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54341         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54342         to avoid a warning.
54344 2011-08-14  David S. Miller  <davem@davemloft.net>
54346         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54347         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54349 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54351         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54352         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54353         * elf/rtld.c (dl_main): Set l_name of vDSO.
54354         Call _dl_show_scope when DL_DEBUG_SCOPES.
54355         (process_dl_debug): Recognize scopes flag and also set it for all.
54356         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54357         Declare _dl_show_scope.
54359         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54360         (do_dlopen): Pass caller_dlopen to dl_open.
54361         (__libc_dlopen_mode): Initialize caller_dlopen.
54363         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54364         of libc.  Make tolower call locale-independent.  Optimize a bit by
54365         using isdigit instead of isalnum.
54366         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54368 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54370         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54371         was a dependency or dynamically loaded.
54373 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54375         * intl/l10nflist.c: Allow architecture-specific pop function.
54376         * sysdeps/x86_64/l10nflist.c: New file.
54378         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54379         classification.
54381 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54383         * include/dirent.h: Add libc_hidden_proto for scandirat and
54384         scandirat64.  Don't declare __scandirat64.
54385         * dirent/scandirat.c: Add libc_hidden_def.
54386         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54387         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54389 2011-08-10  David S. Miller  <davem@davemloft.net>
54391         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54392         enum.
54393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54395         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54397 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54399         * Versions.def [libc]: Add GLIBC_2.15.
54400         * dirent/Makefile (routines): Add scandirat and scandirat64.
54401         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54402         GLIBC_2.15.
54403         * dirent/dirent.h: Declare scandirat and scandirat64.
54404         * dirent/scandirat.c: New file.
54405         * dirent/scandirat64.c: New file.
54406         * sysdeps/wordsize-64/scandirat.c: New file.
54407         * sysdeps/wordsize-64/scandirat64.c: New file.
54408         * dirent/opendir.c: Define opendirat.
54409         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54410         using scandirat.
54411         * dirent/scandir64.c: Adjust for scandir.c change.
54412         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54413         __scandirat64, and __scandir_cancel_handler.
54414         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54415         additional parameter and use openat instead of open (outside of ld.so).
54416         Add new __opendir as wrapper around __opendirat.
54417         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54418         here without requiring old scandirat implementation.
54420 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54422         * dirent/scandir.c (cancel_handler): Renamed to
54423         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54424         defined.  Adjust users.
54425         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54426         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54428 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54430         * string/test-string.h (IMPL): Use __STRING to expand name and then
54431         stringify it.
54433         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54434         of cleanups.
54436 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54438         * string/Makefile: Update.
54439         (strop-tests): Append strncat.
54440         * string/test-wcscmp.c: New file.
54441         New comprehensive test for wcscmp.
54442         * string/test-strcmp.c: Update.
54443         (WIDE): New define.
54445 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54447         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54448         line.
54450 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54453         encoding to ACE if AI_IDN.
54455 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54457         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54458         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54460 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54463         Fix overflow bug in strncat.
54464         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54466         * string/test-strncat.c: Update.
54467         Add new tests for checking overflow bugs.
54469 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54471         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54472         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54473         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54474         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54475         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54476         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54477         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54478         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54479         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54481         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54482         (USE_AS_STRCAT): Define.
54483         Add strcat and strncat support.
54484         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54486 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54488         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54489         __n bigger than INT_MAX+1.
54490         (__strncmp_g): Likewise.
54492 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54494         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54495         * libio/stido.h: Likewise.
54497         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54498         (AF_NFC): Define.
54499         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54500         (AF_NFC): Define.
54502         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54504         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54505         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54506         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54508         [BZ #13021]
54509         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54510         installed.
54512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54513         typo.
54514         (_dl_x86_64_save_sse): Likewise.
54516 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54518         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54519         OSXSAVE.
54520         (_dl_x86_64_save_sse): Likewise.
54522         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54524         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54526 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54528         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54529         change.
54530         (_dl_x86_64_save_sse): Use correct AVX check.
54532 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54534         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54535         bug in strncpy/strncat.
54536         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54538 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54540         * string/tester.c (test_strcat): Add tests for different alignments
54541         of source and destination.
54542         (test_strncat): Likewise.
54544 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54546         [BZ #12852]
54547         * posix/glob.c (glob): Check passed in values before using them in
54548         expressions to avoid some overflows.
54549         (glob_in_dir): Likewise.
54551         [BZ #13007]
54552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54553         check for AVX enablement so that we don't crash with old kernels and
54554         new hardware.
54555         * elf/tst-audit4.c: Add same checks here.
54556         * elf/tst-audit6.c: Likewise.
54558         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54560 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54562         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54564 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54566         * po/cs.po: Update from translation team.
54567         * po/bg.po: Likewise.
54569 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54571         * misc/sys/cdefs.h: Add support for const attribute.
54572         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54573         to gnu_dev_{major,minor,makedev} functions.
54575 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54577         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54579 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54581         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54582         strlen results.
54584 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54587         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54588         register in order to avoid conflicts with the soft frame pointer
54589         being held in r11 when necessary.
54590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54591         (INTERNAL_VSYSCALL_NCS): Likewise.
54593 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54595         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54596         * elf/dl-fini.c (_dl_fini): Adjust caller.
54597         * elf/dl-close.c (_dl_close_worker): Likewise.
54598         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54600 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54602         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54603         "aux_cache->nlibs < 0".
54605         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54606         in the reload-count case.
54608 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54611         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54612         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54613         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54614         * sysdeps/x86_64/multiarch/strcat.S: New file.
54615         * sysdeps/x86_64/multiarch/strncat.S: New file.
54616         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54617         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54618         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54619         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54620         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54621         (USE_AS_STRCAT): Define.
54622         Add strcat and strncat support.
54623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54624         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54625         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54626         * string/strncat.c: Update.
54627         (USE_AS_STRNCAT): Define.
54628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54629         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54630         and i7.
54631         * sysdeps/x86_64/multiarch/init-arch.h
54632         (bit_Prefer_PMINUB_for_stringop): New.
54633         (index_Prefer_PMINUB_for_stringop): Likewise.
54634         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54635         bit_Prefer_PMINUB_for_stringop.
54637 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54639         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54640         buffer64.
54641         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54642         of casting of buffer.
54643         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54644         buffer32 and buffer64.
54645         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54646         writes instead of casting of buffer.
54647         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54648         buffer32.
54649         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54650         casting of buffer.
54652 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54654         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54656 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54658         * nscd/nscd.c (termination_handler): Don't do anything for a database
54659         if it has not yet been initialized.
54661 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54663         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54665 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54667         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54669 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54671         * po/nl.po: Update from translation team.
54672         * po/sv.po: Likewise.
54674 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54676         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54677         now disallowed by GCC.
54679         * configure.in (use-default-link): Default to yes if a test -shared
54680         link meets our qualifications.
54681         * configure: Regenerated.
54683         * config.make.in (output-format): New variable.
54684         * configure.in: Check for ld --print-output-format support.
54685         * configure: Regenerated.
54686         * Makerules ($(common-objpfx)format.lds)
54687         [$(output-format) != unknown]: Just use $(output-format),
54688         instead of the linker-script munging.
54690 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54692         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54693         of $(common-objpfx)shlib.lds.
54694         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54696         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54697         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54699         * configure.in (-z relro check): Adjust test code to add a large
54700         writable data section after it.
54701         * configure: Regenerated.
54703 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54705         * configure.in (-z relro check): Fix test code to make the variable
54706         truly const.
54707         * configure: Regenerated.
54709 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54711         * nscd/nscd.h (struct traced_file): Define.
54712         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54713         elements.  Add traced_files.
54714         (inotify_fd): Declare.
54715         (register_traced_file): Declare.
54716         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54717         (inotify_fd): Export.
54718         (resolv_conf_descr): Remove.
54719         (nscd_init): Move inotify descriptor creation to main.
54720         Don't register files for notification here.
54721         (register_traced_file): New function.
54722         (invalidate_cache): Don't use reset_res to determine whether to call
54723         res_init, go through the list of registered files.
54724         (main_loop_poll): The inotify descriptors are now stored in the
54725         structures for the traced files.
54726         (main_loop_epoll): Likewise
54727         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54728         to __nss_disable_nscd.
54729         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54730         for a database anymore.  Check the records for all the registered
54731         files instead.
54732         * nss/Makefile (libnss_files-routines): Add files-init.
54733         (libnss_db-routines): Add db-init.
54734         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54735         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54736         * nss/nss_db/db-init.c: New file.
54737         * nss/nss_files/files-init.c: New file.
54738         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54739         __nss_lookup_function.
54740         (__nss_lookup_function): Call nss_load_library.
54741         (nss_load_all_libraries): New function.
54742         (__nss_disable_nscd): Take parameter with callback function for files
54743         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54744         used for the cached services.
54745         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54746         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54747         options for features to all the files in nscd.
54749         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54751 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54753         * csu/elf-init.c (__libc_csu_init): Comment typo.
54755 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54757         * po/pl.po: Update from translation team.
54758         * po/ja.po: Likewise.
54759         * po/ru.po: Likewise.
54760         * po/ko.po: Likewise.
54761         * po/fr.po: Likewise.
54763 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54765         * configure.in (.ctors/.dtors header and trailer check):
54766         Use an empirical test on a built program.
54767         * configure: Regenerated.
54769         * configure.in (-z relro check): Use an empirical test on a built DSO.
54770         Detect, but do not require, on ia64.
54771         * configure: Regenerated.
54773         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54774         Update tests that use readelf to use $READELF instead.
54775         * configure: Regenerated.
54777 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54779         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54780         if the result is not used.
54782 2011-07-05  Andreas Jaeger  <aj@suse.de>
54784         [BZ#9696]
54785         * stdlib/tst-strtod.c: Add testcase.
54787 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54789         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54790         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54791         The latter has a higher limit.  Take additional parameter to pass to
54792         the new function.
54793         (__pathconf): Pass file to __statfs_link_max.
54794         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54795         __statfs_link_max.
54796         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54797         __statfs_link_max.
54799         [BZ #12868]
54800         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54801         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54802         Handle Lustre.
54803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54804         (__statfs_filesize_max): Likewise.
54805         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54807 2011-07-05  Andreas Jaeger  <aj@suse.de>
54809         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54811 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54813         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54814         `status' variable.
54815         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54816         Likewise.
54818 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54820         * Makefile (strop-tests): Add strncat.
54821         * string/test-strncat.c: New file.
54823 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54825         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54827 2011-06-21  Andreas Jaeger  <aj@suse.de>
54829         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54830         Copy rule from iconvdata/Makefile.
54832 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54834         [BZ #12922]
54835         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54836         but no long options are defined, just return 'W'.
54838 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54840         [BZ #9696]
54841         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54843 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54845         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54846         netgroups to read.
54847         (innetgr): Likewise.
54849 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54851         * config.make.in (install_root): Default to $(DESTDIR).
54853 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54855         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54857 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54859         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54861         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54862         containing directory rather than embedding absolute directory names.
54864         * scripts/check-local-headers.sh: Rewritten using awk.
54865         Match by word, not by line.  Print error messages for matches.
54866         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54868         * Makerules [shlib-lds-flags empty]:
54869         ($(common-objpfx)libc_pic.opts): New target.
54870         ($(common-objpfx)libc_pic.os.clean): New target.
54871         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54873         * config.make.in (OBJCOPY): New variable.
54874         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54875         * configure: Regenerated.
54877         * config.make.in (use-default-link): New variable.
54878         * configure.in (use_default_link): Grok --with-default-link to set it.
54879         * configure: Regenerated.
54880         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54881         (shlib-lds, shlib-lds-flags): Define to empty.
54883         * Makerules (shlib-lds): New variable.
54884         (shlib-lds-flags): New variable.
54885         (build-shlib, build-moduile, build-module-asneeded): Use it.
54886         ($(common-objpfx)libc.so): Use $(shlib-lds).
54887         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54888         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54890         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54891         DT_FLAGS/DT_FLAGS_1 with zero flags.
54893         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54894         linker script munging.
54896 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54898         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54899         as 128-bit value.
54900         * crypt/sha512.c (sha512_process_block): Perform total addition using
54901         128-bit if possible.
54902         (__sha512_finish_ctx): Likewise.
54903         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54904         as 64-bit value.
54905         * crypt/sha256.c (SWAP64): Define.
54906         (sha256_process_block): Perform total addition using 64-bit if
54907         possible.
54908         (__sha256_finish_ctx): Likewise.
54910 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54912         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54913         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54914         * nscd/hstcache.c (cache_addhst): Likewise.
54915         * nscd/grpcache.c (cache_addgr): Likewise.
54916         * nscd/aicache.c (addhstaiX): Likewise
54917         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54919 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54921         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
54927 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54929         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54930         domain only when needed.
54932 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54935         is always restored.
54937 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54939         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54940         are re-adding the entry.
54941         * nscd/servicescache.c (cache_addserv): Likewise.
54943 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54945         * sysdeps/generic/dl-irel.h: fix protection against multiple
54946         inclusions.
54947         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54949 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54951         [BZ #12935]
54952         * malloc/memusage.sh: Fix quoting in message.
54953         * debug/xtrace.sh: Likewise.
54955         * configure.in: Remove support for --experimental-malloc option, make
54956         it the default.
54957         * config.make.in: Likewise.
54958         * malloc/Makefile: Likewise.
54960 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54962         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54963         two-byte characters.
54965 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54967         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54968         AC_CACHE_CHECK invocation.
54969         * configure: Regenerated.
54971         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54973 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54975         [BZ #12350]
54976         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54977         bit from old_res_options.
54979         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54981         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54982         value type for setfct.
54984 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54986         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54987         __gettimeofday instead of gettimeofday.
54989 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54991         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54993 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54995         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54998         info.
55000 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55003         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55004         strcpy-sse2-unaligned strncpy-sse2-unaligned
55005         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55006         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55007         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55008         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55009         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55010         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55011         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55012         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55013         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55014         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55015         (STRCPY): Support SSE2 and SSSE3 versions.
55017 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
55019         [BZ #12874]
55020         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55021         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55022         kernels which artificially limit size of requests.
55024 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
55026         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55027         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55028         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55029         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55030         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55031         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55032         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55033         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55034         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55035         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55036         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55037         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55038         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55039         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55040         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55042         Enable unaligned load optimization for Intel Core i3, i5 and i7
55043         processors.
55044         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55045         Define.
55046         (index_Fast_Unaligned_Load): Define.
55047         (HAS_FAST_UNALIGNED_LOAD): Define.
55049 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55051         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55053 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55055         [BZ #12907]
55056         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55057         until it is clear that the information is realy needed.
55058         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55060 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55062         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55064 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55066         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55067         /sys/devices/system/cpu/online if it is usable.
55069         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55070         reading the information from the /proc filesystem to once a second.
55072 2011-06-21  Andreas Jaeger  <aj@suse.de>
55074         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55075         NULL after inclusion of kernel headers.
55077 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55079         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55080         calls to internal_setent.
55082         [BZ #12885]
55083         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55084         addresses using gethostbyname4_r ignore IPv4 addresses.
55086         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55087         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55089         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55091 2011-06-20  David S. Miller  <davem@davemloft.net>
55093         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55094         inclusions.
55095         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55097         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55098         (elf_irel): Use it.
55099         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55100         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55101         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55102         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55103         * sysdeps/x86_64/dl-irel.h: Likewise.
55105         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55106         * elf/dl-sym.c: Likewise.
55108 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55110         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55111         need to dereference resplen2.
55113 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55115         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55117 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55119         * Makeconfig: Define vardbdir and inst_vardbdir.
55120         * nss/Makefile: Add rules to install db-Makefile.
55122         * nss/nss_db/db-XXX.c: Cleanup.
55124         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55125         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55126         GLIBC_PRIVATE.
55127         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55128         * nss/makedb.c: Implement -g option to specify that value strings
55129         are generated and should not be added to table iterated over for
55130         get*ent calls.
55131         * nss/nss_db/db-initgroups.c: New file.
55133         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55134         interface.
55136         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55137         (internal_getgrouplist): Adjust to name change.
55138         Update use_initgroups_entry if this is not the first call.
55139         * nss/databases.def: Add initgroups entry.
55141         * nss/makedb.c (compute_tables): Check result of multiple hash table
55142         sizes to minimize maximum chain length.
55144 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55146         * Versions.def: Add entry for libnss_db.
55147         * shlib-versions: Likewise.
55148         * nss/Makefile: Add rules to build libnss_db.
55149         * nss/Versions: Add libnss_db information.  Organize libnss_files
55150         entries better.
55151         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55152         makedb progra.  Some minor improvements to generate smaller files.
55153         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55154         here from...
55155         * nss/makedb.c: ...here.
55156         Improve database format to be smaller and require less memory at
55157         runtime.
55158         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55159         db anymore.
55160         * nss/nss_db/db-netgrp.c: Likewise.
55161         * nss/nss_db/db-open.c: Likewise.
55162         * nss/nss_files/flies-XXX.x: Adjust comments.
55163         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55164         * nss/nss_files/files-grp.c: Likewise.
55165         * nss/nss_files/files-hosts.c: Likewise.
55166         * nss/nss_files/files-network.c: Likewise.
55167         * nss/nss_files/files-proto.c: Likewise.
55168         * nss/nss_files/files-pwd.c: Likewise.
55169         * nss/nss_files/files-rpc.c: Likewise.
55170         * nss/nss_files/files-service.c: Likewise.
55171         * nss/nss_files/files-sgrp.c: Likewise.
55172         * nss/nss_files/files-spwd.c: Likewise.
55173         * nss/nss_db/db-alias.c: Removed.
55174         * nss/nss_db/dummy-db.h: Removed.
55176 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55178         * nss/makedb.c: Rewritten to not use database library.
55179         * nss/Makefile: Update to build new makedb program.
55181 2011-06-14  Andreas Jaeger  <aj@suse.de>
55183         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55184         memset declaration.
55186 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55189         tmpbuf.
55191 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55193         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55194         * elf/Makefile ($(objpfx)ld.so): Likewise.
55196         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55197         Don't list ld.so twice in dependencies.
55199         * posix/bug-regex31.c: Include <stdlib.h>.
55201         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55203         * nis/nss_compat/compat-spwd.c
55204         (getspent_next_nss_netgr): Remove unused variable.
55205         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55207         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55208         nonmembers" output to use the right array.
55210         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55212         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55214         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55215         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55216         * catgets/gencat.c (read_input_file): Likewise.
55217         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55219         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55220         variable definition inside #if's controlling its use.
55222         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55224         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55226         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55228         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55229         unreachable code.
55231         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55233         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55234         * configure: Regenerated.
55236         * Makerules: Revert last change.
55237         * elf/Makefile: Likewise.
55239 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55241         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55242         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55243         (reloc-link): Likewise.
55245 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55247         * elf/Makefile: Add rules to build pldd.
55248         * elf/pldd.c: New file.
55249         * elf/pldd-xx.c: New file.
55251 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55253         * version.h: Update for 2.15 development version.
55255 2011-06-07  David S. Miller  <davem@davemloft.net>
55257         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55258         ifuncs.
55259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55260         elf_machine_lazy_rel): Likewise.
55261         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55263         elf_machine_lazy_rel): Likewise.
55264         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55265         dl_hwcap via passed in argument.
55266         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55267         Likewise.
55269 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55271         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55273 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55275         [BZ #12849]
55276         * manual/fdl-1.1.texi: New file, verbatim from:
55277         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55278         * manual/lgpl-2.1.texi: New file, verbatim from:
55279         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55280         * manual/Makefile (licenses): New variable, list those new file names.
55281         (texis): Use it.
55282         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55284         * manual/fdl.texi: File removed.
55285         * manual/lesser.texi: File removed.
55286         * manual/libc.texinfo (Copying, Documentation License):
55287         Use new @include file names, put @appendix directive before @include.
55289 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55291         [BZ #12841]
55292         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55293         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55294         (mq_open): Add __NTH.
55296 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55298         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55299         Assume Intel Core i3/i5/i7 processor if AVX is available.
55301 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55303         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55304         typo.
55306 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55308         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55309         memory.  Use alloca_account.  Fix memory leak when retrying.
55311 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55313         * version.h (RELEASE): Bump for 2.14 release.
55314         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55316         * config.make.in (RANLIB): Remove entry.
55318 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55320         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55321         (libc.pot): Work around missing support for .ksh extension in xgettext.
55323         [BZ #12684]
55324         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55325         if both request failed.
55326         (send_dg): In case of server errors clear resplen or *resplen2.
55328         [BZ #12454]
55329         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55330         when there are multiple maps.
55331         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55332         (_dl_fini): Remove test here.
55334         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55336 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55338         [BZ #12350]
55339         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55340         bit from old_res_options.
55341         (gaih_inet): Likewise.
55343         [BZ #11099]
55344         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55345         as signed.
55347         * resolv/res_init.c (res_setoptions): Make the code more compact.
55349         [BZ #11558]
55350         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55351         set RES_USEVC.
55353         [BZ #11634]
55354         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55356         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55358         [BZ #11781]
55359         * malloc/malloc.h: Declare malloc hook variables as volatile.
55361         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55362         in last patch.
55364         [BZ #11799]
55365         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55366         raise in the comment.
55367         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55369         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55371 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55373         [BZ #12811]
55374         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55375         grow the buffers more if it already has to be sufficient.
55376         (build_wcs_upper_buffer): Likewise.
55377         * posix/regexec.c (check_matching): Likewise.
55378         (clean_state_log_if_needed): Likewise.
55379         (extend_buffers): Don't enlarge buffers beyond size of the input
55380         buffer.
55381         Patches mostly by Emil Wojak <emil@wojak.eu>.
55382         * posix/bug-regex32.c: New file.
55383         * posix/Makefile (tests): Add bug-regex32.
55385         * locale/findlocale.c (_nl_find_locale): Return right away if
55386         _nl_explode_name failed.
55387         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55389         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55391         * debug/xtrace.sh: Unify messages.
55392         * malloc/memusage.sh: Likewise.
55394         [BZ #12813]
55395         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55396         time symbol from vDSO.  Substitute with vsyscall if not available.
55397         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55398         __vdso_time.
55400         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55401         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55402         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55403         Add sendmmsg and internal_sendmmsg.
55404         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55405         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55406         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55408         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55409         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55410         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55412 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55414         [BZ #12813]
55415         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55416         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55417         available.
55418         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55419         __vdso_getcpu.
55421         [BZ #12814]
55422         * iconvdata/Makefile (tests): Add bug-iconv9.
55423         * iconvdata/bug-iconv9.c: New file.
55425 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55427         [BZ #12814]
55428         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55430 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55432         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55433         (struct user_regs_struct): Change intcs field back to cs.
55435 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55437         * po/ja.po: Update from translation team.
55439 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55441         [BZ #12795]
55442         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55443         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55445 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55447         * stdlib/longlong.h: Update from GCC.
55449 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55451         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55452         parameter name.
55453         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55454         Add parameter name.
55455         (__sysconf): Pass it down.
55457 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55459         [BZ #12671]
55460         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55461         some situations.
55462         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55463         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55464         add in in __libc_use_alloca calls.  Adjust callers.
55465         (glob): Use malloc in some situations.
55467         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55468         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55469         pltexit.
55471 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55473         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55474         and CLOCK_BOOTTIME_ALARM.
55476         [BZ #12782]
55477         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55478         is returned.
55480         * string/_strerror.c (__strerror_r): Print negative errors as signed
55481         numbers.
55483         [BZ #12777]
55484         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55485         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55486         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55488         * configure.in: Fix typo in redirection and correct removal of test
55489         files in two cases.
55491         [BZ #12788]
55492         * locale/setlocale.c (new_composite_name): Fix test to check for
55493         identical name of all categories.
55495         [BZ #12792]
55496         * libio/filedoalloc.c (local_isatty): New function.
55497         (_IO_file_doallocate): Use local_isatty.
55498         * stdio-common/perror.c (perror): In case a new stream is used
55499         forward the stream error.
55500         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55501         error flag.
55503 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55505         [BZ #11869]
55506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55507         alloca.
55508         * include/alloca.h (extend_alloca_account): Define.
55510         [BZ #11857]
55511         * posix/regex.h: Fix comments with documentation of user-accessible
55512         fields after compilation and describe correct free'ing of pattern
55513         after re_compile_pattern.
55514         Patch by Reuben Thomas <rrt@sc3d.org>.
55516 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55518         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55519         and -mno-altivec to prevent the compiler from using Altivec and/or
55520         VSX instructions when the corresponding registers are not available.
55522 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55524         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55526 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55528         * libio/freopen.c (freopen): Use __dup2, not dup2.
55529         * libio/freopen64.c (freopen64): Likewise.
55531 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55533         [BZ #12775]
55534         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55535         * math/Makefile (tests): Add test-powl.
55536         (CFLAGS-test-powl.c): Define.
55537         * math/test-powl.c: New file.
55539 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55541         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55543 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55545         [BZ #11837]
55546         * iconvdata/gb18030.c: Update to GB18020-2005.
55548 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55550         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55551         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55552         Patch by Aharon Robbins <arnold@skeeve.com>.
55554         [BZ #11892]
55555         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55556         on the stack.
55558         [BZ #11895]
55559         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55560         through underflows.
55562         [BZ #12766]
55563         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55564         point to strings before performing equality test for error_one_per_line
55565         mode.
55567         [BZ #11697]
55568         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55570         [BZ #11820]
55571         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55572         (struct user_fpregs_struct): Avoid __uint*_t types.
55574         [BZ #6420]
55575         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55576         symbol info.  Use it instead of calling _dl_addr locally.
55577         (lock_and_info): New function.
55578         (tr_freehook): Call lock_and_info and pass symbol info as additional
55579         parameter to tr_where.
55580         (tr_mallochook): Likewise.
55581         (tr_reallochook): Likewise.
55582         (tr_memalignhook): Likewise.
55584         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55585         used and couldn't be at all thread-safe.
55587 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55589         * libio/freopen.c (freopen): Don't close old file descriptor
55590         before the new one is opened.  Instead dup the new file descriptor
55591         to the old one after the new stream is created.
55592         * libio/freopen64.c (freopen64): Likewise.
55593         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55594         * libio/fileops.c (_IO_new_file_close_it): Handle new
55595         _IO_FLAGS2_NOCLOSE flag.
55596         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55597         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55598         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55599         _IO_FLAGS2_NOCLOSE flag.
55600         * include/unistd.h: Add hidden_proto for dup3.
55601         Define __have_dup3.
55602         * io/dup3.c: Define hidden symbol.
55603         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55605         [BZ #7101]
55606         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55607         when an incomplete long option is used.
55608         * posix/tst-getopt_long1.c: New file.
55609         * posix/Makefile (tests): Add tst-getopt_long1.
55611         [BZ #10138]
55612         * scripts/config.guess: Update from autoconf-2.68.
55613         * scripts/config.sub: Likewise.
55615         [BZ #10157]
55616         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55617         tests into ...
55618         (has_cpuclock): ...this.  New function.
55619         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55620         macro here based on has_cpuclock code.
55622         [BZ #10149]
55623         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55624         First byte (not low byte) is now always NUL.
55625         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55628         Use non-cancelable interfaces.
55630         [BZ #9809]
55631         * locale/iso-639.def: Add entry for Sorani.
55633         [BZ #11901]
55634         * include/stdlib.h: Move include protection to the right place.
55635         Define abort_msg_s.  Declare __abort_msg with it.
55636         * stdlib/abort.c (__abort_msg): Adjust type.
55637         * assert/assert.c (__assert_fail_base): New function.  Majority
55638         of code from __assert_fail.  Allocate memory for __abort_msg with
55639         mmap.
55640         (__assert_fail): Now call __assert_fail_base.
55641         * assert/assert-perr.c: Remove bulk of implementation.  Use
55642         __assert_fail_base.
55643         * include/assert.hL Declare __assert_fail_base.
55644         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55645         mmap.
55646         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55648 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55650         [BZ #11952]
55651         [BZ #12453]
55652         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55653         until all modules are registered in the DTV.
55654         * elf/Makefile: Add rules to build and run tst-tls19.
55655         * elf/tst-tls19.c: New file.
55656         * elf/tst-tls19mod1.c: New file.
55657         * elf/tst-tls19mod2.c: New file.
55658         * elf/tst-tls19mod3.c: New file.
55659         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55661         [BZ #12083]
55662         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55663         correctly.
55665         [BZ #12601]
55666         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55667         two-byte sequence errors.
55668         * iconvdata/Makefile (tests): Add bug-iconv8.
55669         * iconvdata/bug-iconv8.c: New file.
55671         [BZ #12626]
55672         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55673         buf2 definition.
55675         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55677         [BZ #12432]
55678         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55679         (dummy_getcfa): New function.
55680         (init): Get _Unwind_GetCFA address, use dummy if not found.
55681         (backtrace_helper): In recursion check, also check whether CFA changes.
55682         (__backtrace): Completely initialize arg.
55684         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55685         storing incomplete byte sequence in state object.  Avoid testing for
55686         guaranteed too small input if we know there is enough data available.
55688 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55690         * Makeconfig (+link-pie): Indent.
55691         * Rules (binaries-pie): Define if $(have-fpie) and
55692         $(build-shared).
55693         (binaries-shared): Also filter out $(binaries-pie).
55694         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55695         * nscd/Makefile (others-pie): Add nscd.
55696         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55697         ($(objpfx)nscd): Remove command override.
55698         * login/Makefile (others-pie): Add pt_chown.
55699         ($(objpfx)pt_chown): Remove command override.
55700         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55701         remove command overrides.
55703 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55705         * libio/tst_putwc.c: Fix error messages.
55707         [BZ #12724]
55708         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55709         currently writing and seek to current position when not.
55710         * libio/Makefile (tests): Add bug-fclose1.
55711         * libio/bug-fclose1.c: New file.
55713 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55715         [BZ #12511]
55716         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55717         don't set DF_1_NODELETE here.
55718         (do_lookup_x): When entering new entry test for copy relocation
55719         and if necessary set DF_1_NODELETE flag.
55720         * elf/tst-unique4.cc: New file.
55721         * elf/tst-unique4.h: New file.
55722         * elf/tst-unique4lib.cc: New file.
55723         * elf/Makefile: Add rules to build and run tst-unique4.
55724         Patch by Piotr Bury <pbury@goahead.com>.
55726 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55728         [BZ #12052]
55729         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55731         [BZ #12625]
55732         * misc/mntent_r.c (addmntent): Flush the stream after the output
55734         [BZ #12393]
55735         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55736         (is_trusted_path_normalize): Skip initial colon.  Append slash
55737         to empty buffer.  Duplicate is_trusted_path code but allow
55738         constructed patch to be prefix.
55739         (is_dst): Allow $ORIGIN followed by /.
55740         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55741         Correct testing of result of is_trusted_path_normalize
55742         (decompose_rpath): Fix warning.
55744 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55746         [BZ #11257]
55747         * grp/initgroups.c (internal_getgrouplist): When we found the service
55748         list through the initgroups entry in nsswitch.conf do not always
55749         continue on a successful lookup.  Don't always use the
55750         __nss_group_database value if it is set.
55751         * nss/nsswitch.conf (initgroups): Change action for successful db
55752         lookup to continue for compatibility.
55754 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55756         [BZ #11532]
55757         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55758         and CP774 modules.
55759         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55760         and CP774 modules.
55761         * iconvdata/tst-tables.sh: Likewise.
55762         * iconvdata/cp770.c: New file.
55763         * iconvdata/cp771.c: New file.
55764         * iconvdata/cp772.c: New file.
55765         * iconvdata/cp773.c: New file.
55766         * iconvdata/cp774.c: New file.
55767         * iconvdata/testdata/CP770: New file.
55768         * iconvdata/testdata/CP770..UTF8: New file.
55769         * iconvdata/testdata/CP771: New file.
55770         * iconvdata/testdata/CP771..UTF8: New file.
55771         * iconvdata/testdata/CP772: New file.
55772         * iconvdata/testdata/CP772..UTF8: New file.
55773         * iconvdata/testdata/CP773: New file.
55774         * iconvdata/testdata/CP773..UTF8: New file.
55775         * iconvdata/testdata/CP774: New file.
55776         * iconvdata/testdata/CP774..UTF8: New file.
55778         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55779         END CHARMAP line.
55780         * iconvdata/gen-8bit-gap.sh: Likewise.
55781         * iconvdata/gen-8bit.sh: Likewise.
55783         * locale/iso-639.def: Add ary entry.
55785         [BZ #11258]
55786         * locale/C-translit.h.in: Add U20A1 transliteration.
55788         [BZ #12178]
55789         * locale/iso-639.def: Add wae entry.
55790         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55792         [BZ #12545]
55793         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55794         for n.
55796         [BZ #12711]
55797         * locale/C-translit.h.in: Add entry for U20B9.
55798         Patch by pravin.d.s@gmail.com.
55800 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55802         [BZ #12713]
55803         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55804         ENAMETOOLONG use generic getcwd.
55805         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55806         in rtld.  Use *stat64.
55807         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55808         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55809         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55810         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55811         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55812         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55813         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55814         __fstatat64 macros.
55815         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55816         * dirent/rewinddir.c: Add libc_hidden_def.
55817         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55818         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55820         * include/dirent.h (__alloc_dir): Add flags parameter.
55821         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55822         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55823         __alloc_dir.
55824         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55825         from fdopendir if O_CLOEXEC is already set.
55827 2011-03-15  Alan Modra  <amodra@gmail.com>
55829         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55830         l_tls_firstbyte_offset non-zero.  Save padding offset in
55831         l_tls_firstbyte_offset for later use.
55832         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55833         freeing static tls block.
55835 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55837         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55838         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55839         being defined by the kernel headers.
55841 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55843         [BZ #12734]
55844         * resolv/resolv.h: Define RES_NOTLDQUERY.
55845         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55846         no-tld-query and set RES_NOTLDQUERY.
55847         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55848         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55849         modern BIND to search name as TLD unless forbidden.
55851 2011-05-07  Petr Baudis  <pasky@suse.cz>
55852             Ulrich Drepper  <drepper@gmail.com>
55854         [BZ #12393]
55855         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55856         (is_trusted_path): ...to here.
55857         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55858         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55859         using is_trusted_path_normalize() in setuid scripts.
55861 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55863         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55864         __BEGIN/__END_DECLS.
55866 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55868         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55869         NSS_STATUS_NOTFOUND if no record was found.
55871 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55873         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55874         (headers-not-in-tirpc): Remove rpc/netdb.h
55875         * resolv/netdb.h: Revert last change.
55877 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55879         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55880         circular dependency between libgcc.a and libc.a.
55882 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55884         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55885         * nis/Makefile: Don't install rpcsvc/*.
55886         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55887         instead of <rpc/types.h>.
55888         (MAXHOSTNAMELEN): Define.
55890 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55892         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55894 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55896         [BZ #12714]
55897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55898         gethostbyname4_r when IPv6 results are possible.
55900 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55902         [BZ #12723]
55903         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55904         _PC_PIPE_BUF handling.
55906 2011-04-30  Bruno Haible  <bruno@clisp.org>
55908         [BZ #12717]
55909         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55910         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55911         to 'int'.
55912         * inet/getnameinfo.c (getnameinfo): Likewise.
55914 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55916         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55917         to groups setting in database lookup.
55918         * nss/nsswitch.conf: Add initgroups entry.
55920 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55922         [BZ #12685]
55923         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55924         mode string.
55925         Patch by Eric Blake <eblake@redhat.com>.
55927 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55929         * sunrpc/Makefile (need-export-routines): Add svc_run.
55930         (routines): Remove svc_run.
55931         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55932         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55933         * sunrpc/svc_run.c (svc_run): Likewise.
55934         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55936 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55938         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55939         problem in reallocation in last patch.
55941 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55943         * sunrpc/Makefile: Move inclusion of Rules.
55945 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55947         * nss/nss_files/files-initgroups.c: New file.
55948         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55949         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55950         _nss_files_initgroups_dyn.
55952 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55954         * elf/elf.h (R_ARM_IRELATIVE): Define.
55956 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55958         * po/ru.po: Update from translation team.
55960 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55962         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55963         dependencies.
55965 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55967         [BZ #12653]
55968         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55969         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55970         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55971         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55972         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55974 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55976         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55977         differing bytes.
55978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55979         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55982 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55984         [BZ #12420]
55985         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55986         storing it.
55987         * stdlib/bug-getcontext.c: New file.
55988         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55990 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55992         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55993         instructions into .machine "z9-109".
55994         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55995         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55997 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55999         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56000         between environment variables and auxiliary vector.
56002 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
56004         * Makefile: Add rules to build linkobj/libc.so.
56005         * include/libc-symbols.h: Define libc_hidden_nolink.
56006         * include/rpc/auth.h: Mark functions which are to be hidden.
56007         * include/rpc/auth_des.h: Likewise.
56008         * include/rpc/auth_unix.h: Likewise.
56009         * include/rpc/clnt.h: Likewise.
56010         * include/rpc/des_crypt.h: Likewise.
56011         * include/rpc/key_prot.h: Likewise.
56012         * include/rpc/pmap_clnt.h: Likewise.
56013         * include/rpc/pmap_prot.h: Likewise.
56014         * include/rpc/pmap_rmt.h: Likewise.
56015         * include/rpc/rpc_msg.h: Likewise.
56016         * include/rpc/svc.h: Likewise.
56017         * include/rpc/svc_auth.h: Likewise.
56018         * include/rpc/xdr.h: Likewise.
56019         * nis/Makefile: Link all DSOs against linkobj/libc.so.
56020         * nss/Makefile: Likewise.
56021         * sunrpc/Makefile: Don't install headers.  Build library with normal
56022         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
56023         * sunrpc/auth_des.c: Hide exported symbols by default, export some
56024         for the compat linking library.  Remove use of INTDEF/INTUSE.
56025         * sunrpc/auth_none.c: Likewise.
56026         * sunrpc/auth_unix.c: Likewise.
56027         * sunrpc/authdes_prot.c: Likewise.
56028         * sunrpc/authuxprot.c: Likewise.
56029         * sunrpc/clnt_gen.c: Likewise.
56030         * sunrpc/clnt_perr.c: Likewise.
56031         * sunrpc/clnt_raw.c: Likewise.
56032         * sunrpc/clnt_simp.c: Likewise.
56033         * sunrpc/clnt_tcp.c: Likewise.
56034         * sunrpc/clnt_udp.c: Likewise.
56035         * sunrpc/clnt_unix.c: Likewise.
56036         * sunrpc/des_crypt.c: Likewise.
56037         * sunrpc/des_soft.c: Likewise.
56038         * sunrpc/get_myaddr.c: Likewise.
56039         * sunrpc/key_call.c: Likewise.
56040         * sunrpc/key_prot.c: Likewise.
56041         * sunrpc/netname.c: Likewise.
56042         * sunrpc/pm_getmaps.c: Likewise.
56043         * sunrpc/pm_getport.c: Likewise.
56044         * sunrpc/pmap_clnt.c: Likewise.
56045         * sunrpc/pmap_prot.c: Likewise.
56046         * sunrpc/pmap_prot2.c: Likewise.
56047         * sunrpc/pmap_rmt.c: Likewise.
56048         * sunrpc/publickey.c: Likewise.
56049         * sunrpc/rpc_cmsg.c: Likewise.
56050         * sunrpc/rpc_common.c: Likewise.
56051         * sunrpc/rpc_dtable.c: Likewise.
56052         * sunrpc/rpc_prot.c: Likewise.
56053         * sunrpc/rpc_thread.c: Likewise.
56054         * sunrpc/rtime.c: Likewise.
56055         * sunrpc/svc.c: Likewise.
56056         * sunrpc/svc_auth.c: Likewise.
56057         * sunrpc/svc_authux.c: Likewise.
56058         * sunrpc/svc_raw.c: Likewise.
56059         * sunrpc/svc_run.c: Likewise.
56060         * sunrpc/svc_simple.c: Likewise.
56061         * sunrpc/svc_tcp.c: Likewise.
56062         * sunrpc/svc_udp.c: Likewise.
56063         * sunrpc/svc_unix.c: Likewise.
56064         * sunrpc/svcauth_des.c: Likewise.
56065         * sunrpc/xcrypt.c: Likewise.
56066         * sunrpc/xdr.c: Likewise.
56067         * sunrpc/xdr_array.c: Likewise.
56068         * sunrpc/xdr_float.c: Likewise.
56069         * sunrpc/xdr_intXX_t.c: Likewise.
56070         * sunrpc/xdr_mem.c: Likewise.
56071         * sunrpc/xdr_rec.c: Likewise.
56072         * sunrpc/xdr_ref.c: Likewise.
56073         * sunrpc/xdr_sizeof.c: Likewise.
56074         * sunrpc/xdr_stdio.c: Likewise.
56076 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56078         [BZ #12650]
56079         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56080         * sysdeps/ia64/dl-tls.h: Likewise.
56081         * sysdeps/powerpc/dl-tls.h: Likewise.
56082         * sysdeps/s390/dl-tls.h: Likewise.
56083         * sysdeps/sh/dl-tls.h: Likewise.
56084         * sysdeps/sparc/dl-tls.h: Likewise.
56085         * sysdeps/x86_64/dl-tls.h: Likewise.
56086         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56088 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56090         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56091         rpath element also skip the following colon.
56092         (expand_dynamic_string_token): Add is_path parameter and pass
56093         down to DL_DST_REQUIRED and _dl_dst_substitute.
56094         (decompose_rpath): Call expand_dynamic_string_token with
56095         non-zero is_path.  Ignore empty rpaths.
56096         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56097         with zero is_path.
56099 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56102         Make cancelable.
56104 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56106         [BZ #12655]
56107         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56108         Patch by Filipe David Manana <fdmanana@apache.org>.
56110 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56113         Maintain aligned stack.
56114         (CHECK_RSP): Remove unused macro.
56116 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56118         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56119         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56121 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56123         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56125         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56127 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56129         [BZ #12518]
56130         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56131         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56132         * sysdeps/x86_64/memmove.c: New file.
56133         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56134         (memcpy): Renamed to ...
56135         (__new_memcpy): This.
56136         (memcpy): Provide GLIBC_2_14 memcpy.
56137         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56138         (memcpy): Provide GLIBC_2_2_5 memcpy.
56140 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56142         [BZ #12631]
56143         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56145 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56147         * misc/syncfs.c: New file.
56148         * misc/Makefile (routines): Add syncfs.
56149         * posix/unistd.h: Declare syncfs.
56150         * sysdeps/unix/syscalls.list: Add syncfs.
56152 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56154         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56155         open_by_handle_at.
56156         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56161         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56162         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56164 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56166         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56167         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56168         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56169         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56170         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56172         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56174         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56175         sync_file_range.c with -fexceptions.
56176         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56177         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56178         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56179         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56180         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56181         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56183         sync_file_range as cancellation point
56184         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56185         now a wrapper around __call_sync_file_range with cancellation handling.
56186         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56187         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56188         function name to __call_sync_file_range.
56189         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56190         Add call_sync_file_range.
56192 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56195         bits/timex.h.
56197 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56199         * iconv/iconv.h: Fix typo in comment.
56200         * io/fcntl.h: Likewise.
56201         * libio/stdio.h: Likewise.
56202         * posix/spawn.h: Likewise.
56203         * posix/unistd.h: Likewise.
56204         * stdlib/stdlib.h: Likewise.
56205         * time/time.h: Likewise.
56206         * wcsmbs/wchar.h: Likewise.
56208         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56209         open_by_handle): Add.
56210         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56211         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56212         Augment a few comments.
56213         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56215         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56217         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56218         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56219         open_by_handle.
56221         * io/fcntl.h (AT_EMPTY_PATH): Define.
56223 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56225         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56226         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56227         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56228         to...
56229         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56230         * Versions.def: Add GLIBC_2.14.
56231         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56232         Export.
56234 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56236         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56237         round counter.
56238         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56240 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56242         [BZ #12597]
56243         * string/test-strncmp.c (do_page_test): New function.
56244         (check2): Likewise.
56245         (test_main): Call check2.
56246         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56248 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56250         [BZ #12587]
56251         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56252         Handle cache information in CPU leaf 4.
56253         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56255 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56257         [BZ #12583]
56258         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56259         character representation.
56260         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56262 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56264         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56265         END(__isnan) to END(__isnanf) to match function entry point/label
56266         EALIGN(__isnanf,...).
56268 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56270         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56272 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56274         [BZ #12510]
56275         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56276         copy from the symbol referenced in the relocation to initialize the
56277         used variable.
56278         Patch by Piotr Bury <pbury@goahead.com>.
56279         * elf/Makefile: Add rules to build and tst-unique3.
56280         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56281         * elf/tst-unique3.cc: New file.
56282         * elf/tst-unique3.h: New file.
56283         * elf/tst-unique3lib.cc: New file.
56284         * elf/tst-unique3lib2.cc: New file.
56286         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56288 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56290         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56291         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56292         to _start.
56294 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56296         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56297         to-be-loaded object along a path to loader is ld.so.
56299 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56300             Ulrich Drepper  <drepper@gmail.com>
56302         * sysdeps/x86_64/memset.S: After aligning destination, code
56303         branches to different locations depending on the value of
56304         misalignment, when multiarch is enabled. Fix this.
56306 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56308         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56309         Set _x86_64_preferred_memory_instruction for AMD processsors.
56310         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56311         Set bit_Prefer_SSE_for_memop for AMD processors.
56313 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56315         * libio/fmemopen.c (fmemopen): Optimize a bit.
56317 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56319         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56321 2011-03-03  Roland McGrath  <roland@redhat.com>
56323         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56325 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56327         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56328         __bzero_ultra1 instead of __memset_ultra1.
56330 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56331             Ulrich Drepper  <drepper@gmail.com>
56333         [BZ #12509]
56334         * include/link.h (struct link_map): Add l_orig_initfini.
56335         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56336         returning unsuccessfully.
56337         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56338         close of a file loaded at startup, restore the original l_initfini
56339         list.
56340         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56341         list, store the pointer.
56342         * elf/Makefile ($(objpfx)noload-mem): New rule.
56343         (noload-ENV): Define.
56344         (tests): Add $(objpfx)noload-mem.
56345         * elf/noload.c: Include <memcheck.h>.
56346         (main): Call mtrace.  Close all opened handles.
56348 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56350         [BZ #12454]
56351         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56352         dependencies are missing.
56354 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56356         Fix __if_freereq crash: Unlike the generic version which uses free,
56357         Hurd needs munmap.
56358         * sysdeps/mach/hurd/ifreq.h: New file.
56360 2011-01-27  Petr Baudis  <pasky@suse.cz>
56361             Ulrich Drepper  <drepper@gmail.com>
56363         [BZ 12445]#
56364         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56365         to extend_alloca().
56366         * stdio-common/bug23.c: New file.
56367         * stdio-common/Makefile (tests): Add bug23.
56369 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56370             Ulrich Drepper  <drepper@gmail.com>
56372         [BZ #12489]
56373         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56374         before performing relro protection.  At old place add assertion
56375         to make sure nothing changed.
56377 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56378             Glauber de Oliveira Costa  <glommer@gmail.com>
56380         * elf/elf.h: Add new ARM TLS relocs.
56382 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56385         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56386         cast from r3.
56387         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56388         'tests' variable.
56389         * sysdeps/wordsize-64/tst-writev.c: New file.
56391 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56393         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56394         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56395         insns in _dl_start to prevent a TOC reference before relocs are
56396         resolved.
56398 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56400         [BZ #12469]
56401         * Makeconfig: Remove RANLIB definition.
56402         * Makerules: Don't use RANLIB.
56403         * aclocal.m4: Remove ranlib test.
56404         * configure.in: No need to check for ranlib.
56405         * elf/rtld-Rules: Don't use RANLIB.
56407 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56409         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56410         protection macro.
56411         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56412         inclusion protection macro.
56414         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56415         SIGRTMIN and SIGRTMAX and print information in that case only when
56416         SIGRTMIN is defined.
56418 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56420         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56421         arginfo fn returning -1.
56423         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56424         and thousands string is zero terminated.
56426 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56428         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56429         sysdeps/unix/sysv/linux/bits/socket.h.
56431 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56433         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56434         (__CPU_COUNT): Remove old macros.
56435         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56436         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56437         (__CPU_ALLOC, __CPU_FREE): Add macros.
56438         (__sched_cpualloc, __sched_cpufree): Add declarations.
56440 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56442         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56443         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56444         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56445         (readdhstai): Return value of addhstaiX call.
56446         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56447         (addgrbyX): Return value returned by cache_addgr.
56448         (readdgrbyname): Return value returned by addgrbyX.
56449         (readdgrbygid): Likewise.
56450         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56451         (addpwbyX): Return value returned by cache_addpw.
56452         (readdpwbyname): Return value returned by addhstbyX.
56453         (readdpwbyuid): Likewise.
56454         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56455         (addservbyX): Return value returned by cache_addserv.
56456         (readdservbyname): Return value returned by addservbyX:
56457         (readdservbyport): Likewise.
56458         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56459         (addhstbyX): Return value returned by cache_addhst.
56460         (readdhstbyname): Return value returned by addhstbyX.
56461         (readdhstbyaddr): Likewise.
56462         (readdhstbynamev6): Likewise.
56463         (readdhstbyaddrv6): Likewise.
56464         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56465         (readdinitgroups): Return value returned by addinitgroupsX.
56466         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56467         (prune_cache): Keep track of timeout value of re-added entries.
56468         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56469         * nscd/nscd.h: Adjust prototypes of readd* functions.
56471 2011-02-04  Roland McGrath  <roland@redhat.com>
56473         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56474         (nis_stats): Likewise.
56475         * nis/nis_modify.c (nis_modify): Likewise.
56476         * nis/nis_remove.c (nis_remove): Likewise.
56477         * nis/nis_add.c (nis_add): Likewise.
56479         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56481         * posix/fnmatch_loop.c: Add some consts.
56483         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56485 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56487         [BZ #12460]
56488         * config.make.in (config-cflags-novzeroupper): Define.
56489         * configure.in: Substitute libc_cv_cc_novzeroupper.
56490         * elf/Makefile (AVX-CFLAGS): Define.
56491         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56492         (CFLAGS-tst-auditmod4a.c): Likewise.
56493         (CFLAGS-tst-auditmod4b.c): Likewise.
56494         (CFLAGS-tst-auditmod6b.c): Likewise.
56495         (CFLAGS-tst-auditmod6c.c): Likewise.
56496         (CFLAGS-tst-auditmod7b.c): Likewise.
56497         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56499 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56501         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56502         function to the callback.
56503         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56505 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56507         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56508         of errno.
56510 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56512         [BZ #11724]
56513         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56514         of constructors.
56515         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56516         of destructors.
56517         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56519         [BZ #11724]
56520         * elf/Makefile: Add rules to build and run new test.
56521         * elf/tst-initorder.c: New file.
56522         * elf/tst-initorder.exp: New file.
56523         * elf/tst-initordera1.c: New file.
56524         * elf/tst-initordera2.c: New file.
56525         * elf/tst-initordera3.c: New file.
56526         * elf/tst-initordera4.c: New file.
56527         * elf/tst-initorderb1.c: New file.
56528         * elf/tst-initorderb2.c: New file.
56529         * elf/tst-order-a1.c: New file.
56530         * elf/tst-order-a2.c: New file.
56531         * elf/tst-order-a3.c: New file.
56532         * elf/tst-order-a4.c: New file.
56533         * elf/tst-order-b1.c: New file.
56534         * elf/tst-order-b2.c: New file.
56535         * elf/tst-order-main.c: New file.
56536         New test case by George Gensure <werkt0@gmail.com>.
56538 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56541         decoding ACE if AI_CANONIDN.
56543 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56545         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56547 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56549         * version.h (RELEASE): Bump for 2.13 release.
56550         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56552         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56554         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56555         MADV_NOHUGEPAGE.
56556         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56557         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56559         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56561         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56563         * posix/getconf.c: Update copyright year.
56564         * catgets/gencat.c: Likewise.
56565         * csu/version.c: Likewise.
56566         * debug/catchsegv.sh: Likewise.
56567         * debug/xtrace.sh: Likewise.
56568         * elf/ldconfig.c: Likewise.
56569         * elf/ldd.bash.in: Likewise.
56570         * elf/sprof.c (print_version): Likewise.
56571         * iconv/iconv_prog.c: Likewise.
56572         * iconv/iconvconfig.c: Likewise.
56573         * locale/programs/locale.c: Likewise.
56574         * locale/programs/localedef.c: Likewise.
56575         * malloc/memusage.sh: Likewise.
56576         * malloc/mtrace.pl: Likewise.
56577         * nscd/nscd.c (print_version): Likewise.
56578         * nss/getent.c: Likewise.
56580         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56581         PF_CAIF, and PF_ALG.
56582         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56584 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56586         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56587         (modules-names): Use them.
56588         (ifunc-test-modules, ifunc-pie-tests): Define.
56589         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56590         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56591         (test-extras): Likewise.
56592         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56593         $(compile-command.c).
56594         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56595         (all-built-dso): Define.
56596         (check-textrel.out, check-execstack.out): Depend on it.
56598         * configure.in: Don't override --enable-multi-arch.
56600 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56602         [BZ #6812]
56603         * nscd/hstcache.c (tryagain): Define.
56604         (cache_addhst): Return tryagain not notfound for temporary errors.
56605         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56606         failed.
56608 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56610         [BZ #10563]
56611         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56612         to make the syscall.
56613         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56615         [BZ #12378]
56616         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56617         and fall back to matching as normal character if the string ends before
56618         the matching ']' is found.  This is what POSIX requires.
56619         * posix/testfnm.c: Adjust test result.
56620         * posix/globtest.sh: Adjust test result.  Add new test.
56621         * posix/tst-fnmatch.input: Likewise.
56622         * posix/tst-fnmatch2.c: Add new test.
56624 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56626         * elf/Makefile (check-execstack): Revert last change.  Depend on
56627         check-execstack.h.
56628         (check-execstack.h): New target.
56629         (generated): Add check-execstack.h.
56630         * elf/check-execstack.c: Include "check-execstack.h".
56631         (main): Revert last change.
56632         (handle_file): Return zero if GNU_STACK is absent and
56633         DEFAULT_STACK_PERMS doesn't include PF_X.
56635 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56637         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56638         in child fails because the descriptor is already closed.
56639         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56640         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56641         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56643         [BZ #12397]
56644         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56645         syscall.
56647         [BZ #10484]
56648         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56649         temporary buffer used to handle multi lookups locally.
56650         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56652 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56654         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56655         loader is ld.so.
56657 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56659         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56660         alignment for SSE2.
56662 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56664         [BZ #12394]
56665         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56666         characters.  When rounding increased number of integer digits recompute
56667         number of groups.
56668         * stdio-common/tst-grouping.c: New file.
56669         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56671 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56673         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56674         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56676         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56677         void.
56678         * bits/select.h: Likewise.
56680 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56682         * po/ja.po: Update from translation team.
56684 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56686         [BZ #11155]
56687         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56688         implementation just like for lxstat, fxstatat, et al.
56690 2010-12-27  Jim Meyering  <meyering@redhat.com>
56692         [BZ #12348]
56693         * posix/regexec.c (build_trtable): Return failure indication upon
56694         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56696 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56698         [BZ #12201]
56699         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56700         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56701         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56702         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56704         [BZ #12207]
56705         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56707         [BZ #12204]
56708         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56709         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56711 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56713         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56714         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56715         script has SORT_BY_INIT_PRIORITY.
56716         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56717         NO_CTORS_DTORS_SECTIONS is defined.
56718         * elf/soinit.c: Likewise.
56719         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56720         NO_CTORS_DTORS_SECTIONS is defined.
56721         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56722         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56723         * sysdeps/sh/init-first.c: Likewise.
56724         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56726 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56728         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56729         always use the slow path.
56731 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56733         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56734         similar rule which adds the sysdep directories to the header search in
56735         order to pick up the correct platform stackinfo.h.
56736         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56737         perform test if it is, otherwise return successfully without testing.
56738         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56739         DEFAULT_STACK_PERMS define in stackinfo.h.
56740         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56741         defined in stackinfo.h.
56742         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56743         DEFAULT_STACK_PERMS defined in stackinfo.h.
56744         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56745         * sysdeps/ia64/stackinfo.h: Likewise.
56746         * sysdeps/s390/stackinfo.h: Likewise.
56747         * sysdeps/sh/stackinfo.h: Likewise.
56748         * sysdeps/sparc/stackinfo.h: Likewise.
56749         * sysdeps/x86_64/stackinfo.h: Likewise.
56750         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56751         PF_X for powerpc64.  Retain PF_X for powerpc32.
56753 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56755         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56756         accurately.
56757         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56758         GETDENTS_64BIT_ALIGNED.
56760 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56762         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56764 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56766         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56767         _GNU_SOURCE.
56769         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56770         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56771         Remove __restrict.
56772         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56773         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56775 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56777         [BZ #11655]
56778         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56779         are initialized.
56781 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56783         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56785 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56787         * po/it.po: Update from translation team.
56789 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56791         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56792         unused codes.
56794 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56796         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56798 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56800         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56801         specially.
56802         (gaih_getanswer_slice): Likewise.
56804 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56806         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56808 2010-05-31  Petr Baudis  <pasky@suse.cz>
56810         [BZ #11149]
56811         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56812         silently even in the chroot mode.
56814 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56816         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56817         last patch a bit.  Pretty printing
56819 2010-05-31  Petr Baudis <pasky@suse.cz>
56821         [BZ #10085]
56822         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56823         initialization of skip_initgroups_dyn.
56825 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56827         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56828         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56830 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56832         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56834 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56836         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56837         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56838         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56839         ($(objpfx)tst-fnmatch-mem): New rule.
56840         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56841         * posix/tst-fnmatch.c (main): Call mtrace.
56843 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56845         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56846         Support Intel processor model 6 and model 0x2c.
56848 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56850         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56851           signed comparison.
56853 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56855         [BZ #12205]
56856         * string/test-strncasecmp.c (check_result): New function.
56857         (do_one_test): Use it.
56858         (check1): New function.
56859         (test_main): Use it.
56860         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56861         Support strcasecmp and strncasecmp.
56863 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56865         [BZ #12194]
56866         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56867         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56869 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56871         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56872         IFUNC support.
56873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56874         memset-x86-64.
56875         * sysdeps/x86_64/multiarch/bzero.S: New file.
56876         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56877         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56878         * sysdeps/x86_64/multiarch/memset.S: New file.
56879         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56881         Set bit_Prefer_SSE_for_memop for Intel processors.
56882         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56883         Define.
56884         (index_Prefer_SSE_for_memop): Define.
56885         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56887 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56889         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56890         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56892 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56894         [BZ #12191]
56895         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56896         (__x86_64_raw_data_cache_size_half): Likewise.
56897         (__x86_64_raw_shared_cache_size): Likewise.
56898         (__x86_64_raw_shared_cache_size_half): Likewise.
56900         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56901         (__x86_64_raw_data_cache_size_half): Likewise.
56902         (__x86_64_raw_shared_cache_size): Likewise.
56903         (__x86_64_raw_shared_cache_size_half): Likewise.
56904         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56905         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56906         and __x86_64_raw_shared_cache_size_half.  Round
56907         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56908         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56909         to multiple of 256 bytes.
56911 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56913         [BZ #12167]
56914         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56915         of inacessible symlinks.  Verify result of symlink before returning it.
56916         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56917         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56919 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56921         * math/math.h (isinf): Fix typo in comment.
56923 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56925         * po/da.po: Update from translation team.
56927 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56929         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56930         is added to the list.
56932 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56933             Ulrich Drepper  <drepper@gmail.com>
56935         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56936         the global list here.  Move code to...
56937         (_dl_add_to_namespace_list): ...here.  New function.
56938         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56939         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56940         * elf/dl-load.c (lose): Don't remove the element from the list.
56941         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56942         (_dl_map_object): Likewise.
56944 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56946         [BZ #12159]
56947         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56948         into all bytes of SSE register.
56949         Patch by Richard Li <richardpku@gmail.com>.
56951 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56953         [BZ #12140]
56954         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56955         perturbing.
56957 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56959         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56960         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56961         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56962         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56964         submachine.
56965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56967 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56969         * include/dlfcn.h (__RTLD_SECURE): Define.
56970         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56971         mode & __RTLD_SECURE instead.
56972         (open_path): Rename preloaded parameter to secure.
56973         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56974         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56975         * elf/dl-deps.c (openaux): Likewise.
56976         * elf/rtld.c (struct map_args): Remove is_preloaded.
56977         (map_doit): Don't use it.
56978         (dl_main): Likewise.
56979         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56980         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56982 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56984         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56985         (sysd-rules-targets): Remove duplicates.
56986         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56987         rtld-%.$o dependency.
56989 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56991         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56992         _dl_map_object do it.
56994 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56996         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56997         fast fma builtins, define the macros in the C99 standard.
56998         (FP_FAST_FMAF): Likewise.
56999         (FP_FAST_FMAL): Likewise.
57000         * sysdeps/x86_64/bits/mathdef.h: Likewise.
57002         * bits/mathdef.h: Update copyright year.
57003         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57005 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
57007         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57008         builtins, define the macros in the C99 standard.
57009         (FP_FAST_FMAF): Likewise.
57010         (FP_FAST_FMAL): Likewise.
57011         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57012         multiply/add.
57013         (FP_FAST_FMAF): Likewise.
57015 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
57017         [BZ #3268]
57018         * math/libm-test.inc (fma_test): Some new testcases.
57019         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57021         y and infinite z.  Do multiplication by C already in long double.
57022         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57024         y and infinite z.  Do bitwise or of inexact bit into u.d.
57025         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57026         * sysdeps/i386/fpu/s_fmaf.S: Removed.
57027         * sysdeps/i386/fpu/s_fma.S: Removed.
57028         * sysdeps/i386/fpu/s_fmal.S: Removed.
57030 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
57032         [BZ #3268]
57033         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57034         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57035         computation is not scheduled after fetestexcept.  Fix value
57036         of minimum denormal long double.
57038 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
57040         [BZ #3268]
57041         * math/libm-test.inc (fma_test): Add some more tests.
57042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57043         correctly.
57045 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57047         * scripts/data/localplt-s390-linux-gnu.data: New file.
57048         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57050 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57052         [BZ #3268]
57053         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57054         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57055         instead of dbl-64.
57056         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57057         inlines.
57058         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57059         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57060         if one of x and y is very large and the other is subnormal.
57061         * sysdeps/s390/fpu/s_fmaf.c: New file.
57062         * sysdeps/s390/fpu/s_fma.c: New file.
57063         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57064         * sysdeps/powerpc/fpu/s_fma.S: New file.
57065         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57066         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57067         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57069 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57071         [BZ #3268]
57072         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57073         fma tests.
57074         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57075         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57076         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57077         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57078         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57079         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57080         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57082 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57084         [BZ #12078]
57085         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57086         * posix/bug-regex31.input: Add test case.
57088 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57090         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57091         * posix/bug-regex31.input: New file.
57093         [BZ #12078]
57094         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57095         (parse_sub_exp): Fix last change, use postorder.
57097         * posix/bug-regex31.c: New file.
57098         * posix/Makefile: Add rules to build and run bug-regex31.
57100         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57102         [BZ #12078]
57103         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57105         [BZ #12108]
57106         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57107         to have entries in sys_siglist.
57109         [BZ #12093]
57110         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57111         be NULL.
57113 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57115         [BZ #3268]
57116         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57117         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57118         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57119         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57120         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57121         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57122         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57123         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57124         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57125         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57126         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57127         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57128         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57129         * math/ftestexcept.c (fetestexcept): Likewise.
57130         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57131         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57132         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57133         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57134         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57135         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57136         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57138 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57140         [BZ #12107]
57141         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57142         newline.
57144 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57146         * string/bug-strstr1.c: New file.
57147         * string/Makefile: Add rules to build and run bug-strstr1.
57149 2010-10-05  Eric Blake  <eblake@redhat.com>
57151         [BZ #12092]
57152         * string/str-two-way.h (two_way_long_needle): Always clear memory
57153         when skipping input due to the shift table.
57155 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57157         [BZ #12005]
57158         * malloc/mcheck.c: Handle large requests.
57160         [BZ #12077]
57161         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57162         for strncmp and strncasecmp.
57163         * string/stratcliff.c: Add tests for strcmp and strncmp.
57164         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57166 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57168         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57169         __set_fpscr.
57171 2010-09-30  Andreas Jaeger  <aj@suse.de>
57173         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57174         (CGROUP_SUPER_MAGIC): Define.
57175         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57176         Handle btrfs and cgroup file systems.
57177         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57178         Likewise.
57180 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57182         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57183         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57185 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57187         [BZ #12067]
57188         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57189         trying to locate the ELF header.
57191 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57193         [BZ #11611]
57194         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57195         Mask out sign-bit copies when constructing f_fsid.
57197 2010-09-24  Petr Baudis <pasky@suse.cz>
57199         * debug/stack_chk_fail_local.c: Add missing licence exception.
57200         * debug/warning-nop.c: Likewise.
57202 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57204         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57205         implementing getdents64 using getdents syscall, set d_type if
57206         __ASSUME_GETDENTS32_D_TYPE.
57208 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57210         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57211         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57213 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57215         [BZ #12037]
57216         * posix/unistd.h: Undo change of feature selection for ftruncate from
57217         2010-01-11.
57219 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57221         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57222         detection.
57224 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57226         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57227         fanotify_mark.
57228         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57230 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57232         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57233         variables after CHECK_SP call.
57234         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57236 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57237             Ulrich Drepper  <drepper@redhat.com>
57239         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57240         re-relocationg ld.so.
57241         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57242         _dl_init_paths call.
57243         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57244         here anymore.
57246 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57248         * resolv/res_init.c (__res_vinit): Count the default server we added.
57250 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57251             Ulrich Drepper  <drepper@redhat.com>
57253         [BZ #11968]
57254         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57255         (____longjmp_chk): Use %ebx for saving value across system call.
57256         Add unwind info.
57258 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57260         * manual/Makefile: Don't mix pattern rules with normal rules.
57262 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57264         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57265         operation.
57266         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57267         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57268         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57269         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57270         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57271         Likewise.
57273 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57275         [BZ #11979]
57276         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57277         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57279 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57281         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57282         * sysdeps/x86_64/addmul_1.S: Likewise.
57283         * sysdeps/x86_64/lshift.S: Likewise.
57284         * sysdeps/x86_64/mul_1.S: Likewise.
57285         * sysdeps/x86_64/rshift.S: Likewise.
57286         * sysdeps/x86_64/sub_n.S: Likewise.
57287         * sysdeps/x86_64/submul_1.S: Likewise.
57289 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57291         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57292         Define __sched_param instead of SCHED_* and sched_param when
57293         <bits/sched.h> is included with __need_schedparam defined.
57294         * bits/sched.h [__need_schedparam]
57295         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57296         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57297         (__defined_schedparam): Define to 1.
57298         (__sched_param): New structure, identical to sched_param.
57299         (__need_schedparam): Undefine.
57301 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57303         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57304         (epoll_create1): Declare.
57306         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57308 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57310         [BZ #7066]
57311         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57312         shifting retval into place.
57314 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57316         * nis/rpcsvc/nis.h: Update copyright notice.
57317         * nis/rpcsvc/nis.x: Likewise.
57318         * nis/rpcsvc/nis_callback.h: Likewise.
57319         * nis/rpcsvc/nis_callback.x: Likewise.
57320         * nis/rpcsvc/nis_object.x: Likewise.
57321         * nis/rpcsvc/nis_tags.h: Likewise.
57322         * nis/rpcsvc/yp.h: Likewise.
57323         * nis/rpcsvc/yp.x: Likewise.
57324         * nis/rpcsvc/ypupd.h: Likewise.
57325         * nis/yp_xdr.c: Likewise.
57326         * nis/ypupdate_xdr.c: Likewise.
57328         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57329         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57330         (pmap_getport): Use __libc_rpc_getport.
57331         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57332         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57333         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57335 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57338         fanotify_mark.
57340 2010-08-27  Roland McGrath  <roland@redhat.com>
57342         * sysdeps/i386/i686/multiarch/Makefile
57343         (CFLAGS-varshift.c): New variable.
57345 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57347         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57348         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57352         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57354 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57356         * sysdeps/x86_64/strlen.S: Unroll the loop.
57357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57358         strlen-sse2 strlen-sse2-bsf.
57359         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57360         __strlen_no_bsf if bit_Slow_BSF is set.
57361         (__strlen_sse42): Removed.
57362         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57363         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57365 2010-08-25  Roland McGrath  <roland@redhat.com>
57367         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57368         * sysdeps/x86_64/multiarch/varshift.c: New file.
57369         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57370         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57371         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57372         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57374 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57376         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57377         strlen-sse2 strlen-sse2-bsf.
57378         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57379         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57380         (__strlen_sse2): Removed.
57381         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57382         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57384         bit_Slow_BSF for Atom.
57385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57386         (index_Slow_BSF): Define.
57387         (HAS_SLOW_BSF): Define.
57389 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57391         [BZ #10851]
57392         * resolv/res_init.c (__res_vinit): When no server address at all
57393         is given default to loopback.
57395 2010-08-24  Roland McGrath  <roland@redhat.com>
57397         * configure.in: Remove config-name.h generation.
57398         * configure: Regenerated.
57399         * config-name.in: File removed.
57400         * scripts/config-uname.sh: New file.
57401         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57402         ($(objdir)config-name.h): New target.
57404         * sunrpc/rpc_parse.h: Avoid nested comment.
57406 2010-08-24  Richard Henderson  <rth@redhat.com>
57407             Ulrich Drepper  <drepper@redhat.com>
57408             H.J. Lu  <hongjiu.lu@intel.com>
57410         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57411         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57412         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57413         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57414         _mm_alignr_epi8 with _mm_loadu_si128.
57415         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57416         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57417         (__m128i_shift_right): Removed.
57418         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57419         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57420         * sysdeps/x86_64/multiarch/varshift.h: New file.
57421         * sysdeps/x86_64/multiarch/varshift.S: New file.
57423 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57425         * configure.in: Move assembler checks to before sysdep dir checking.
57427 2010-08-20  Petr Baudis  <pasky@suse.cz>
57429         * LICENSES: Sync the sunrpc license.
57431 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57433         * sunrpc/auth_des.c: Update copyright notice once again.
57434         * sunrpc/auth_none.c: Likewise.
57435         * sunrpc/auth_unix.c: Likewise.
57436         * sunrpc/authdes_prot.c: Likewise.
57437         * sunrpc/authuxprot.c: Likewise.
57438         * sunrpc/bindrsvprt.c: Likewise.
57439         * sunrpc/clnt_gen.c: Likewise.
57440         * sunrpc/clnt_perr.c: Likewise.
57441         * sunrpc/clnt_raw.c: Likewise.
57442         * sunrpc/clnt_simp.c: Likewise.
57443         * sunrpc/clnt_tcp.c: Likewise.
57444         * sunrpc/clnt_udp.c: Likewise.
57445         * sunrpc/clnt_unix.c: Likewise.
57446         * sunrpc/des_crypt.c: Likewise.
57447         * sunrpc/des_soft.c: Likewise.
57448         * sunrpc/get_myaddr.c: Likewise.
57449         * sunrpc/getrpcport.c: Likewise.
57450         * sunrpc/key_call.c: Likewise.
57451         * sunrpc/key_prot.c: Likewise.
57452         * sunrpc/openchild.c: Likewise.
57453         * sunrpc/pm_getmaps.c: Likewise.
57454         * sunrpc/pm_getport.c: Likewise.
57455         * sunrpc/pmap_clnt.c: Likewise.
57456         * sunrpc/pmap_prot.c: Likewise.
57457         * sunrpc/pmap_prot2.c: Likewise.
57458         * sunrpc/pmap_rmt.c: Likewise.
57459         * sunrpc/rpc/auth.h: Likewise.
57460         * sunrpc/rpc/auth_unix.h: Likewise.
57461         * sunrpc/rpc/clnt.h: Likewise.
57462         * sunrpc/rpc/des_crypt.h: Likewise.
57463         * sunrpc/rpc/key_prot.h: Likewise.
57464         * sunrpc/rpc/netdb.h: Likewise.
57465         * sunrpc/rpc/pmap_clnt.h: Likewise.
57466         * sunrpc/rpc/pmap_prot.h: Likewise.
57467         * sunrpc/rpc/pmap_rmt.h: Likewise.
57468         * sunrpc/rpc/rpc.h: Likewise.
57469         * sunrpc/rpc/rpc_des.h: Likewise.
57470         * sunrpc/rpc/rpc_msg.h: Likewise.
57471         * sunrpc/rpc/svc.h: Likewise.
57472         * sunrpc/rpc/svc_auth.h: Likewise.
57473         * sunrpc/rpc/types.h: Likewise.
57474         * sunrpc/rpc/xdr.h: Likewise.
57475         * sunrpc/rpc_clntout.c: Likewise.
57476         * sunrpc/rpc_cmsg.c: Likewise.
57477         * sunrpc/rpc_common.c: Likewise.
57478         * sunrpc/rpc_cout.c: Likewise.
57479         * sunrpc/rpc_dtable.c: Likewise.
57480         * sunrpc/rpc_hout.c: Likewise.
57481         * sunrpc/rpc_main.c: Likewise.
57482         * sunrpc/rpc_parse.c: Likewise.
57483         * sunrpc/rpc_parse.h: Likewise.
57484         * sunrpc/rpc_prot.c: Likewise.
57485         * sunrpc/rpc_sample.c: Likewise.
57486         * sunrpc/rpc_scan.c: Likewise.
57487         * sunrpc/rpc_scan.h: Likewise.
57488         * sunrpc/rpc_svcout.c: Likewise.
57489         * sunrpc/rpc_tblout.c: Likewise.
57490         * sunrpc/rpc_util.c: Likewise.
57491         * sunrpc/rpc_util.h: Likewise.
57492         * sunrpc/rpcinfo.c: Likewise.
57493         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57494         * sunrpc/rpcsvc/key_prot.x: Likewise.
57495         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57496         * sunrpc/rpcsvc/mount.x: Likewise.
57497         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57498         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57499         * sunrpc/rpcsvc/rex.x: Likewise.
57500         * sunrpc/rpcsvc/rstat.x: Likewise.
57501         * sunrpc/rpcsvc/rusers.x: Likewise.
57502         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57503         * sunrpc/rpcsvc/spray.x: Likewise.
57504         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57505         * sunrpc/rtime.c: Likewise.
57506         * sunrpc/svc.c: Likewise.
57507         * sunrpc/svc_auth.c: Likewise.
57508         * sunrpc/svc_authux.c: Likewise.
57509         * sunrpc/svc_raw.c: Likewise.
57510         * sunrpc/svc_run.c: Likewise.
57511         * sunrpc/svc_simple.c: Likewise.
57512         * sunrpc/svc_tcp.c: Likewise.
57513         * sunrpc/svc_udp.c: Likewise.
57514         * sunrpc/svc_unix.c: Likewise.
57515         * sunrpc/svcauth_des.c: Likewise.
57516         * sunrpc/xcrypt.c: Likewise.
57517         * sunrpc/xdr.c: Likewise.
57518         * sunrpc/xdr_array.c: Likewise.
57519         * sunrpc/xdr_float.c: Likewise.
57520         * sunrpc/xdr_mem.c: Likewise.
57521         * sunrpc/xdr_rec.c: Likewise.
57522         * sunrpc/xdr_ref.c: Likewise.
57523         * sunrpc/xdr_sizeof.c: Likewise.
57524         * sunrpc/xdr_stdio.c: Likewise.
57526         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57527         handling.
57529 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57531         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57533 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57535         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57537         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57538         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57539         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57540         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57541         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57542         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57543         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57544         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57545         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57546         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57547         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57548         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57550 2010-07-26  Anton Blanchard  <anton@samba.org>
57552         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57553         * malloc/arena.c (heap_trim): Likewise.
57555 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57557         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57558         here.  Not...
57559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57560         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57562 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57564         * sysdeps/i386/elf/Makefile: New file.
57566 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57568         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57569         from fanotify_init.
57570         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57571         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57573 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57575         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57576         of strncasecmp_l.
57577         * sysdeps/multiarch/strcmp.S: Likewise.
57579 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57581         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57582         strncase_l-nonascii.
57583         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57584         Add strncase_l-ssse3.
57585         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57586         * sysdeps/x86_64/strcmp.S: Likewise.
57587         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57588         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57589         * sysdeps/x86_64/strncase.S: New file.
57590         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57591         * sysdeps/x86_64/strncase_l.S: New file.
57592         * string/Makefile (strop-tests): Add strncasecmp.
57593         * string/test-strncasecmp.c: New file.
57595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57596         warning.
57598         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57599         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57601 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57603         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57605 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57607         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57608         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57609         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57611 2010-05-01  Alan Modra  <amodra@gmail.com>
57613         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57614         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57615         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57616         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57617         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57618         tidying.  Don't tail-call __sigjmp_save for static lib.
57619         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57620         save location.
57621         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57622         (CALL_MCOUNT): Add eh info, and nop after bl.
57623         (TAIL_CALL_SYSCALL_ERROR): New macro.
57624         (PSEUDO_RET): Use it.
57625         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57626         Correct save location of integer regs and cr.
57627         (_dl_profile_resolve): Correct cr save location.  Delete nops
57628         after bl when SHARED.  Reduce cfi size a little by better
57629         placement of cfi directives.
57630         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57631         make a stack frame.  Instead use parm save area as a temp.
57632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57633         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57635         Don't make a stack frame for parent, use parm save area.
57636         Increase child stack frame to 112 bytes.  Don't save unused reg,
57637         and adjust reg usage.  Set up cfi on error recovery and
57638         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57640         (__makecontext): Add dummy nop after jump to exit.
57641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57642         Use correct parm save area and cr save, reduce stack frame.
57643         Correct cfi for possible PSEUDO_RET frame setup.
57644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57645         Branch to local label emitted by PSEUDO_RET rather than
57646         __syscall_error.
57648 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57650         [BZ #11904]
57651         * locale/programs/locale.c (print_assignment): New function.
57652         (show_locale_vars): Use it.
57654 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57656         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57657         field.
57658         (struct statfs64): Likewise.
57659         (_STATFS_F_FLAGS): Define.
57660         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57661         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57662         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57663         (ST_VALID): Define locally.
57664         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57665         __statvfs_getflags, use the provided value.
57666         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57667         __ASSUME_STATFS_F_FLAGS.
57669         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57671         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57672         Add sys/fanotify.h.
57673         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57674         fanotify_mask for GLIBC_2.13.
57675         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57676         fanotify_init and fanotify_mark.
57677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57678         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57680         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57681         Add prlimit.
57682         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57683         prlimit64 for GLIBC_2.13.
57684         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57685         prlimit64.
57686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57687         syscall.
57688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57690         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57691         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57692         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57693         add prlimit alias.
57694         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57696         [BZ #11903]
57697         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57698         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57700         * nss/Makefile: Add rules to build and run tst-nss-test1.
57701         * shlib-versions: Add entry for libnss_test1.
57702         * nss/nss_test1.c: New file.
57703         * nss/tst-nss-test1.c: New file.
57705         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57706         (__nss_configure_lookup): Set appropriate entry in
57707         __nss_configure_lookup to true.
57708         * nss/nsswitch.h: Define enum with indeces of databases in
57709         databases and __nss_database_custom arrays.  Declare
57710         __nss_database_custom.
57711         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57712         to avoid using nscd when custom rules are installed.
57713         * nss/getXXbyYY_r.c: Likewise.
57714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57716         * nss/nss_files/files-parse.c: Whitespace fixes.
57718 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57720         [BZ #11883]
57721         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57722         * posix/fnmatch_loop.c: Likewise.
57724 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57726         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57727         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57728         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57729         * Versions.def [GLIBC_2.13]: Add.
57731 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57733         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57734         Also fail if tpwd after pwuid call is NULL.
57736 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57738         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57739         when converting to ms.
57741 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57743         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57744         EOPNOTSUPP errors with ENOTTY.
57745         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57746         EOPNOTSUPP errors with ENOTTY.
57748 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57750         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57751         Add strcasecmp_l-ssse3.
57752         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57753         strcasecmp.
57754         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57755         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57756         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57758 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57760         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57762         * string/Makefile (strop-tests): Add strcasecmp.
57763         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57764         strcasecmp_l-nonascii.
57765         (gen-as-const-headers): Add locale-defines.sym.
57766         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57767         * sysdeps/x86_64/strcasecmp.S: New file.
57768         * sysdeps/x86_64/strcasecmp_l.S: New file.
57769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57770         * sysdeps/x86_64/locale-defines.sym: New file.
57771         * string/test-strcasecmp.c: New file.
57773         * string/test-strcasestr.c: Test both ends of the range of characters.
57774         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57776 2010-07-29  Roland McGrath  <roland@redhat.com>
57778         [BZ #11856]
57779         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57781 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57783         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57784         for ld.so.
57786 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57788         * manual/memory.texi (Malloc Tunable Parameters): Document
57789         M_PERTURB.
57791 2010-07-26  Roland McGrath  <roland@redhat.com>
57793         [BZ #11840]
57794         * configure.in (-fgnu89-inline check): Set and substitute
57795         gnu89_inline, not libc_cv_gnu89_inline.
57796         * configure: Regenerated.
57797         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57799 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57801         * string/test-strnlen.c: New file.
57802         * string/Makefile (strop-tests): Add strnlen.
57803         * string/tester.c (test_strnlen): Add a few more test cases.
57804         * string/tst-strlen.c: Better error reporting.
57806         * sysdeps/x86_64/strnlen.S: New file.
57808 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57810         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57811         lower-latency instructions.
57813 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57815         * string/test-strcasestr.c: New file.
57816         * string/test-strstr.c: New file.
57817         * string/Makefile (strop-tests): Add strstr and strcasestr.
57818         * string/str-two-way.h: Don't undefine MAX.
57819         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57821 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57823         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57824         strcasestr-nonascii.
57825         (CFLAGS-strcasestr-nonascii.c): Define.
57826         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57827         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57828         Remove unused attribute.
57830 2010-07-20  Roland McGrath  <roland@redhat.com>
57832         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57833         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57834         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57835         like LD_HWCAP_MASK can disable hwcaps.
57837 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57839         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57841 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57843         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57844         call in strcasestr.
57845         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57846         __strcasestr_sse42_nonascii.
57847         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57848         strcasestr-nonascii.c.
57849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57851 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57853         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57854         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57855         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57856         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57858 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57860         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57861         fcntl.
57863 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57865         [BZ #11577]
57866         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57867         dl_signal_cerror.
57869 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57871         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57872         _PC_PIPE_BUF using F_GETPIPE_SZ.
57874 2010-07-05  Roland McGrath  <roland@redhat.com>
57876         * manual/arith.texi (Rounding Functions): Fix rint description
57877         implicit in round description.
57879 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57881         * elf/Makefile: Fix linking for a few tests to make recent linker
57882         happy.
57884 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57886         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57887         $(common-objpfx)libc_nonshared.a.
57889 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57891         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57892         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57893         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57894         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57895         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57896         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57897         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57898         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57913         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57914         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57915         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57916         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57917         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57918         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57919         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57920         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57921         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57922         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57923         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57924         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57940 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57942         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57943         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57944         * string/memmove.c (memmove): Renamed to ...
57945         (MEMMOVE): ...this.  Default to memmove.
57946         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57947         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57948         (END_CHK): Define.
57949         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57950         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57951         mempcpy-ssse3-back memmove-ssse3-back.
57952         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57953         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57954         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57955         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57956         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57957         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57958         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57959         * sysdeps/x86_64/multiarch/memmove.c: New file.
57960         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57961         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57962         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57963         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57964         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57965         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57966         Define.
57967         (index_Fast_Copy_Backward): Define.
57968         (HAS_ARCH_FEATURE): Define.
57969         (HAS_FAST_REP_STRING): Define.
57970         (HAS_FAST_COPY_BACKWARD): Define.
57972 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57974         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57975         Restore proper fallback handling.
57977 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57979         [BZ #11701]
57980         * posix/group_member.c (__group_member): Correct checking loop.
57982         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57983         OOM in getpwuid_r correctly.  Return error number when the caller
57984         should return, otherwise -1.
57985         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57986         call returning > 0 value.
57987         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57989 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57991         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57992         libc_nonshared.a from targets in modules-names.
57994 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57996         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57997         requires it.
57999 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
58001         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58002         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58004         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58006 2010-06-02  Andreas Schwab  <schwab@redhat.com>
58008         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58010 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
58012         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58013         and F_GETPIPE_SZ.
58014         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58015         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58017         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58018         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58019         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58021 2010-06-14  Roland McGrath  <roland@redhat.com>
58023         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58025 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
58027         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58028         __REDIRECT followed by __THROW.
58029         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58030         * posix/getopt.h (getopt): Likewise.
58032 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
58034         * hurd/lookup-at.c (__file_name_lookup_at): Accept
58035         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
58036         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58037         in AT_FLAGS.
58038         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58039         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58041 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58043         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58045 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58047         [BZ #11640]
58048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58049         Properly check family and model.
58051 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58053         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58055 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58057         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58059 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58061         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58062         symbol reference.
58064 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58066         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58067         symbol reference.
58069 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58071         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58072         and internal_recvmmsg.
58073         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58074         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58075         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58076         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58078         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58079         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58080         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58082 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58084         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58086 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58088         POWER7 optimizations.
58089         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58090         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58092 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58094         * version.h: Update for 2.13 development version.
58096 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58098         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58099         exceptions.  Return 0.
58101 2010-05-07  Roland McGrath  <roland@redhat.com>
58103         * elf/ldconfig.c (main): Add a const.
58105 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58107         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58108         (args_options): Add no-idn option.
58109         (ahosts_keys_int): Add idn_flags to ai_flags.
58110         (parse_option): Handle 'i' option to clear idn_flags.
58112         * malloc/malloc.c (_int_free): Possible race in the most recently
58113         added check.  Only act on the data if no current modification
58114         happened.
58116 See ChangeLog.17 for earlier changes.