[BZ #17930] MIPS: Define SHM_NORESERVE.
[glibc.git] / ChangeLog
blob557871a7f284bb3139490dd09282d5b2eda7df4b
1 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3         [BZ #17930]
4         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
6 2015-04-07  Florian Weimer  <fweimer@redhat.com>
8         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
10 2015-04-07  Florian Weimer  <fweimer@redhat.com>
12         * include/scratch_buffer.h: New file.
13         * malloc/scratch_buffer_grow.c: Likewise.
14         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15         * malloc/scratch_buffer_set_array_size.c: Likewise.
16         * malloc/tst-scratch_buffer.c: Likewise.
17         * malloc/Makefile (routines): Add scratch_buffer_grow.
18         (tests): Add test case.
19         * malloc/Versions (GLIBC_PRIVATE): Export
20         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21         __libc_scratch_buffer_set_array_size.
23 2015-04-06  Richard Henderson  <rth@redhat.com>
25         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
26         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
29         unsigned int before printing.
31 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33         [BZ #17596]
34         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37 2015-04-02  Florian Weimer  <fweimer@redhat.com>
39         * include/libc-internal.h (libc_max_align_t): Define.
41 2015-04-02  Andreas Schwab  <schwab@suse.de>
43         [BZ #16850]
44         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
46 2015-04-02  Mel Gorman  <mgorman@suse.de>
48         [BZ #17195]
49         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
50         as well as the main arena.
52 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
54         [BZ #18185]
55         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
56         sharing L2 cache to 2 for Silvermont/Knights Landing.
58 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
60         [BZ #17711]
61         * config.make.in (have-protected-data): New.
62         * configure.ac: Check linker support for protected data symbol.
63         * configure: Regenerated.
64         * elf/Makefile (modules-names): Add tst-protected1moda and
65         tst-protected1modb if $(have-protected-data) is yes.
66         (tests): Add tst-protected1a and tst-protected1b if
67         $(have-protected-data) is yes.
68         ($(objpfx)tst-protected1a): New.
69         ($(objpfx)tst-protected1b): Likewise.
70         (tst-protected1modb.so-no-z-defs): Likewise.
71         * elf/tst-protected1a.c: New file.
72         * elf/tst-protected1b.c: Likewise.
73         * elf/tst-protected1mod.h: Likewise.
74         * elf/tst-protected1moda.c: Likewise.
75         * elf/tst-protected1modb.c: Likewise.
77 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
79         [BZ #17711]
80         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
81         indicates it is called from do_lookup_x on relocation against
82         protected data, skip the data definion in the executable from
83         copy reloc.
84         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
85         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
86         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
87         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
88         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
89         otherwise to 0.
90         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
91         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
92         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
93         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
94         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
95         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
97 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
99         * sysdeps/nptl/pthread.h: Remove duplicate definition of
100         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
102 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
104         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
105         THREAD_SETMEM_NC.
106         * sysdeps/x86_64/nptl/tls.h: Ditto.
108 2015-03-27  Roland McGrath  <roland@hack.frob.com>
110         * dlfcn/tststatic.c (main): Converted to ...
111         (do_test): ... this.
112         (TEST_FUNCTION): New macro.
113         Include test-skeleton.c.
115 2015-03-26  Alan Modra  <amodra@gmail.com>
117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
118         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
119         zero for undefined weak.
120         (elf_machine_plt_conflict): Similarly.
122 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
124         * math/auto-libm-test-in: Add more tests of acosh, asinh and
125         atanh.
126         * math/auto-libm-test-out: Regenerated.
127         * sysdeps/i386/fpu/libm-test-ulps: Update.
128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
130         * math/auto-libm-test-in: Add another test of asin.
131         * math/auto-libm-test-out: Regenerated.
132         * sysdeps/i386/fpu/libm-test-ulps: Update.
133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
136         Remove macro.
137         (LLL_EBX_REG): Likewise.
138         (LLL_ENTER_KERNEL): Likewise.
140         * math/auto-libm-test-in: Add more tests of asin.
141         * math/auto-libm-test-out: Regenerated.
142         * sysdeps/i386/fpu/libm-test-ulps: Update.
143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145         [BZ #18138]
146         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
147         libc_do_syscall_args): New structure.
148         (INTERNAL_SYSCALL_MAIN_0): New macro.
149         (INTERNAL_SYSCALL_MAIN_1): Likewise.
150         (INTERNAL_SYSCALL_MAIN_2): Likewise.
151         (INTERNAL_SYSCALL_MAIN_3): Likewise.
152         (INTERNAL_SYSCALL_MAIN_4): Likewise.
153         (INTERNAL_SYSCALL_MAIN_5): Likewise.
154         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
155         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
156         Replace conditional definitions by conditional definitions of ....
157         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
158         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
159         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
160         (libpthread-sysdep_routines): Add libc-do-syscall.
161         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
162         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
163         to __NR_futex not 240.
165 2015-03-25  Alan Modra  <amodra@gmail.com>
167         * NEWS: Advertise TLS optimization.
168         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
169         (DT_PPC_NUM): Increment.
170         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
171         (CHECK_STATIC_TLS): Use here.
172         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
173         TLS descriptors.
174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
175         * sysdeps/powerpc/dl-tls.c: New file.
176         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
177         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
178         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
179         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
184 2015-03-25  Alan Modra  <amodra@gmail.com>
186         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
187         for overlapping .opd entries" to "support...".
188         * sysdeps/powerpc/powerpc64/configure: Regenerate
190 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
192         * math/auto-libm-test-in: Add more tests of acos.
193         * math/auto-libm-test-out: Regenerated.
194         * sysdeps/i386/fpu/libm-test-ulps: Update.
195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197         * math/auto-libm-test-in: Add more tests of expm1.
198         * math/auto-libm-test-out: Regenerated.
199         * sysdeps/i386/fpu/libm-test-ulps: Update.
200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
202 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
204         * math/auto-libm-test-in: Add more tests of cosh and sinh.
205         * math/auto-libm-test-out: Regenerated.
206         * sysdeps/i386/fpu/libm-test-ulps: Update.
207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
209         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
212         * math/auto-libm-test-in: Add more tests of log2.
213         * math/auto-libm-test-out: Regenerated.
214         * sysdeps/i386/fpu/libm-test-ulps: Update.
215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
217 2015-03-23  Roland McGrath  <roland@hack.frob.com>
219         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
220         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
221         _IO_IS_APPENDING bit in READ_WRITE instead.
223 2015-03-23  Florian Weimer  <fweimer@redhat.com>
225         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
226         (__determine_cpumask_size): Replace extend_alloca with a
227         variable-length array.  Do not treat res == 0 as an error.
229 2015-03-23  Florian Weimer  <fweimer@redhat.com>
231         [BZ #18100]
232         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
233         and integer overflow.
234         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
235         (main): Add integer overflow tests.
236         * manual/pattern.texi (Calling Wordexp): Document additional use
237         for WRDE_SYNTAX.
239 2015-03-23  Alan Modra  <amodra@gmail.com>
241         * config.h.in: Remove HAVE_ASM_PPC_REL16.
242         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
243         and false branch of conditional.
244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
245         Likewise.
247 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
249         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
250         libc-modules.h
251         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
252         unused declaration of _hurd_intr_rpc_msg_in_trap.
253         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
254         defined instead of whether it is non-zero.
255         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
256         input constraint instead of both input and output constraint.  Use ecx
257         clobber instead of %ecx.
258         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
259         mutex_unlock): Use a statement expression instead of an expression list.
260         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
261         type to vm_size_t instead of vm_address_t.
262         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
263         defined instead of whether it is non-zero.
264         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
265         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
266         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
267         comparisons with mapaddr.
268         * nscd/nscd-client.h: Include <time.h>.
269         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
270         9th parameter to __vm_region instead of int.
271         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
272         * scripts/check-local-headers.sh (exclude): Add device/,
273         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
274         cthreads.h.
276 2015-03-19  Roland McGrath  <roland@hack.frob.com>
278         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
279         to account for alignment padding.
280         * sysdeps/arm/memmove.S: Likewise.
282 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
284         * sysdeps/unix/sysv/linux/generic/README: New file.
286 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
288         [BZ #18138]
289         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
290         (futex_abstimed_wait)
291         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
292         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
293         of lll_futex_timed_wait.
295 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
297         [BZ #17542]
298         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
300 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
302         [BZ #17090]
303         [BZ #17620]
304         [BZ #17621]
305         [BZ #17628]
306         * NEWS: Update.
307         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
308         entries with Static TLS too.  Skip entries past the end of the
309         allocated DTV, from Alan Modra.
310         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
311         Static TLS DTV entry set up from...
312         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
313         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
314         * nptl/allocatestack.c (init_one_static_tls): ... and here...
315         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
316         for Static TLS.
317         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
318         that the slot we find is associated with the given map before
319         using its generation count.
320         * nptl_db/db_info.c: Include ldsodefs.h.
321         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
322         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
323         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
324         (link_map::l_tls_offset): New struct field.
325         (dtv_t::counter): Likewise.
326         (rtld_global): New struct.
327         (_rtld_global): New rtld variable.
328         (dl_tls_dtv_slotinfo_list): New rtld global field.
329         (dtv_slotinfo_list): New struct.
330         (dtv_slotinfo): Likewise.
331         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
332         (td_lookup): Rename to...
333         (td_mod_lookup): ... this.  Use new mod parameter instead of
334         LIBPTHREAD_SO.
335         * nptl_db/td_thr_tlsbase.c: Include link.h.
336         (dtv_slotinfo_list, dtv_slotinfo): New functions.
337         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
338         addresses even if the DTV is out of date or missing them.
339         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
340         index zero-length arrays.
341         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
342         (td_lookup): Make it a macro implemented in terms of...
343         (td_mod_lookup): ... this declaration.
344         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
345         (DB_MAIN_VARIABLE): Likewise.
347 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
349         [BZ #18134]
350         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
352 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
354         * stdlib/setenv.c (__add_to_environ): Revert previous change.
356 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
358         [BZ #18128]
359         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
360         (atomic_add, atomic_increment_and_test)
361         (atomic_decrement_and_test): Fix 64-bit arithmetic.
363 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
365         * stdlib/setenv.c (__add_to_environ):
366         Dump core quickly if setenv (..., NULL, ...) is called.
368 2015-03-13  Roland McGrath  <roland@hack.frob.com>
370         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
371         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
372         all the necessary asm magic in one place.
373         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
374         using those.
376 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
378         [BZ #14906]
379         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
380         traced file mtime. Use consistent log message.
381         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
382         (register_traced_file): Call install_watches. Always set mtime.
383         (invalidate_cache): Iterate over all trace files. Call install_watches.
384         (inotify_check_files): Don't inline. Handle watching parent
385         directories and configuration file movement in and out.
386         (handle_inotify_events): New function.
387         (main_loop_poll): Call handle_inotify_events.
388         (main_loop_epoll): Likewise.
389         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
390         (struct traced_file): Use array of inotify fds. Add parent directory,
391         and basename.
392         (struct database_dyn): Remove unused file_mtime.
393         (init_traced_file): New inline function.
394         (define_traced_file): New macro.
395         * nss/nss_db/db-init.c: Use define_traced_file.
396         (_nss_db_init): Use init_traced_file.
397         * nss/nss_files/files-init.c: Use define_traced_file.
398         (_nss_files_init): Use init_traced_file.
400 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
402         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
403         [_LIBC]: Do not include <stdlib.h>.
404         [!_LIBC] (abort): Remove declaration.
405         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
406         _FP_STATIC_ASSERT instead of conditionally calling abort.
407         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
408         (_FP_EXTEND_CNAN): Likewise.
409         (FP_TRUNC): Likewise.
410         (__FP_CLZ): Likewise.
411         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
413 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
415         * manual/string.texi (XPG basename): Fix prototype.
417 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
419         [BZ #18080]
420         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
421         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
422         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
423         (__setcontext): Likewise.
424         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
425         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
426         Call rt_sigprocmask syscall one time to set new signal mask
427         and retrieve the current signal mask instead of two calls.
428         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
429         (__swapcontext): Likewise.
430         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
431         * stdlib/tst-setcontext2.c: New file.
433 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
435         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
437 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
439         [BZ #18093]
440         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
441         the wrong size.
443 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
445         [BZ #18043]
446         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
448 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
450         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
451         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
452         Remove define.
453         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
454         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
455         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
456         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
457         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
458         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
459         define.
460         * nptl_db/td_symbol_list.c (td_lookup): Remove
461         HAVE_ASM_GLOBAL_DOT_NAME code.
462         * sysdeps/powerpc/powerpc64/configure.ac: Remove
463         HAVE_ASM_GLOBAL_DOT_NAME check.
464         * sysdeps/powerpc/powerpc64/configure: Regenerate.
465         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
466         (DOT_LABEL): Remove define.
467         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
468         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
469         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
470         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
471         (__TLS_GET_ADDR): Likewise.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
473         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
475 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
477         [BZ #18111]
478         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
479         (_FPU_SETCW): Initialize cw from fpsr before storing.
480         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
481         (fesetexceptflag): Rewrite using fpu_control.h.
482         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
484 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
486         [BZ #18110]
487         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
488         asms.
489         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
491 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
493         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
494         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
495         abort.
496         (_FP_FMA): Likewise.
497         (_FP_DIV): Likewise.
499 2015-03-10  Roland McGrath  <roland@hack.frob.com>
501         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
502         with 0 in that case.
503         * Makefile (summarize-tests): New canned sequence, factored out of
504         commands for targets tests and xtests.  Display summary lines that
505         don't start with PASS: or XFAIL: rather than ones that do start with
506         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
507         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
508         do start with ERROR: or FAIL:.
509         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
510         (except for [$(build-shared) = yes]).
511         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
512         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
513         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
514         * nptl/Makefile: Revert 2015-03-04 changes.
515         [$(CXX) empty] (tests-unsupported): New variable.
516         * debug/Makefile: Likewise.
518         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
519         gnulib file.  Replace __attribute with __attribute__ throughout.
521 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
523         * sysdeps/hppa/fpu/libm-test-ulps: Update.
525 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
527         [BZ #18104]
528         * math/auto-libm-test-in: Add another test of pow.
529         * math/auto-libm-test-out: Regenerated.
531 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
533         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
534         $(config-cflags-nofma).
536 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
538         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
539         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
540         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
541         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
542         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
543         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
544         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
545         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
546         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
547         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
548         Add comment on closing #endif.
550 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
552         * posix/wordexp.c (CHAR_IN_SET): New macro.
553         (parse_param): Use it.
555 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
557         * sysdeps/powerpc/fpu/libm-test-ulps: update.
559 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
561         [BZ #18043]
562         * posix/wordexp.c (parse_param): Fix buffer overflow.
563         * posix/wordexp-test.c (test_case): Add test case.
565 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
567         [BZ #18042]
568         * posix/wordexp.c (parse_backtick): Fix off-by-one.
569         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
571 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
573         [BZ #18043]
574         * posix/wordexp-test.c (test_case): Add test for BZ #18043
575         (do_bz18043): Delete.
576         (at_page_end): New.
577         (testit): Refactor to have words at the edge of unreadable page.
579 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
581         [BZ #16734]
582         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
583         Cleanup read-only streams as well.
584         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
586 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
588         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
589         <bits/libc-lockP.h>
591 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
593         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
594         on [__KERNEL__].
595         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
596         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
597         * soft-fp/op-common.h (_FP_DECL): Likewise.
599 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
601         * elf/ifuncdep2.c (global): Replace
602         __attribute__((visibility("protected"))) with
603         asm (".protected global").
604         * elf/ifuncmod1.c (global): Likewise.
605         * elf/ifuncmod5.c (global): Likewise.
607 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
609         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
610         <asm/sfp-machine.h> instead of <sfp-machine.h>.
612 2015-03-06  Roland McGrath  <roland@hack.frob.com>
614         * manual/install.texi (Configuring and compiling):
615         Document test-wrapper-env-only.
616         * INSTALL: Regenerated.
618 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
620         [BZ #18043]
621         * posix/wordexp.c (parse_param): Fix buffer overflow.
622         * posix/wordexp-test.c (do_bz18043): Add test case.
624 2015-03-06  Vincent Bernat  <vincent@bernat.im>
626         * time/tst-strptime2.c (do_test): Ensure failing tests are
627         reported correctly.
628         * time/tst-strptime3.c (do_test): Likewise.
630 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
632         Fix aio_error thread-safety.
633         * sysdeps/pthread/aio_error.c: New file
634         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
635         synchronization.
637 2015-03-06  Florian Weimer  <fweimer@redhat.com>
639         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
640         (group_number, vfprintf): Use it.
641         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
642         (JUMP, REF): Use it.
643         (WORK_BUFFER_SIZE): New enum constant.
644         (process_arg, vfprintf): Use it.
646 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
648         * manual/errno.texi (Error Messages): Complete example function
649         by adding missing #define.
650         (program_invocation_name): Add statement indicating GNU
651         extension and reference which header file declares the variable.
652         (program_invocation_short_name): Likewise.
654 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
656         * manual/errno.texi (Error Messages): Delete strerror ISO C89
657         compatibility note.
659 2015-03-05  Roland McGrath  <roland@hack.frob.com>
661         * Makeconfig (test-wrapper-env-only): New variable.
662         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
663         then use that with $(test-wrapper-env-only) rather than using
664         $(test-wrapper-env) $(run-program-env) $($*-ENV).
666 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
668         [BZ #18082]
669         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
670         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
671         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
672         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
673         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
674         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
675         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
676         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
677         Likewise.
678         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
679         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
680         Likewise.
681         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
682         Likewise.
683         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
684         Likewise.
685         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
686         Likewise.
687         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
688         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
689         Likewise.
690         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
691         Likewise.
692         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
693         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
695 2015-03-04  Roland McGrath  <roland@hack.frob.com>
697         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
698         (ETH_ALEN): New macro.
699         (struct ether_addr): Use it for length of ether_addr_octet.
701         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
702         (setdb): Don't call __nss_configure_lookup for "rpc".
703         (do_test): Don't call test_rpc.
704         (output_rpcent, test_rpc): Functions moved ...
705         * sunrpc/test-rpcent.c: ... to this new file.
706         * sunrpc/Makefile (tests): Add it.
708         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
709         __xpg_sigpause.
710         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
711         * nptl/tst-signal6.c: Likewise.
712         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
713         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
715         * configure.ac (libc_cv_cxx_link_ok): New check.
716         Reset CXX to empty if it fails to link.
717         * configure: Regenerated.
718         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
719         bug-atexit3-lib only if $(CXX) is nonempty.
720         * nptl/Makefile (tests): Likewise for tst-cancel24.
721         (tests, tests-static): Likewise for tst-cancel24-static.
722         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
723         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
724         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
725         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
727 2015-03-04  Andreas Schwab  <schwab@suse.de>
729         [BZ #17631]
730         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
731         for non-GCC compilers.
732         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
733         Likewise.
735 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
737         [BZ #17776]
738         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
739         integer before bitwise and assembly operations.
740         (feclearexcept): Likewise.
741         * math/test-fenvinline.c: New file.
742         * math/Makefile: Add test-fenvinline test.
744 2015-03-03  Alan Modra  <amodra@gmail.com>
746         [BZ #16512]
747         * scripts/localplt.awk: Strip off symbol version.
748         * NEWS: Mention bug fix.
750 2015-03-02  Roland McGrath  <roland@hack.frob.com>
752         * sysdeps/pthread/timer_routines.c
753         (timer_free_list, thread_free_list, thread_active_list): Make static.
755 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
757         [BZ #17779]
758         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
759         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
760         Undefine.
761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
762         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
763         Likewise.
764         * sysdeps/unix/sysv/linux/sh/kernel-features.h
765         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
766         Likewise.
768 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
770         [BZ #18036]
771         * posix/fnmatch_loop.c (END): Detect invalid pattern.
772         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
774 2015-03-02  Andreas Schwab  <schwab@suse.de>
776         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
777         variable name.
779 2015-03-02  Florian Weimer  <fweimer@redhat.com>
781         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
782         Return error status.
784 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
786         [BZ #15969]
787         * locale/findlocale.c (_nl_find_locale): Introduce const
788         version of loc_name and drop unsafe type casts.
790 2015-02-27  Roland McGrath  <roland@hack.frob.com>
792         * dlfcn/tststatic2.c (main): Converted to ...
793         (do_test): ... this.
794         (TEST_FUNCTION): New macro.
795         Include test-skeleton.c.
797 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
799         [BZ #17711]
800         * elf/Makefile (tests): Add vismain only if PIE is enabled.
801         (tests-pie): Add vismain.
802         (CFLAGS-vismain.c): New.
803         * elf/vismain.c: Add comments for PIE requirement.
805 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #18046]
808         [BZ #18047]
809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
810         0x1p-56L as threshold for just returning the argument.
811         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
812         0x1p-32L as threshold for just returning the argument.
813         * math/auto-libm-test-in: Add more tests of atanh.
814         * math/auto-libm-test-out: Regenerated.
815         * sysdeps/i386/fpu/libm-test-ulps: Update.
816         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
818 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
820         * string/bcopy.c (bcopy): Call memmove for performance.
822 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
824         * string/bzero.c (__bzero): Call memset for performance.
826 2015-02-27  John David Anglin  <dave.anglin@bell.net>
828         [BZ #18068]
829         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
830         to 00100000.
832 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
834         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
836 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
838         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
839         (__kernel_standard): Use CSTR macro when setting exc.name.
840         * sysdeps/ieee754/Makefile [$(subdir) = math]
841         (CFLAGS-k_standard.c): Remove variable.
843         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
844         setting p and q from "else if" to "else".
845         (qzero): Likewise.
846         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
847         (qone): Likewise.
848         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
849         (qzerof): Likewise.
850         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
851         (qonef): Likewise.
852         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
853         (qzero): Likewise.
854         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
855         (qone): Likewise.
857         [BZ #18038]
858         [BZ #18039]
859         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
860         return pi/2 for arguments below 0x1p-113L.
861         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
862         return pi/2 for arguments below 0x1p-106L.
863         * math/auto-libm-test-in: Add more tests of acos.
864         * math/auto-libm-test-out: Regenerated.
866         [BZ #16351]
867         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
868         (MO): New macro.
869         (__ieee754_asin): Force underflow exception for results with small
870         absolute value.
871         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
872         (MO): New macro.
873         (__ieee754_asinf): Force underflow exception for results with
874         small absolute value.
875         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
876         (__ieee754_asin): Force underflow exception for results with small
877         absolute value.
878         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
879         (__ieee754_asinf): Force underflow exception for results with
880         small absolute value.
881         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
882         (__ieee754_asinl): Force underflow exception for results with
883         small absolute value.
884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
885         (__ieee754_asinl): Force underflow exception for results with
886         small absolute value.
887         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
888         (__ieee754_asinl): Force underflow exception for results with
889         small absolute value.
890         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
891         Include <math.h>.
892         * math/auto-libm-test-in: Do not mark underflow exceptions as
893         possibly missing for bug 16351.
894         * math/auto-libm-test-out: Regenerated.
896         [BZ #18030]
897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
898         of power of 2 down when low part has opposite sign.
899         * math/libm-test.inc (logb_test_data): Add more tests.
901 2015-02-26  Andreas Schwab  <schwab@suse.de>
903         [BZ #18032]
904         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
905         over collating symbol inside a bracket expression.  Minor cleanup.
906         * posix/tst-fnmatch3.c (do_test): Add test case.
908 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
910         [BZ #18029]
911         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
912         Adjust exponent of power of 2 down when low part has opposite
913         sign.
914         * math/libm-test.inc (ilogb_test_data): Add more tests.
916 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
918         [BZ #15969]
919         * locale/findlocale.c (_nl_find_locale): Fix constness error in
920         the previous change.
922         [BZ #15969]
923         * locale/findlocale.c (_nl_find_locale): Retry archive search
924         after alias expansion.
926 2015-02-25  Roland McGrath  <roland@hack.frob.com>
928         * iconv/tst-iconv3.c (main): Converted to ...
929         (do_test): ... this.
930         (TEST_FUNCTION): New macro.
931         Include test-skeleton.c.
933         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
934         (convert): Make function static.
935         (test_unalign): Likewise.  Add const to argument pointee types.
936         (main): Replace with static function do_test.
937         Print "Succeeded." only if RET is zero.
938         (TEST_FUNCTION): New macro.
939         Include test-skeleton.c.
941         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
942         returns a null pointer.
944 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
946         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
947         to __memcpy_ppc only for static builds.
949 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
951         [BZ #18020]
952         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
953         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
954         * math/auto-libm-test-in: Add more tests of asinh.
955         * math/auto-libm-test-out: Regenerated.
956         * sysdeps/i386/fpu/libm-test-ulps: Update.
957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
959 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
961         [BZ #15850]
962         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
963         and ip6_mtuinfo definitions here.
964         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
965         in this define too.  Update comment.
967 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
969         * elf/sprof.c (load_shobj): Tweak error message to match others.
971 2015-02-24  Kevin Easton  <kevin@guarana.org>
973         [BZ #16145] (partial fix)
974         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
975         to reduce lock contention.
977 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
979         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
980         (struct timex): Update time comment.
981         (ADJ_SETOFFSET): Define.
983 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
985         [BZ #18019]
986         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
987         2**56 not 2**28 as threshold for log (2x) formula.
988         * math/auto-libm-test-in: Add more tests of acosh.
989         * math/auto-libm-test-out: Regenerated.
990         * sysdeps/i386/fpu/libm-test-ulps: Update.
991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
993 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
995         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
996         parenthesis around the buf assignment.
997         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
999 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
1001         [BZ #16783]
1002         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1003         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1004         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1005         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1006         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1007         * math/libm-test.inc (scalb_test_data): Add more tests.
1009 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
1011         [BZ #17916]
1012         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1013         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1015 2015-02-24  Eric Rannaud  <e@nanocritical.com>
1017         [BZ #17523]
1018         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1019         * io/bits/fcntl2.h (open): Use it.
1020         (openat): Likewise.
1021         * io/open.c (__libc_open): Likewise.
1022         * io/open64.c (__libc_open64): Likewise.
1023         * io/open64_2.c (__open64_2): Likewise.
1024         * io/open_2.c (__open_2): Likewise.
1025         * io/openat.c (__openat): Likewise.
1026         * io/openat64.c (__openat64): Likewise.
1027         * io/openat64_2.c (__openat64_2): Likewise.
1028         * io/openat_2.c (__openat_2): Likewise.
1029         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1030         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1031         * sysdeps/posix/open64.c (__libc_open64): Likewise.
1032         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1033         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1034         (__open_nocancel): Likewise.
1035         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1036         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1037         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1039 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1041         [BZ #14841]
1042         * resolv/gethnamaddr.c (getanswer): Skip logging if
1043         RES_USE_DNSSEC is set.
1044         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1046 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
1048         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1050 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
1052         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1053         201304L, for Unicode 7.
1055 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
1057         [BZ #17836]
1058         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1059         shared library.  Add gmon-start.os otherwise.
1060         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1061         $(objpfx)gmon-start.os if builing shared library.
1062         ($(objpfx)g$(static-start-installed-name)): Likewise.
1064 2015-02-23  Andreas Schwab  <schwab@suse.de>
1066         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1068 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
1070         [BZ #17269]
1071         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1072         (enlarge_userbuf): Likewise.
1074 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
1076         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1077         * math/atest-exp.c (TIMEOUT): Adjust to 200.
1078         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1079         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1081 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
1083         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1084         expression inside statement expression.
1086 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1088         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1089         <sysdeps/nptl/lowlevellock.h> and remove macros and
1090         functions that are now defined there.
1091         (SYS_futex): Remove.
1092         (lll_compare_and_swap): Remove.
1093         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1095 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
1097         [BZ #17999]
1098         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1099         instead of scandirat.
1100         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1101         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1102         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1103         __scandirat.
1104         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1105         (__scandirat): Declare.  Use libc_hidden_proto.
1106         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1107         Remove variable.
1108         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1110 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1112         [BZ #15319]
1113         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1114         (MO): New macro.
1115         (__ieee754_atan2): For results with small absolute value, force
1116         underflow exception and remove excess range and precision from
1117         return value.
1118         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1119         (MO): New macro.
1120         (__ieee754_atan2f): For results with small absolute value, force
1121         underflow exception and remove excess range and precision from
1122         return value.
1123         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1124         (MO): New macro.
1125         (__atan): For results with small absolute value, force underflow
1126         exception and remove excess range and precision from return value.
1127         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1128         (MO): New macro.
1129         (__atanf): For results with small absolute value, force underflow
1130         exception and remove excess range and precision from return value.
1131         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1132         <math.h>.
1133         (__ieee754_atan2): Force underflow exception for results with
1134         small absolute value.
1135         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1136         <math_private.h>.
1137         (atan): Force underflow exception for results with small absolute
1138         value.
1139         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1140         (__atanf): Force underflow exception for results with small
1141         absolute value.
1142         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1143         <math.h>.
1144         (__atanl): Force underflow exception for results with small
1145         absolute value.
1146         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1147         (__atanl): Force underflow exception for results with small
1148         absolute value.
1149         * sysdeps/x86/fpu/bits/mathinline.h
1150         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1151         (__ieee754_atan2): Only define inline for long double.
1152         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1153         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1154         * math/auto-libm-test-in: Do not mark underflow exceptions as
1155         possibly missing for bug 15319.  Add more tests of atan2.
1156         * math/auto-libm-test-out: Regenerated.
1157         * math/libm-test.inc (casin_test_data): Do not mark underflow
1158         exceptions as possibly missing for bug 15319.
1159         (casinh_test_data): Likewise.
1160         * sysdeps/i386/fpu/libm-test-ulps: Update.
1162 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1164         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1165         * sysdeps/mips/bits/endian.h: Fix comments.
1167 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1169         [BZ #17996]
1170         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1171         (hdestroy_r): Likewise.
1172         (hsearch_r): Likewise.
1173         (__hcreate_r): Declare and use libc_hidden_proto.
1174         (__hdestroy_r): Likewise.
1175         (__hsearch_r): Likewise.
1176         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1177         (hcreate): Call __hcreate_r instead of hcreate_r.
1178         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1179         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1180         as weak alias of __hcreate_r.
1181         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1182         __hdestroy_r.
1183         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1184         __hsearch_r.
1185         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1186         Remove variable.
1187         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1188         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1189         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1190         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1192 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1194         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1195         arena_lock into a single arena_get.
1197 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1199         * dl-reloc.c: Inlucde libc-internal.h.
1200         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1201         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1202         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1203         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1204         (grow_heap): Likewise.
1205         * malloc/malloc.c: Include libc-internal.h.
1206         (do_check_malloc): Call powerof2.
1207         (sysmalloc): Use pagesize. Call ALIGN_UP.
1208         (systrim): Use pagesize.
1209         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1210         (__libc_valloc): Use pagesize.
1211         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1213 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1215         [BZ #17991]
1216         * include/sys/resource.h (__getrlimit64): Declare.  Use
1217         libc_hidden_proto.
1218         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1219         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1220         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1221         getrlimit64.
1222         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1223         __getrlimit64.
1224         [!getrlimit64] (getrlimit64): Define as weak alias of
1225         __getrlimit64.  Use libc_hidden_weak.
1226         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1227         using __getrlimit64 not __new_getrlimit64.
1228         (__GI_getrlimit64): Likewise.
1229         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1230         Likewise.
1231         (__GI_getrlimit64): Likewise.
1232         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1234         (getrlimit): Add __getrlimit64 alias.
1235         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1236         Likewise.
1237         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1238         Remove variable.
1239         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1242 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1244         * libio/fileops.c: Add missing sys/mman.h
1245         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1247 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1249         * manual/math.texi (Errors in Math Functions): Clarify goals
1250         regarding inexact and underflow exceptions.
1252 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1254         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1255         * sysdeps/mips/memset.S: Ditto.
1257 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1259         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1261 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1263         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1264         (__v1longjmp): Remove versioned symbol.
1265         (__v1siglongjmp): Remove alias and versioned symbol.
1266         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1267         (__v2siglongjmp): Likewise.
1269 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1271         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1273 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1275         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1277 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1279         [BZ #17987]
1280         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1281         zero result does not depend on the sign resulting from
1282         subtraction.
1283         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1284         Likewise.
1285         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1286         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1287         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1288         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1289         * math/libm-test.inc (remquo_test_data): Add more tests.
1291 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1293         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1294         Problem reported by J William Piggott.
1296 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1298         [BZ #17978]
1299         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1300         products 4 * y and 2 * y where those would overflow.
1301         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1302         Likewise.
1303         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1304         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1305         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1306         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1307         * math/libm-test.inc (remquo_test_data): Add more tests.
1309         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1311         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1312         [defined _COMPILING_NEWLIB].
1313         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1314         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1316         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1317         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1319 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1321         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1322         acquired.
1324 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1326         [BZ #17792]
1327         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1328         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1329         HOST_STACK_END_ADDR): Likewise.
1331 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1333         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1334         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1335         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1337 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1339         * sysdeps/generic/c++-types.data: New file.
1340         * sysdeps/generic/ld.abilist: New file.
1341         * sysdeps/generic/libBrokenLocale.abilist: New file.
1342         * sysdeps/generic/libanl.abilist: New file.
1343         * sysdeps/generic/libc.abilist: New file.
1344         * sysdeps/generic/libcrypt.abilist: New file.
1345         * sysdeps/generic/libdl.abilist: New file.
1346         * sysdeps/generic/libm.abilist: New file.
1347         * sysdeps/generic/libpthread.abilist: New file.
1348         * sysdeps/generic/libresolv.abilist: New file.
1349         * sysdeps/generic/librt.abilist: New file.
1351 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1353         [BZ #17569]
1354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1355         Compute absolute value of x as modified by fmod, not original
1356         value of x.
1357         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1358         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1359         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1360         RUN_TEST_ffI_f1_mod8.
1361         (remquo_test_data): Add more tests.
1363 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1365         * sysdeps/init_array/pt-crti.S: New file.
1367 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1369         [BZ #17967]
1370         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1371         __builtin_fmaf instead of relying on contraction of a * b + c.
1373 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1375         [BZ #17969]
1376         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1377         node.
1379 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1381         [BZ #17964]
1382         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1383         __builtin_fma instead of relying on contraction of a * b + c.
1385 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1387         * Makeconfig (ASFLAGS): Add -Werror=undef.
1388         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1389         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1390         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1392         * Makeconfig (after-link): New variable.
1393         (+link-pie, +link-pie-tests): Use it.
1394         (+link-static, +link-static-tests): Likewise.
1395         (+link, +link-tests): Likewise.
1396         * Makerules (build-module, build-module-asneeded): Likewise.
1397         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1398         Likewise.
1399         * elf/Makefile ($(objpfx)ld.so): Likewise.
1401 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1403         [BZ #17965]
1404         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1405         both struct timeval and struct timespec.
1407 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1409         [BZ #16560]
1410         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1411         and redefine.
1412         (__ieee754_exp2l): Do not multiply small fractional parts by
1413         M_LN2l.
1414         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1415         small argument.
1416         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1417         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1418         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1419         * math/auto-libm-test-in: Add more tests of exp2.
1420         * math/auto-libm-test-out: Regenerated.
1422 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1424         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1425         unaligned path.
1427 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1429         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1430         little endian.
1432 2015-02-12  Andreas Schwab  <schwab@suse.de>
1434         [BZ #15790]
1435         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1436         Filter out elision flags from value returned in kind.
1437         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1438         * nptl/tst-pthread-mutexattr.c: New file.
1440 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1442         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1443         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1444         into gnu-gnu, and update comment to refer to abi-tags.
1446 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1448         [BZ #15467]
1449         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1450         (__sincos): Set errno to EDOM for infinite argument.
1451         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1452         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1453         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1454         (__sincosl): Set errno to EDOM for infinite argument.
1455         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1456         (__sincosl): Set errno to EDOM for infinite argument.
1457         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1458         (__sincosl): Set errno to EDOM for infinite argument.
1459         * math/libm-test.inc (sincos_test_data): Test errno setting.
1461 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1463         * string/strxfrm_l.c: Remove #define STRCMP.
1464         * string/strcoll_l.c: Remove #define STRLEN.
1465         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1466         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1468 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1470         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1471         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1472         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1473         * sysdeps/mips/mips64/Makefile: ... here.
1474         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1475         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1476         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1477         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1478         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1479         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1480         * sysdeps/mips/mips64/n64/Implies: Likewise.
1482 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1484         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1485         <sys/time.h>, <string.h>, and <errno.h>.
1486         (dest_offset, dest_address, value, zero): Remove unused variables.
1487         (ldouble): Remove typedef.
1488         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1489         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1490         1).  Fix code style.
1491         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1492         (check): Function removed.
1493         (CHECK): New macro.
1494         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1495         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1496         Don't call set_sigaction_FP and remove_sigaction_FP here.
1497         (ldouble_test): Just use 'long double' as macro argument, no need for
1498         the 'ldouble' typedef.
1499         (do_test): Set up SIGFPE handler at start, using plain signal rather
1500         than sigaction.  Fix code style.
1502 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1504         [BZ #17949]
1505         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1506         jump label.
1508 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1510         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1511         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1513         * sysdeps/powerpc/configure.ac: Remove file.
1514         * sysdeps/powerpc/configure: Likewise.
1516         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1517         [sysdep_routines]: Remove wordcopy-power6 object.
1518         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1519         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1520         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1521         (__memmove_ppc32): Likewise.
1522         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1523         file.
1524         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1525         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1526         Remove preprocessor.
1528         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1529         [sysdep_routines]: Remove wide chars objects.
1530         [wcsmbs]: New rule for wide char objects.
1532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1533         Remove wordcopy-power6 obejct.
1534         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1535         Use local call for wordcopy and memcpy symbols.
1536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1537         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1538         implementation for loader.
1539         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1541         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1542         Remove wordcopy-power7 object.
1543         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1544         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1545         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1546         (_wordcopy_fwd_dest_aligned): Likewise.
1547         (_wordcopy_bwd_aligned): Likewise.
1548         (_wordcopy_bwd_dest_aligned): Likewise.
1550         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1551         Rewrite to call __memmove_ppc instead of include default
1552         implementation.
1554         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1555         Remove wide chars objects.
1556         [wcsmbs]: New rule for wide char objects.
1558 2015-02-09  Andreas Schwab  <schwab@suse.de>
1560         [BZ #17912]
1561         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1562         in terms of __O_DIRECTORY.
1564 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1566         * time/getdate.c: Include <stdbool.h>.
1567         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1568         call PTR_MANGLE.
1569         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1570         PTR_DEMANGLE.
1572 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1574         Add ersatz _Static_assert on older C hosts
1575         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1576         pre-C11 C platform that is not known to support _Static_assert.
1578 2015-02-07  Richard Braun  <rbraun@sceen.net>
1580         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1581         sigstate.
1582         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1584 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1586         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1587         priority against unexistent AIO_PRIO_DELTA_MAX.
1588         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1589         instead of int.
1590         * misc/fchflags.c (fchflags): Likewise.
1591         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1592         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1593         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1594         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1595         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1596         Declare macros.
1597         [__USE_MISC] (chflags, fchflags): Declare functions.
1598         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1599         EINVAL when nfds is greater than FD_SETSIZE.
1600         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1601         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1602         45.
1603         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1604         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1605         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1606         MACH_RCV_TIMED_OUT.
1607         * hurd/hurd/signal.h (_hurd_self_sigstate,
1608         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1609         Explicit casts from void *.
1610         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1611         * abi-tags: Rename gnu-gnu os into gnu.
1613         [BZ #4719]
1614         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1615         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1616         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1617         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1618         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1619         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1621         [BZ #17944]
1622         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1623         duplicates ADDR->sun_path with sockaddr LEN limitation.
1624         * sysdeps/mach/hurd/connect.c: Include <string.h>
1625         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1626         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1627         * sysdeps/mach/hurd/sendto.c: Likewise.
1628         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1629         implementing it by hand.
1631 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1633         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1634         Use sfi_breg on ldr.
1635         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1636         Likewise.
1638         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1639         it's defined.
1640         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1641         Test SIGSETXID only if it's defined.
1643         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1645         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1646         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1648         * nptl/tst-align2.c: Moved ...
1649         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1650         * nptl/Makefile (tests): Remove tst-align2.
1651         * sysdeps/unix/sysv/linux/Makefile
1652         [$(subdir) = nptl] (tests): Add tst-align-clone.
1653         * nptl/tst-getpid1.c: Moved ...
1654         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1655         * nptl/tst-getpid2.c: Moved ...
1656         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1657         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1658         * sysdeps/unix/sysv/linux/Makefile
1659         [$(subdir) = nptl] (tests): ... here.
1660         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1661         * sysdeps/unix/sysv/linux/Makefile
1662         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1664         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1665         Drop trailing \n from perror argument.  Use return rather than exit.
1667         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1668         on [SA_SIGINFO].
1669         * nptl/tst-cancel21.c (do_test): Likewise.
1670         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1671         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1672         [!SA_SIGINFO]: Make it a stub test.
1674         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1675         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1677         * posix/tst-getlogin.c: Move to ...
1678         * login/tst-getlogin.c: ... here.
1679         * posix/Makefile (tests): Move tst-getlogin to ...
1680         * login/Makefile (tests): ... here.
1682         * libio/tst-atime.c (do_test): Move local variables SV and E
1683         inside [ST_NOATIME] conditional.
1685         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1687         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1689         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1690         (wait_code): New function replaces macro.
1691         Call nanosleep rather than syscall.
1693         * nptl/pt-system.c: Rewritten.  Put everything under
1694         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1695         Use IFUNC to redirect when possible.
1697         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1698         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1699         Use IFUNC to redirect when possible.
1701         * nptl/pt-fork.c: Rewritten.  Put everything under
1702         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1703         Use IFUNC to redirect when possible.
1704         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1706         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1707         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1708         unconditionally nowadays.  This included the only reference to
1709         __vdso_clock_gettime that appears outside libc proper.
1710         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1711         Remove version set (containing only __vdso_clock_gettime).
1712         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1713         Add attribute_hidden.
1714         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1715         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1716         libc_hidden_data_def.
1717         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1718         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1720         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1721         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1722         setrpcent, and getrpcport to ...
1723         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1724         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1725         getrpcbynumber_r, and getrpcent_r to ...
1726         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1727         * inet/getrpcbyname.c: Moved ...
1728         * sunrpc/getrpcbyname.c: ... here.
1729         * inet/getrpcbyname_r.c: Moved ...
1730         * sunrpc/getrpcbyname_r.c: ... here.
1731         * inet/getrpcbynumber.c: Moved ...
1732         * sunrpc/getrpcbynumber.c: ... here.
1733         * inet/getrpcbynumber_r.c: Moved ...
1734         * sunrpc/getrpcbynumber_r.c: ... here.
1735         * inet/getrpcent.c: Moved ...
1736         * sunrpc/getrpcent.c: ... here.
1737         * inet/getrpcent_r.c: Moved ...
1738         * sunrpc/getrpcent_r.c: ... here.
1739         * inet/Makefile (routines): Move those to ...
1740         * sunrpc/Makefile (routines): ... here.
1741         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1742         the $(subdirs) list.
1743         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1744         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1745         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1746         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1748         * elf/Makefile (routines): Include $(all-dl-routines), not just
1749         $(dl-routines).
1750         (rtld-routines): Likewise.  Use = rather than :=.
1751         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1752         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1753         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1754         * sysdeps/arm/Makefile: Likewise.
1755         * sysdeps/i386/Makefile: Likewise.
1756         * sysdeps/x86_64/Makefile: Likewise.
1757         * sysdeps/hppa/Makefile [$(subdir) = elf]
1758         (sysdep_routines, sysdep-rtld-routines): Don't add
1759         $(sysdep-dl-routines) to these.
1760         * sysdeps/ia64/Makefile: Likewise.
1761         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1762         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1763         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1764         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1765         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1766         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1767         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1768         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1769         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1770         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1771         these; sysdep-dl-routines alone is enough.
1773 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1775         [BZ #17932]
1776         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1777         where multiplication results in zero and third argument is finite
1778         and nonzero.
1779         * math/auto-libm-test-in: Add more tests of fma.
1780         * math/auto-libm-test-out: Regenerated.
1782         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1783         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1784         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1785         (_FP_CMP_EQ): Likewise.
1786         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1788         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1789         extra argument CHECK_NAN.  Redefine as wrapper around
1790         _FP_EXTEND_CNAN.
1792 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1794         * version.h (RELEASE): Set to "stable".
1795         (VERSION): Set to "2.21"
1796         * include/features.h (__GLIBC_MINOR__): Set to 21.
1798         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1800 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1801             Paul Eggert  <eggert@cs.ucla.edu>
1803         [BZ #16618]
1804         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1805         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1806         size in bytes. Store needed elements in wpmax. Use needed size
1807         in bytes for extend_alloca.
1809 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1811         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1812         binutls 2.25, and texinfo 5.2.
1813         * INSTALL: Regenerate.
1814         * sysdeps/nios2/configure: Regenerate.
1815         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1816         * manual/contrib.texi: Update.
1817         * po/be.po: Update.
1818         * po/bg.po: Update.
1819         * po/ca.po: Update.
1820         * po/cs.po: Update.
1821         * po/da.po: Update.
1822         * po/de.po: Update.
1823         * po/el.po: Update.
1824         * po/eo.po: Update.
1825         * po/es.po: Update.
1826         * po/fi.po: Update.
1827         * po/fr.po: Update.
1828         * po/gl.po: Update.
1829         * po/hr.po: Update.
1830         * po/hu.po: Update.
1831         * po/ia.po: Update.
1832         * po/id.po: Update.
1833         * po/it.po: Update.
1834         * po/ja.po: Update.
1835         * po/ko.po: Update.
1836         * po/lt.po: Update.
1837         * po/nb.po: Update.
1838         * po/nl.po: Update.
1839         * po/pl.po: Update.
1840         * po/pt_BR.po: Update.
1841         * po/ru.po: Update.
1842         * po/rw.po: Update.
1843         * po/sk.po: Update.
1844         * po/sl.po: Update.
1845         * po/sv.po: Update.
1846         * po/tr.po: Update.
1847         * po/uk.po: Update.
1848         * po/vi.po: Update.
1849         * po/zh_CN.po: Update.
1850         * po/zh_TW.po: Update.
1852         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1853         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1854         * sysdeps/hppa/dl-irel.h: Remove #warning.
1855         * sysdeps/hppa/entry.h: Provide prototype for
1856         __canonicalize_funcptr_for_compare and cast argument.
1857         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1858         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1859         * sysdeps/hppa/sotruss-lib.c: New file.
1860         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1861         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1862         (atomic_compare_and_exchange_bool_acq): Likewise.
1863         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1864         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1866         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1867         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1868         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1870 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1872         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1873         called function in non-PIC case.
1875 2015-01-31  David S. Miller  <davem@davemloft.net>
1877         * sysdeps/sparc/sparc32/bits/atomic.h
1878         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1879         unlock not after it.
1880         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1881         volatile register usage warnings from the compiler.
1883         * sysdeps/sparc/nptl/sem_init.c: Delete.
1884         * sysdeps/sparc/nptl/sem_post.c: Delete.
1885         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1886         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1887         * sysdeps/sparc/sparc32/sem_init.c: New file.
1888         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1889         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1890         padding explicitly initialized.
1891         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1892         padding for in-semaphore spinlock.
1893         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1894         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1895         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1896         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1897         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1898         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1899         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1900         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1901         version.
1902         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1903         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1905 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1907         [BZ #17801]
1908         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1909         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1910         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1911         New.
1912         (index_AVX_Fast_Unaligned_Load): Likewise.
1913         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1914         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1915         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1916         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1917         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1918         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1919         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1920         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1921         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1923 2015-01-29  Andreas Schwab  <schwab@suse.de>
1925         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1927 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1929         [BZ #17892]
1930         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1932 2015-01-28  Martin Sebor  <msebor@redhat.com>
1934         * math/README.libm-test: Clarify. Add "How to read the test output."
1936 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1938         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1939         Define to 0.
1941 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1943         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1944         (__HAVE_64B_ATOMICS): Define to 0.
1946 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1948         [BZ #17885]
1949         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1950         value to set as new flag.
1952         [BZ #16576]
1953         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1954         and use _ARCH_PPCSQ instead.
1955         (__ieee754_sqrt): Likewise.
1956         (__ieee754_sqrtf): Likewise.
1957         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1958         _ARCH_PPCSQ is defined.
1959         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1960         fsqrt instruction.
1961         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1962         _ARCH_PPCSQ is defined.
1963         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1964         fsqrts instruction.
1965         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1967 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1969         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1970         bug (GCC BZ #64739).
1972 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1974         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1975         Mark _retval as used.
1976         (lll_futex_wake_unlock): Likewise.
1977         (lll_futex_timed_wait_requeue_pi): Likewise.
1979         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1980         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1981         register variables.
1983         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1984         libm_hidden_def.
1986         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1987         (__bswap_64): Mark as __always_inline.
1989 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1991         [BZ #15378]
1992         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1993         when none of the search directories exist.
1995 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1997         [BZ #17869]
1998         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1999         power8 in .machine directive.
2001         [BZ #17868]
2002         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2003         set dependency from opd value.
2005 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2008         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2009         architecture.
2011 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
2013         [BZ #17870]
2014         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2015         with uint64_t.
2016         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2017         (uint64_t) 1.
2018         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
2019         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2020         Replace 1UL with (uint64_t) 1.
2021         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2022         int with uint64_t.
2024 2015-01-23  Roland McGrath  <roland@hack.frob.com>
2026         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2027         (if_freenameindex): Likewise.
2029         * resource/getrlimit64.c: Add missing libc_hidden_def.
2031 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
2033         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2034         __label__.
2035         (_FP_FMA): Likewise.
2036         (_FP_TO_INT_ROUND): Likewise.
2037         (_FP_FROM_INT): Likewise.
2039 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2041         [BZ #16418]
2042         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2043         Make code racy and cancel safe.
2045 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
2047         * sysdeps/arm/unwind-resume.h: Fix copyright year.
2048         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2049         attribution.
2051         * pwd/tst-getpw.c: Rewrite.
2053         [BZ #17702]
2054         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2055         (modules-names): Add moddummy1 and moddummy2.
2056         ($(objpfx)tst-rec-dlopen): Define.
2057         * dlfcn/moddummy1.c: New file.
2058         * dlfcn/moddummy2.c: New file.
2059         * dlfcn/tst-rec-dlopen.c: New file.
2060         * elf/dl-cache.c (_dl_load_cache_lookup):
2061         Return char*. Copy result with alloca/strcpy/strdup.
2062         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2063         returns char*. Free cached. If not saving realname
2064         free cached.
2065         * elf/dl-open.c (dl_open_worker): Do not assert that
2066         _r_debug->r_state is RT_CONSISTENT.
2067         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2068         returns char*.
2070 2015-01-21  Torvald Riegel  <triegel@redhat.com>
2071             Carlos O'Donell  <carlos@redhat.com>
2073         [BZ #12674]
2074         * nptl/sem_waitcommon.c: New file.
2075         * nptl/sem_wait.c: Include sem_waitcommon.c.
2076         (__sem_wait_cleanup, do_futex_wait): Remove.
2077         (__new_sem_wait): Adapt.
2078         (__new_sem_trywait): New function.
2079         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2080         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2081         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2082         (sem_timedwait): Adapt.
2083         * nptl/sem_post.c (__new_sem_post): Adapt.
2084         (futex_wake): New function.
2085         (__old_sem_post): Add release MO fence.
2086         * nptl/sem_open.c (sem_open): Adapt.
2087         * nptl/sem_init.c (__new_sem_init): Adapt.
2088         (futex_private_if_supported): New function.
2089         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2090         (__old_sem_getvalue): Add using previous code.
2091         * sysdeps/nptl/internaltypes.h: Adapt.
2092         * nptl/tst-sem13.c (do_test): Adapt.
2093         * nptl/tst-sem11.c (main): Adapt.
2094         * nptl/sem_trywait.c: Remove.
2095         * nptl/DESIGN-sem.txt: Remove.
2096         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2097         (gen-as-const-headers): Remove structsem.sym.
2098         * nptl/structsem.sym: Remove.
2099         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2100         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2101         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2102         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2103         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2104         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2105         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2106         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2107         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2108         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2109         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2110         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2111         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2112         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2113         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2114         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2115         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2116         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2117         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2118         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2119         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2120         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2122 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
2124         * INSTALL: Regenerated.
2126         * po/libc.pot: Regenerated.
2128 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
2129             Sandra Loosemore  <sandra@codesourcery.com>
2130             Andrew Jenner  <andrew@codesourcery.com>
2131             Joseph Myers  <joseph@codesourcery.com>
2132             Nathan Sidwell  <nathan@codesourcery.com>
2134         * NEWS: Mention new Nios II port.
2135         * sysdeps/nios2/Implies: New file.
2136         * sysdeps/nios2/Makefile: New file.
2137         * sysdeps/nios2/Subdirs: New file.
2138         * sysdeps/nios2/Versions: New file.
2139         * sysdeps/nios2/__longjmp.S: New file.
2140         * sysdeps/nios2/abort-instr.h: New file.
2141         * sysdeps/nios2/backtrace.c: New file.
2142         * sysdeps/nios2/bits/endian.h: New file.
2143         * sysdeps/nios2/bits/fenv.h: New file.
2144         * sysdeps/nios2/bits/link.h: New file.
2145         * sysdeps/nios2/bits/setjmp.h: New file.
2146         * sysdeps/nios2/bsd-_setjmp.S: New file.
2147         * sysdeps/nios2/bsd-setjmp.S: New file.
2148         * sysdeps/nios2/configure: New generated file.
2149         * sysdeps/nios2/configure.ac: New file.
2150         * sysdeps/nios2/crti.S: New file.
2151         * sysdeps/nios2/crtn.S: New file.
2152         * sysdeps/nios2/dl-init.c: New file.
2153         * sysdeps/nios2/dl-machine.h: New file.
2154         * sysdeps/nios2/dl-sysdep.h: New file.
2155         * sysdeps/nios2/dl-tls.h: New file.
2156         * sysdeps/nios2/dl-trampoline.S: New file.
2157         * sysdeps/nios2/gccframe.h: New file.
2158         * sysdeps/nios2/gmp-mparam.h: New file.
2159         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2160         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2161         * sysdeps/nios2/ldsodefs.h: New file.
2162         * sysdeps/nios2/libc-tls.c: New file.
2163         * sysdeps/nios2/libm-test-ulps: New file.
2164         * sysdeps/nios2/machine-gmon.h: New file.
2165         * sysdeps/nios2/math-tests.h: New file.
2166         * sysdeps/nios2/math_private.h: New file.
2167         * sysdeps/nios2/memusage.h: New file.
2168         * sysdeps/nios2/nptl/Makefile: New file.
2169         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2170         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2171         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2172         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2173         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2174         * sysdeps/nios2/nptl/tls.h: New file.
2175         * sysdeps/nios2/preconfigure: New file.
2176         * sysdeps/nios2/s_fma.c: New file.
2177         * sysdeps/nios2/s_fmaf.c: New file.
2178         * sysdeps/nios2/setjmp.S: New file.
2179         * sysdeps/nios2/sfp-machine.h: New file.
2180         * sysdeps/nios2/sotruss-lib.c: New file.
2181         * sysdeps/nios2/stackguard-macros.h: New file.
2182         * sysdeps/nios2/stackinfo.h: New file.
2183         * sysdeps/nios2/start.S: New file.
2184         * sysdeps/nios2/sysdep.h: New file.
2185         * sysdeps/nios2/tls-macros.h: New file.
2186         * sysdeps/nios2/tst-audit.h: New file.
2187         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2188         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2189         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2190         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2191         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2192         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2193         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2194         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2195         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2196         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2197         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2198         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2199         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2200         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2201         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2202         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2203         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2204         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2205         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2206         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2207         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2208         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2209         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2210         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2211         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2212         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2213         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2214         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2215         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2216         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2217         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2218         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2219         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2220         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2221         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2222         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2223         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2224         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2225         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2226         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2227         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2228         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2229         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2230         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2232 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2234         [BZ #17844]
2235         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2236         (getutent): Use weak_alias in non SHARED case
2237         and default_symbol_version in SHARED case.
2238         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2239         (getutent_r, pututline): Likewise.
2240         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2241         (getutid): Likewise.
2242         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2243         (getutid_r): Likewise.
2244         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2245         (getutline): Likewise.
2246         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2247         (getutline_r): Likewise.
2248         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2249         (updwtmp): Likewise.
2251 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2253         [BZ #17848]
2254         * sysdeps/s390/s390-32/memcmp.S
2255         (memcmp_g5): Rename to __memcmp_g5.
2256         * sysdeps/s390/s390-32/memcpy.S
2257         (memcpy_g5): Rename to __memcpy_g5.
2258         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2259         (memcpy_mvcle) Rename to __memcpy_mvcle.
2260         * sysdeps/s390/s390-32/memset.S
2261         (memset_g5): Rename to __memset_g5.
2262         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2263         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2264         and use prefixed functions.
2265         * sysdeps/s390/s390-32/multiarch/memcmp.S
2266         (memcmp_z196): Rename to __memcmp_z196.
2267         (memcmp_z10): Rename to __memcmp_z10.
2268         (memcmp): Set alias to __memcmp_g5.
2269         (bcmp): Set alias to __memcmp_g5.
2270         * sysdeps/s390/s390-32/multiarch/memcpy.S
2271         (memcpy_z196): Rename to __memcpy_z196.
2272         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2273         (memcpy_z10): Rename to __memcpy_z10.
2274         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2275         (memcpy): Set alias to __memcpy_g5.
2276         * sysdeps/s390/s390-32/multiarch/memset.S
2277         (memset_z196): Rename to __memset_z196.
2278         Jump to __memset_mvcle instead of memset_mvcle.
2279         (memset_z10): Rename to __memset_z10.
2280         Jump to __memset_mvcle instead of memset_mvcle.
2281         (memset_mvcle) Rename to __memset_mvcle.
2282         (memset): Set alias to __memset_g5.
2283         * sysdeps/s390/s390-64/memcmp.S
2284         (memcmp_z900): Rename to __memcmp_z900.
2285         * sysdeps/s390/s390-64/memcpy.S
2286         (memcpy_z900): Rename to __memcpy_z900.
2287         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2288         (memcpy_mvcle) Rename to __memcpy_mvcle.
2289         * sysdeps/s390/s390-64/memset.S
2290         (memset_z900): Rename to __memset_z900.
2291         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2292         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2293         and use prefixed functions.
2294         * sysdeps/s390/s390-64/multiarch/memcmp.S
2295         (memcmp_z196): Rename to __memcmp_z196.
2296         (memcmp_z10): Rename to __memcmp_z10.
2297         (memcmp): Set alias to __memcmp_z900.
2298         (bcmp): Set alias to __memcmp_z900.
2299         * sysdeps/s390/s390-64/multiarch/memcpy.S
2300         (memcpy_z196): Rename to __memcpy_z196.
2301         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2302         (memcpy_z10): Rename to __memcpy_z10.
2303         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2304         (memcpy): Set alias to __memcpy_z900.
2305         * sysdeps/s390/s390-64/multiarch/memset.S
2306         (memset_z196): Rename to __memset_z196.
2307         Jump to __memset_mvcle instead of memset_mvcle.
2308         (memset_z10): Rename to __memset_z10.
2309         Jump to __memset_mvcle instead of memset_mvcle.
2310         (memset_mvcle) Rename to __memset_mvcle.
2311         (memset): Set alias to __memset_z900.
2313 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2315         [BZ #17748]
2316         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2317         __fesetenv instead of fesetenv.
2319 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2321         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2322         macro.
2324 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2326         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2327         regression on LE.
2329         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2330         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2331         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2332         strncmp-power8 object.
2333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2334         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2335         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2336         * NEWS: Update.
2338 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2339             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2341         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2342         trailing byte check.
2344 2015-01-13  David S. Miller  <davem@davemloft.net>
2346         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2348 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2350         * login/logout.c (logout): Use memset rather than bzero.
2351         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2352         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2353         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2354         (_gethtbyaddr): Likewise.
2355         * locale/programs/simple-hash.c (bcopy): Macro removed.
2357 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2360         Add strcmp-power8 object.
2361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2362         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2363         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2364         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2365         __strcmp_power8 implementation.
2366         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2367         * NEWS: Update.
2369         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2370         Add strncpy-power8 and stpncpy-power8 objects.
2371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2372         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2373         implementations.
2374         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2376         __stpncpy_power8 implementation.
2377         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2378         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2379         __strncpy_power8 implementation.
2380         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2381         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2382         * NEWS: Update.
2384         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2385         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2386         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2388         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2389         strncat-power8 object.
2390         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2391         __strcat_power8 implementation.
2392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2393         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2394         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2395         optimized strcat for power8.
2397         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2398         strcpy-power8 and stpcpy-power8 objects.
2399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2400         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2401         implementations.
2402         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2403         multiarch stpcpy implementation for POWER8.
2404         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2405         multiarch strcpy implementation for POWER8.
2406         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2407         __strcpy_power8 function.
2408         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2409         stpcpy for POWER8.
2410         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2411         strcpy for POWER8.
2412         * NEWS: Update.
2414 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2416         [BZ #16009]
2417         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2418         weights and rules. Use do_xfrm_cached if data fits in cache,
2419         do_xfrm otherwise.  Moved former main loop to...
2420         * (do_xfrm_cached): New function.
2421         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2422         find_idx, find_position and stack_push.
2423         * (find_idx): New function.
2424         * (find_position): Likewise.
2425         * localedata/sort-test.sh: Added test run for do_xfrm.
2426         * localedata/xfrm-test.c (main): Added command line option
2427         -nocache to run the test with strings that are too large for
2428         the STRXFRM cache.
2430 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2432         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2433         variable to lll_futex_wake call, not the value itself.
2435 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2437         [BZ #17803]
2438         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2439         twom64.  Adjust value to 0x1p-64L.
2440         (__scalblnl): Only return standard underflowing result for K <=
2441         -64 not K <= -63; adjust exponent for underflowing result by 64
2442         not 63.
2443         * math/libm-test.inc (scalbn_test_data): Add more tests.
2444         (scalbln_test_data): Likewise.
2446         [BZ #17834]
2447         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2448         0x1p63L.
2449         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2450         not HX.
2451         * math/libm-test.inc (scalbn_test_data): Add more tests.
2452         (scalbln_test_data): Likewise.
2454 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2455             Stefani Seibold  <stefani@seibold.net>
2457         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2458         (sysdep_routines): Add dl-vdso here, ...
2459         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2460         (sysdep_routines): ... not here.
2461         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2462         fallback when vDSO is not presented.
2463         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2464         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2465         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2466         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2467         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2468         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2469         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2470         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2471         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2472         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2473         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2474         fallback configurable symbol when vDSO is not available.
2475         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2476         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2477         be able to redefine fallback symbol when vDSO is not available.
2478         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2479         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2481 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2483         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2484         (TLS_INIT_TP): Add tm_capable initialization.
2485         (TLS_DEFINE_INIT_TP): Likewise.
2486         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2487         TCB.
2488         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2489         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2490         calculation.
2491         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2492         transactoion is lock elision is built and TCB tm_capable is set.
2493         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2495         (INTERNAL_SYSCALL_NCS): Likewise.
2496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2497         (INTERNAL_SYSCALL_NCS): Likewise.
2498         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2500         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2501         for powerpc.
2502         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2503         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2504         and remove it for 32 bits case.
2505         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2506         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2507         initialization.
2508         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2509         Disable lock elision with rdlocks if elision is not available.
2511         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2512         (sysdep_routines): Add lock elision objects.
2513         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2514         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2515         [pthread_mutex_t] (__elision): Add field.
2516         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2517         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2518         elision definitions for powerpc.
2519         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2520         implementation of lock elision for powerpc.
2521         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2522         implementation of timed lock elision for powerpc.
2523         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2524         implementation of trylock with lock elision for powerpc.
2525         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2526         implementaion of unlock for lock elision for powerpc.
2527         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2528         automatic enable lock elision for mutexes.
2529         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2530         transaction execution definitions for powerpc.
2531         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2532         definitions.
2533         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2534         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2536         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2537         * NEWS: Update.
2539 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2541         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2542         for #include of <shm-directory.h>.
2544 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2546         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2547         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2549 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2551         [BZ #17791]
2552         * NEWS: Mention bug fix.
2553         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2554         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2555         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2557 2015-01-09  Torvald Riegel <triegel@redhat.com>
2559         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2561 2015-01-09  Torvald Riegel <triegel@redhat.com>
2563         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2565 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2567         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2568         pointer and cast to uintptr_t.
2570 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2572         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2573         removed.
2574         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2576 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2578         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2579         of 0.
2581 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2583         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2584         <nptl/pthreadP.h> instead.
2585         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2587         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2588         already defined.
2589         [__SIGRTMIN] (init): Function removed.
2590         [__SIGRTMIN] (initialized): Variable removed.
2591         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2592         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2593         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2594         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2595         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2596         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2597         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2598         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2599         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2600         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2601         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2602         * sysdeps/nptl/allocrtsig.c: New file.
2603         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2604         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2605         * sysdeps/generic/testrtsig.h: File removed.
2607         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2608         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2610         * nptl/nptl-init.c (pthread_functions): Conditionalize
2611         .ptr__nptl_setxid initialization on [SIGSETXID].
2613         * sysdeps/nptl/sys/procfs.h: New file.
2614         * nptl_db/Makefile (headers): Add it.
2615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2617         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2618         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2619         * nptl/pthread_attr_setaffinity.c: Include it.
2620         * nptl/pthread_setattr_default_np.c: Likewise.
2621         * nptl/check-cpuset.h: New file.
2623 2015-01-08  Richard Henderson  <rth@redhat.com>
2625         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2626         (CFLAGS-tst-execstack-prog.c): Likewise.
2627         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2629 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2630             Sandra Loosemore  <sandra@codesourcery.com>
2631             Andrew Jenner  <andrew@codesourcery.com>
2632             Joseph Myers  <joseph@codesourcery.com>
2633             Nathan Sidwell  <nathan@codesourcery.com>
2635         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2636         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2637         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2638         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2639         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2640         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2641         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2642         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2643         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2644         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2645         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2646         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2647         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2648         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2649         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2650         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2651         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2653 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2655         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2656         timespec struct member in syscall macro.
2657         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2658         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2659         first timeval struct member in syscall macro.
2660         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2662 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2664         [BZ #17748]
2665         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2666         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2667         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2668         __feupdateenv and define as weak alias of __feupdateenv.  Use
2669         libm_hidden_weak.
2670         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2671         libm_hidden_def.
2672         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2673         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2674         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2675         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2676         libm_hidden_def.
2677         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2678         __feupdateenv and define as weak alias of __feupdateenv.  Use
2679         libm_hidden_weak.
2680         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2681         libm_hidden_def.
2682         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2683         __feupdateenv and define as weak alias of __feupdateenv.  Use
2684         libm_hidden_weak.
2685         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2686         libm_hidden_def.
2687         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2688         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2689         (__feupdateenv): Likewise.
2690         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2691         __feupdateenv and define as weak alias of __feupdateenv.  Use
2692         libm_hidden_weak.
2693         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2694         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2695         libm_hidden_def.
2696         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2697         function.
2698         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2699         libm_hidden_def.
2700         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2701         __feupdateenv instead of feupdateenv.
2702         (default_libc_feupdateenv_test): Likewise.
2703         (libc_feresetround_ctx): Likewise.
2705 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2707         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2708         prototype.
2710 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2712         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2713         COLL_SYM in a couple of places to avoid uninitialized variable
2714         wanings on tilegx gcc 4.8.2.
2716 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2718         * sysdeps/aarch64/strcpy.S: New file.
2719         * sysdeps/aarch64/stpcpy.S: New file.
2720         * NEWS: Updated.
2722 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2724         * sysdeps/aarch64/strrchr.S: New file.
2725         * NEWS: Updated.
2727 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2729         [BZ #17658]
2730         * stdlib/setenv.c: Fix memory leak when setting large,
2731         duplicate string.
2733 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2735         [BZ #17273]
2736         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2737         and tabs from buffer before parsing fstab entry.
2738         * misc/tst-mntent.c (main): Add test for mount entry with
2739         trailing spaces and tabs.
2741 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2743         [BZ #17748]
2744         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2745         * math/fesetround.c (fesetround): Rename to __fesetround and
2746         define as weak alias of __fesetround.  Use libm_hidden_weak.
2747         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2748         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2749         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2750         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2751         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2752         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2753         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2754         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2755         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2756         __fesetround_inline.
2757         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2758         __fesetround_inline instead of __fesetround.
2759         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2760         __fesetround and define as weak alias of __fesetround.  Use
2761         libm_hidden_weak.  Call __fesetround_inline instead of
2762         __fesetround.
2763         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2764         __fesetround and define as weak alias of __fesetround.  Use
2765         libm_hidden_weak.
2766         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2767         Likewise.
2768         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2769         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2770         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2771         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2772         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2773         __fesetround and define as weak alias of __fesetround.  Use
2774         libm_hidden_weak.
2775         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2776         __fesetround instead of fesetround.
2777         (default_libc_feholdexcept_setround): Likewise.
2778         (libc_feholdsetround_ctx): Likewise.
2779         (libc_feholdsetround_noex_ctx): Likewise.
2781         [BZ #17748]
2782         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2783         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2784         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2785         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2786         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2787         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2788         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2789         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2790         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2791         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2792         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2793         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2794         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2795         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2796         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2797         libm_hidden_def.
2798         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2799         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2800         Likewise.
2801         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2802         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2803         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2804         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2805         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2806         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2807         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2808         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2809         __fesetenv instead of fesetenv.
2810         (libc_feresetround_noex_ctx): Likewise.
2811         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2812         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2813         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2814         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2815         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2816         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2817         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2818         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2819         (__feupdateenv): Likewise.
2820         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2821         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2822         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2823         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2825 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2827         [BZ #17806]
2828         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2829         addresses have been freed.
2831 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2833         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2834         and nservall.
2836 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2838         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2839         Clean up check_pf allocation pattern. addresses
2841 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2843         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2844         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2845         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2846         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2847         * nptl/pthread_join.c (pthread_join): Likewise.
2848         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2849         * sysdeps/posix/waitid.c (__waitid): Likewise.
2850         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2851         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2852         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2853         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2854         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2855         Likewise.
2856         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2857         (__libc_pread64): Likewise.
2858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2859         (__libc_pwrite): Likewise.
2860         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2861         (__libc_pwrite64): Likewsie.
2862         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2863         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2864         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2865         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2866         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2867         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2868         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2870         Likewise.
2871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2872         (__libc_pread64): Likewise.
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2874         Likewise.
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2876         (__libc_pwrite64): Likewise.
2877         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2878         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2879         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2880         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2881         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2882         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2883         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2884         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2885         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2886         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2887         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2888         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2889         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2890         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2891         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2892         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2893         Likewise.
2895 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2897         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2898         (CFLAGS-test-double.c): Likewise.
2899         (CFLAGS-test-ldouble.c): Likewise.
2900         (CPPFLAGS-test-ifloat.c): Likewise.
2901         (CPPFLAGS-test-idouble.c): Likewise.
2902         (CPPFLAGS-test-ildoubl.c): Likewise.
2903         (CFLAGS-test-test-fenv.c): Remove variable.
2904         (CFLAGS-test-misc.c): Likewise.
2906 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2908         [BZ #17797]
2909         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2910         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2911         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2912         CLOCKS_PER_SEC == 1000000.
2913         * time/clocktest.c (main): Replace %ld with %jd and cast to
2914         intmax_t.
2916 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2918         * sysdeps/generic/unwind-resume.h: New file.
2919         * sysdeps/gnu/unwind-resume.c: Include it.
2920         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2921         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2922         argument list.
2923         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2924         global rather than static.
2925         (_Unwind_Resume): Update user.
2926         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2927         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2928         rather than static.  Add __attribute__ ((cold)).
2929         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2930         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2931         * sysdeps/arm/arm-unwind-resume.S: New file.
2932         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2933         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2934         * sysdeps/arm/Makefile [$(subdir) = csu]
2935         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2936         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2937         Add rt-arm-unwind-resume.
2938         [$(subdir) = nptl]
2939         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2940         Add pt-arm-unwind-resume.
2941         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2942         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2944 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2946         [BZ #17748]
2947         * include/fenv.h (__feholdexcept): Declare.  Use
2948         libm_hidden_proto.
2949         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2950         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2951         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2952         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2953         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2954         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2955         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2956         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2957         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2958         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2959         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2960         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2961         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2962         (feholdexcept): Likewise.
2963         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2964         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2965         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2966         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2967         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2968         __feholdexcept instead of feholdexcept.
2969         (default_libc_feholdexcept_setround): Likewise.
2971 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2973         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2974         to avoid using stl/str to align destination.
2976 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2978         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2980 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2982         [BZ #17796]
2983         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2984         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2985         Define as weak alias not strong alias.
2987 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2989         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2990         bltzal with addiupc.
2991         (RTLD_START): Ditto.
2993 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2995         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2996         for __vdso_* functions in declarations.
2997         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2998         definitions.
2999         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3000         INTERNAL_VSYSCALL): Use struct return types to check for error.
3002         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3003         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3004         function with cast from llround().
3005         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3006         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3007         Define.
3009 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
3011         [BZ #17793]
3012         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3013         Define as weak alias not strong alias.
3015         [BZ #17635]
3016         * ctype/ctype-c99.c: New file.  isblank implementation moved from
3017         ...
3018         * ctype/ctype-extn.c: ... here.
3019         (__isblank_l): Move to ...
3020         * ctype/ctype-c99_l.c: ... here.  New file.
3021         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3022         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3023         Remove variable.
3024         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3025         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3026         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3027         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3028         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3030         [BZ #17777]
3031         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3032         (posix_fadvise64): Define as weak alias not strong alias.
3033         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3034         (posix_fallocate64): Likewise.
3035         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3036         Remove variable.
3037         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3038         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3039         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3040         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3041         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3043 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
3045         [BZ #16191]
3046         * NEWS: Mention bug fix.
3047         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3048         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3049         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3050         (HOST_STACK_END_ADDR): Likewise.
3052 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3054         [BZ #17748]
3055         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
3056         * math/fegetround.c (fegetround): Rename to __fegetround and
3057         define as weak alias of __fegetround.  Use libm_hidden_weak.
3058         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3059         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3060         * sysdeps/arm/fegetround.c (fegetround): Likewise.
3061         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3062         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3063         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3064         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3065         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3066         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3067         Undefine after rather than before function definition; use
3068         parentheses around function name in definition.
3069         (__fegetround): Also undefine macro after function definition.
3070         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3071         __fegetround and define as weak alias of __fegetround.  Use
3072         libm_hidden_weak.  Do not undefine as macro.
3073         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3074         Likewise.
3075         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3076         __fegetround and define as weak alias of __fegetround.  Use
3077         libm_hidden_weak.
3078         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3079         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3080         * sysdeps/tile/math_private.h (__fegetround): New inline function.
3081         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3082         __fegetround and define as weak alias of __fegetround.  Use
3083         libm_hidden_weak.
3084         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3085         __fegetround instead of fegetround.
3087         [BZ #17782]
3088         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3089         Condition macro definition on [__USE_MISC].
3091         [BZ #17781]
3092         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3093         (struct sigaction): Change type of sa_flags field to int.
3095         [BZ #17780]
3096         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3097         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3098         __glibc_reserved0.
3100         * nptl/version.c (banner): Use single year in copyright notice.
3102         * NEWS: Update copyright dates.
3103         * catgets/gencat.c (print_version): Likewise.
3104         * csu/version.c (banner): Likewise.
3105         * debug/catchsegv.sh: Likewise.
3106         * debug/pcprofiledump.c (print_version): Likewise.
3107         * debug/xtrace.sh (do_version): Likewise.
3108         * elf/ldconfig.c (print_version): Likewise.
3109         * elf/ldd.bash.in: Likewise.
3110         * elf/pldd.c (print_version): Likewise.
3111         * elf/sotruss.sh: Likewise.
3112         * elf/sprof.c (print_version): Likewise.
3113         * iconv/iconv_prog.c (print_version): Likewise.
3114         * iconv/iconvconfig.c (print_version): Likewise.
3115         * locale/programs/locale.c (print_version): Likewise.
3116         * locale/programs/localedef.c (print_version): Likewise.
3117         * login/programs/pt_chown.c (print_version): Likewise.
3118         * malloc/memusage.sh (do_version): Likewise.
3119         * malloc/memusagestat.c (print_version): Likewise.
3120         * malloc/mtrace.pl: Likewise.
3121         * manual/libc.texinfo: Likewise.
3122         * nptl/version.c (banner): Likewise.
3123         * nscd/nscd.c (print_version): Likewise.
3124         * nss/getent.c (print_version): Likewise.
3125         * nss/makedb.c (print_version): Likewise.
3126         * posix/getconf.c (main): Likewise.
3127         * scripts/test-installation.pl: Likewise.
3128         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3130 2015-01-02  Will Newton  <will.newton@linaro.org>
3132         * sysdeps/arm/armv7/configure: Removed.
3133         * sysdeps/arm/armv7/configure.ac: Likewise.
3135 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3137         * All files with FSF copyright notices: Update copyright dates
3138         using scripts/update-copyrights.
3139         * intl/plural.c: Regenerated.
3140         * locale/programs/charmap-kw.h: Likewise.
3141         * locale/programs/locfile-kw.h: Likewise.
3143 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3145         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3147 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3149         [BZ #17748]
3150         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3151         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3152         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3153         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3154         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3155         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3156         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3157         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3158         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3159         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3160         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3161         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3162         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3163         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3164         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3165         libm_hidden_def.
3166         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3167         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3168         Likewise.
3169         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3170         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3171         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3172         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3173         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3174         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3175         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3176         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3177         __fegetenv instead of fegetenv.
3178         (libc_feholdsetround_noex_ctx): Likewise.
3180 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3182         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3183         (Elf_MIPS_ABIFlags_v0): New structure.
3184         (EF_MIPS_FP64): Define.
3185         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3186         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3187         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3188         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3189         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3190         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3191         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3192         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3193         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3194         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3195         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3196         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3197         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3198         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3199         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3200         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3201         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3202         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3203         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3204         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3205         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3206         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3207         field.
3208         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3209         EF_MIPS_FP64.
3210         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3211         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3212         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3213         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3214         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3215         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3216         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3217         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3218         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3219         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3220         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3221         record the current FP ABI extension.
3222         (mips-mode-switch): Define to show if kernel headers support mode
3223         switching.
3224         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3225         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3226         supported SYSV ABI version to 3.
3227         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3228         feature.
3230 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3231             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3233         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3234         path.
3235         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3237 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3239         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3240         __fegetround and redefine to call __fegetround.  Remove condition
3241         on [!__NO_MATH_INLINES].
3242         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3243         function.
3244         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3245         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3246         Remove macro.
3247         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3248         instead of <fenv_libc.h>.
3249         (__llrintl): Call fegetround instead of __fegetround.
3250         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3251         instead of <fenv_libc.h>.
3252         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3253         (__lrintl): Call fegetround instead of __fegetround.
3254         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3255         instead of <fenv_libc.h>.
3256         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3257         (__rintl): Call fegetround instead of __fegetround.
3259 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3261         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3262         arrays.
3264 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3266         [BZ #17775]
3267         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3268         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3269         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3271 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3273         * sysdeps/i386/tls-macros.h: Include <features.h>.
3274         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3275         (TLS_IE): Likewise.
3276         (TLS_LD): Likewise.
3277         (TLS_GD): Likewise.
3278         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3279         define for GCC >= 5.0.
3281 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3283         * math/test-fenv.c (test_single_exception, set_single_exc,
3284         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3285         feexcp_mask_test, feenable_test, fe_single_test): Add
3286         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3287         case where they are not used.
3288         * math/libm-test.inc: Likewise.
3289         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3290         unused in the absence of FP rounding/exception support.
3291         * stdio-common/tst-printf-round.c: Likewise.
3292         * stdlib/tst-strtod-round.c: Likewise.
3293         * stdlib/tst-strtod-underflow.c: Likewise.
3295 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3297         [BZ #17723]
3298         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3299         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3300         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3301         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3302         libm_hidden_weak.
3303         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3304         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3305         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3306         libm_hidden_def.
3307         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3308         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3309         libm_hidden_weak.
3310         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3311         Likewise.
3312         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3313         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3314         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3315         libm_hidden_weak.
3316         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3317         libm_hidden_def.
3318         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3319         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3320         (__feraiseexcept): Likewise.
3321         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3322         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3323         libm_hidden_weak.
3324         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3325         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3326         libm_hidden_def.
3327         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3328         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3329         Use libm_hidden_def.
3330         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3331         libm_hidden_def.
3332         (feraiseexcept): Define as weak not strong alias.  Use
3333         libm_hidden_weak.
3334         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3335         New inline function.  Factored out of ...
3336         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3337         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3338         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3339         feraiseexcept.
3340         * math/w_acos.c (__acos): Likewise.
3341         * math/w_asin.c (__asin): Likewise.
3342         * math/w_ilogb.c (__ilogb): Likewise.
3343         * math/w_j0.c (y0): Likewise.
3344         * math/w_j1.c (y1): Likewise.
3345         * math/w_jn.c (yn): Likewise.
3346         * math/w_log.c (__log): Likewise.
3347         * math/w_log10.c (__log10): Likewise.
3348         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3349         * sysdeps/aarch64/fpu/math_private.h
3350         (libc_feupdateenv_test_aarch64): Likewise.
3351         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3352         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3353         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3354         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3355         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3356         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3357         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3358         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3359         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3360         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3362 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3364         [BZ #17732]
3365         * io/test-utime.c (main): Replace %ld with %jd and cast to
3366         intmax_t.
3367         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3368         * nptl/tst-mutex5.c: Include <stdint.h>.
3369         (do_test): Replace %ld with %jd and cast to intmax_t.
3370         * posix/tst-regex.c (run_test): Likewise.
3371         (run_test_backwards): Likewise.
3372         * rt/tst-clock.c: Include <stdint.h>.
3373         (clock_test): Replace %ld with %jd and cast to intmax_t.
3374         * rt/tst-cpuclock1.c: Include <stdint.h>.
3375         (do_test): Replace %lu with %ju and cast to uintmax_t.
3376         * rt/tst-cpuclock2.c: Include <stdint.h>.
3377         (do_test): Replace %lu with %ju and cast to uintmax_t.
3378         * rt/tst-mqueue1.c: Include <stdint.h>.
3379         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3380         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3381         intmax_t.
3382         * rt/tst-mqueue4.c (do_test): Likewise.
3383         * rt/tst-timer4.c: Include <stdint.h>.
3384         (check_ts): Replace %ld with %jd and cast to intmax_t.
3385         (do_test): Likewise.
3386         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3387         and cast to intmax_t.
3388         * sysdeps/pthread/tst-timer.c (main): Likewise.
3389         * time/clocktest.c (main): Likewise.
3390         * time/tst-posixtz.c (do_test): Likewise.
3391         * timezone/tst-timezone.c (main): Likewise.
3393 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3394             H.J. Lu  <hongjiu.lu@intel.com>
3396         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3397         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3398         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3399         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3400         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3401         version if bit_Fast_Unaligned_Load is set.
3402         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3403         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3404         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3405         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3406         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3407         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3409         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3410         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3411         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3412         to 4.
3413         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3414         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3415         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3416         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3418 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3420         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3421         instead of #if to avoid a Wundef warning.
3422         * stdlib/tst-limits.c (do_test): Likewise.
3424         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3425         parallel other exception macros.
3426         (fegetenv): Convert from macro to extern inline so that it applies
3427         retroactively to inline functions already seen by the compiler.
3428         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3430         * posix/Makefile (before-compile): Use $(objpfx) for
3431         posix-conf-vars-def.h.
3433 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3435         * posix/getconf.c (main): Use size_t for type of I.
3436         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3437         NSPEC.
3439         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3440         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3441         * posix/posix-envs.def: Likewise.
3442         * sysdeps/posix/sysconf.c: Likewise.
3443         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3444         (specs): Remove array.
3445         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3446         array.
3448         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3449         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3450         (__sysconf): Use CONF_IS_* macros.
3452         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3453         ($(objpfx)posix-conf-vars-def.h): New target.
3454         * posix/posix-conf-vars.list: New file.
3455         * posix/posix-conf-vars.h: New file.
3456         * posix/confstr.c: Include posix-conf-vars.h.
3457         (confstr): Use CONF_IS_* macros.
3458         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3459         CONF_IS_* macros.
3460         * scripts/gen-posix-conf-vars.awk: New file.
3462 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3464         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3465         fegetround): Add no-op macros to avoid linknamespace issues.
3467         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3468         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3470         * sysdeps/unix/sysv/linux/tile/sysdep.h
3471         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3472         assembly-specific section to avoid a redefinition warning.
3474         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3475         long before casting to pointer to avoid a cast warning.
3477 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3479         * sysdeps/tile/tilegx/Implies: New file.
3481 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3483         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3485 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3487         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3489 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3491         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3492         not define.
3493         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3494         <kernel-features.h>.
3495         (__utimes) [__NR_utimes]: Make code unconditional.
3496         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3497         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3498         (__ASSUME_UTIMES): Do not undefine.
3499         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3500         (__ASSUME_UTIMES): Likewise.
3501         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3502         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3503         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3504         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3506 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3508         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3510 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3512         [BZ #17747]
3513         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3514         alias to weak alias for j0l, y0l.
3515         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3516         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3518         [BZ #17746]
3519         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3520         conversion.
3522 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3524         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3525         to zero if not already defined.
3527 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3529         [BZ #17724]
3530         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3531         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3532         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3533         (char *) casts added.
3534         * sysdeps/ieee754/k_standardf.c: New file.
3535         * sysdeps/ieee754/k_standardl.c: Likewise.
3536         * math/Makefile (libm-support): Remove k_standard.
3537         (libm-calls): Add k_standard.
3539 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3541         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3542         Optimize to avoid an unnecessary FPCR read.
3544 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3546         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3547         Optimize to reduce FPCR/FPSR accesses.
3549 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3551         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3552         Call libc_fetestexcept_aarch64.
3554 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3556         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3557         Call libc_fesetround_aarch64.
3559 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3561         [BZ #17733]
3562         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3563         (__bind): Do not define as weak alias.
3564         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3565         define.
3566         (__getsockname): Do not define as weak alias.
3568 2014-12-22  Will Newton  <will.newton@linaro.org>
3570         * manual/install.texi: Document that we require bison 2.7
3571         or above.
3572         * INSTALL: Regenerate.
3573         * configure.ac: Use AC_CHECK_PROG_VER instead of
3574         AC_PATH_PROG when checking for bison and check for
3575         version 2.7 or above.
3576         * configure: Regenerate.
3578 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3580         [BZ #17745]
3581         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3582         * sysdeps/tile/ffsll.c (ffsll): To here.
3584         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3586 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3588         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3589         if not defined.
3590         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3591         definition.
3592         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3593         hidden ___tls_get_addr.
3594         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3595         hidden __tls_get_addr.
3596         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3597         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3598         Likewise.
3600 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3602         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3603         _dl_init call.
3605 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3607         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3608         from "call _dl_init@PLT".
3609         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3611 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3613         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3614         guarantees.
3616 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3618         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3620 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3622         [BZ #17744]
3623         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3624         strnlen.
3626 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3628         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3629         of multu on MIPSr6.
3630         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3631         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3632         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3633         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3634         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3636 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3638         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3639         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3640         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3641         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3642         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3643         mips32r6/mips64r6.
3644         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3646 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3648         * string/strncat.c (STRNCAT): Simplify implementation.
3650 2014-12-19  David S. Miller  <davem@davemloft.net>
3652         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3653         access the quad as both a long double and as a series of 4 words.
3655         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3656         link_map->l_info array access.
3658 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3660         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3662         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3663         * math/atest-exp2.c (TIMEOUT): Likewise.
3664         * math/atest-sincos.c (TIMEOUT): Likewise.
3666 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3668         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3669         -Wno-error with -fno-builtin-lround.
3671 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3673         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3674         Contains futex constants and functions moved over from ...
3675         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3676         <lowlevellock-futex.h>.
3677         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3678         (lll_timedwait_tid): Add comments and parentheses around macro
3679         arguments.
3681 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3683         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3684         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3685         (__lll_private_flag): Remove.
3686         (lll_futex_wait): Likewise.
3687         (lll_futex_timed_wait): Likewise.
3688         (lll_futex_wake): Likewise.
3689         (lll_futex_requeue): Likewise.
3690         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3691         (__lll_timedwait_tid): Spell out argument names.
3692         (lll_timedwait_tid): Add comments and parentheses around macro
3693         arguments.
3694         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3695         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3697 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3699         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3700         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3701         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3702         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3703         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3704         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3705         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3706         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3707         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3708         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3709         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3710         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3711         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3712         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3713         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3714         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3715         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3716         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3717         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3719 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3721         * sysdeps/x86_64/x32/Makefile: New file.
3723 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3725         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3726         1L with (mp_limb_t) 1.
3728 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3730         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3731         * nptl/libc_pthread_init.c: ... here.
3732         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3733         * nptl/register-atfork.c: ... here.
3735         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3736         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3737         Use assert_perror to check its return value.
3738         (__gai_create_helper_thread): Likewise.
3740         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3742         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3744 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3746         [BZ #17725]
3747         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3748         __profil_counter.
3749         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3750         Likewise.
3751         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3752         Likewise.
3753         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3754         Likewise.
3755         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3756         (profil_counter): Likewise.
3757         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3758         (profil_counter): Likewise.
3759         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3760         Likewise.
3761         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3762         Likewise.
3763         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3764         (profil_counter): Likewise.
3765         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3766         Likewise.
3767         [!__profil_counter] (profil_counter): Define as weak alias of
3768         __profil_counter.
3769         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3770         (profil_counter): Rename to __profil_counter.
3771         [!__profil_counter] (profil_counter): Define as weak alias of
3772         __profil_counter.
3773         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3774         (profil_counter): Rename to __profil_counter.
3775         [!__profil_counter] (profil_counter): Define as weak alias of
3776         __profil_counter.
3777         * sysdeps/posix/profil.c: Update comment referring to
3778         profil_counter.
3779         (__profil): Use __profil_counter instead of profil_counter.
3780         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3781         __profil_counter.  Use __profil_counter_ushort and
3782         __profil_counter_uint in definitions.
3783         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3784         instead of profil_counter_uint and profil_counter_ushort.
3786         [BZ #17722]
3787         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3788         define as weak alias of __inet_makeaddr.
3789         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3790         as weak alias of __inet_addr.
3791         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3792         as weak alias of __inet_pton.  Use libc_hidden_weak.
3793         * include/arpa/inet.h (__inet_pton): Declare.  Use
3794         libc_hidden_proto.
3795         (inet_makeaddr): Don't use libc_hidden_proto.
3796         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3797         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3798         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3799         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3800         Remove variable.
3801         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3802         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3804 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3806         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3808 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3810         * stdio-common/bug-vfprintf-nargs.c (do_test):
3811         Cast value to intptr_t to avoid format warning
3812         for usage with PRIdPTR printing macro.
3814 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3816         * libio/tst-widetext.c (do_test):
3817         Use format type %td instead of %Zd for ptrdiff_t
3818         in order to avoid format warning.
3820 2014-12-17  Andreas Schwab  <schwab@suse.de>
3822         * nscd/mem.c (gc): Add size_t cast to match printf format.
3824 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3826         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3827         (init): Apply PTR_MANGLE to pointers before storing them.
3828         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3829         before using them.
3831 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3833         [BZ #17719]
3834         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3835         define as weak alias of __memrchr.
3836         (__memrchr): Do not define as strong alias of memrchr.
3837         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3838         Remove variable.
3839         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3840         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3841         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3843         [BZ #17717]
3844         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3845         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3846         (if_indextoname): Rename to __if_indextoname and define as weak
3847         alias of __if_indextoname.  Use libc_hidden_weak.
3848         (if_freenameindex): Rename to __if_freenameindex and define as
3849         weak alias of __if_freenameindex.
3850         (if_nameindex): Rename to __if_nameindex and define as weak alias
3851         of __if_nameindex.
3852         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3853         __if_nametoindex and define as weak alias of __if_nametoindex.
3854         Use libc_hidden_weak.
3855         (if_freenameindex): Rename to __if_freenameindex and define as
3856         weak alias of __if_freenameindex.
3857         (if_nameindex): Rename to __if_nameindex and define as weak alias
3858         of __if_nameindex.
3859         (if_indextoname): Rename to __if_indextoname and define as weak
3860         alias of __if_indextoname.  Use libc_hidden_weak.
3861         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3862         __if_nametoindex and define as weak alias of __if_nametoindex.
3863         Use libc_hidden_weak.
3864         (if_freenameindex): Rename to __if_freenameindex and define as
3865         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3866         (if_nameindex_netlink): Use __if_freenameindex instead of
3867         if_freenameindex.
3868         (if_nameindex): Rename to __if_nameindex and define as weak alias
3869         of __if_nameindex.  Use libc_hidden_weak.
3870         (if_indextoname): Rename to __if_indextoname and define as weak
3871         alias of __if_indextoname.  Use libc_hidden_weak.
3872         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3873         libc_hidden_proto.
3874         [!_ISOMAC] (__if_freenameindex): Likewise.
3875         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3876         if_nametoindex.
3877         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3878         variable.
3879         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3880         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3881         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3882         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3883         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3884         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3885         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3887         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3888         Remove variable.
3889         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3890         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3892 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3894         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3895         subscript above bounds'
3897         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3898         bounds.
3900 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3902         * libio/tst-fopenloc.c: Use test-skeleton.c.
3904         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3905         (entry): Rename to ITEM.
3906         (do_test, comp): Adjust.
3908         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3910 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3912         * string/tester.c: Include <libc-internal.h>.
3913         (test_memset): Ignore -Wmemset-transposed-args.
3915 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3917         * misc/tst-mntent2.c (do_test): Fix warning.
3919 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3921         * elf/tst-unique4lib.cc(a): Mark as used.
3923 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3925         [BZ #17630]
3926         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3927         names.
3929 2014-12-16  Allan McRae  <allan@archlinux.org>
3931         * stdio-common/Makefile (tests): Re-add bug26.
3933 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3935         [BZ #17657]
3936         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3937         static array.
3939 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3941         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3942         (__lll_lock_wait): Likewise.
3943         (__lll_timedlock_wait): Likewise.
3944         (__lll_timedwait_tid): Likewise.
3945         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3946         (__lll_robust_timedlock_wait): Likewise.
3947         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3948         (lll_cond_trylock): Likewise.
3949         (__lll_lock): Likewise.
3950         (__lll_robust_lock): Likewise.
3951         (__lll_cond_lock): Likewise.
3952         (lll_robust_cond_lock): Likewise.
3953         (__lll_timedlock): Likewise.
3954         (__lll_robust_timedlock): Likewise.
3955         (__lll_unlock): Likewise.
3956         (__lll_robust_unlock): Likewise.
3957         (lll_wait_tid): Likewise.
3958         (lll_timedwait_tid): Likewise.
3960 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3962         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3964 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3966         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3968 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3970         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3971         * stdio-common/tst-sprintf.c: Likewise.
3973 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3975         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3977 2014-12-15  Jeff Law  <law@redhat.com>
3979         [BZ #16617]
3980         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3981         on the heap.  (CVE-2012-3406)
3982         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3983         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3984         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3986 2014-12-15  Will Newton  <will.newton@linaro.org>
3988         * manual/install.texi: Bump required version of texinfo
3989         to 4.7 from 4.5.
3990         * INSTALL: Regenerated.
3991         * configure.ac: Check for makeinfo version 4.7 and above.
3992         * configure: Regenerated.
3994 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3996         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3997         PREFIX, string constant to insert between directory and name.
3998         * sysdeps/posix/shm_open.c: Update caller.
3999         * sysdeps/posix/shm_unlink.c: Likewise.
4000         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4001         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4002         (SEM_SHM_PREFIX): New macro.
4003         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4004         [$(have-thread-library) = no].
4005         * nptl/Makefile (libpthread-routines): Add shm-directory.
4006         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4007         * sysdeps/nptl/shm-directory.h: New file.
4008         * sysdeps/posix/shm-directory.c
4009         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4010         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4011         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4012         INTERNAL_SYSCALL.
4013         (__where_is_shmfs): Function removed.
4014         (mountpoint, defaultmount, defaultdir, __namedsem_once):
4015         Variables removed.
4016         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4017         Use SHM_GET_NAME.
4018         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
4020         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4021         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4022         unconditional for use inside libpthread.
4023         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4025 2014-12-12  Roland McGrath  <roland@hack.frob.com>
4027         * nptl/pthread_getaffinity.c: New file.
4028         * nptl/pthread_setaffinity.c: New file.
4029         * nptl/pthread_getname.c: New file.
4030         * nptl/pthread_setname.c: New file.
4032         * nptl/pthread_create.c (START_THREAD_DEFN)
4033         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4035 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4038         * resolv/res_send.c (send_vc): Disable warning resplen may
4039         be used uninitialized.
4041 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4043         * nptl/tst-mutex6.c
4044         (ATTR_NULL): New define checks ATTR against NULL.
4045         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4046         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4048 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
4050         [BZ #17581]
4051         * malloc/hooks.c
4052         (mem2mem_check): Revert my previous change.
4053         (malloc_check_get_size): Revert my previous change.
4054         (mem2chunk_check): Revert my previous change.
4056 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4058         * sysdeps/posix/shm-directory.c: New file.
4059         * sysdeps/posix/shm-directory.h: New file.
4060         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4061         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4062         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
4063         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4064         Transmute EPERM to EACCES.
4065         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4066         from ...
4067         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
4068         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4070 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4072         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4073         pointer and cast to uintptr_t.
4074         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4075         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4076         Add cast to avoid warning.
4077         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4079 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4081         * nptl/semaphore.h: Move to ...
4082         * sysdeps/pthread/semaphore.h: ... here.
4083         * Makefile (installed-headers): Change nptl/semaphore.h to
4084         sysdeps/pthread/semaphore.h.
4086 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4088         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4089         generated error format strings.
4091         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4092         -Wformat-extra-args warnings for scanf formats.
4093         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4094         test of zero-length format (duh).
4095         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4096         corner-case scanf format test.
4097         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4098         generated fprintf format string.
4099         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4100         corner-case sprintf format tests.
4101         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4102         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4103         -Wformat-extra-args warnings throughout.
4104         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4105         (CFLAGS-scanf4.c): Likewise.
4106         (CFLAGS-scanf7.c): Likewise.
4107         (CFLAGS-tst-sprintf.c): Likewise.
4108         (CFLAGS-tst-printf.c): Likewise.
4109         (CFLAGS-tst-printfsz.c): Likewise.
4111 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
4113         * include/cpio.h: New file.
4114         * include/fmtmsg.h: Likewise.
4116         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
4117         corresponding format argument to size_t.
4118         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
4119         arguments.
4120         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
4121         corresponding format argument to size_t.
4122         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
4123         arguments.
4124         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
4125         corresponding format argument to size_t.
4126         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4127         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4128         (CFLAGS-tst-mbswcs2.c): Likewise.
4129         (CFLAGS-tst-mbswcs3.c): Likewise.
4130         (CFLAGS-tst-mbswcs4.c): Likewise.
4131         (CFLAGS-tst-mbswcs5.c): Likewise.
4132         (CFLAGS-tst-trans.c): Likewise
4134 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4136         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4137         rather than assuming they won't contain any '%'s.
4139 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4141         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4142         inhibit_loop_to_libcall to avoid recursive calls.
4143         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4144         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4146 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4148         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4149         prototype.
4151 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4153         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4154         integer value instead of boolean.
4156 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4158         * malloc/malloc.c: Fix powerof2 check.
4160 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4162         * locale/programs/locfile.h (maybe_swap_uint32):
4163         Remove inline and add unused attribute.
4165 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4167         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4168         Truncating assembler expression to a .long expression.
4170 2014-12-11  Andreas Schwab  <schwab@suse.de>
4172         * elf/rtld.c (struct map_args): Constify str member.
4173         (do_preload): Constify fname argument.
4175 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4178         constants definition.
4180 2014-12-11  Andreas Schwab  <schwab@suse.de>
4182         [BZ #16657]
4183         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4184         FORCE_ELISION instead of DO_ELISION.
4185         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4186         Remove.
4187         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4188         Likewise.
4190         * iconvdata/gconv-modules: Remove duplicate entry.
4192 2014-12-11  Will Newton  <will.newton@linaro.org>
4194         Merge gettext 0.19.3 into intl/.
4196         This involves a number of cosmetic changes to comments
4197         and ANSI function definitions and prototypes throughout
4198         all the files. The gettext copyright header is used but
4199         with the date ranges taken from the glibc copy.
4201         * NEWS: Add gettext merge to 2.21.
4202         * intl/bindtextdom.c: Switch to gettext copyright.
4203         Use ANSI definitions and prototypes.
4204         Use gl_* locking primitives rather than __libc_* ones.
4205         Use __builtin_expect rather than __glibc_likely/unlikely.
4206         * intl/dcgettext.c: Switch to gettext copyright.
4207         Use ANSI definitions and prototypes.
4208         * intl/dcigettext.c: Switch to gettext copyright.
4209         Use ANSI definitions and prototypes.
4210         (INTDIV0_RAISES_SIGFPE): New define.
4211         Use gl_* locking primitives rather than __libc_* ones.
4212         Include eval-plural.h instead of plural-eval.c.
4213         Use __builtin_expect rather than __glibc_likely/unlikely.
4214         * intl/dcngettext.c: Switch to gettext copyright.
4215         Use ANSI definitions and prototypes.
4216         * intl/dgettext.c: Likewise.
4217         * intl/dngettext.c: Likewise.
4218         * intl/plural-eval.c: Renamed to...
4219         * intl/eval-plural.h: ...this.
4220         * intl/explodename.c: Switch to gettext copyright.
4221         Use ANSI definitions and prototypes.
4222         (_nl_explode_name): Use strchr instead of __rawmemchr.
4223         * intl/finddomain.c: Switch to gettext copyright.
4224         Use ANSI definitions and prototypes.
4225         Use gl_* locking primitives rather than __libc_* ones.
4226         (_nl_find_domain): Use malloc rather than alloca for
4227         allocation of temporary locale name.
4228         * intl/gettext.c: Switch to gettext copyright.
4229         Use ANSI definitions and prototypes.
4230         * intl/gettextP.h: Switch to gettext copyright.
4231         Use ANSI definitions and prototypes.
4232         Use gl_* locking primitives rather than __libc_* ones.
4233         * intl/gmo.h: Switch to gettext copyright.
4234         (struct sysdep_string): Move struct segment_pair outside of
4235         struct definition.
4236         * intl/hash-string.c: Use ANSI definitions and prototypes.
4237         * intl/hash-string.h: Switch to gettext copyright.
4238         Use ANSI definitions and prototypes.
4239         * intl/l10nflist.c: Switch to gettext copyright.
4240         Use ANSI definitions and prototypes.
4241         (_nl_normalize_codeset): Avoid integer overflow.
4242         * intl/loadinfo.h: Switch to gettext copyright.
4243         Use ANSI definitions and prototypes.
4244         (LIBINTL_DLL_EXPORTED): New define.
4245         (PATH_SEPARATOR): New define.
4246         * intl/loadmsgcat.c: Switch to gettext copyright.
4247         * intl/localealias.c: Switch to gettext copyright.
4248         Use ANSI definitions and prototypes.
4249         (_nl_expand_alias): Use PATH_SEPARATOR.
4250         * intl/ngettext.c: Switch to gettext copyright.
4251         Use ANSI definitions and prototypes.
4252         * intl/plural-exp.c: Likewise.
4253         * intl/plural-exp.h: Switch to gettext copyright.
4254         Use ANSI definitions and prototypes.
4255         (struct expression): Move definition of enum operator outside
4256         of struct definition.
4257         * intl/plural.c: Regenerate.
4258         * intl/plural.y: Switch to gettext copyright.
4259         Use ANSI definitions and prototypes.
4260         Port to bison 3.0.
4261         * intl/textdomain.c: Switch to gettext copyright.
4262         Use ANSI definitions and prototypes.
4263         Use gl_* locking primitives rather than __libc_* ones.
4265 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4267         * debug/warning-nop.c: Add used atrribute.
4269 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4271         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4273         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4274         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4275         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4277 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4278             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4280         [BZ #17634]
4281         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4282         Undefine after defining function.  Define as weak alias of
4283         __wcschr.  Use libc_hidden_weak.
4284         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4285         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4286         (libc_hidden_def): Also define __GI___wcschr alias.
4287         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4288         __wcschr and define as weak alias of __wcschr.
4289         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4290         __wcschr.
4291         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4292         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4293         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4294         libc_hidden_weak.  Do not use libc_hidden_def.
4295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4296         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4297         __GI___wcschr alias.
4298         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4299         [IS_IN (libc)] (wcschr): Define as macro expanding to
4300         __redirect_wcschr.
4301         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4302         [IS_IN (libc)] (__wcschr_power6): Likewise.
4303         [IS_IN (libc)] (__wcschr_power7): Likewise.
4304         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4305         instead of wcschr.
4306         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4307         __libc_wcschr.
4308         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4309         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4310         __wcschr and define as weak alias of __wcschr.  Use
4311         libc_hidden_builtin_def.
4312         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4313         as weak alias of __wcschr.  Use libc_hidden_weak.
4314         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4315         wcschr.
4316         * time/era.c (_nl_init_era_entries): Likewise.
4317         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4318         variable.
4319         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4320         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4322 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4324         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4325         format for long int variable.
4327 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4329         [BZ #10672]
4330         * manual/search.texi: (Array Sort Function): Remove claim how to make
4331         qsort stable.
4333 2014-12-10  Andreas Schwab  <schwab@suse.de>
4335         [BZ #12847]
4336         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4337         user-controlled locks.
4339 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4341         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4342         register.
4344 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4346         * configure.ac (--disable-werror): New configure option.
4347         (enable_werror): New AC_SUBST.
4348         * configure: Regenerated.
4349         * config.make.in (enable-werror): New variable.
4350         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4351         -Wno-error=undef.
4352         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4353         * manual/install.texi (Configuring and compiling): Document
4354         --disable-werror.
4355         * INSTALL: Regenerated.
4356         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4357         (CFLAGS-tst-chk2.c): Likewise.
4358         (CFLAGS-tst-chk3.c): Likewise.
4359         (CFLAGS-tst-chk4.cc): Likewise.
4360         (CFLAGS-tst-chk5.cc): Likewise.
4361         (CFLAGS-tst-chk6.cc): Likewise.
4362         (CFLAGS-tst-lfschk1.c): Likewise.
4363         (CFLAGS-tst-lfschk2.c): Likewise.
4364         (CFLAGS-tst-lfschk3.c): Likewise.
4365         (CFLAGS-tst-lfschk4.cc): Likewise.
4366         (CFLAGS-tst-lfschk5.cc): Likewise.
4367         (CFLAGS-tst-lfschk6.cc): Likewise.
4369         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4370         (main): Disable -Wdeprecated-declarations around calls to
4371         register_printf_function.
4373         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4374         (do_test): Disable -Wdiv-by-zero around some calls to
4375         fwrite_unlocked and fread_unlocked.
4377         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4378         (DIAG_POP_NEEDS_COMMENT): Likewise.
4379         (_DIAG_STR1): Likewise.
4380         (_DIAG_STR): Likewise.
4381         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4382         * stdio-common/bug21.c: Include <libc-internal.h>.
4383         (do_test): Disable -Wformat around call to sscanf.
4384         * stdio-common/scanf14.c: Include <libc-internal.h>.
4385         (main): Disable -Wformat around some calls to scanf functions.
4387 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4389         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4391 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4393         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4394         stack variable alignment.
4396 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4398         [BZ #17682]
4399         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4400         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4401         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4402         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4403         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4404         __getrlimit instead of getrlimit.
4405         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4406         __gettimeofday instead of gettimeofday.
4407         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4408         Likewise.
4409         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4410         Likewise.
4411         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4412         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4413         Remove variable.
4414         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4415         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4417 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4419         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4420         for wide-character tests.
4422 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4424         * io/openat64.c: #include <libc-internal.h>
4425         (__openat64): Prototypify.  Use ignore_value on MODE.
4426         * io/openat.c: Likewise.
4427         * misc/reboot.c: #include <libc-internal.h>
4428         (reboot): Prototypify.  Use ignore_value on HOWTO.
4429         * misc/ptrace.c: #include <libc-internal.h>
4430         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4432 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4434         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4435         XPG4, UNIX98 and XOPEN2K.
4436         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4437         Remove variable.
4438         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4440 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4442         * libio/fileops.c: Use ISO C style for function definitions.
4443         * libio/iofopen.c: Likewise.
4444         * libio/wfileops.c: Likewise.
4446         [BZ #17653]
4447         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4448         offset on EOF.
4449         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4450         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4451         (fgets_func): Function pointer to fgets and fgetws.
4452         (do_ftell_test): Add test to verify ftell value after read
4453         EOF.
4454         (do_test): Set fgets_func.
4456         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4457         O_TRUNC flag for w and w+ modes.
4458         (do_rewind_test): Likewise.
4459         (do_ftell_test): Likewise.
4460         (do_write_test): Likewise.
4462         [BZ #17647]
4463         * libio/fileops.c (do_ftell): Seek only when there are
4464         unflushed writes.
4465         * libio/wfileops.c (do_ftell_wide): Likewise.
4466         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4467         test case.
4468         (do_one_test): Call it.
4470 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4472         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4473         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4474         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4475         Remove variable.
4476         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4477         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4478         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4480 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4482         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4483         Remove variable.
4484         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4486         [BZ #17668]
4487         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4488         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4489         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4490         __freeifaddrs.  Use libc_hidden_weak.
4491         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4492         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4493         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4494         __freeifaddrs.  Use libc_hidden_weak.
4495         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4496         __getifaddrs and define as weak alias of __getifaddrs.  Use
4497         libc_hidden_weak.
4498         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4499         __freeifaddrs.  Use libc_hidden_weak.
4500         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4501         Remove variable.
4502         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4503         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4505 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4507         [BZ #17601]
4508         * sysdeps/mips/start.S (__start): Use indirect jump to call
4509         __libc_start_main.
4511 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4513         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4515         * nptl/tst-mutex1.c: Include <stdbool.h>.
4516         [!ATTR] (ATTR_NULL): New macro.
4517         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4518         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4519         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4521         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4522         to char *.
4524         [BZ #17665]
4525         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4526         Change conditional to [__USE_MISC].
4528         [BZ #17664]
4529         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4530         fgets_unlocked.
4531         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4532         __fgets_unlocked.
4533         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4534         fgets_unlocked.
4535         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4536         Remove variable.
4537         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4538         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4539         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4540         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4541         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4542         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4543         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4544         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4545         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4547         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4549 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4551         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4552         Remove strpbrk objects.
4553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4554         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4555         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4556         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4557         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4558         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4560         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4561         Remove strcspn objects.
4562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4563         (__libc_ifunc_impl_list): Remove strcspn implementation.
4564         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4565         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4566         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4567         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4569         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4570         Remove strspn objetcs.
4571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4572         (__libc_ifunc_impl_list): Remove strspn implementation.
4573         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4574         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4575         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4576         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4578 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4580         [BZ #17581]
4581         * malloc/hooks.c
4582         (mem2mem_check): Add a terminator to the chain of checking blocks.
4583         (malloc_check_get_size): Use it here.
4584         (mem2chunk_check): Ditto.
4586 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4588         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4589         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4591 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4593         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4595         * nptl/nptl-init.c: Include libc-internal.h.
4596         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4598         * elf/ldconfig.c (search_dir): Expand comment.
4600 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4602         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4603         variable.
4604         (linknamespace-symlist-stdlibs-tests): Likewise.
4605         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4606         instead of $(objpfx)symlist-stdlibs.
4607         (linknamespace-libs-isoc): New variable.
4608         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4609         (linknamespace-libs-ISO): New variable.
4610         (linknamespace-libs-ISO99): Likewise.
4611         (linknamespace-libs-ISO11): Likewise.
4612         (linknamespace-libs-XPG3): Likewise.
4613         (linknamespace-libs-XPG4): Likewise.
4614         (linknamespace-libs-POSIX): Likewise.
4615         (linknamespace-libs-UNIX98): Likewise.
4616         (linknamespace-libs-XOPEN2K): Likewise.
4617         (linknamespace-libs-POSIX2008): Likewise.
4618         (linknamespace-libs-XOPEN2K8): Likewise.
4619         ($(objpfx)symlist-stdlibs): Replace by
4620         $(linknamespace-symlist-stdlibs-tests).  Use
4621         $(linknamespace-libs-$*) as set of libraries.
4622         ($(linknamespace-header-tests)): Update dependencies.  Use
4623         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4624         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4625         * conform/linknamespace.pl: Remove comment about considering
4626         definitions of symbols from irrelevant libraries.
4628 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4630         [BZ #13862]
4631         * elf/dl-tls.c: Include <atomic.h>.
4632         (oom): Remove #ifdef SHARED/#endif.
4633         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4634         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4635         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4636         big enough.
4637         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4638         * nptl/Makefile (tests): Add tst-stack4.
4639         (modules-names): Add tst-stack4mod.
4640         ($(objpfx)tst-stack4): New.
4641         (tst-stack4mod.sos): Likewise.
4642         ($(objpfx)tst-stack4.out): Likewise.
4643         ($(tst-stack4mod.sos)): Likewise.
4644         (clean): Likewise.
4645         * nptl/tst-stack4.c: New file.
4646         * nptl/tst-stack4mod.c: Likewise.
4648 2014-11-27  J. Brown  <jb999@gmx.de>
4650         * sysdeps/x86/bits/string.h: Add recent CPUs.
4652 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4654         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4655         sigblock.
4657         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4658         feof.
4660         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4661         variable.
4663 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4665         * nscd/connections.c: Include libc-internal.h because of macro
4666         usage ignore_value.
4668 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4670         * string/bits/string3.h (__warn_memset_zero_len): Don't
4671         declare for gcc newer than 5.0.
4672         (memset): Don't test for zero-length __LEN for gcc newer than
4673         5.0.
4675 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4677         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4678         size_t for %zu format.
4680         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4681         difference, not %ju.
4683 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4685         * include/libc-internal.h (ignore_value): New macro.
4686         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4687         with ignore_value.
4689         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4690         definition.
4692         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4693         pthread_cleanup_push to void *.
4695         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4696         Undefine.
4698         [BZ #16619]
4699         [BZ #16740]
4700         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4701         instead of 1L << 52.
4703         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4704         * libio/bug-rewind2.c (do_test): Likewise.
4706         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4707         * debug/test-strcpy_chk-ifunc.c: Likewise.
4708         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4709         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4710         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4711         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4712         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4713         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4714         * Rules [$(multi-arch) = no] (tests): Do not filter out
4715         $(tests-ifunc).
4716         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4717         * debug/Makefile (tests-ifunc): Remove variable.
4718         (tests): Do not add $(tests-ifunc).
4719         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4720         (tests): Do not add $(tests-ifunc).
4721         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4722         [TEST_IFUNC]: Remove conditionals.
4723         * string/test-string.h (TEST_IFUNC): Remove macro.
4724         [TEST_IFUNC]: Remove conditionals.
4726         * string/test-strchr.c [!WIDE] (L): New macro.
4727         [WIDE] (L): Likewise.
4728         (check1): Use CHAR instead of char.  Use L on string and character
4729         constants.
4731 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4733         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4734         tests.
4735         * sysdeps/powerpc/bits/atomic.h
4736         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4737         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4738         (atomic_exchange_and_add_acq): Likewise.
4739         (atomic_exchange_and_add_rel): Likewise.
4740         * sysdeps/powerpc/powerpc32/bits/atomic.h
4741         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4742         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4743         * sysdeps/powerpc/powerpc64/bits/atomic.h
4744         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4745         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4747 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4749         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4750         Change synchronization of __sched_fifo_min_prio and
4751         __sched_fifo_max_prio.
4752         * nptl/pthread_mutexattr_getprioceiling.c
4753         (pthread_mutexattr_getprioceiling): Likewise.
4754         * nptl/pthread_mutexattr_setprioceiling.c
4755         (pthread_mutexattr_setprioceiling): Likewise.
4756         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4757         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4758         Likewise.
4760 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4762         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4763         void.
4765 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4767         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4768         third argument const.
4770 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4772         fnmatch: work around GCC compiler warning bug with uninit var
4773         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4774         This works around a bug with x86-64 GCC 4.9.2 and earlier
4775         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4776         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4777         used uninitialized in this function [-Wmaybe-uninitialized]".
4779 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4781         * posix/bug-regex31.c (main): Return RES not 0.
4783 2014-11-25  Anton Blanchard <anton@samba.org>
4785         * sysdeps/powerpc/bits/atomic.h
4786         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4788 2014-11-24  Sterling Augustine  <saugustine@google.com>
4790         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4792 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4794         [BZ #17608]
4795         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4797 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4799         [BZ #17633]
4800         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4801         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4802         variable.
4803         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4804         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4806 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4808         * string/strncpy.c (strncpy): Improve performance by using memset.
4810 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4812         * string/strcpy.c (strcpy):
4813         Improve performance by using strlen and memcpy.
4815 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4817         * string/strcoll_l.c (get_next_seq): __always_inline.
4818         * string/strcoll_l.c (do_compare): __always_inline.
4820 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4822         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4823         defined.
4824         * include/mqueue.h: Likewise.
4825         * include/stdlib.h: Likewise.
4827         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4828         (get_null_defines): Adjust.
4829         * sunrpc/Makefile: Adjust comment.
4830         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4831         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4832         (CFLAGS-interp.c): Likewise.
4833         (CFLAGS-ldconfig.c): Likewise.
4834         (CPPFLAGS-.os): Likewise.
4835         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4836         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4837         * extra-modules.mk (extra-modules.mk): Likewise.
4838         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4839         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4840         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4841         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4842         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4843         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4844         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4845         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4846         * iconvdata/Makefile (CPPFLAGS): Likewise.
4847         (cpp-srcs-left): Add libof for all iconvdata routines.
4848         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4849         * include/assert.h: Likewise.
4850         * include/ctype.h: Likewise.
4851         * include/errno.h: Likewise.
4852         * include/libc-symbols.h: Likewise.
4853         * include/math.h: Likewise.
4854         * include/netdb.h: Likewise.
4855         * include/resolv.h: Likewise.
4856         * include/stdio.h: Likewise.
4857         * include/stdlib.h: Likewise.
4858         * include/string.h: Likewise.
4859         * include/sys/stat.h: Likewise.
4860         * include/wctype.h: Likewise.
4861         * intl/l10nflist.c: Likewise.
4862         * libidn/idn-stub.c: Likewise.
4863         * libio/libioP.h: Likewise.
4864         * nptl/libc_multiple_threads.c: Likewise.
4865         * nptl/pthreadP.h: Likewise.
4866         * posix/regex_internal.h: Likewise.
4867         * resolv/res_hconf.c: Likewise.
4868         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4869         * sysdeps/arm/memmove.S: Likewise.
4870         * sysdeps/arm/sysdep.h: Likewise.
4871         * sysdeps/generic/_itoa.h: Likewise.
4872         * sysdeps/generic/symbol-hacks.h: Likewise.
4873         * sysdeps/gnu/errlist.awk: Likewise.
4874         * sysdeps/gnu/errlist.c: Likewise.
4875         * sysdeps/i386/i586/memcpy.S: Likewise.
4876         * sysdeps/i386/i586/memset.S: Likewise.
4877         * sysdeps/i386/i686/memcpy.S: Likewise.
4878         * sysdeps/i386/i686/memmove.S: Likewise.
4879         * sysdeps/i386/i686/mempcpy.S: Likewise.
4880         * sysdeps/i386/i686/memset.S: Likewise.
4881         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4882         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4883         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4884         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4885         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4886         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4887         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4888         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4889         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4890         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4891         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4892         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4893         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4894         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4895         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4896         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4897         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4898         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4899         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4900         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4901         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4902         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4903         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4904         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4905         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4906         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4907         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4908         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4909         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4910         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4911         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4912         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4914         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4915         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4916         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4917         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4918         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4919         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4920         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4921         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4922         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4923         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4924         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4925         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4926         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4927         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4928         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4929         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4930         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4931         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4932         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4933         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4934         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4935         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4936         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4937         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4938         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4939         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4940         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4941         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4942         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4943         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4944         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4945         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4946         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4947         * sysdeps/posix/closedir.c: Likewise.
4948         * sysdeps/posix/opendir.c: Likewise.
4949         * sysdeps/posix/readdir.c: Likewise.
4950         * sysdeps/posix/rewinddir.c: Likewise.
4951         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4952         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4953         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4954         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4955         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4956         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4958         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4959         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4960         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4961         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4962         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4963         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4964         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4965         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4966         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4967         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4968         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4969         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4970         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4971         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4974         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4975         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4977         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4978         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4979         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4984         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4985         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4986         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4987         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4988         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4989         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4990         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4991         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4992         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4993         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4994         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4995         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4996         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4997         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4998         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4999         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5000         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5001         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5002         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5003         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5005         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5006         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5008         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5009         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5010         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5011         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5012         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5013         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5014         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5015         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5016         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5017         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5018         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5019         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5020         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5021         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5022         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5023         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5024         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5025         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5026         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5027         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5028         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5029         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5030         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5031         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5032         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5033         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5034         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5035         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5036         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5037         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5038         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5039         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5040         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5041         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5042         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5043         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5044         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5046         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5047         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5048         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5049         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5050         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5051         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5052         * sysdeps/unix/alpha/sysdep.S: Likewise.
5053         * sysdeps/unix/alpha/sysdep.h: Likewise.
5054         * sysdeps/unix/make-syscalls.sh: Likewise.
5055         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5056         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5057         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5058         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5059         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5060         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5061         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5062         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5063         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5064         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5065         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5067         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5068         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5069         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5070         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5071         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5072         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5073         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5074         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5075         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5076         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5077         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5078         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5079         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5080         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5081         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5084         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5085         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5086         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5087         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5088         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5089         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5091         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5093         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5094         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5095         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5096         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5097         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5098         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5099         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5102         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5105         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5106         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5107         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5108         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5110         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5111         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5113         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5114         * sysdeps/x86_64/memcpy.S: Likewise.
5115         * sysdeps/x86_64/memmove.c: Likewise.
5116         * sysdeps/x86_64/memset.S: Likewise.
5117         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5118         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5119         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5120         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5121         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5124         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5125         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5126         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5127         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5128         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5129         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5130         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5131         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5132         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5133         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5134         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5135         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5136         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5137         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5138         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5139         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5140         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5141         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5142         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5143         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5144         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5145         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5146         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5147         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5148         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5149         * sysdeps/x86_64/strcmp.S: Likewise.
5151         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5153         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5154         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5155         * elf/rtld-Rules: Likewise.
5156         * elf/setup-vdso.h: Likewise.
5157         * include/assert.h: Likewise.
5158         * include/bits/stdlib-float.h: Likewise.
5159         * include/errno.h: Likewise.
5160         * include/sys/stat.h: Likewise.
5161         * include/unistd.h: Likewise.
5162         * sysdeps/aarch64/setjmp.S: Likewise.
5163         * sysdeps/alpha/setjmp.S: Likewise.
5164         * sysdeps/arm/__longjmp.S: Likewise.
5165         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5166         * sysdeps/arm/setjmp.S: Likewise.
5167         * sysdeps/arm/sysdep.h: Likewise.
5168         * sysdeps/generic/_itoa.h: Likewise.
5169         * sysdeps/generic/dl-sysdep.h: Likewise.
5170         * sysdeps/generic/ldsodefs.h: Likewise.
5171         * sysdeps/i386/dl-tls.h: Likewise.
5172         * sysdeps/i386/setjmp.S: Likewise.
5173         * sysdeps/m68k/setjmp.c: Likewise.
5174         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5175         * sysdeps/mach/hurd/opendir.c: Likewise.
5176         * sysdeps/posix/getcwd.c: Likewise.
5177         * sysdeps/posix/opendir.c: Likewise.
5178         * sysdeps/posix/profil.c: Likewise.
5179         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5180         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5181         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5182         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5183         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5184         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5185         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5186         * sysdeps/s390/dl-tls.h: Likewise.
5187         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5188         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5189         * sysdeps/sh/sh3/setjmp.S: Likewise.
5190         * sysdeps/sh/sh4/setjmp.S: Likewise.
5191         * sysdeps/unix/alpha/sysdep.h: Likewise.
5192         * sysdeps/unix/arm/sysdep.S: Likewise.
5193         * sysdeps/unix/i386/sysdep.S: Likewise.
5194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5195         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5196         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5197         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5199         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5200         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5201         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5202         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5203         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5204         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5205         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5206         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5209         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5213         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5214         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5217         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5218         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5219         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5222         * sysdeps/x86_64/setjmp.S: Likewise.
5224         * include/math.h: Use IS_IN instead of IS_IN_libm.
5225         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5226         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5227         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5228         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5229         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5230         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5231         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5232         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5233         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5234         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5235         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5236         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5237         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5238         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5239         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5240         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5241         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5242         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5243         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5244         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5245         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5246         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5247         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5248         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5249         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5250         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5251         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5252         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5253         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5254         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5255         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5256         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5257         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5259         Likewise.
5260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5261         Likewise.
5262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5263         Likewise.
5264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5265         Likewise.
5266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5267         Likewise.
5268         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5269         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5270         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5271         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5272         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5273         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5279         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5280         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5281         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5282         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5283         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5284         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5285         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5286         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5287         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5288         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5289         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5290         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5291         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5292         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5294         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5296         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5297         * nptl/pthreadP.h: Likewise.
5298         * nptl_db/structs.def: Likewise.
5299         * sysdeps/arm/sysdep.h: Likewise.
5300         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5301         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5302         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5303         * sysdeps/unix/alpha/sysdep.h: Likewise.
5304         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5305         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5306         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5307         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5308         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5309         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5310         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5311         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5312         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5313         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5314         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5315         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5316         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5317         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5320         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5322         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5323         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5324         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5325         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5326         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5327         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5328         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5329         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5331         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5332         * nptl/pthreadP.h: Likewise.
5333         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5334         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5335         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5336         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5337         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5338         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5339         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5340         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5341         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5342         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5343         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5344         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5346         Likewise.
5347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5348         Likewise.
5349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5351         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5354         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5355         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5356         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5358         * dlfcn/dladdr.c: Use IS_IN.
5359         * dlfcn/dladdr1.c: Likewise.
5360         * dlfcn/dlclose.c: Likewise.
5361         * dlfcn/dlerror.c: Likewise.
5362         * dlfcn/dlinfo.c: Likewise.
5363         * dlfcn/dlmopen.c: Likewise.
5364         * dlfcn/dlopen.c: Likewise.
5365         * dlfcn/dlsym.c: Likewise.
5366         * dlfcn/dlvsym.c: Likewise.
5368         * include/ifaddrs.h: Use IS_IN.
5369         * inet/check_pf.c: Likewise.
5370         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5371         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5373         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5374         IS_IN_ldconfig.
5375         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5376         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5378         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5379         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5380         IS_IN (libc).
5382         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5384         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5385         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5386         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5387         * include/libc-symbols.h (IS_IN_LIB): New macro.
5388         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5389         * include/netdb.h: Likewise.
5390         * include/stap-probe.h: Remove all uses of IN_LIB.
5392         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5393         instead of IN_MODULE.
5394         * include/libc-symbols.h (IN_MODULE): Define using
5395         MODULE_NAME.
5396         (PASTE_NAME, PASTE_NAME1): New macros.
5397         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5398         of IN_LIB.
5399         (STAP_PROBE_ASM): Likewise.
5401 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5403         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5404         __mach_init in dlopened libc.
5406 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5408         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5409         * sysdeps/arm/preconfigure: Regenerate.
5411 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5413         * nptl/pthread_create.c (__pthread_create_2_1): Set
5414         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5415         when copying values from IATTR into PD.
5417 2014-11-21  Will Newton  <will.newton@linaro.org>
5418             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5420         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5421         Refactor inline-asm.  Also add comment.
5423         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5424         ElfW macro instead of hardcoded Elf64 types.
5425         (la_aarch64_gnu_pltenter): Likewise.
5426         * sysdeps/aarch64/dl-machine.h
5427         (elf_machine_runtime_setup): Use ElfW(Addr).
5429         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5430         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5431         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5432         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5433         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5434         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5435         (R_AARCH64_TLS_DTPMOD): This.
5436         (R_AARCH64_TLS_DTPREL64): Rename to ...
5437         (R_AARCH64_TLS_DTPREL): This.
5438         (R_AARCH64_TLS_TPREL64): Rename to ...
5439         (R_AARCH64_TLS_TPREL): This.
5440         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5441         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5442         R_AARCH64_TLS_TPREL64.
5443         (elf_machine_rela): Likewise.
5445 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5447         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5448         by setting it to 0.  64b atomics are not supported currently.
5450 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5452         [BZ #16469]
5453         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5454         search domain names.
5456 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5458         [BZ #16469]
5459         * NEWS: Update.
5460         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5461         trailing dot.
5462         * posix/tst-getaddrinfo5.c: New.
5463         * posix/Makefile (tests): Add it.
5465 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5467         [BZ #14498]
5468         * NEWS: Fixed.
5469         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5470         after parsing line but before break_if_match.
5471         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5472         if there is a protocol mismatch.
5474 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5476         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5477         because the potential race is on the user-supplied stream.
5479 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5481         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5482         string literal if not passed a buffer.
5483         * manual/job.texi (ctermid): Update reasoning, note deviation
5484         from posix, suggest mtasurace when not passed a buffer, for
5485         future non-preliminary safety notes.
5487 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5489         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5490         of not passing it a buffer.
5491         Reported by Peng Haitao.
5493 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5495         * manual/Makefile ($(objpfx)stamp-summary): Require
5496         check-safety.sh to pass.
5497         * manual/check-safety.sh: Wish for verification that every
5498         @deftypefn and @deftypefun is followed by a @safety remark.
5500 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5502         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5504         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5505         PTHREAD_CANCEL_ASYNCHRONOUS.
5506         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5507         send SIGCANCEL.
5509         * nptl/default-sched.h: New file.
5510         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5511         * nptl/pthread_create.c: Include it.
5512         (__pthread_create_2_1): Use collect_default_sched instead of making
5513         Linux syscalls here directly.
5515 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5517         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5518         __pthread_once): Use C11 atomics.
5520 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5522         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5524 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5526         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5527         atomic_thread_fence_acquire, atomic_thread_fence_release,
5528         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5529         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5530         atomic_compare_exchange_weak_relaxed,
5531         atomic_compare_exchange_weak_acquire,
5532         atomic_compare_exchange_weak_release,
5533         atomic_exchange_acquire, atomic_exchange_release,
5534         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5535         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5536         atomic_fetch_and_acquire,
5537         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5539 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5541         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5542         USE_ATOMIC_COMPILER_BUILTINS): Define.
5543         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5545         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5547         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5549         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5551         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5553         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5555         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5557         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5559         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5561         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5563         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5565         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5567         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5569         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5570         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5571         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5573         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5575         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5576         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5577         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5578         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5579         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5581         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5584 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5586         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5587         the sched_priority value here.  It was already checked when the user
5588         called pthread_attr_setschedparam.
5590         * nptl/tst-bad-schedattr.c: New file.
5591         * nptl/Makefile (tests): Add it.
5593 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5594             Florian Weimer  <fweimer@redhat.com>
5595             Joseph Myers  <joseph@codesourcery.com>
5596             Adam Conrad  <adconrad@0c3.net>
5597             Andreas Schwab  <schwab@suse.de>
5598             Brooks  <bmoses@google.com>
5600         [BZ #17625]
5601         * wordexp-test.c (__dso_handle): Add prototype.
5602         (__register_atfork): Likewise.
5603         (__app_register_atfork): New function.
5604         (registered_forks): New global.
5605         (register_fork): New function.
5606         (test_case): Add 3 new tests for WRDE_CMDSUB.
5607         (main): Call __app_register_atfork.
5608         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5609         fork count is non-zero fail the test.
5610         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5611         is set.
5612         (parse_dollars): Remove check for WRDE_NOCMD.
5613         (parse_dquote): Likewise.
5615 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5617         * Makeconfig (built-modules): List non-library modules to be
5618         built.
5619         (module-cppflags): Include libc-modules.h for
5620         everything except shlib-versions.v.i.
5621         (CPPFLAGS): Use it.
5622         (before-compile): Add libc-modules.h.
5623         ($(common-objpfx)libc-modules.h,
5624         $(common-objpfx)libc-modules.stmp): New targets.
5625         (common-generated): Add libc-modules.h and libc-modules.stmp.
5626         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5627         * include/libc-symbols.h: Don't include libc-modules.h.
5628         * include/libc-modules.h: Remove file.
5629         * scripts/gen-libc-modules.awk: New script to generate
5630         libc-modules.h.
5631         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5632         Depend on libc-modules.stmp.
5634         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5636         * Makeconfig (in-module): Get value of libof set for the
5637         translation unit.
5638         (CPPFLAGS): Use $(in-module).
5639         * Makerules: Don't suffix routine names for nonlib.
5640         * include/libc-modules.h: New file.
5641         * include/libc-symbols.h: Include libc-modules.h
5642         (IS_IN): New macro to replace IS_IN_* macros.
5643         * elf/Makefile: Set libof-* for each routine.
5644         * elf/rtld-Rules: Likewise.
5645         * extra-modules.mk: Likewise.
5646         * iconv/Makefile: Likewise.
5647         * iconvdata/Makefile: Likewise.
5648         * locale/Makefile: Likewise.
5649         * malloc/Makefile: Likewise.
5650         * nss/Makefile: Likewise.
5651         * sysdeps/gnu/Makefile: Likewise.
5652         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5653         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5654         * sysdeps/s390/s390-64/Makefile: Likewise.
5655         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5656         CPPFLAGS for nscd instead of nonlib.
5658 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5660         * nptl/createthread.c: New file.
5662         * nptl/createthread.c: Moved ...
5663         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5665         * nptl/createthread.c: Add proper top-line comment.
5666         (do_clone): Folded into ...
5667         (create_thread): ... here.  Take new arguments STOPPED_START and
5668         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5669         increment __nptl_threads, do event-reporting logic, do
5670         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5671         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5672         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5673         just send SIGCANCEL.
5674         * nptl/pthread_create.c: Forward-declare create_thread before
5675         including createthread.c.
5676         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5677         declaration, and new macro START_THREAD_SELF to replace argument.
5678         Remove return statement.
5679         (report_thread_creation): New function.
5680         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5681         synchronization logic, and __nptl_nthreads increment here, around
5682         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5683         PD->parent_cancelhandling here, before create_thread.  When
5684         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5685         __deallocate_stack, and ENOMEM translation here.
5687 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5689         [BZ #17616]
5690         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5691         (mptwo): Rename to __mptwo.
5692         (__inv): Use __mptwo instead of mptwo.
5693         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5694         (mptwo): Rename to __mptwo.
5695         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5696         of mpone and __mptwo instead of mptwo.
5697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5698         instead of mpone.
5699         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5700         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5701         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5702         of mpone and __mptwo instead of mptwo.
5703         (__mpranred): Use __mpone instead of mpone.
5704         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5705         variable.
5706         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5707         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5708         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5709         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5710         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5711         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5712         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5713         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5714         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5715         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5716         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5717         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5718         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5719         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5720         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5721         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5722         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5723         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5724         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5726 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5728         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5729         replace BSD Handler xref with BSD Signal Handling.
5731 2014-11-17  Richard Henderson  <rth@redhat.com>
5733         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5734         (_FP_PACK_RAW_2): Remove.
5735         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5736         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5737         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5738         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5739         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5740         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5741         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5742         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5743         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5744         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5745         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5746         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5747         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5748         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5749         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5750         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5752 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5754         * signal/signal.h [__USE_MISC]
5755         (struct sigvec): Remove type.
5756         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5757         (sigvec): Remove declaration.
5758         * sysdeps/posix/sigvec.c: Moved ...
5759         * signal/sigvec.c: ... here, replacing old file.
5760         (struct sigvec): New type, copied from old signal.h definition.
5761         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5762         (__sigvec): Convert definition to prototype.
5763         (sigvec): Replace weak_alias with compat_symbol.
5764         * signal/Versions (libc: GLIBC_2.21): New version set.
5765         * include/signal.h: Remove __sigvec declaration.
5766         * sysdeps/unix/bsd/sigvec.c: Remove file.
5767         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5768         * manual/signal.texi (BSD Handler): Remove subsection.
5769         Move siginterrupt up to ...
5770         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5771         (Blocking in BSD): Fold subsection into its parent.
5772         * NEWS: Mention sigvec removal.
5774 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5776         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5777         (DLA_FMS): Make definition conditional only on [__FMA4__].
5778         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5779         definition.
5781         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5782         Make definition conditional only on [PROF].
5783         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5784         definition.
5785         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5786         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5788         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5789         !__GNUC__].
5790         * include/signal.h (__sigpause): Move declaration above call to
5791         libc_hidden_proto.
5792         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5793         variable.
5794         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5795         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5797 2014-11-14  David S. Miller  <davem@davemloft.net>
5799         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5800         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5802 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5804         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5805         * configure: Regenerated.
5806         * manual/install.texi (Tools for Compilation): Document a
5807         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5808         compiler verified to work.
5809         * INSTALL: Regenerated.
5811         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5812         redeclare with asm name.
5813         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5814         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5815         including <string.h>.
5816         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5817         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5818         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5819         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5820         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5821         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5822         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5824 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5826         * stdlib/strtol.c (__strtol): Use prototype definition.
5828         [BZ #17594]
5829         * stdlib/strtol.c (SYM__): New macro.
5830         (SYM__1): Likewise.
5831         (__strtol): Likewise.
5832         (strtol): Rename to __strtol and define as weak alias of
5833         __strtol.  Use libc_hidden_weak.
5835 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5837         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5838         Use numbered labels in inline assembly.
5840 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5842         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5843         Add setjmp LIBC_PROBE.
5844         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5845         Likewise.
5846         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5847         Add longjmp, longjmp_target LIBC_PROBE.
5848         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5849         Likewise.
5851 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5853         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5854         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5855         to get rid of unused variable warning.
5857 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5859         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5860         Check for unwind_backtrace ==  NULL only in SHARED case.
5861         (__backchain_backtrace): Compile only in SHARED case.
5862         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5863         Likewise.
5864         (__backchain_backtrace): Declare as static.
5866 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5868         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5869         (__libc_multiple_threads_ptr): Variable moved ...
5870         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5872 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5874         * conform/GlibcConform.pm: New file.
5875         * conform/conformtest.pl: Use GlibcConform module.
5876         * conform/linknamespace.pl: New file.
5877         * conform/list-header-symbols.pl: Likewise.
5878         * conform/Makefile (linknamespace-symlists-base): New variable.
5879         (linknamespace-symlists-tests): Likewise.
5880         (linknamespace-header-base): Likewise.
5881         (linknamespace-header-tests): Likewise.
5882         (tests-special): Add new tests.
5883         ($(linknamespace-symlists-tests)): New rule.
5884         (linknamespace-libs): New variable.
5885         ($(objpfx)symlist-stdlibs): New rule.
5886         ($(linknamespace-header-tests)): Likewise.
5887         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5888         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5889         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5890         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5891         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5892         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5893         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5894         (test-xfail-ISO/math.h/linknamespace): Likewise.
5895         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5896         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5897         (test-xfail-ISO/time.h/linknamespace): Likewise.
5898         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5899         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5900         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5901         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5902         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5903         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5904         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5905         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5906         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5907         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5908         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5909         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5910         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5911         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5912         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5913         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5914         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5915         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5916         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5917         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5918         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5919         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5920         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5921         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5922         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5923         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5924         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5925         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5926         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5927         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5928         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5929         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5930         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5931         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5932         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5933         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5934         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5935         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5936         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5937         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5938         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5939         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5940         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5941         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5942         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5943         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5944         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5945         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5946         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5947         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5948         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5949         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5950         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5951         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5952         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5953         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5954         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5955         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5956         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5957         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5958         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5959         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5960         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5961         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5962         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5963         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5964         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5965         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5966         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5967         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5968         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5969         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5970         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5971         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5972         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5973         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5974         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5975         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5976         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5977         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5978         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5979         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5980         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5981         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5982         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5983         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5984         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5985         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5986         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5987         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5988         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5989         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5990         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5991         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5992         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5993         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5994         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5995         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5996         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5997         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5998         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5999         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6000         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6001         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6002         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6003         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6004         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6005         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6006         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6007         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6008         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6009         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6010         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6011         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6012         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6013         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6014         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6015         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6016         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6017         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6018         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6019         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6020         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6021         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6022         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6023         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6024         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6025         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6026         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6027         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6028         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6029         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6030         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6031         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6032         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6033         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6034         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6035         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6036         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6037         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6038         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6039         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6040         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6041         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6042         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6043         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6044         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6045         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6046         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6047         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6049         [BZ #17589]
6050         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6051         of fgets_unlocked.
6053         [BZ #17585]
6054         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6055         (memmem): Rename to __memmem and define as weak alias of
6056         __memmem.  Use libc_hidden_weak.
6057         (__memmem): Use libc_hidden_def.
6058         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
6059         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6060         memmem.
6062         [BZ #17582]
6063         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6064         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
6065         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6066         and define as weak alias of __fgets_unlocked.  Use
6067         libc_hidden_weak.
6068         (__fgets_unlocked): Use libc_hidden_def.
6069         * include/stdio.h (__fgets_unlocked): Declare.  Use
6070         libc_hidden_proto.
6071         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6072         __fgets_unlocked instead of fgets_unlocked.
6073         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6074         (GET_NPROCS_CONF_PARSER): Likewise.
6075         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6076         (GET_NPROCS_CONF_PARSER): Likewise.
6078         [BZ #17574]
6079         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6080         weak alias of __wmemset.  Use libc_hidden_weak.
6081         (__wmemset): Use libc_hidden_def.
6082         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
6083         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6084         of wmemset.
6086         [BZ #17573]
6087         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6088         with asm name __mempcpy.
6089         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6091         [BZ #17572]
6092         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6093         and define as weak alias of __rawmemchr.
6094         (__rawmemchr): Do not define as strong alias of rawmemchr.
6096         [BZ #17571]
6097         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6098         alias of __qsort_r.
6099         (qsort): Call __qsort_r instead of qsort_r.
6100         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6101         (__qsort_r): Declare.  Call libc_hidden_proto.
6102         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6103         instead of qsort_r.
6104         * nscd/gai.c (__qsort_r): Define to qsort_r.
6105         * posix/tst-rfc3484.c (__qsort_r): Likewise.
6106         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6107         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6109         [BZ #17570]
6110         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6111         define as weak alias of __malloc_info.
6113         [BZ #17584]
6114         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6115         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6116         (__rewinddir): Use libc_hidden_def.
6117         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6118         as weak alias of __rewinddir.  Don't use libc_hidden_def.
6119         (__rewinddir): Use libc_hidden_def.
6120         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6121         weak alias of __rewinddir.  Don't use libc_hidden_def.
6122         (__rewinddir): Use libc_hidden_def.
6123         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6124         (__rewinddir): Use libc_hidden_proto.
6125         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6126         rewinddir.
6127         (__getcwd): Use __rewinddir instead of rewinddir.
6129         [BZ #17583]
6130         * libio/fileno.c (fileno): Rename to __fileno and define as weak
6131         alias of __fileno.  Use libc_hidden_weak.
6132         (__fileno): Use libc_hidden_def.
6133         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6134         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6135         alias of __ftello.
6136         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6137         __ftello.
6138         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6139         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6140         libc_hidden_def.
6141         (fread_unlocked): Don't use libc_hidden_ver.
6142         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6143         and define as weak alias of __fread_unlocked.  Don't use
6144         libc_hidden_def.
6145         (__fread_unlocked): Use libc_hidden_def.
6146         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6147         (ftello): Don't use libc_hidden_proto.
6148         (__ftello): Declare.  Use libc_hidden_proto.
6149         (fread_unlocked): Don't use libc_hidden_proto.
6150         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6151         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6152         and __ftello instead of fileno, fread_unlocked and ftello.
6154 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6156         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6157         GOT12.
6158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6159         Likewise.
6160         (_dl_start_user): Likewise.
6161         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6163 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6164             Siddhesh Poyarekar  <siddhesh@redhat.com>
6166         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6167         Move argv and envp down instead of moving argc up.
6168         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6170 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6172         [BZ #17506]
6173         * test-skeleton.c (main): Return successful if one of
6174         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6175         * string/tst-strcoll-overflow.c: Define expected status.
6177 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6179         [BZ #17475]
6180         * locale/iso-639.def: Define Bhili and Tulu language codes.
6182 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6184         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6186 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6188         [BZ #17555]
6189         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6191 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6193         * configure.ac: Updated check of minimal required version to
6194         2.22.
6195         * manual/install.texi (Tools for Compilation): Updated version
6196         number.
6197         * configure: Regenerated.
6198         * INSTALL: Likewise.
6200 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6202         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6203         __tls_get_addr.
6205 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6207         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6208         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6209         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6210         libc_hidden_weak.
6211         (waitpid): Define as alias of __waitpid.
6212         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6213         __waitpid.
6214         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6215         libc_hidden_weak.
6216         (waitpid): Define as alias of __waitpid.
6217         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6218         __libc_waitpid alias.
6219         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6220         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6221         Likewise.
6222         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6224         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6225         alias.
6226         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6227         __waitpid.
6228         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6229         libc_hidden_weak.
6230         (waitpid): Define as alias of __waitpid.
6232 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6234         * manual/llio.texi: Add comment that write safety has been
6235         fixed in Linux.
6237         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6238         (localplt-build-dso): Add elf/ld.so.
6239         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6240         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6241         and free for ld.so.
6242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6243         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6245         Likewise.
6246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6247         Likewise.
6248         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6249         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6250         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6251         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6252         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6253         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6254         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6255         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6256         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6257         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6258         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6260 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6262         [BZ #14132]
6263         * include/libc-symbols.h (INTUSE): Remove macro.
6264         (INTDEF): Likewise.
6265         (INTVARDEF): Likewise.
6266         (_INTVARDEF): Likewise.
6267         (INTDEF2): Likewise.
6268         (INTVARDEF2): Likewise.
6269         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6270         rtld_hidden_def instead of INTVARDEF.
6271         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6272         (_dl_starting_up_internal): Remove declaration.
6273         (_dl_starting_up): Use rtld_hidden_proto.
6274         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6275         declaration.
6276         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6277         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6278         _dl_starting_up.
6279         * elf/dl-writev.h (_dl_writev): Likewise.
6280         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6281         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6282         _dl_starting_up_internal.
6284 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6286         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6287         test-skeleton.c.
6289 2014-11-05  Will Newton  <will.newton@linaro.org>
6291         * benchtests/Makefile: (bench-malloc): Add malloc thread
6292         scalability benchmark.
6293         * benchtests/bench-malloc-threads.c: New file.
6295 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6297         * sysdeps/aarch64/strchrnul.S: New file.
6299 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6301         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6302         definition.
6303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6304         Likwise.
6305         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6306         Likewise.
6307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6308         Likewise.
6309         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6310         Likewise.
6311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6312         Likewise.
6314 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6316         * catgets/test-gencat.c: Use test-skeleton.c.
6317         * catgets/tst-catgets.c: Likewise.
6318         * csu/tst-empty.c: Likewise.
6319         * elf/tst-audit2.c: Likewise.
6320         * elf/tst-global1.c: Likewise.
6321         * elf/tst-pathopt.c: Likewise.
6322         * elf/tst-piemod1.c: Likewise.
6323         * elf/tst-tls10.c: Likewise.
6324         * elf/tst-tls11.c: Likewise.
6325         * elf/tst-tls12.c: Likewise.
6326         * gnulib/tst-gcc.c: Likewise.
6327         * iconvdata/tst-e2big.c: Likewise.
6328         * iconvdata/tst-loading.c: Likewise.
6329         * iconv/tst-iconv1.c: Likewise.
6330         * iconv/tst-iconv2.c: Likewise.
6331         * inet/test-inet6_opt.c: Likewise.
6332         * inet/tst-gethnm.c: Likewise.
6333         * inet/tst-network.c: Likewise.
6334         * inet/tst-ntoa.c: Likewise.
6335         * intl/tst-codeset.c: Likewise.
6336         * intl/tst-gettext2.c: Likewise.
6337         * intl/tst-gettext3.c: Likewise.
6338         * intl/tst-ngettext.c: Likewise.
6339         * intl/tst-translit.c: Likewise.
6340         * io/test-stat.c: Likewise.
6341         * libio/test-fmemopen.c: Likewise.
6342         * libio/tst-freopen.c: Likewise.
6343         * libio/tst-sscanf.c: Likewise.
6344         * libio/tst-ungetwc1.c: Likewise.
6345         * libio/tst-ungetwc2.c: Likewise.
6346         * libio/tst-widetext.c: Likewise.
6347         * localedata/tst-ctype.c: Likewise.
6348         * localedata/tst-digits.c: Likewise.
6349         * localedata/tst-leaks.c: Likewise.
6350         * localedata/tst-mbswcs1.c: Likewise.
6351         * localedata/tst-mbswcs2.c: Likewise.
6352         * localedata/tst-mbswcs3.c: Likewise.
6353         * localedata/tst-mbswcs4.c: Likewise.
6354         * localedata/tst-mbswcs5.c: Likewise.
6355         * localedata/tst-setlocale.c: Likewise.
6356         * localedata/tst-trans.c: Likewise.
6357         * localedata/tst-wctype.c: Likewise.
6358         * localedata/tst-xlocale1.c: Likewise.
6359         * login/tst-grantpt.c: Likewise.
6360         * malloc/tst-calloc.c: Likewise.
6361         * malloc/tst-malloc.c: Likewise.
6362         * malloc/tst-mallocstate.c: Likewise.
6363         * malloc/tst-mcheck.c: Likewise.
6364         * malloc/tst-mtrace.c: Likewise.
6365         * malloc/tst-obstack.c: Likewise.
6366         * math/atest-exp2.c: Likewise.
6367         * math/atest-exp.c: Likewise.
6368         * math/atest-sincos.c: Likewise.
6369         * math/test-matherr.c: Likewise.
6370         * math/test-misc.c: Likewise.
6371         * math/test-powl.c: Likewise.
6372         * math/tst-definitions.c: Likewise.
6373         * misc/tst-dirname.c: Likewise.
6374         * misc/tst-efgcvt.c: Likewise.
6375         * misc/tst-fdset.c: Likewise.
6376         * misc/tst-hsearch.c: Likewise.
6377         * misc/tst-mntent2.c: Likewise.
6378         * nptl/tst-sem7.c: Likewise.
6379         * nptl/tst-sem8.c: Likewise.
6380         * nptl/tst-sem9.c: Likewise.
6381         * nss/test-netdb.c: Likewise.
6382         * posix/tst-fnmatch.c: Likewise.
6383         * posix/tst-getlogin.c: Likewise.
6384         * posix/tst-gnuglob.c: Likewise.
6385         * posix/tst-mmap.c: Likewise.
6386         * pwd/tst-getpw.c: Likewise.
6387         * resolv/tst-inet_ntop.c: Likewise.
6388         * rt/tst-timer.c: Likewise.
6389         * stdio-common/test-fseek.c: Likewise.
6390         * stdio-common/test-popen.c: Likewise.
6391         * stdio-common/test-vfprintf.c: Likewise.
6392         * stdio-common/tst-cookie.c: Likewise.
6393         * stdio-common/tst-fileno.c: Likewise.
6394         * stdio-common/tst-gets.c: Likewise.
6395         * stdio-common/tst-obprintf.c: Likewise.
6396         * stdio-common/tst-perror.c: Likewise.
6397         * stdio-common/tst-sprintf2.c: Likewise.
6398         * stdio-common/tst-sprintf3.c: Likewise.
6399         * stdio-common/tst-sprintf.c: Likewise.
6400         * stdio-common/tst-swprintf.c: Likewise.
6401         * stdio-common/tst-tmpnam.c: Likewise.
6402         * stdio-common/tst-unbputc.c: Likewise.
6403         * stdio-common/tst-wc-printf.c: Likewise.
6404         * stdlib/tst-environ.c: Likewise.
6405         * stdlib/tst-fmtmsg.c: Likewise.
6406         * stdlib/tst-limits.c: Likewise.
6407         * stdlib/tst-rand48-2.c: Likewise.
6408         * stdlib/tst-rand48.c: Likewise.
6409         * stdlib/tst-random2.c: Likewise.
6410         * stdlib/tst-random.c: Likewise.
6411         * stdlib/tst-strtol.c: Likewise.
6412         * stdlib/tst-strtoll.c: Likewise.
6413         * stdlib/tst-tls-atexit.c: Likewise.
6414         * stdlib/tst-xpg-basename.c: Likewise.
6415         * string/test-ffs.c: Likewise.
6416         * string/tst-bswap.c: Likewise.
6417         * string/tst-inlcall.c: Likewise.
6418         * string/tst-strtok.c: Likewise.
6419         * string/tst-strxfrm.c: Likewise.
6420         * sysdeps/x86_64/tst-audit10.c: Likewise.
6421         * sysdeps/x86_64/tst-audit3.c: Likewise.
6422         * sysdeps/x86_64/tst-audit4.c: Likewise.
6423         * sysdeps/x86_64/tst-audit5.c: Likewise.
6424         * time/tst-ftime_l.c: Likewise.
6425         * time/tst-getdate.c: Likewise.
6426         * time/tst-mktime3.c: Likewise.
6427         * time/tst-mktime.c: Likewise.
6428         * time/tst-posixtz.c: Likewise.
6429         * time/tst-strptime2.c: Likewise.
6430         * time/tst-strptime3.c: Likewise.
6431         * wcsmbs/tst-btowc.c: Likewise.
6432         * wcsmbs/tst-mbrtowc.c: Likewise.
6433         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6434         * wcsmbs/tst-wchar-h.c: Likewise.
6435         * wcsmbs/tst-wcpncpy.c: Likewise.
6436         * wcsmbs/tst-wcrtomb.c: Likewise.
6437         * wcsmbs/tst-wcsnlen.c: Likewise.
6438         * wcsmbs/tst-wcstof.c: Likewise.
6440 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6442         [BZ #14132]
6443         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6444         INTDEF.
6445         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6446         declaration.
6447         (_dl_mcount): Use rtld_hidden_proto.
6448         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6449         _dl_mcount.
6450         * elf/rtld.c (_rtld_global_ro): Likewise.
6452         [BZ #14132]
6453         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6454         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6455         of _dl_init_internal.
6456         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6457         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6458         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6459         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6460         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6461         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6462         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6463         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6464         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6465         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6466         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6467         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6468         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6469         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6470         * sysdeps/tile/dl-start.S (_start): Likewise.
6471         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6472         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6474         [BZ #14132]
6475         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6476         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6477         (rtld_progname): Make macro definition unconditional.
6478         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6479         INTDEF.
6480         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6481         (dl_main): Likewise.
6482         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6483         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6484         instead of _dl_argv_internal.
6485         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6486         __GI__dl_argv instead of INTUSE(_dl_argv).
6487         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6488         __GI__dl_argv instead of _dl_argv_internal.
6490         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6491         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6492         macro.
6493         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6494         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6495         New macro.
6496         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6497         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6498         macro.
6499         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6500         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6502 2014-11-04  Andreas Schwab  <schwab@suse.de>
6504         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6506 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6508         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6509         mtvsrd instruction in binary form.
6511 2014-11-03  Andreas Schwab  <schwab@suse.de>
6513         [BZ #17522]
6514         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6515         for less than MB_LEN_MAX use a local buffer of that size.
6516         * libio/tst-fputws.c: New file.
6517         * libio/Makefile (tests): Add tst-fputws.
6519 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6521         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6522         the size of the fpu_fr.fpu_dregs[] array.
6524 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6526         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6527         (__nanosleep): Do not define as alias.
6528         (nanosleep): Define as alias of __nanosleep.
6529         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6530         __libc_nanosleep name.
6532 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6534         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6535         install.texi in comment.
6537 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6539         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6540         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6541         ... add here and use lwsync or sync ...
6542         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6543         ... and add here using lwsync.
6545 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6547         * elf/dl-machine-reject-phdr.h: New file.
6548         * elf/dl-load.c: #include that.
6549         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6550         if that returned true.
6552 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6554         [BZ #17496]
6555         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6556         gen-as-const-headers chunk.  Add a big scare comment after the last
6557         safe place to touch before-compile.
6559 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6561         * manual/install.texi (Tools for Compilation): Update autoconf
6562         version requirements.
6563         * INSTALL: Regenerated.
6565         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6566         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6567         (__libc_pselect): Likewise.
6569         [BZ #14138]
6570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6575 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6577         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6578         correct barrier instruction.
6579         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6580         Likewise.
6581         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6582         Likewise.
6584 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6586         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6587         after defining inlines.  Instead, just use parens to defeat macro
6588         expansion of __isctype in its declaration.
6590 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6592         * include/sys/uio.h (__libc_readv): Remove declaration.
6593         (__libc_writev): Likewise.
6594         * misc/readv.c (__libc_readv): Rename to __readv.
6595         (__readv): Do not define as alias.
6596         (readv): Define as alias of __readv.
6597         * misc/writev.c (__libc_writev): Rename to __writev.
6598         (__writev): Do not define as alias.
6599         (writev): Define as alias of __writev.
6600         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6601         (__readv): Do not define as alias.
6602         (readv): Define unconditionally as alias of __readv.
6603         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6604         (__writev): Do not define as alias.
6605         (writev): Define unconditionally as alias of __writev.
6606         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6607         name.
6608         (writev): Do not define __libc_writev name.
6610 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6612         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6613         (convert_charseq): New function, broken out of ...
6614         (use_from_charmap): ... here.  Call it.
6615         (use_to_charmap): Use convert_charseq and free instead of duplicating
6616         its code with a variable-length stack struct.
6618 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6620         * include/fcntl.h (__libc_creat): Remove declaration.
6621         * io/creat.c (__libc_creat): Rename to creat.
6622         (creat): Do not define as alias.
6623         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6624         of creat instead of __libc_creat.
6625         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6626         to creat.
6627         (creat): Do not define as alias.
6628         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6629         __libc_creat.
6630         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6631         __libc_creat name.
6632         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6633         Likewise.
6635 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6637         * manual/llio.texi: Add comments discussing why write() may be
6638         considered MT-unsafe on Linux.
6640 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6642         * dl-load.c (local_strdup): Remove.
6643         (expand_dynamic_string_token): Use __strdup.
6644         (decompose_rpath): Likewise.
6645         (_dl_map_object): Likewise.
6647 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6649         [BZ #14132]
6650         * sysdeps/generic/unwind-dw2-fde.c
6651         (__register_frame_info_bases_internal): Do not declare.
6652         (__register_frame_info_table_bases_internal): Likewise.
6653         (__deregister_frame_info_bases_internal): Likewise.
6654         (__register_frame_info_bases): Declare and use hidden_proto before
6655         definition.  Use hidden_def instead of INTDEF.
6656         (__register_frame_info_table_bases): Likewise.
6657         (__deregister_frame_info_bases): Likewise.
6658         (__register_frame_info): Do not use INTUSE.
6659         (__register_frame): Likewise.
6660         (__register_frame_info_table): Likewise.
6661         (__register_frame_table): Likewise.
6662         (__deregister_frame_info): Likewise.
6663         (__deregister_frame): Likewise.
6665 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6667         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6668         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6669         not undefine.
6670         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6671         Likewise.
6672         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6673         Likewise.
6675 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6677         [BZ #14138]
6678         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6679         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6680         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6681         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6682         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6683         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6684         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6685         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6686         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6687         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6688         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6689         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6690         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6691         syscall.
6692         (setfsuid): Likewise.
6693         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6694         (setfsuid): Likewise.
6695         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6696         (setfsuid): Likewise.
6697         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6698         Likewise.
6699         (setfsuid): Likewise.
6700         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6701         (setfsuid): Likewise.
6702         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6703         Likewise.
6704         (setfsuid): Likewise.
6706 2014-10-27  Andreas Schwab  <schwab@suse.de>
6708         [BZ #17501]
6709         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6710         check for Slow_SSE4_2 feature bit.
6711         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6712         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6713         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6714         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6716 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6718         * configure.ac: Validate compiler version with a empirical test of
6719         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6720         $CC -v output.
6721         * configure: Regenerated.
6723         * inet/htons.c (htons): Prototypify.
6724         * inet/htonl.c (htonl): Likewise.
6726 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6728         * string/strncat.c (strncat): Improve performance by using strlen.
6730 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6732         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6734 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6736         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6737         Call libc_fetestexcept_aarch64.
6739 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6741         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6742         Call libc_feholdexcept_aarch64.
6744 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6746         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6747         Call get_rounding_mode.
6749 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6751         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6752         Simplify logic.
6754 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6756         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6757         Simplify logic.
6759 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6761         [BZ #14138]
6762         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6763         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6764         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6765         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6766         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6767         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6768         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6769         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6770         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6771         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6772         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6773         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6774         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6775         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6776         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6777         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6778         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6779         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6780         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6781         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6782         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6783         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6784         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6785         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6786         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6787         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6788         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6789         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6790         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6791         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6792         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6793         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6794         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6795         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6796         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6797         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6798         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6799         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6800         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6801         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6802         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6803         syscall.
6804         (geteuid): Likewise.
6805         (getgid): Likewise.
6806         (getuid): Likewise.
6807         (getresgid): Likewise.
6808         (getresuid): Likewise.
6809         (getgroups): Likewise.
6810         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6811         (geteuid): Likewise.
6812         (getgid): Likewise.
6813         (getuid): Likewise.
6814         (getresgid): Likewise.
6815         (getresuid): Likewise.
6816         (getgroups): Likewise.
6817         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6818         (geteuid): Likewise.
6819         (getgid): Likewise.
6820         (getuid): Likewise.
6821         (getresgid): Likewise.
6822         (getresuid): Likewise.
6823         (getgroups): Likewise.
6824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6825         Likewise.
6826         (geteuid): Likewise.
6827         (getgid): Likewise.
6828         (getuid): Likewise.
6829         (getresgid): Likewise.
6830         (getresuid): Likewise.
6831         (getgroups): Likewise.
6832         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6833         (geteuid): Likewise.
6834         (getgid): Likewise.
6835         (getuid): Likewise.
6836         (getresgid): Likewise.
6837         (getresuid): Likewise.
6838         (getgroups): Likewise.
6839         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6840         Likewise.
6841         (geteuid): Likewise.
6842         (getgid): Likewise.
6843         (getuid): Likewise.
6844         (getgroups): Likewise.
6846         [BZ #14138]
6847         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6848         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6849         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6850         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6851         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6852         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6853         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6854         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6855         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6856         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6857         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6858         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6859         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6860         __chown.
6861         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6862         (lchown): Likewise.
6863         (fchown): Likewise.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6865         Likewise.
6866         (lchown): Likewise.
6867         (fchown): Likewise.
6868         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6869         (lchown): Likewise.
6870         (fchown): Likewise.
6871         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6872         Likewise.
6873         (lchown): Likewise.
6874         (fchown): Likewise.
6876 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6878         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6879         Simplify logic.
6881 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6883         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6884         Cleanup logic.
6886 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6888         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6889         Remove unused include.
6891 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6893         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6894         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6895         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6896         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6898 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6899             Helge Deller <deller@gmx.de>
6901         [BZ #17508]
6902         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6903         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6904         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6906 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6908         [BZ #14132]
6909         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6910         Remove macro definition.
6911         (__ashrdi3_v_glibc20): Likewise.
6912         (__lshrdi3_v_glibc20): Likewise.
6913         (__cmpdi2_v_glibc20): Likewise.
6914         (__ucmpdi2_v_glibc20): Likewise.
6915         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6916         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6917         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6918         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6919         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6920         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6922 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6924         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6925         old GNU extension [0] syntax.
6926         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6927         alloca rather than an array member with variable length.
6928         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6929         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6930         (parse_opt): ... here.  Likewise use alloca there.
6931         Validate the -i argument before checking for rootness.
6932         (send_shutdown): New function, broken out of ...
6933         (parse_opt): ... here.
6935 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6937         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6938         macro to get at the _rt_local_ro field.
6939         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6940         ([PIC] case) or _dl_hwcap ([!PIC] case).
6941         * sysdeps/arm/setjmp.S: Likewise.
6943         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6944         * sysdeps/arm/configure.ac: New check to define it.
6945         * sysdeps/arm/configure: Regenerated.
6946         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6947         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6948         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6949         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6950         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6951         Use move/movt pair instead of a load.
6952         (LDST_GLOBAL): Macro removed.
6953         (LDR_GLOBAL): New macro replaces it.
6954         (LDR_HIDDEN): New macro.
6955         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6956         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6958         * setjmp/tst-setjmp-static.c: New file.
6959         * setjmp/Makefile (tests): Add it.
6960         (tests-static): New variable.
6962 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6964         [BZ #17485]
6965         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6967 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6969         [BZ #14132]
6970         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6972 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6974         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6976 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6978         * io/fts.c (dirent_not_directory): New function.
6979         (fts_build): Call it.
6981 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6983         * nptl/version.c (__nptl_main): Use normal __write rather than
6984         INTERNAL_SYSCALL.
6985         (banner): Update copyright years.
6987         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6988         gettimeofday.
6989         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6990         * nptl/pthread_cond_timedwait.c: Likewise.
6991         * nptl/pthread_mutex_timedlock.c: Likewise.
6992         * nptl/sem_timedwait.c: Likewise.
6994         * sysdeps/nptl/bits/libc-lock.h
6995         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6996         (__libc_lock_init_recursive): Return void, not 0.
6997         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6998         (__libc_rwlock_init): Likewise.
6999         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7001 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7003         [BZ #15215]
7004         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7005         (__pthread_once_slow): ... here.
7006         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7007         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7009 2014-10-20  Torvald Riegel  <triegel@redhat.com>
7011         [BZ #15215]
7012         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7013         __PTHREAD_ONCE_FORK_GEN_INCR): New.
7014         * sysdeps/nptl/fork.c (__libc_fork): Use them.
7015         * nptl/pthread_once.c (__pthread_once): Likewise.
7016         Update comments.
7018 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
7020         [BZ #14138]
7021         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7022         name.
7023         (writev): Use __libc_writev as strong name.
7024         * sysdeps/unix/sysv/linux/readv.c: Remove file.
7025         * sysdeps/unix/sysv/linux/writev.c: Likewise.
7027 2014-10-17  Roland McGrath  <roland@hack.frob.com>
7029         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7031         * sysdeps/i386/nptl/tls.h
7032         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7033         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7034         New macros.
7035         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7036         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7037         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7038         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7039         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7040         Call CHECK_THREAD_SYSINFO instead of doing an assert.
7042         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7043         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7044         on [__NR_futex].
7045         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7046         broken out of ...
7047         (__pthread_mutex_init): ... here.  Call it.
7048         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7049         Conditionalize PI cases on [__NR_futex].
7050         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7051         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7052         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7054         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7055         conditional on [SIGSETXID].
7056         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7057         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7058         is defined.  Likewise for SIGSETXID.
7059         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7060         Conditionalize definitions on [SIGSETXID].
7061         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7062         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7063         unblocking on [SIGCANCEL].
7065         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7066         [__NR_set_robust_list].
7068 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7070         * string/strcoll_l.c (get_next_seq): Fix up formatting.
7071         (do_compare): Likewise.
7073 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
7075         [BZ #15884]
7076         * string/strcoll_l.c: Don't include stdio.h.
7077         (coll_seq): Remove members idxarr and rulearr.
7078         (get_next_seq_cached): Remove function.
7079         (get_next_seq): Likewise.
7080         (get_next_seq_nocache): Rename to get_next_seq.
7081         (do_compare): Remove function.
7082         (do_compare_nocache): Rename to do_compare.
7083         (STRCOLL): Remove weight and rules cache.
7085 2014-10-16  Roland McGrath  <roland@hack.frob.com>
7087         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7088         * sysdeps/arm/sfp-machine.h: ... to here.
7089         * sysdeps/arm/Implies: Remove arm/soft-fp.
7091 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
7093         * conform/data/sys/utsname.h-data (*_t): Allow.
7094         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7095         [POSIX] (WEXITED): Do not expect constant.
7096         [POSIX] (WSTOPPED): Likewise.
7097         [POSIX] (WNOHANG): Likewise.
7098         [POSIX] (WNOWAIT): Likewise.
7099         [POSIX] (siginfo_t): Do not expect type or elements.
7100         [POSIX] (pid_t): Do not expect type.
7101         [POSIX] (signal.h): Do not allow header.
7102         [POSIX] (sys/resource.h): Likewise.
7103         [POSIX] (si_*): Do not allow pattern.
7104         [POSIX] (W*): Likewise.
7105         [POSIX] (P_*): Likewise.
7106         [POSIX] (BUS_*): Likewise.
7107         [POSIX] (CLD_*): Likewise.
7108         [POSIX] (FPE_*): Likewise.
7109         [POSIX] (ILL_*): Likewise.
7110         [POSIX] (POLL_*): Likewise.
7111         [POSIX] (SEGV_*): Likewise.
7112         [POSIX] (SI_*): Likewise.
7113         [POSIX] (TRAP_*): Likewise.
7114         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7115         variable.
7117 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
7119         [BZ #12926]
7120         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7121         infinite loop when __recvmsg returns 0.
7123 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
7125         * CANCEL-FCT-WAIVE: Remove file.
7126         * CANCEL-FILE-WAIVE: Likewise.
7128         [BZ #14132]
7129         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7130         instead of INTVARDEF.
7131         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7132         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7133         rtld_hidden_data_def instead of INTVARDEF.
7134         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7135         * elf/dl-deps.c (expand_dst): Likewise.
7136         * elf/dl-load.c (_dl_dst_count): Likewise.
7137         (_dl_dst_substitute): Likewise.
7138         (decompose_rpath): Likewise.
7139         (_dl_init_paths): Likewise.
7140         (open_path): Likewise.
7141         (_dl_map_object): Likewise.
7142         * elf/rtld.c (dl_main): Likewise.
7143         (process_dl_audit): Likewise.
7144         (process_envvars): Likewise.
7145         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7146         Remove declaration.
7147         (__libc_enable_secure): Use rtld_hidden_proto.
7149 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7151         * elf/dl-load.c
7152         (add_path): New function broken out of _dl_rtld_di_serinfo.
7153         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7155 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7157         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7158         parentheses around macro arguments.
7159         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7162         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7163         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7164         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7165         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7167         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7168         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7169         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7170         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7171         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7172         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7173         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7174         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7175         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7177         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7180         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7181         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7182         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7183         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7184         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7185         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7186         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7187         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7188         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7189         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7190         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7191         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7192         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7193         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7194         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7195         Likewise.
7196         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7197         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7198         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7199         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7200         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7201         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7202         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7203         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7204         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7205         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7206         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7207         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7208         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7209         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7210         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7211         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7212         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7213         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7214         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7215         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7216         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7217         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7218         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7219         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7220         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7221         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7222         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7223         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7224         (_FP_FRAC_SRS_1): Likewise.
7225         (_FP_FRAC_CLZ_1): Likewise.
7226         (_FP_MUL_MEAT_1_imm): Likewise.
7227         (_FP_MUL_MEAT_1_wide): Likewise.
7228         (_FP_MUL_MEAT_1_hard): Likewise.
7229         (_FP_SQRT_MEAT_1): Likewise.
7230         (_FP_FRAC_ASSEMBLE_1): Likewise.
7231         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7232         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7233         (__FP_CLZ_2): Likewise.
7234         (_FP_MUL_MEAT_2_wide): Likewise.
7235         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7236         (_FP_MUL_MEAT_2_gmp): Likewise.
7237         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7238         (_FP_SQRT_MEAT_2): Likewise.
7239         (_FP_FRAC_ASSEMBLE_2): Likewise.
7240         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7241         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7242         (_FP_FRAC_CLZ_4): Likewise.
7243         (_FP_MUL_MEAT_4_wide): Likewise.
7244         (_FP_MUL_MEAT_4_gmp): Likewise.
7245         (_FP_SQRT_MEAT_4): Likewise.
7246         (_FP_FRAC_ASSEMBLE_4): Likewise.
7247         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7248         * soft-fp/op-common.h (_FP_CMP): Likewise.
7249         (_FP_CMP_EQ): Likewise.
7250         (_FP_CMP_UNORD): Likewise.
7251         (_FP_TO_INT): Likewise.
7252         (_FP_FROM_INT): Likewise.
7253         [!__FP_CLZ] (__FP_CLZ): Likewise.
7254         (_FP_DIV_HELP_imm): Likewise.
7255         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7256         Likewise.
7257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7260         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7261         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7262         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7263         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7264         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7265         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7266         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7267         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7268         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7269         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7270         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7271         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7272         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7273         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7274         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7275         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7278         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7279         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7280         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7281         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7282         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7283         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7284         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7285         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7286         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7287         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7288         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7289         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7290         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7291         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7292         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7293         (FP_UNPACK_RAW_SP): Likewise.
7294         (FP_PACK_RAW_S): Likewise.
7295         (FP_PACK_RAW_SP): Likewise.
7296         (FP_UNPACK_S): Likewise.
7297         (FP_UNPACK_SP): Likewise.
7298         (FP_UNPACK_SEMIRAW_S): Likewise.
7299         (FP_UNPACK_SEMIRAW_SP): Likewise.
7300         (FP_PACK_S): Likewise.
7301         (FP_PACK_SP): Likewise.
7302         (FP_PACK_SEMIRAW_S): Likewise.
7303         (FP_PACK_SEMIRAW_SP): Likewise.
7304         (_FP_SQRT_MEAT_S): Likewise.
7305         (FP_CMP_S): Likewise.
7306         (FP_CMP_EQ_S): Likewise.
7307         (FP_CMP_UNORD_S): Likewise.
7308         (FP_TO_INT_S): Likewise.
7309         (FP_FROM_INT_S): Likewise.
7311         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7313         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7314         (FP_EX_INVALID_IMZ): Likewise.
7315         (FP_EX_INVALID_IMZ_FMA): Likewise.
7316         (FP_EX_INVALID_ISI): Likewise.
7317         (FP_EX_INVALID_ZDZ): Likewise.
7318         (FP_EX_INVALID_IDI): Likewise.
7319         (FP_EX_INVALID_SQRT): Likewise.
7320         (FP_EX_INVALID_CVI): Likewise.
7321         (FP_EX_INVALID_VC): Likewise.
7322         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7323         "invalid" exceptions.
7324         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7325         (_FP_ADD_INTERNAL): Likewise.
7326         (_FP_MUL): Likewise.
7327         (_FP_FMA): Likewise.
7328         (_FP_DIV): Likewise.
7329         (_FP_CMP_CHECK_NAN): Likewise.
7330         (_FP_SQRT): Likewise.
7331         (_FP_TO_INT): Likewise.
7332         (FP_EXTEND): Likewise.
7334 2014-10-09  Allan McRae  <allan@archlinux.org>
7336         * po/fr.po: Update French translation from translation project.
7338 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7340         [BZ #14132]
7341         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7342         of INTDEF.
7343         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7344         (__cxa_atexit): Use libc_hidden_proto.
7345         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7347         [BZ #14132]
7348         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7349         declaration.
7350         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7351         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7352         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7353         [!_ISOMAC] (__iswctype_internal): Likewise.
7354         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7355         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7356         alias.
7357         (fcntl): Remove __fcntl_internal alias.
7358         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7359         __connect_internal alias.
7360         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7361         Likewise.
7363         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7364         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7365         FP_DENORM_ZERO.
7366         (_FP_CHECK_FLUSH_ZERO): New macro.
7367         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7368         (_FP_CMP): Likewise.
7369         (_FP_CMP_EQ): Likewise.
7370         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7371         FP_DENORM_ZERO.
7372         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7373         (FP_TRUNC): Likewise.
7375         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7376         treated as invalid conversion, not as normal exponent.
7378         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7379         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7380         (_FP_CMP_EQ): Likewise.
7381         (_FP_CMP_UNORD): Likewise.
7382         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7383         (FP_CMP_EQ_D): Likewise.
7384         (FP_CMP_UNORD_D): Likewise.
7385         * soft-fp/extended.h (FP_CMP_E): Likewise.
7386         (FP_CMP_EQ_E): Likewise.
7387         (FP_CMP_UNORD_E): Likewise.
7388         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7389         (FP_CMP_EQ_Q): Likewise.
7390         (FP_CMP_UNORD_Q): Likewise.
7391         * soft-fp/single.h (FP_CMP_S): Likewise.
7392         (FP_CMP_EQ_S): Likewise.
7393         (FP_CMP_UNORD_S): Likewise.
7394         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7395         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7396         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7397         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7398         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7399         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7400         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7401         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7402         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7403         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7404         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7405         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7406         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7407         to FP_CMP_Q.
7408         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7409         FP_CMP_Q.
7410         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7411         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7412         FP_CMP_EQ_Q.
7413         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7414         FP_CMP_Q.
7415         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7416         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7417         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7418         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7419         FP_CMP_EQ_Q.
7420         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7421         FP_CMP_Q.
7422         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7423         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7424         FP_CMP_EQ_Q.
7425         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7426         FP_CMP_Q.
7427         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7428         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7429         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7430         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7431         FP_CMP_EQ_Q.
7433         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7434         a subnormal result, set the underflow exception if trapping on
7435         underflow is enabled.
7436         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7437         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7438         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7439         redefine to 0.
7440         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7441         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7442         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7443         * soft-fp/extendxftf2.c (__extendxftf2): Use
7444         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7446         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7447         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7448         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7449         FP_HANDLE_EXCEPTIONS.
7450         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7451         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7452         FP_HANDLE_EXCEPTIONS.
7453         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7454         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7455         FP_HANDLE_EXCEPTIONS.
7456         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7457         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7458         FP_HANDLE_EXCEPTIONS.
7460 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7462         [BZ #14132]
7463         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7464         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7465         use INTUSE.
7466         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7467         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7468         Remove alias.
7469         (__adjtimex): Define using libc_hidden_ver.
7470         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7471         Remove declaration.
7472         (ntp_gettime): Call __adjtimex directly.
7473         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7474         Remove declaration.
7475         (ntp_gettimex): Call __adjtimex directly.
7476         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7477         __adjtimex_internal alias.
7479 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7481         [BZ #17460]
7482         * nscd/nscd.c (more_help): Rewrite list of tables collection
7483         using xstrdup and asprintf.
7485         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7487 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7488             Roland McGrath  <roland@hack.frob.com>
7490         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7491         (do_lookup_unique): ... local function 'enter' here; update callers.
7493 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7495         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7496         compat_symbol calls on [SHARED].
7497         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7498         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7499         Remove.
7500         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7501         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7502         (oldsetrlimit): Remove.
7503         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7505         (lchown): New syscall entry.
7506         (oldsetrlimit): Remove.
7507         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7508         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7509         (oldsetrlimit): Remove.
7510         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7512         [BZ #14138]
7513         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7514         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7515         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7516         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7517         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7518         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7519         (fchown): Likewise.
7520         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7521         (fchown): Likewise.
7522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7523         Likewise.
7525 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7527         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7528         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7529         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7530         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7531         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7532         Likewise.
7533         (__old_sem_post): Likewise.
7535 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7537         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7538         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7539         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7540         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7541         Use INLINE_VSYSCALL macro.
7542         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7543         __vdso_clock_gettime.
7544         * sysdeps/unix/sysv/linux/tile/init-first.c
7545         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7546         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7547         __vdso_clock_gettime.
7549         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7550         to set up frame more cleanly.
7552         * sysdeps/tile/memcmp.c: New file.
7554         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7556         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7557         * sysdeps/tile/tilegx/strcasestr.c: New file.
7558         * sysdeps/tile/tilegx/strnlen.c: New file.
7559         * sysdeps/tile/tilegx/strstr.c: New file.
7561         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7563 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7565         * nptl/tst-setuid3.c: Write errors to stdout.
7567 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7569         * elf/dl-deps.c
7570         (preload): New functions broken out of _dl_map_object_deps.
7571         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7573 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7575         [BZ #14138]
7576         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7577         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7579 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7581         * sysdeps/mips/strcmp.S: New.
7583 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7585         [BZ #14138]
7586         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7587         (linkat): Likewise.
7588         (mkdirat): Likewise.
7589         (readlinkat): Likewise.
7590         (renameat): Likewise.
7591         (symlinkat): Likewise.
7592         (unlinkat): Likewise.
7593         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7594         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7595         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7596         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7597         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7598         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7599         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7601 2014-09-30  Will Newton  <will.newton@linaro.org>
7603         * math/math.h: Define long double math functions if
7604         _LIBC_TEST is defined.
7605         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7607         * localedata/Makefile: Move assignment to tests-special
7608         into an ifdef testing run-built-tests.
7609         * timezone/Makefile: Likewise.
7611 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7613         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7614         with $(BASH) not $(SHELL).
7616 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7617             Matthew LeGendre  <legendre1@llnl.gov>
7619         [BZ #17411]
7620         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7621         l_reloc_result.
7623 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7625         * stdio-common/printf_fp.c
7626         (hack_digit): New function, broken out of ...
7627         (__printf_fp): ... local function here.  Update call sites.
7628         hack_digit now takes an additional parameter that is a pointer
7629         to a struct of the referenced locals.  Those locals moved inside
7630         the struct and references updated.
7632 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7634         * aclocal.m4: Require autoconf 2.69.
7635         * configure: Regenerated.
7636         * sysdeps/aarch64/configure: Likewise.
7637         * sysdeps/alpha/configure: Likewise.
7638         * sysdeps/arm/armv7/configure: Likewise.
7639         * sysdeps/arm/configure: Likewise.
7640         * sysdeps/ia64/configure: Likewise.
7641         * sysdeps/mach/configure: Likewise.
7642         * sysdeps/mips/configure: Likewise.
7643         * sysdeps/s390/configure: Likewise.
7644         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7647         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7648         file.
7649         * sysdeps/ia64/configure.ac: Likewise.
7651 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7654         specify symbol version for ld.so.  Do not include entry for
7655         libpthread.
7656         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7657         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7658         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7660         [BZ #14171]
7661         * Makeconfig [$(build-shared) = yes]
7662         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7663         makefiles.
7664         [$(build-shared) = yes && $(soversions.mk-done) = t]
7665         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7666         [$(build-shared) = yes && $(soversions.mk-done) = t]
7667         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7668         to Makerules.
7669         [$(build-shared) = yes && $(soversions.mk-done) = t]
7670         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7671         here.
7672         [$(build-shared) = yes && $(soversions.mk-done) = t]
7673         (common-generated): Don't append gnu/lib-names.h and
7674         gnu/lib-names.stmp here.
7675         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7676         (lib-names-h-abi): New variable.
7677         [$(build-shared) = yes && $(soversions.mk-done) = t]
7678         (lib-names-stmp-abi): Likewise.
7679         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7680         abi-variants] (before-compile): Append
7681         $(common-objpfx)$(lib-names-h-abi).
7682         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7683         abi-variants] (common-generated): Append gnu/lib-names.h.
7684         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7685         abi-variants] (install-others-nosubdir): Depend on
7686         $(inst_includedir)/$(lib-names-h-abi).
7687         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7688         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7689         [$(build-shared) = yes && $(soversions.mk-done) = t]
7690         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7691         [$(build-shared) = yes && $(soversions.mk-done) = t]
7692         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7693         [$(build-shared) = yes && $(soversions.mk-done) = t]
7694         (common-generated): Append $(lib-names-h-abi) and
7695         $(lib-names-stmp-abi).
7696         * scripts/lib-names.awk: Do not handle multi being set.
7697         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7698         Remove variable.
7699         (abi-lp64_be-ld-soname): Likewise.
7700         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7701         Likewise.
7702         (abi-hard-ld-soname): Likewise.
7703         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7704         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7705         Remove variable.
7706         (abi-o32_hard-ld-soname): Likewise.
7707         (abi-o32_soft_2008-ld-soname): Likewise.
7708         (abi-o32_hard_2008-ld-soname): Likewise.
7709         (abi-n32_soft-ld-soname): Likewise.
7710         (abi-n32_hard-ld-soname): Likewise.
7711         (abi-n32_soft_2008-ld-soname): Likewise.
7712         (abi-n32_hard_2008-ld-soname): Likewise.
7713         (abi-n64_soft-ld-soname): Likewise.
7714         (abi-n64_hard-ld-soname): Likewise.
7715         (abi-n64_soft_2008-ld-soname): Likewise.
7716         (abi-n64_hard_2008-ld-soname): Likewise.
7717         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7718         Likewise.
7719         (abi-64-v2-ld-soname): Likewise.
7720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7721         ld.so entries.
7722         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7723         variable.
7724         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7725         entry.
7726         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7727         variable.
7728         (abi-64-ld-soname): Likewise.
7729         (abi-x32-ld-soname): Likewise.
7730         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7731         entry.
7732         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7734 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #14138]
7737         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7738         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7739         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7740         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7741         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7742         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7743         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7744         syscall entry for GLIBC_2.2 symbol version.
7745         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7746         Likewise.
7747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7748         (setrlimit): Likewise.
7749         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7750         Likewise.
7752 2014-09-23  Will Newton  <will.newton@linaro.org>
7754         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7755         _LINUX_ARM_SYSDEP_H include guard too.
7756         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7757         define.
7759 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7761         * sysdeps/unix/sysv/linux/eventfd.c:
7762         Make first argument unsigned.
7763         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7764         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7766 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7768         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7769         * socket/sys/socket.h: Likewise
7770         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7772 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7774         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7776 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7778         * time/tst-ftime.c: New test.
7779         * time/Makefile (tests): Add tst-ftime.
7781 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7783         * soft-fp/extended.h: Fix comment formatting.
7784         * soft-fp/op-1.h: Likewise.
7785         * soft-fp/op-2.h: Likewise.
7786         * soft-fp/op-4.h: Likewise.
7787         * soft-fp/op-8.h: Likewise.
7788         * soft-fp/op-common.h: Likewise.
7789         * soft-fp/soft-fp.h: Likewise.
7791         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7793 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7795         [BZ #6652]
7796         * Makeconfig (soversions-default-setname): Remove variable.
7797         ($(common-objpfx)soversions.i): Don't pass default_setname to
7798         soversions.awk.
7799         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7800         oldest_abi to abi-versions.awk.
7801         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7802         * config.make.in (oldest-abi): Remove variable.
7803         * configure.ac (--enable-oldest-abi): Remove configure option.
7804         * configure: Regenerated.
7805         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7806         text.
7807         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7808         * scripts/soversions.awk: Do not handle default_setname variable.
7809         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7810         variable.
7811         * sysdeps/mach/hurd/configure: Regenerated.
7812         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7813         variable.
7814         * sysdeps/unix/sysv/linux/configure: Regenerated.
7816 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7818         * elf/Makefile (CFLAGS-interp.c): Remove.
7819         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7820         path string.
7821         * elf/interp.c: Include generated runtime-linker.h
7823         * Makerules (lib%.so): Don't include $(+interp) in
7824         prerequisites.
7825         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7826         * dlfcn/eval.c: Remove file.
7828         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7829         macros.
7831         [BZ #17266]
7832         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7833         4.2 and newer.
7835         [BZ #17370]
7836         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7838 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7839             Jakub Jelinek  <jakub@redhat.com>
7841         [BZ #17266]
7842         * libio/stdio.h: Check definition of __fortify_function
7843         instead of __extern_always_inline to include bits/stdio2.h.
7844         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7845         check if __extern_always_inline is defined.
7846         [__USE_MISC || __USE_XOPEN]: Likewise.
7847         [__USE_ISOC99] Likewise.
7848         * misc/sys/cdefs.h (__fortify_function): Define only if
7849         __extern_always_inline is defined.
7850         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7851         __extern_always_inline and __extern_inline only for g++-4.3
7852         and newer or a compatible gcc.
7854 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7856         [BZ #17371]
7857         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7858         last change to handle zero prefix length.
7860 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7862         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7863         _SC_REGEX_VERSION.
7865         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7866         _POSIX_RAW_SOCKETS.
7868 2014-09-13  Allan McRae  <allan@archlinux.org>
7870         * po/ru.po: Update Russian translation from translation project.
7872 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7874         * locale/programs/locale.c (show_locale_vars): Inline local function
7875         into its sole call site.  Clean up some style nits.
7876         (print_item): New function, broken out of ...
7877         (show_info): ... local function here.  Clean up style nits.
7879         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7880         out of ...
7881         (set_class_defaults): ... local function set_default here.
7882         Define set_default as a macro locally to pass constant parameters.
7883         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7884         rather than a shared local.
7886         * stdlib/rpmatch.c (try): New function, broken out of ...
7887         (rpmatch): ... local function here.  Also, prototypify definition.
7889 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7891         * scripts/soversions.awk: Do not handle configuration names.
7892         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7893         vendor and os variables to soversions.awk.
7894         * configure.ac: Do not modify gnu-* host_os.
7895         * configure: Regenerated
7896         * shlib-versions: Remove first column with configuration names.
7897         * nptl/shlib-versions: Likewise.
7898         * nptl_db/shlib-versions: Likewise.
7899         * sysdeps/hppa/shlib-versions: Likewise.
7900         * sysdeps/m68k/shlib-versions: Likewise.
7901         * sysdeps/mach/hurd/shlib-versions: Likewise.
7902         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7903         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7904         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7905         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7906         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7907         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7908         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7909         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7911         Likewise.
7912         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7913         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7914         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7915         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7916         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7917         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7918         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7919         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7922         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7924         Regenerated.
7925         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7927         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7929         * shlib-versions: Remove OS-specific entries.  Moved to files in
7930         sysdeps.
7931         * sysdeps/mach/hurd/shlib-versions: New file.
7932         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7934         * nptl/shlib-versions: Remove architecture-specific entries.
7935         Moved to files in sysdeps.
7936         * shlib-versions: Likewise.
7937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7938         file.
7939         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7940         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7941         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7942         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7944         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7945         (UDP_NO_CHECK6_RX): Likewise.
7947 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7949         * sysdeps/posix/sysconf.c (__sysconf): Spell
7950         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7952 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7954         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7955         loading.
7956         * iconv/Versions (__gconv_transliterate): Export for use from
7957         gconv modules.
7958         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7959         (struct __gconv_trans_data, __gconv_trans_fct,
7960         __gconv_trans_context_fct, __gconv_trans_query_fct,
7961         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7962         definitions.
7963         (struct __gconv_step_data): Remove __trans member.
7964         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7965         longer hidden.  Remove unused trans_data argument.
7966         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7967         (__gconv_translit_find): Remove declaration.
7968         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7969         prototype.
7970         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7971         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7972         trans_data argument.  Add hidden definition.
7973         (__gconv_translit_find): Remove.
7974         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7975         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7976         * iconv/skeleton.c: Remove transliteration initialization.
7977         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7978         __gconv_step_data initialization.
7979         * libio/iofwide.c (__libio_translit_): Remove.
7980         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7981         * wcsmbs/btowc.c (__btowc): Likewise.
7982         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7983         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7984         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7985         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7986         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7987         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7988         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7989         * wcsmbs/wctob.c (wctob): Likewise.
7991 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7993         [BZ #16194]
7994         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7995         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7996         register usage.
7997         * sysdeps/x86/Makefile: Adjust.
7999 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8000             Roland McGrath  <roland@hack.frob.com>
8002         * locale/weight.h: Add include guard.
8003         (findidx): Make static rather than auto; take new parameters
8004         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8005         * locale/weightwc.h: Likewise.
8006         * posix/fnmatch_loop.c
8007         (FCT): Change type of EXTRA from int32_t to wint_t.
8008         Don't include either header inside the function.
8009         Call FINDIDX rather than findidx, and pass new arguments.
8010         #undef FINDIDX at the end of the file.
8011         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8012         FINDIDX before including fnmatch_loop.c for the non-wide version.
8013         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8014         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8015         for the wide version.
8016         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8017         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8018         Pass new arguments to findidx.
8019         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8020         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8021         Don't #include it inside the function.  Pass new arguments to findidx.
8022         * posix/regex_internal.h
8023         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8024         (re_string_elem_size_at): Don't #include it inside the function.
8025         Pass new arguments to findidx.
8026         * string/strcoll_l.c: #include WEIGHT_H at top level.
8027         (get_next_seq): Don't #include it inside the function.
8028         Pass new arguments to findidx.
8029         (get_next_seq_nocache): Likewise.
8030         * string/strxfrm_l.c: #include WEIGHT_H at top level.
8031         (STRXFRM): Don't #include it inside the function.
8032         Pass new arguments to findidx.
8034 2014-09-11  Florian Weimer  <fweimer@redhat.com>
8036         [BZ #17344]
8037         * malloc/malloc.c (unlink): Turn asserts into a call to
8038         malloc_printerr.
8040 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
8042         [BZ #17370]
8043         * libio/wfileops (do_ftell_wide): Free OUT.
8045 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
8047         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8049 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8051         [BZ #17363]
8052         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8053         group if the current group is empty.
8055 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8057         * benchtests/bench-memset.c (test_main): Add more test from size
8058         from 32 to 512 bytes.
8059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8060         Add POWER8 memset object.
8061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8062         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8063         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8064         implementation.
8065         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8066         Likewise.
8067         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8068         multiarch POWER8 memset optimization.
8069         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8070         POWER8 memset optimization.
8072         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8073         Remove bzero multiarch objects.
8074         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8075         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8076         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8077         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8078         Remove define.
8079         [__bzero]: Redefine to specific name.
8080         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8081         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8082         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8083         define.
8084         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8085         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8087 2014-09-10  Florian Weimer  <fweimer@redhat.com>
8089         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8090         warnings into errors.
8092         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8093         __cxa_thread_atexit_impl prototype.
8095 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8097         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8098         Fix capitalization of error message.
8100 2014-09-09  Steve Ellcey  <sellcey@mips.com>
8102         * sysdeps/mips/preconfigure: Modify ABI tests.
8104 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
8106         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8108 2014-09-07  Roland McGrath  <roland@hack.frob.com>
8109             Carlos O'Donell  <carlos@systemhalted.org>
8111         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8112         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8113         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8114         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8115         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8116         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8117         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8118         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8119         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8120         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8121         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8122         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8123         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8124         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8125         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8126         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8127         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8128         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8129         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8130         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8131         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8132         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8133         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8134         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8135         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8136         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8137         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8138         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8139         Deconditionalize the code that was previously under [RESET_PID].
8140         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8141         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8142         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8143         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8144         include sysdep.h.
8146 2014-09-08  Allan McRae  <allan@archlinux.org>
8148         * version.h (RELEASE): Set to "development".
8149         (VERSION): Set to "2.20.90"
8151 2014-09-07  Allan McRae  <allan@archlinux.org
8153         * version.h (RELEASE): Set to "stable".
8154         (VERSION): Set to "2.20"
8155         * include/features.h (__GLIBC_MINOR__): Set to 20.
8157         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8158         Liebler.
8160         * po/ko.po: Update Korean translation from translation project.
8162 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8164         [BZ #17354]
8165         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8166         macro for handling signed relocations.
8168 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8170         [BZ #17325]
8171         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8172         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8173         assert.
8174         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8175         * iconvdata/ibm935.c (BODY): Likewise.
8176         * iconvdata/ibm937.c (BODY): Likewise.
8177         * iconvdata/ibm939.c (BODY): Likewise.
8178         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8179         assert.
8180         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8181         script.
8182         * iconvdata/run-iconv-test.sh: New test loop for checking for
8183         decoder crashers.
8185 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8187         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8188         libm_hidden_ver.
8190 2014-09-01  Allan McRae  <allan@archlinux.org>
8192         * po/eo.po: Update Esperanto translation from translation project.
8194         * po/ca.po: Update Catalan translation from translation project.
8196 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8198         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8199         __proc_dostop call.
8201 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8203         [BZ #17319]
8204         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8205         to call set_thread_area instead of hand written asm.
8206         (__NR_set_thread_area): Removed define.
8207         (TLS_FLAG_WRITABLE): Likewise.
8208         (__ASSUME_SET_THREAD_AREA): Remove check.
8209         (TLS_EBX_ARG): Remove define.
8210         (TLS_LOAD_EBX): Likewise.
8212 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8214         Simplify atomicity of socket creation in bind.
8216         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8217         looking up the name after linking the file.
8219 2014-08-27  Allan McRae  <allan@archlinux.org>
8221         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8223 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8225         [BZ #17187]
8226         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8227         trans_compare, open_translit, __gconv_translit_find):
8228         Remove module loading code.
8230 2014-08-26  Allan McRae  <allan@archlinux.org>
8232         * po/vi.po: Update Vietnamese translation from translation project.
8234         * po/uk.po: Update Ukrainian translation from translation project.
8236         * po/fr.po: Update French translation from translation project.
8238         * po/ru.po: Update Russian translation from translation project.
8240         * po/pl.po: Update Polish translation from translation project.
8242         * po/cs.po: Update Czech translation from translation project.
8244         * po/de.po: Update German translation from translation project.
8246         * po/bg.po: Update Bulgarian translation from translation project.
8248         * po/sv.po: Update Sweedish translation from translation project.
8250         * po/nl.po: Update Dutch translation from translation project.
8252         * po/es.po: Update Spanish translation from translation project.
8254 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8256         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8258         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8259         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8260         (CPPFLAGS-iconvconfig): Likewise.
8261         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8263         * include/libc-symbols.h: Remove unnecessary check for
8264         NOT_IN_libc.
8265         * nptl/pthreadP.h: Likewise.
8266         * sysdeps/aarch64/setjmp.S: Likewise.
8267         * sysdeps/alpha/setjmp.S: Likewise.
8268         * sysdeps/arm/sysdep.h: Likewise.
8269         * sysdeps/i386/setjmp.S: Likewise.
8270         * sysdeps/m68k/setjmp.c: Likewise.
8271         * sysdeps/posix/getcwd.c: Likewise.
8272         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8273         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8274         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8275         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8276         * sysdeps/sh/sh3/setjmp.S: Likewise.
8277         * sysdeps/sh/sh4/setjmp.S: Likewise.
8278         * sysdeps/unix/alpha/sysdep.h: Likewise.
8279         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8280         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8281         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8282         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8285         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8287         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8289         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8290         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8291         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8292         * sysdeps/x86_64/setjmp.S: Likewise.
8294 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8296         [BZ #17263]
8297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8298         <stdint.h>.
8299         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8300         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8302 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8304         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8306         [BZ #17262]
8307         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8308         and __x86_64__ when disabling x87 inline functions.
8310 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8312         [BZ #17259]
8313         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8314         asm statement with __cpuid_count.
8316 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8318         * configure.ac: Change __ehdr_start code to dereference the struct.
8319         Run readelf on the output to look for relocations.
8320         * configure: Regenerated.
8322 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8324         [BZ #17261]
8325         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8326         value to 0.
8327         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8329 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8331         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8333 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8335         [BZ #16892]
8336         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8337         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8339 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8341         * malloc/malloc.c: Fix typo in comment.
8343 2014-08-09  Allan McRae  <allan@archlinux.org>
8345         * Regenerate libc.po.
8347 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8349         * intl/tst-gettext2.sh: Check every lang file for creation.
8351 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8353         * sysdeps/aarch64/fpu/math_private.h
8354         (libc_feholdsetround_noex_aarch64_ctx): New function.
8356 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8358         * sysdeps/arm/armv6/strcpy.S (strcpy):
8359         Fix performance issue in misaligned cases.
8361 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8363         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8364         Move definition from termios.h.
8365         (struct termio): Likewise.
8366         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8367         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8368         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8369         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8370         Likewise.
8371         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8372         Move definition to ioctl-types.h
8373         (struct termio): Likewise.
8374         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8375         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8376         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8377         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8378         Likewise.
8380 2014-08-05  Richard Henderson  <rth@redhat.com>
8382         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8383         exceptions.
8384         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8385         Add fraiseexcpt.
8386         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8387         Use __feraiseexcept.
8388         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8389         Protect libm symbols with IS_IN_libm.
8391         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8393 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8395         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8397 2014-08-04  Will Newton  <will.newton@linaro.org>
8399         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8400         file.
8402 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8404         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8405         variants for each function.
8407 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8409         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8410         appended ...
8411         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8412         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8413         appended ...
8414         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8415         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8416         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8417         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8418         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8419         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8420         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8421         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8422         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8423         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8424         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8425         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8426         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8427         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8428         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8429         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8430         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8431         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8432         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8433         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8434         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8435         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8436         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8437         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8438         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8439         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8440         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8441         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8442         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8443         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8444         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8445         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8446         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8447         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8448         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8449         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8450         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8451         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8452         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8453         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8454         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8455         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8456         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8458         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8459         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8460         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8461         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8462         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8463         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8464         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8465         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8466         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8467         Update #include.
8468         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8469         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8471 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8473         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8474         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8475         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8476         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8477         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8478         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8480 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8482         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8483         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8484         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8485         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8487 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8489         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8490         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8491         (__libc_vfork): Define function under this name.
8492         (__vfork): Define as an alias.
8493         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8494         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8496 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8498         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8499         that was previously under [RESET_PID].
8500         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8502 2014-08-04  Andreas Schwab  <schwab@suse.de>
8504         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8506 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8508         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8509         (main): Likewise.
8511 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8513         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8515 2014-08-01  Richard Henderon  <rth@redhat.com>
8517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8518         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8519         typo in exact zero test.
8520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8521         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8524 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8526         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8527         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8528         * sysdeps/arm/sysdep.h: ... here.
8529         [!__ASSEMBLER__]: Include <stdint.h>.
8531 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8533         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8534         (HAVE_WCTYPE_H): Likewise.
8535         (HAVE_ISWCTYPE): Likewise.
8536         (ENABLE_NLS): Likewise.
8537         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8538         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8540         * posix/regex_internal.c: Check if DEBUG is defined and is
8541         set.
8543         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8544         (HAVE_MBSRTOWCS): Likewise.
8545         * posix/fnmatch.c: Include string.h unconditionally.
8547 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8549         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8550         reversal.
8552 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8554         * sysdeps/generic/safe-fatal.h: New file.
8555         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8556         * nptl/forward.c: Include it.
8557         (__pthread_unwind): Use __safe_fatal as default action, rather
8558         than a bogus use of INTERNAL_SYSCALL that could never work.
8560         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8561         * configure.ac (libc_cv_builtin_trap): New test.
8562         * configure: Regenerated.
8563         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8564         (ABORT_INSTRUCTION): Define using __builtin_trap.
8566         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8567         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8568         * sysdeps/nptl/nptl-signals.h: New file.
8569         * nptl/pthreadP.h: Include <nptl-signals.h>.
8571 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8573         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8574         (ONE_DIRECTION): Define.
8575         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8576         (ONE_DIRECTION): Define.
8577         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8578         (ONE_DIRECTION): Define.
8580 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8582         * sysdeps/s390/Makefile: Delete file.
8583         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8584         * sysdeps/s390/__longjmp.c: Delete file.
8585         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8586         Remove fields __flags and __reserved.
8587         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8588         and add versioning.
8589         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8590         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8591         * sysdeps/s390/rtld-setjmp.S: Likewise.
8592         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8593         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8594         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8595         * sysdeps/s390/s390-32/setjmp.S: ... here.
8596         Add versioning.
8597         (__sigsetjmp): Remove setting __flags field.
8598         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8599         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8600         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8601         * sysdeps/s390/s390-64/setjmp.S: ... here.
8602         Add versioning.
8603         (__sigsetjmp): Remove setting __flags field.
8604         * sysdeps/s390/setjmp.S: Delete file.
8605         * sysdeps/s390/sigjmp.c: Likewise.
8606         * sysdeps/s390/v1-longjmp.c: Likewise.
8607         * sysdeps/s390/v1-setjmp.h: Likewise.
8608         * sysdeps/s390/v1-sigjmp.c: Likewise.
8609         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8610         Remove v1-longjmp_chk.
8611         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8612         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8613         Include debug/longjmp_chk.c and add versioning.
8614         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8615         Include nptl/pt-longjmp.c and add versioning.
8616         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8617         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8618         Include __longjmp.c.
8619         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8620         Move to ...
8621         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8622         (__getcontext): Remove setting __flags field.
8623         Add versioning.
8624         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8625         Don't restore upper high grps.
8626         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8627         Likewise.
8628         (__swapcontext): Remove setting uc_flags field.
8629         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8630         Delete file.
8631         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8632         Include __longjmp.c.
8633         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8634         Move to ...
8635         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8636         (__getcontext): Remove setting __flags field.
8637         Add versioning.
8638         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8639         (__swapcontext): Remove setting uc_flags field.
8640         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8641         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8642         Remove fields uc_high_gprs and __reserved.
8643         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8644         New file with reverted content.
8645         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8646         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8647         Regenerated.
8648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8649         Regenerated.
8651 2014-07-31  Andreas Schwab  <schwab@suse.de>
8653         * config.h.in (HAVE_IFUNC): Define to 0.
8654         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8655         definedness.
8657 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8659         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8660         memmove-avx-unaligned, memcpy-avx-unaligned and
8661         mempcpy-avx-unaligned.
8662         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8663         Add tests for AVX memcpy functions.
8664         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8665         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8666         memcpy_chk.
8667         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8668         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8669         memmove_chk.
8670         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8671         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8672         mempcpy_chk.
8673         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8674         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8675         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8677 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8679         [BZ #17213]
8680         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8681         powerpc64le.
8683 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8685         [BZ #16839]
8686         * manual/llio.texi: Add section about open file description locks.
8687         * manual/examples/ofdlocks.c: Example of open file description
8688         lock usage.
8689         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8690         F_OFD_SETLK, and F_OFD_SETLKW.
8692 2014-07-23  Allan McRae  <allan@archlinux.org>
8694         * po/es.po: Update Spanish translation from translation project.
8696 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8698         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8700 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8702         [BZ #17078]
8703         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8704         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8705         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8707 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8709         [BZ #17088]
8710         * math/fesetenv.c (__fesetenv)
8711         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8712         * math/feupdateenv.c (__feupdateenv)
8713         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8715         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8716         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8717         (__ASSUME_SOCKETCALL): Do not define.
8719         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8720         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8721         (__ASSUME_SOCKETCALL): Do not define.
8722         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8723         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8724         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8725         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8726         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8727         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8728         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8729         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8731         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8732         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8733         (__ASSUME_SOCKETCALL): Do not define.
8734         (__ASSUME_IPC64): Define unconditionally.
8735         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8736         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8737         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8738         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8739         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8741         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8742         Likewise.
8744         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8745         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8746         (__ASSUME_SOCKETCALL): Do not define.
8747         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8748         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8749         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8750         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8751         (__ASSUME_REQUEUE_PI): Define unconditionally.
8752         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8753         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8754         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8755         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8756         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8757         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8759         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8760         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8761         (__ASSUME_SOCKETCALL): Do not define.
8762         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8763         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8764         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8765         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8766         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8767         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8769         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8770         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8771         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8772         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8773         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8774         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8775         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8776         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8777         (__ASSUME_GETCPU_SYSCALL): Likewise.
8779         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8780         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8781         cases for individual architectures.
8782         * sysdeps/gnu/configure: Regenerated.
8783         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8784         LIBC_SLIBDIR_RTLDDIR.
8785         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8786         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8787         LIBC_SLIBDIR_RTLDDIR.
8788         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8790         LIBC_SLIBDIR_RTLDDIR.
8791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8792         Regenerated.
8793         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8794         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8795         file.
8796         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8797         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8798         file.
8799         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8800         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8801         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8802         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8804         * sysdeps/aarch64/shlib-versions: Move to ...
8805         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8806         * sysdeps/alpha/shlib-versions: Move to ...
8807         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8808         * sysdeps/arm/shlib-versions: Move to ...
8809         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8810         * sysdeps/hppa/shlib-versions: Move all contents except for
8811         libgcc_s entry to ...
8812         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8813         entry from ...
8814         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8815         * sysdeps/ia64/shlib-versions: Move to ...
8816         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8817         entry from ...
8818         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8819         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8820         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8821         * sysdeps/microblaze/shlib-versions: Move to ...
8822         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8823         * sysdeps/mips/shlib-versions: Move to ...
8824         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8825         entry from ...
8826         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8827         * sysdeps/tile/shlib-versions: Move to ...
8828         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8829         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8830         from ...
8831         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8832         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8833         entry from ...
8834         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8836 2014-07-17  Will Newton  <will.newton@linaro.org>
8838         * sysdeps/arm/bits/atomic.h
8839         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8840         (__arch_compare_and_exchange_bool_16_int): Likewise.
8841         (__arch_compare_and_exchange_bool_64_int): Likewise.
8843         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8844         into an #else block.
8846 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8848         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8849         just Linux configurations.  Test empirically that the compiler sets
8850         __ARM_EABI__, rather than using the tuple to decide.
8851         * sysdeps/arm/preconfigure: Regenerated.
8852         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8853         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8854         contents appended ...
8855         * sysdeps/arm/configure.ac: ... here.
8856         * sysdeps/arm/configure: Regenerated.
8858 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8860         * nptl/pthread_kill.c: New file.
8861         * nptl/pthread_sigmask.c: New file.
8862         * nptl/pthread_sigqueue.c: New file.
8864         * sysdeps/nptl/lowlevellock.h: New file.
8865         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8866         * sysdeps/nptl/lowlevellock-futex.h: New file.
8868         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8869         Remove dead declarations.
8871 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8873         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8874         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8875         config-cflags-avx2.
8876         * sysdeps/x86_64/configure.ac: Likewise.
8877         * sysdeps/i386/configure: Regenerated.
8878         * sysdeps/x86_64/configure: Likewise.
8879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8880         memset-avx2 only if config-cflags-avx2 is yes.
8881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8882         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8883         defined.
8884         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8885         only if HAVE_AVX2_SUPPORT is defined.
8886         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8888 2014-07-14  Alan Modra  <amodra@gmail.com>
8890         [BZ #17153]
8891         * elf/elf.h (DT_PPC64_NUM): Correct value.
8892         * NEWS: Add to fixed bug list.
8894 2014-07-13  Jim Meyering  <meyering@fb.com>
8896         [BZ 17150]
8897         regex: don't deref NULL upon heap allocation failure
8898         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8899         failure in one more place.
8900         To trigger the segfault, configure grep -with-included-regex,
8901         build it, and run these commands:
8902         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8904 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8906         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8908 2014-07-11  Richard Henderson  <rth@redhat.com>
8910         * sysdeps/aarch64/libm-test-ulps: Update.
8912 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8914         [BZ #17135]
8915         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8916         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8917         (__nptl_setxid): Initialize error member.  Call
8918         __nptl_setxid_error.
8919         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8920         * nptl/descr.h (struct xid_command): Add error member.
8921         * nptl/tst-setuid3.c: New file.
8922         * nptl/Makefile (tests): Add it.
8924 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8926         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8927         New define.
8928         (__lll_trylock): Use __lll_base_trylock.
8929         (__lll_cond_trylock): Likewise.
8931 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8933         * nptl/pthread_create.c (start_thread): Use atomic_or and
8934         lll_futex_wake directly rather than lll_robust_dead.
8935         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8936         (lll_robust_dead): Macro removed.
8937         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8938         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8939         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8940         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8942         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8943         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8944         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8945         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8947         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8948         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8949         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8950         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8951         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8953         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8954         Use atomic_compare_and_exchange_val_acq directly rather than
8955         lll_robust_trylock.
8956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8957         (__lll_robust_trylock, lll_robust_trylock): Removed.
8958         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8959         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8960         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8961         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8962         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8963         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8964         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8965         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8967         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8968         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8969         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8970         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8973 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8975         * manual/locale.texi (Locale Names): New section documenting
8976         locale name syntax.  Adjust menu and node chaining accordingly.
8977         (Choosing Locale): Reference Locale Names, Locale Categories.
8978         Mention setting LC_ALL=C.  Reflect that name syntax is now
8979         documented.
8980         (Locale Categories): New section title.  Reference Locale Names.
8981         LC_ALL is an environment variable, but not a category.
8982         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8983         description, now in Locale Name.  Reference that section.  Locale
8984         name syntax is now documented.
8986 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8988         [BZ #17137]
8989         * locale/findlocale.c (name_present, valid_locale_name): New
8990         functions.
8991         (_nl_find_locale): Use the loc_name variable to store name
8992         candidates.  Call name_present and valid_locale_name to check and
8993         validate locale names.  Return an error if the locale is invalid.
8995 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8997         * locale/setlocale.c (setlocale): Use strdup for allocating
8998         composite name copy.
9000 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9002         Sync up with gnulib.
9003         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9004         [!_LIBC && ENABLE_NLS]: Include gettext.h.
9005         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9006         and _GL_ARG_NONNULL.
9007         [USE_UNLOCKED_IO]: Include unlocked-io.h.
9008         [!_LIBC]: Include code for Windows and Cygwin.
9009         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9010         Include prototype for int strerror_r.
9011         [!_LIBC] (is_open): New function.
9012         (flush_stdout): New function.
9013         (print_errno_message): Use it.
9014         (error): Likewise.
9015         (error_at_line): Likewise.
9016         (error_tail) Add function attribute macros.  Use
9017         __builtin_expect.
9019         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9021         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9023         * io/ftw.c: Include sys/param.h unconditionally.
9025         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9027         [BZ #17125]
9028         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9029         libc_freeres_ptr.
9030         (freecache): New function to free CACHE on exit.
9032         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9033         initialization.
9035 2014-07-09  David S. Miller  <davem@davemloft.net>
9037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9039         * sysdeps/sparc/nptl/internaltypes.h: Delete.
9040         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9041         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9042         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9043         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9044         * sysdeps/sparc/nptl/sem_init.c: Likewise.
9045         * sysdeps/sparc/nptl/sem_post.c: Likewise.
9046         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9047         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9048         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9049         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9050         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9051         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9053 2014-07-09  Andreas Schwab  <schwab@suse.de>
9055         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9056         output.
9057         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9058         (do_test): Likewise.
9060         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9062 2014-07-09  Will Newton  <will.newton@linaro.org>
9064         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9065         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9066         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9067         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9068         * sysdeps/hppa/start.S (_start): Likewise.
9070 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9072         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9074         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9075         defined.
9077 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9079         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9080         after checking that it is non-NULL.
9082         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9084 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9086         * sysdeps/powerpc/memmove.c: Remove file.
9087         * sysdeps/powerpc/powerpc32/power4/memcopy.h
9088         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9089         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9090         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9091         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9092         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9093         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9094         string memmove instead of removed powerpc one.
9096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9097         [weak_alias]: Fix compiler warning due trailing data.
9098         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9099         [weak_alias]: Likewise.
9100         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9101         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9103         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9104         (__libc_ifunc_impl_list): Add memmove functions.
9106 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
9108         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9109         Remove code.
9110         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9111         Likewise
9112         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9113         Likewise
9114         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9115         Likewise
9116         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9117         Likewise
9118         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9119         Likewise
9120         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9121         Likewise
9122         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9123         Likewise
9124         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9125         Likewise
9126         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9127         Likewise
9128         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9129         Likewise
9130         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9131         Likewise
9132         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9133         Likewise
9134         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9135         Likewise
9136         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9137         Likewise
9138         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9139         Likewise
9140         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9141         Likewise
9143 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9145         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9146         to avoid alignment traps in non-cacheable memory.
9147         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9150         multiarch objects.
9151         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9152         file: multiarch power7 memmove.
9153         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9154         multiarch default memmove.
9155         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9156         multiarch memove for powerpc32/power4.
9158         * string/bcopy.c: Use full path to include memmove.c.
9159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9160         multiarch objects.
9161         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9162         bcopy for powerpc64.
9163         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9164         bcopy for powerpc64.
9165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9166         and memmove implementations.
9167         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9168         optimized multiarch memmove for POWER7/powerpc64.
9169         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9170         default multiarch memmove for powerpc64.
9171         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9172         multiarch for powerpc64.
9173         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9174         for POWER7/powerpc64.
9175         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9176         memmove for POWER7/powerpc64.
9178         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9179         glibc default one.
9181         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9182         __ELF_NATIVE_CLASS equal to 64.
9184 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9186         * sysdeps/nptl/lowlevellock.h: File removed.
9188         * NEWS: NPTL is no longer an add-on!
9189         * nptl/internaltypes.h: Moved ...
9190         * sysdeps/nptl/internaltypes.h: ... here.
9191         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9192         * sysdeps/nptl/fork.c: Likewise.
9193         * sysdeps/nptl/gai_misc.h: Likewise.
9194         * sysdeps/nptl/librt-cancellation.c: Likewise.
9195         * sysdeps/nptl/jmp-unwind.c: Likewise.
9196         * sysdeps/nptl/setxid.h: Likewise.
9197         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9198         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9199         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9200         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9201         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9202         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9203         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9204         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9205         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9206         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9207         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9208         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9209         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9210         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9211         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9212         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9213         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9214         * nptl/Makeconfig: Moved ...
9215         * sysdeps/nptl/Makeconfig: ... here.
9216         * nptl/configure: File removed.
9217         * nptl/ANNOUNCE: File removed.
9218         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9219         * sysdeps/unix/sysv/linux/configure: Regenerated.
9221         * nptl/Makefile (routines): Add libc_pthread_init,
9222         libc_multiple_threads, register-atfork and unregister-atfork.
9223         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9224         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9225         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9226         pthread-pi-defines.sym, structsem.sym.
9227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9228         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9229         [$(subdir) = nptl] (tests): Add tst-setgetname.
9230         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9231         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9232         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9233         [!LIBC_SIGACTION]: Remove aliases.
9234         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9235         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9236         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9237         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9238         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9239         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9240         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9241         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9242         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9243         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9244         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9245         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9246         __libc_allocate_rtsig_private.
9247         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9248         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9249         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9250         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9251         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9252         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9253         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9254         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9255         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9256         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9257         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9258         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9259         * nptl/internaltypes.h: ... here.
9260         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9261         * sysdeps/nptl/jmp-unwind.c: ... here.
9262         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9263         * nptl/libc-lowlevellock.c: ... here.
9264         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9265         * nptl/libc_multiple_threads.c: ... here.
9266         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9267         * nptl/libc_pthread_init.c: ... here.
9268         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9269         * nptl/lowlevelbarrier.sym: ... here.
9270         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9271         * nptl/lowlevelcond.sym: ... here.
9272         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9273         * nptl/lowlevellock.c: ... here.
9274         * nptl/lowlevellock.h: Moved ...
9275         * sysdeps/nptl/lowlevellock.h: ... here.
9276         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9277         * nptl/lowlevelrobustlock.c: ... here.
9278         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9279         * nptl/lowlevelrobustlock.sym: ... here.
9280         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9281         * nptl/lowlevelrwlock.sym: ... here.
9282         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9283         * nptl/pt-fork.c: ... here.
9284         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9285         * nptl/pthread-pi-defines.sym: ... here.
9286         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9287         * nptl/pthread_attr_getaffinity.c: ... here.
9288         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9289         * nptl/pthread_attr_setaffinity.c: ... here.
9290         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9291         * nptl/pthread_mutex_cond_lock.c: ... here.
9292         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9293         Update #include.
9294         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9295         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9296         * nptl/pthread_once.c: ... here, replacing old file.
9297         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9298         * nptl/pthread_yield.c: ... here.
9299         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9300         * nptl/register-atfork.c: ... here.
9301         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9302         * nptl/sem_post.c: ... here.
9303         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9304         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9305         * nptl/sem_timedwait.c: ... here.
9306         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9307         * nptl/sem_trywait.c: ... here.
9308         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9309         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9310         * nptl/sem_wait.c: ... here.
9311         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9312         * nptl/structsem.sym: ... here.
9313         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9314         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9315         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9316         * nptl/unregister-atfork.c: ... here.
9317         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9318         * nptl/unwindbuf.sym: ... here.
9319         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9320         * sysdeps/nptl/fork.c: ... here.
9321         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9322         * sysdeps/nptl/fork.h: ... here.
9323         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9324         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9325         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9326         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9327         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9328         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9329         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9330         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9331         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9332         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9333         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9334         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9335         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9336         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9337         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9338         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9339         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9340         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9341         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9342         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9343         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9344         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9345         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9346         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9347         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9348         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9349         * sysdeps/unix/sysv/linux/raise.c: ... here.
9350         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9351         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9352         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9353         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9354         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9355         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9356         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9357         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9358         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9359         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9360         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9361         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9362         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9363         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9364         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9366 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9368         * sysdeps/generic/memcopy.h: Add comment for
9369         MEMCPY_OK_FOR_FWD_MEMMOVE.
9371 2014-07-04  Will Newton  <will.newton@linaro.org>
9373         * string/memchr.c: Merge from gnulib.
9374         [_LIBC]: Remove conditionals.
9375         (__ptr_t): Remove define.
9376         (LONG_MAX_32_BITS): Likewise.
9377         (LONG_MAX): Likewise.
9378         (MEMCHR): Use ANSI prototype and optimize algorithm.
9380         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9382 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9384         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9385         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9387         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9388         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9389         in a bare environment with no <stdlib.h> installed.
9390         * sysdeps/nptl/configure: Regenerated.
9392         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9394         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9395         AC_EGREP_CPP for kernel header checks, so they only succeed if
9396         including <linux/version.h> actually works right.
9397         * sysdeps/unix/sysv/linux/configure: Regenerated.
9399         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9400         value so it's not diagnosed as unused.
9402         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9403         thing) with "ifeq ($(subdir),rt)".
9405 2014-07-03  Richard Henderson  <rth@redhat.com>
9407         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9408         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9409         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9411         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9412         (math_force_eval): New.
9414         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9415         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9417         * sysdeps/alpha/fpu/s_round.c: Remove file.
9418         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9420         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9421         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9422         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9423         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9424         (_dl_start, print_statistics): Likewise.
9425         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9426         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9428         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9429         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9430         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9431         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9432         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9433         (HP_SMALL_TIMING_AVAIL): Define.
9434         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9435         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9436         (HP_SMALL_TIMING_AVAIL): Define.
9437         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9438         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9440         * sysdeps/aarch64/hp-timing.h: New file.
9442         * sysdeps/generic/hp-timing.h: Remove dead comment.
9443         * sysdeps/generic/hp-timing-common.h: New file.
9444         * sysdeps/alpha/hp-timing.h: Include it.
9445         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9446         * sysdeps/i386/i686/hp-timing.h: Likewise.
9447         * sysdeps/ia64/hp-timing.h: Likewise.
9448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9449         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9451         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9452         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9453         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9454         (hp_timing_t): New.
9456         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9457         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9458         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9459         * elf/rtld.c (_dl_start_final): Likewise.
9460         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9461         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9462         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9463         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9464         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9466         (HP_TIMING_DIFF_INIT): Remove.
9467         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9468         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9469         (HP_TIMING_DIFF_INIT): Remove.
9470         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9471         * sysdeps/i386/i686/hp-timing.c: Remove file.
9472         * sysdeps/x86_64/hp-timing.c: Remove file.
9473         * sysdeps/ia64/hp-timing.c: Remove file.
9474         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9475         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9476         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9477         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9479         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9480         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9481         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9482         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9483         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9484         (HP_TIMING_ACCUM): Remove.
9485         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9486         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9487         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9489         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9490         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9491         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9492         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9494         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9495         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9496         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9498         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9500 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9502         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9504 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9506         Sync up with gettext.
9507         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9508         [_MSC_VER]: Include malloc.h
9509         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9510         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9511         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9512         TEMP_FAILURE_RETRY.  Cast return of alloca.
9513         [!_LIBC] Call gl_rwlock_init.
9514         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9516 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9518         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9519         before checking its value.
9521 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9523         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9525         * debug/memcpy_chk.c: Don't include pagecopy.h.
9526         * debug/mempcpy_chk.c: Likewise.
9527         * string/memcpy.c: Likewise.
9528         * string/memmove.c: Likewise.
9529         * sysdeps/powerpc/memmove.c: Likewise.
9530         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9531         definition of PAGE_COPY_FWD_MAYBE here...
9532         * sysdeps/generic/pagecopy.h: ... from here.
9533         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9535 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9536             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9538         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9540         optimizations.
9541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9542         (__libc_ifunc_impl_list): Likewise.
9543         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9544         multiarch strcat for PPC64.
9545         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9546         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9548 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9550         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9552 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9554         * intl/loadmsgcat.c: Remove declaration of
9555         get_sysdep_segment_value.
9556         (get_sysdep_segment_value): Use ISO C style.
9557         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9558         semicolon.  Fix typo and formatting in comment.
9559         (_nl_unload_domain): Use ISO C style.
9561         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9563 2014-07-02  Will Newton  <will.newton@linaro.org>
9565         * malloc/obstack.c: Merge from gnulib master.
9566         [HAVE_CONFIG_H]: Remove conditional code.
9567         [!_LIBC]: Include config.h.
9568         [!ELIDE_CODE]: Don't include inttypes.h, include
9569         stdint.h unconditionally.
9570         (print_and_abort): Mark as _Noreturn.
9571         (_obstack_allocated_p): Mark as __attribute_pure__.
9572         (obstack_free): Rename to __obstack_free.
9573         [!__attribute__]: Remove conditional code.
9574         * malloc/obstack.h: Merge from gnulib master.
9575         [__cplusplus]: Move conditional down.
9576         [!__attribute_pure__]: Define __attribute_pure__ here
9577         if it is not already defined.
9578         (_obstack_memory_used): Mark as __attribute_pure__.
9579         [!__obstack_free]: Define as obstack_free.
9580         [__GNUC__]: Remove check for ancient NeXT gcc.
9582 2014-07-02  Will Newton  <will.newton@linaro.org>
9583             Paul Eggert  <eggert@cs.ucla.edu>
9585         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9587 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9589         * resolv/gethnamaddr.c: Add comment warning that the file is
9590         not maintained.
9592 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9594         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9595         entries.
9597         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9598         entry for aio_cancel and aio_cancel64.
9599         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9600         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9601         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9602         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9603         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9604         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9606         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9607         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9608         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9609         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9610         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9611         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9613 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9615         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9616         * nptl/pthread_mutex_lock.c: Likewise.
9617         * nptl/pthread_mutex_timedlock.c: Likewise.
9618         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9620 2014-07-01  Richard henderson  <rth@redhat.com>
9622         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9623         (__isnan, __isnanl): Remove.
9624         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9626         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9628 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9630         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9632 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9634         * resolv/nss_dns/dns-host.c (getanswer_r)
9635         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9637 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9639         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9640         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9641         undefine.
9642         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9643         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9645 2014-07-01  Roland McGrath <roland@hack.frob.com>
9647         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9648         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9650         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9651         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9653         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9654         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9655         ... here.
9656         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9657         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9659         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9660         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9661         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9662         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9664         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9665         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9666         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9667         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9668         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9669         Moved ...
9670         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9671         ... here.
9672         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9673         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9674         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9675         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9676         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9677         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9678         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9679         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9680         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9681         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9682         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9683         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9684         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9685         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9686         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9687         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9688         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9689         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9690         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9691         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9692         ... here.
9693         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9694         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9695         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9696         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9697         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9698         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9699         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9700         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9702 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9704         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9705         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9706         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9707         Add sysdep.
9709 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9713 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9715         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9716         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9718         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9720         * sysdeps/arm/libm-test-ulps: Regenerated.
9722 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9723             Roland McGrath <roland@hack.frob.com>
9725         * test-skeleton.c (signal_handler): Kill the whole process group
9726         before killing the child individually.
9727         (main): Report any failure on `setpgid'.
9729 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9731         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9732         from _TLS_H to _ARM_NPTL_TLS_H.
9733         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9734         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9736 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9738         [BZ #16539]
9739         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9740         (__expm1l): Return argument unchanged when small but not
9741         subnormal.
9743         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9744         include macro name.
9745         (_FP_UNPACK_RAW_1_P): Likewise.
9746         (_FP_PACK_RAW_1): Likewise.
9747         (_FP_PACK_RAW_1_P): Likewise.
9748         (_FP_MUL_MEAT_1_wide): Likewise.
9749         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9750         (_FP_MUL_MEAT_1_hard): Likewise.
9751         (_FP_DIV_MEAT_1_imm): Likewise.
9752         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9753         (_FP_DIV_MEAT_1_udiv): Likewise.
9754         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9755         (_FP_UNPACK_RAW_2): Likewise.
9756         (_FP_UNPACK_RAW_2_P): Likewise.
9757         (_FP_PACK_RAW_2): Likewise.
9758         (_FP_PACK_RAW_2_P): Likewise.
9759         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9760         (_FP_MUL_MEAT_2_wide): Likewise.
9761         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9762         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9763         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9764         (_FP_MUL_MEAT_2_gmp): Likewise.
9765         (_FP_DIV_MEAT_2_udiv): Likewise.
9766         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9767         (_FP_FRAC_SRL_4): Likewise.
9768         (_FP_FRAC_SRST_4): Likewise.
9769         (_FP_FRAC_SRS_4): Likewise.
9770         (_FP_UNPACK_RAW_4): Likewise.
9771         (_FP_UNPACK_RAW_4_P): Likewise.
9772         (_FP_PACK_RAW_4): Likewise.
9773         (_FP_PACK_RAW_4_P): Likewise.
9774         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9775         (_FP_MUL_MEAT_4_wide): Likewise.
9776         (_FP_MUL_MEAT_4_gmp): Likewise.
9777         (umul_ppppmnnn): Likewise.
9778         (_FP_DIV_MEAT_4_udiv): Likewise.
9779         (__FP_FRAC_ADD_4): Likewise.
9780         (__FP_FRAC_SUB_3): Likewise.
9781         (__FP_FRAC_SUB_4): Likewise.
9782         (__FP_FRAC_DEC_3): Likewise.
9783         (__FP_FRAC_DEC_4): Likewise.
9784         (__FP_FRAC_ADDI_4): Likewise.
9785         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9786         (_FP_FRAC_SRL_8): Likewise.
9787         (_FP_FRAC_SRS_8): Likewise.
9789         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9790         include macro name.
9791         (FP_UNPACK_RAW_EP): Likewise.
9792         (FP_PACK_RAW_E): Likewise.
9793         (FP_PACK_RAW_EP): Likewise.
9794         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9795         (_FP_ISSIGNAN): Likewise.
9796         (_FP_ADD_INTERNAL): Likewise.
9797         (_FP_FMA): Likewise.
9798         (_FP_CMP): Likewise.
9799         (_FP_SQRT): Likewise.
9800         (_FP_TO_INT): Likewise.
9801         (_FP_FROM_INT): Likewise.
9802         (FP_EXTEND): Likewise.
9803         (_FP_DIV_MEAT_N_loop): Likewise.
9805 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9807         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9808         throughout.
9810 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9812         [BZ #17097]
9813         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9814         result with correct sign in case of exponents that produce
9815         overflow except for X very close to 1.
9817 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9819         mktime: merge #if/#ifdef usage from glibc
9820         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9821         as that works with both Glibc's and Gnulib's style.
9822         See thread starting at Siddhesh Poyarekar's bug report at:
9823         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9825 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9827         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9828         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9829         * sysdeps/tile/tilegx/memmove.c: Remove file.
9831 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9833         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9834         abi-name definition.
9835         * scripts/soversions.awk: Do not handle or generate ABI lines.
9836         * shlib-versions: Remove ABI entries.
9837         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9838         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9840 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9843         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9844         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9845         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9847         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9848         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9849         Moved ...
9850         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9851         ... here.
9852         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9853         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9854         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9855         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9857         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9858         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9859         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9863         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9865         Moved ...
9866         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9868         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9869         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9870         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9872         Moved ...
9873         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9874         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9875         Moved ...
9876         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9878         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9880         Moved ...
9881         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9882         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9883         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9885         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9887         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9889         Moved ...
9890         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9891         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9892         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9893         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9894         Moved ...
9895         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9897         Moved ...
9898         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9900         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9901         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9902         Moved ...
9903         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9904         ... here.
9905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9906         Identical file removed.
9907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9908         Moved ...
9909         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9911         Identical file removed.
9912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9913         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9915         Moved ...
9916         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9918         Identical file removed.
9919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9920         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9922         Identical file removed.
9923         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9924         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9925         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9926         Identical file removed.
9927         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9928         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9930         Identical file removed.
9931         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9932         Moved ...
9933         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9935         Identical file removed.
9936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9937         Moved ...
9938         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9939         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9940         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9941         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9942         Identical file removed.
9943         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9944         Moved ...
9945         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9946         ... here.
9947         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9948         Identical file removed.
9949         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9950         Moved ...
9951         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9952         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9953         Identical file removed.
9954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9955         Moved ...
9956         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9957         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9958         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9959         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9960         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9961         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9962         Moved ...
9963         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9964         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9965         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9967         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9968         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9969         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9970         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9971         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9973 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9975         [BZ #17092]
9976         * nscd/nscd.c (monitor_child): Return exit status of child
9977         instead of return value from wait syscall.
9979 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9981         * configure.ac (libc_commonpagesize): Remove variable.
9982         (libc_relro_required): Likewise.
9983         (libc_cv_z_relro): Remove configure test.
9984         * configure: Regenerated.
9985         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9986         variable.
9987         (libc_relro_required): Likewise.
9988         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9989         (libc_relro_required): Likewise.
9990         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9991         (libc_relro_required): Likewise.
9992         * sysdeps/arm/preconfigure: Regenerated.
9993         * sysdeps/ia64/preconfigure: Remove file.
9994         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9995         variable.
9996         (libc_relro_required): Likewise.
9998         [BZ #16561]
9999         [BZ #16562]
10000         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10001         (__ieee754_yn): Set FE_TONEAREST mode internally and then
10002         recompute overflowing results in original rounding mode.
10003         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10004         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10005         recompute overflowing results in original rounding mode.
10006         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10007         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10008         recompute overflowing results in original rounding mode.
10009         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10010         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10011         recompute overflowing results in original rounding mode.
10012         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10013         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10014         recompute overflowing results in original rounding mode.
10015         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10016         (libc_feholdsetround_ctx): New macro.
10017         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10018         * sysdeps/i386/fpu/libm-test-ulps: Update.
10019         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10021 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10023         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10024         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10025         corresponding .cpsetup call.
10027 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10029         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10030         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10031         * sysdeps/arm/Makefile [$(subdir) = csu]
10032         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10033         (static-only-routines): Add aeabi_read_tp here.
10034         (shared-only-routines): Add libc-aeabi_read_tp here.
10035         (CFLAGS-libc-start.c): Add -fexceptions here.
10036         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10037         (sysdep_routines, static-only-routines, shared-only-routines):
10038         Don't add to these here.
10039         (CFLAGS-libc-start.c): Likewise.
10041         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10042         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10043         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10044         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10045         * sysdeps/arm/Makefile [$(subdir) = rt]
10046         (librt-sysdep_routines, librt-shared-only-routines):
10047         Append rt-aeabi_unwind_cpp_pr1 here.
10048         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10049         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10050         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10051         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10052         Append nptl-aeabi_unwind_cpp_pr1 here.
10053         (tests): Filter out tst-cleanupx4 here.
10054         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10055         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10056         Don't do those here.
10058 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10060         * scripts/list-sources.sh: Do not handle ports specially.
10062 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10064         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10065         * sysdeps/arm/feupdateenv.c: Likewise.
10067         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10069 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10071         * manual/texinfo.tex: Update to version 2014-05-05.10 with
10072         trailing whitespace removed.
10073         * scripts/config.guess: Update to version 2014-03-23.
10074         * scripts/config.sub: Update to version 2014-05-01
10075         * scripts/install-sh: Update to version 2013-12-25.23.
10076         * scripts/move-if-change: Update from gnulib.
10078 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10080         * debug/memmove_chk.c: Remove pagecopy.h include.
10082 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
10084         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
10085         identical to gnulib mktime.
10087 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
10089         * configure.ac: Do not test for machine being rs6000.  Do not test
10090         for powerpc*-*soft.
10091         * configure: Regenerated.
10093         [BZ #11505]
10094         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10095         test.
10096         * configure: Regenerated.
10097         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10098         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10099         Remove configure test.
10100         * sysdeps/arm/configure: Regenerated.
10101         * sysdeps/nptl/configure.ac: Do not check
10102         libc_cv_asm_cfi_directives.
10103         * sysdeps/nptl/configure: Regenerated.
10104         * sysdeps/x86_64/nptl/configure.ac: Remove file.
10105         * sysdeps/x86_64/nptl/configure: Remove generated file.
10106         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10107         unconditional.
10108         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10110 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10112         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10113         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10114         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10115         it is defined.
10117         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10118         instead of whether it is defined.
10119         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10120         * sysdeps/hppa/dl-machine.h: Likewise.
10121         * sysdeps/ia64/dl-machine.h: Likewise.
10122         * sysdeps/m68k/dl-machine.h: Likewise.
10123         * sysdeps/microblaze/dl-machine.h: Likewise.
10124         * sysdeps/mips/dl-machine.: Likewise.
10125         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10126         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10127         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10128         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10129         * sysdeps/sh/dl-machine.h: Likewise.
10130         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10131         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10132         * sysdeps/tile/dl-machine.h: Likewise.
10133         * sysdeps/x86_64/dl-machine.h: Likewise.
10135         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10136         code.
10137         (verify_persistent_db): Likewise.
10139 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10142         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10144         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10146         Moved ...
10147         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10148         ... here.
10149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10150         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10152         Identical file removed.
10153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10154         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10155         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10156         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10158         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10160         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10162         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10164         Moved ...
10165         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10167         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10169         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10171         Moved ...
10172         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10174         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10176         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10178         Identical file removed.
10179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10180         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10182         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10184         Moved ...
10185         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10186         ... here.
10187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10188         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10190         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10192         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10194         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10196         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10198         Moved ...
10199         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10201         Moved ...
10202         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10204         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10206         Moved ...
10207         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10209         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10211         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10212         folded into ...
10213         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10214         * sysdeps/unix/sysv/linux/s390/Versions
10215         (libpthread: GLIBC_2.19): New version set.
10216         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10217         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10218         (librt: GLIBC_2.3.3): New version set.
10219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10220         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10221         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10222         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10223         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10224         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10225         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10226         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10227         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10229         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10230         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10231         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10232         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10233         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10234         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10235         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10236         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10237         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10238         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10239         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10240         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10241         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10242         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10243         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10244         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10245         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10246         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10249         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10250         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10251         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10252         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10255         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10256         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10257         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10258         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10259         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10260         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10261         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10263         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10265         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10266         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10267         (__libc_vfork): Define the function under this name.
10268         [!NOT_IN_libc] (__vfork): Make this an alias.
10269         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10271         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10272         (__libc_vfork): Define the function under this name.
10273         [!NOT_IN_libc] (__vfork): Make this an alias.
10274         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10275         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10276         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10278         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10279         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10281         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10282         code that was previously under [RESET_PID].
10283         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10284         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10285         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10287         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10288         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10289         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10290         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10291         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10292         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10293         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10294         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10295         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10296         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10297         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10298         Moved ...
10299         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10300         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10301         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10302         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10303         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10304         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10305         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10306         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10307         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10308         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10309         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10310         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10311         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10312         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10313         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10314         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10315         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10316         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10317         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10318         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10319         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10320         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10321         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10322         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10323         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10324         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10325         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10327         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10329 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10331         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10332         that was previously under [RESET_PID].
10333         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10335 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10337         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10338         not undefine and redefine.
10339         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10340         [O_CLOEXEC]: Make code unconditional.
10341         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10342         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10343         <kernel-features.h>.
10344         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10345         conditional variable definition.
10346         (shm_open) [O_CLOEXEC]: Make code unconditional.
10347         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10348         code.
10350         * configure.ac (USE_REGPARMS): Don't define here.
10351         * configure: Regenerated.
10352         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10353         * sysdeps/i386/configure: Regenerated.
10355         * nptl/createthread.c: Don't include kernel-features.h.
10356         * nptl/pthread_cancel.c: Likewise.
10357         * nptl/pthread_condattr_setclock.c: Likewise.
10358         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10359         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10360         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10361         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10362         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10363         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10364         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10365         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10366         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10367         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10368         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10369         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10370         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10371         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10372         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10373         * nscd/gai.c: Likewise.
10374         * nss/nss_db/db-open.c: Likewise.
10375         * sysdeps/generic/ldsodefs.h: Likewise.
10376         * sysdeps/sh/nptl/tls.h: Likewise.
10377         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10378         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10379         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10380         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10381         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10382         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10383         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10384         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10385         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10386         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10387         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10388         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10389         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10390         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10391         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10392         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10393         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10394         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10395         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10396         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10398         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10399         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10400         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10401         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10402         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10404         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10405         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10406         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10407         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10408         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10409         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10410         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10411         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10412         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10413         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10414         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10415         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10416         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10417         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10418         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10419         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10420         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10421         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10422         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10423         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10424         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10425         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10426         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10427         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10428         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10429         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10430         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10431         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10432         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10433         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10434         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10457         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10458         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10459         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10460         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10461         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10462         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10463         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10464         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10465         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10466         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10467         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10468         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10469         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10470         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10471         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10472         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10473         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10474         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10475         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10476         * sysdeps/unix/sysv/linux/system.c: Likewise.
10477         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10478         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10479         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10480         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10481         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10482         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10483         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10485         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10486         * configure: Regenerated.
10487         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10489         * configure.ac (base_machine): Do not set specially for particular
10490         machines here.
10491         * configure: Regenerated.
10492         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10493         settings from configure.ac.
10494         * sysdeps/i386/preconfigure: New file.
10495         * sysdeps/s390/preconfigure: Likewise.
10496         * sysdeps/sh/preconfigure: Likewise.
10497         * sysdeps/sparc/preconfigure: Likewise.
10499 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10501         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10502         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10503         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10504         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10505         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10506         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10507         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10508         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10509         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10510         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10511         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10512         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10513         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10514         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10516         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10517         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10518         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10519         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10521         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10522         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10523         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10524         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10525         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10526         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10527         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10528         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10529         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10530         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10531         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10532         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10533         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10534         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10535         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10536         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10537         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10538         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10539         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10540         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10541         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10542         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10543         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10544         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10545         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10546         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10547         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10548         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10549         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10551         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10552         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10553         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10554         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10555         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10556         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10557         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10558         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10561         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10563         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10565         Moved ...
10566         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10567         ... here.
10568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10569         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10571         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10573         Moved ...
10574         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10576         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10578         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10580         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10582         Moved ...
10583         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10584         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10585         Moved ...
10586         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10588         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10590         Moved ...
10591         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10593         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10595         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10596         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10597         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10598         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10599         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10600         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10601         Moved ...
10602         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10603         ... here.
10604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10605         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10607         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10609         Moved ...
10610         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10611         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10612         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10614         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10616         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10618         Moved ...
10619         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10621         Moved ...
10622         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10624         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10626         Moved ...
10627         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10629         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10631         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10633 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10635         * timezone/checktab.awk: Update from tzcode 2014e.
10636         * timezone/private.h: Likewise.
10637         * timezone/tzfile.h: Likewise.
10638         * timezone/zdump.c: Likewise.
10639         * timezone/zic.c: Likewise.
10641         * sysdeps/unix/sysv/linux/kernel-features.h
10642         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10643         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10644         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10645         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10646         Remove conditional code.
10648 2014-06-25  Will Newton  <will.newton@linaro.org>
10650         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10651         (_dl_arm_cap_flags): Add HWCAP2 values.
10652         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10653         (_DL_HWCAP_COUNT): Increase to 37.
10654         (_DL_HWCAP_LAST): New define.
10655         (_DL_HWCAP2_LAST): New define.
10656         (_dl_procinfo): Add support for printing
10657         AT_HWCAP2 entries.
10658         (_dl_string_hwcap): Use _dl_hwcap_string.
10660 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10664 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10666         * README: Do not mention ports directory.
10668         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10669         Remove macro.
10670         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10671         <kernel-features.h>.
10672         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10673         conditional variable definition.
10674         (__futimes): Update comment.
10675         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10676         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10678         [BZ #16560]
10679         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10680         arguments close to 0.
10681         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10682         Likewise.
10683         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10684         Likewise.
10685         * math/auto-libm-test-in: Add more tests of exp10.
10686         * math/auto-libm-test-out: Regenerated.
10687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10689         * sysdeps/unix/sysv/linux/kernel-features.h
10690         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10691         * sysdeps/unix/sysv/linux/readv.c: Do not include
10692         <kernel-features.h>.
10693         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10694         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10695         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10696         unconditional.
10697         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10698         conditional code.
10699         * sysdeps/unix/sysv/linux/writev.c: Do not include
10700         <kernel-features.h>.
10701         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10702         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10703         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10704         unconditional.
10705         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10706         conditional code.
10708 2014-06-25  Will Newton  <will.newton@linaro.org>
10710         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10711         comment changes throughout the file.  Remove checks
10712         for HAVE_*_H definitions that are not required.
10713         (__gen_tempname): Call abort if an unknown kind value is
10714         passed.
10716 2014-06-25  Andreas Schwab  <schwab@suse.de>
10718         [BZ #17086]
10719         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10720         scalbln, scalblnf, scalblnl in libc.
10722 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10724         [BZ #17086]
10725         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10726         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10727         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10729 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10731         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10732         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10733         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10734         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10735         Update #include.
10736         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10737         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10738         Update #include.
10739         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10740         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10741         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10742         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10743         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10744         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10745         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10746         * sysdeps/x86/bits/semaphore.h: ... here.
10747         * sysdeps/x86/nptl/elide.h: Moved ...
10748         * sysdeps/x86/elide.h: ... here.
10749         * sysdeps/x86_64/nptl/Implies: File removed.
10750         * sysdeps/i386/nptl/Implies: File removed.
10752 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10754         [BZ #16539]
10755         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10756         return the argument for normal arguments with exponent below -64.
10757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10758         Likewise.
10759         * math/auto-libm-test-in: Add another test of expm1.
10760         * math/auto-libm-test-out: Regenerated.
10762         [BZ #16287]
10763         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10764         calling __erfcl for arguments at least 16.
10765         * math/auto-libm-test-in: Add more tests of erf.
10766         * math/auto-libm-test-out: Regenerated.
10768         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10769         individual architectures.
10770         * sysdeps/unix/sysv/linux/configure: Regenerated.
10771         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10772         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10773         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10774         (ldd_rewrite_script): Define variable.
10775         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10777         file.
10778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10779         generated file.
10780         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10781         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10782         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10783         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10784         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10785         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10786         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10787         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10789 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10791         [BZ #17084]
10792         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10793         Rename member __data.d to __data.__elision_data.
10795 2014-06-24  Wilco  <wdijkstr@arm.com>
10797         * NEWS: Add 16918 to fixed bug list.
10799 2014-06-24  Wilco  <wdijkstr@arm.com>
10801         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10803 2014-06-24  Wilco  <wdijkstr@arm.com>
10805         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10806         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10807         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10808         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10809         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10810         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10811         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10812         Use _FPU_MASK_RM.
10814 2014-06-24  Wilco  <wdijkstr@arm.com>
10816         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10818 2014-06-24  Wilco  <wdijkstr@arm.com>
10820         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10821         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10822         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10823         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10825 2014-06-24  Wilco  <wdijkstr@arm.com>
10827         [BZ #16918]
10828         * sysdeps/arm/feupdateenv.c (feupdateenv):
10829         Rewrite to reduce FPSCR accesses and fix return value.
10831 2014-06-24  Wilco  <wdijkstr@arm.com>
10833         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10834         Optimize to avoid unnecessary FPSCR writes.
10835         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10836         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10837         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10838         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10840 2014-06-24  Wilco  <wdijkstr@arm.com>
10842         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10843         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10844         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10845         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10846         Call libc_fetestexcept_vfp.
10847         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10848         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10849         __SOFTFP__ ifdef so that they can be built for softfp.
10851 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10853         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10854         argument type signed char.
10856         * Makerules (check-abi): Dump diff of symlist if the test
10857         fails.
10859 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10861         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10862         using abort.
10864         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10865         Remove unused variable ST.
10867 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10869         [BZ #16354]
10870         [BZ #17061]
10871         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10872         small arguments before calling __expm1.
10873         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10874         small arguments before calling __expm1f.
10875         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10876         small arguments before calling __expm1l.
10877         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10878         Likewise.
10879         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10880         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10881         spurious underflow for some cosh tests.
10882         * math/auto-libm-test-out: Regenerated.
10883         * sysdeps/i386/fpu/libm-test-ulps: Update.
10885         [BZ #17050]
10886         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10887         (__ieee754_y1): Set errno if return value overflows.
10888         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10889         (__ieee754_y1f): Set errno if return value overflows.
10890         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10891         (__ieee754_y1l): Set errno if return value overflows.
10892         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10893         (__ieee754_y1l): Set errno if return value overflows.
10894         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10895         * math/auto-libm-test-out: Regenerated.
10897         * math/gen-auto-libm-tests.c: Document use of
10898         ignore-zero-inf-sign.
10899         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10900         (input_flags): Add ignore-zero-inf-sign.
10901         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10902         * math/gen-libm-test.pl (generate_testfile): Handle
10903         ignore-zero-inf-sign.
10904         * math/auto-libm-test-in: Mark some cpow tests with
10905         ignore-zero-inf-sign and some with xfail-rounding.
10906         * math/auto-libm-test-out: Regenerated.
10907         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10908         * sysdeps/i386/fpu/libm-test-ulps: Update.
10909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10911         [BZ #16315]
10912         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10913         overflowing or underflowing operations take place with sign of
10914         result.
10915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10916         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10917         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10918         (__ieee754_pow): Recompute overflowing and underflowing results in
10919         original rounding mode.
10920         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10921         (__powl_helper): Allow negative argument X and scale negated value
10922         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10923         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10924         overflowing or underflowing operations take place with sign of
10925         result.
10926         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10927         Include <math.h>.
10928         * math/auto-libm-test-in: Add more tests of pow.
10929         * math/auto-libm-test-out: Regenerated.
10930         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10931         (pow_tonearest_test_data): Remove.
10932         (pow_test_tonearest): Likewise.
10933         (pow_towardzero_test_data): Likewise.
10934         (pow_test_towardzero): Likewise.
10935         (pow_downward_test_data): Likewise.
10936         (pow_test_downward): Likewise.
10937         (pow_upward_test_data): Likewise.
10938         (pow_test_upward): Likewise.
10939         (main): Don't call removed functions.
10940         * sysdeps/i386/fpu/libm-test-ulps: Update.
10941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10943 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10946         Moved ...
10947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10949         Moved ...
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10952         Moved ...
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10955         Moved ...
10956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10958         File removed.
10959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10960         File removed.
10961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10962         File removed.
10963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10964         File removed.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10966         File removed.
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10968         File removed.
10969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10970         File removed.
10971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10972         File removed.
10973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10974         File removed.
10975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10976         File removed.
10977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10978         File removed.
10979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10980         File removed.
10981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10982         Moved ...
10983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10985         Moved ...
10986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10987         ... here.
10988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10989         Moved ...
10990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10992         Moved ...
10993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10995         Moved ...
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10998         Moved ...
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11001         Moved ...
11002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11004         Moved ...
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11007         Moved ...
11008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11011         ... here.
11012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11013         Moved ...
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11016         Moved ...
11017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11018         ... here.
11019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11020         Moved ...
11021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11022         ... here.
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11026         ... here.
11027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11028         Moved ...
11029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11031         Moved ...
11032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11036         Moved ...
11037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11038         ... here.
11039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11040         Moved ...
11041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11042         ... here.
11043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11044         Moved ...
11045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11047         Moved ...
11048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11050         Moved ...
11051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11053         Moved ...
11054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11056         Moved ...
11057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11058         ... here.
11059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11060         Moved ...
11061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11063         Moved ...
11064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11066         Moved ...
11067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11069         Moved ...
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11074         Moved ...
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11077         Moved ...
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11080         Moved ...
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11082         ... here.
11083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11084         Moved ...
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11086         ... here.
11087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11088         Moved ...
11089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11090         ... here.
11091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11092         Moved ...
11093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11095         Moved ...
11096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11098         Moved ...
11099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11101         Moved ...
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11103         ... here.
11104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11105         Moved ...
11106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11107         ... here.
11108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11109         Moved ...
11110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11111         ... here.
11112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11113         Moved ...
11114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11116         Moved ...
11117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11119 2014-06-23  Will Newton  <will.newton@linaro.org>
11120             Wilco  <wdijkstr@arm.com>
11122         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11123         implementation.  Include get-rounding-mode.h.
11124         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11125         [!libc_feholdsetround_noex_ctx]: Define
11126         libc_feholdsetround_noex_ctx.
11127         [!libc_feholdsetround_noexf_ctx]: Define
11128         libc_feholdsetround_noexf_ctx.
11129         [!libc_feholdsetround_noexl_ctx]: Define
11130         libc_feholdsetround_noexl_ctx.
11131         (libc_feholdsetround_ctx): New function.
11132         (libc_feresetround_ctx): New function.
11133         (libc_feholdsetround_noex_ctx): New function.
11134         (libc_feresetround_noex_ctx): New function.
11136 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11138         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11139         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11140         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11141         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11142         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11143         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11146         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11147         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11148         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11149         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11150         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11151         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11152         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11153         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11154         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11155         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11156         Moved ...
11157         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11158         ... here.
11159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11160         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11162         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11164         Moved ...
11165         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11166         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11167         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11169         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11171         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11173         Moved ...
11174         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11175         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11176         Moved ...
11177         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11179         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11181         Moved ...
11182         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11183         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11184         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11185         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11186         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11187         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11188         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11189         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11190         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11191         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11192         Moved ...
11193         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11194         ... here.
11195         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11196         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11197         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11198         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11199         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11200         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11201         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11202         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11204         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11206         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11208         Moved ...
11209         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11211         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11212         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11213         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11215         Moved ...
11216         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11217         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11218         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11219         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11220         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11222         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11223         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11224         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11225         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11226         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11227         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11228         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11229         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11230         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11231         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11232         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11233         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11234         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11235         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11236         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11237         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11238         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11239         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11240         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11241         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11242         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11243         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11244         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11245         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11246         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11247         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11248         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11249         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11251 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11253         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11254         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11255         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11256         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11257         (IPV6_PMTUDISC_INTERFACE): Likewise.
11258         (IPV6_PMTUDISC_OMIT): Likewise.
11260 2014-06-23  Andreas Schwab  <schwab@suse.de>
11262         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11263         Remove unused errout label.
11265 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11267         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11268         macro: hardware supports Vector Crypto instructions.
11270 2014-06-23  Will Newton  <will.newton@linaro.org>
11272         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11273         rather than __builtin_expect.
11275         * elf/dl-lookup.c (undefined_msg): Remove variable.
11276         (_dl_lookup_symbol_x): Replace undefined_msg with string
11277         literal.
11279         * elf/dl-lookup.c (do_lookup_unique): New function.
11280         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11281         to a separate function.
11283 2014-06-23  Andreas Schwab  <schwab@suse.de>
11285         [BZ #17079]
11286         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11287         before reading the next line.
11289 2014-06-23  Will Newton  <will.newton@linaro.org>
11291         * test-skeleton.c (signal_handler): Use printf and %m
11292         rather than perror.  Use printf rather than fprintf to
11293         stderr.  Use puts rather than fputs to stderr.
11294         (main): Likewise.
11296 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11298         * nscd/nscd.c (thread_info_t): Remove typedef.
11299         (thread_info): Remove variable.
11301 2014-06-21  Allan McRae  <allan@archlinux.org>
11303         * NEWS: Mention CVE-2014-4043.
11305 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11307         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11308         * nptl/smp.h: ... here.
11310         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11312         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11313         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11314         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11315         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11317         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11318         * nptl/stack-aliasing.h: New file.
11319         * sysdeps/i386/i686/stack-aliasing.h: New file.
11320         * sysdeps/i386/i686/nptl/Makefile: File removed.
11321         * sysdeps/x86_64/stack-aliasing.h: New file.
11322         * sysdeps/x86_64/nptl/Makefile
11323         (CFLAGS-pthread_create.c): Variable removed.
11325         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11326         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11327         old file.
11328         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11329         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11330         old file.
11332 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11334         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11335         (__ASSUME_SIGFRAME_V2): Remove macro.
11336         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11337         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11338         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11339         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11340         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11341         Declare as function.  Remove conditional macro definitions.
11342         (__default_rt_sa_restorer): Likewise.
11343         (__default_sa_restorer_v1): Remove declaration.
11344         (__default_sa_restorer_v2): Likewise.
11345         (__default_rt_sa_restorer_v1): Likewise.
11346         (__default_rt_sa_restorer_v2): Likewise.
11347         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11348         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11349         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11351 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11353         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11354         (libpthread-routines): Add sysdep.
11355         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11356         * sysdeps/unix/sysv/linux/sparc/Versions
11357         (libpthread: GLIBC_2.3.3): New version set.
11358         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11359         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11360         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11361         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11362         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11363         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11364         Moved ...
11365         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11366         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11367         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11368         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11369         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11370         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11371         * sysdeps/sparc/nptl/sem_init.c: ... here.
11372         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11373         * sysdeps/sparc/nptl/sem_post.c: ... here.
11374         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11375         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11376         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11377         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11378         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11379         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11380         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11381         (libpthread-routines): Add cpu_relax.
11382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11383         File removed.
11384         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11385         (librt: GLIBC_2.3.3): New version set.
11386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11387         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11388         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11389         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11392         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11394         Moved ...
11395         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11397         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11399         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11400         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11401         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11402         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11403         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11404         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11405         Moved ...
11406         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11407         Update #include.
11408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11409         Moved ...
11410         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11411         Update #include.
11412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11413         Moved ...
11414         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11415         Update #include.
11416         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11417         Moved ...
11418         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11419         Update #include.
11420         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11421         Moved ...
11422         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11423         Update #include.
11424         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11425         Moved ...
11426         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11427         Update #include.
11428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11429         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11430         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11431         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11432         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11437         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11439         Moved ...
11440         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11441         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11442         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11444         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11446 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11448         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11449         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11450         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11451         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11452         * nscd/nscd.c: Likewise.
11453         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11454         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11455         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11456         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11458         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11459         <kernel-features.h>.
11460         (init_mq_netlink): Remove conditional have_sock_cloexec
11461         definitions.  Remove code conditional on have_sock_cloexec < 0.
11462         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11463         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11464         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11465         <kernel-features.h>.
11466         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11467         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11469 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11472         Add tests for memset_chk and memset.
11474         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11475         with AVX2_Usable.
11477 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11479         [BZ #16046]
11480         * elf/tst-dl-iter-static.c: New file.
11481         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11483         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11484         error.
11486 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11488         * sysdeps/unix/sysv/linux/kernel-features.h
11489         (__ASSUME_F_GETOWN_EX): Remove macro.
11490         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11491         <kernel-features.h>.
11492         (miss_F_GETOWN_EX): Remove variable or macro.
11493         (do_fcntl): Do not check miss_F_GETOWN_EX.
11494         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11496         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11497         Remove macro.
11498         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11499         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11500         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11502         * sysdeps/unix/sysv/linux/kernel-features.h
11503         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11504         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11505         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11506         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11508 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11510         [BZ #17075]
11511         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11512         Fix calculation of the symbol's value.
11513         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11514         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11515         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11516         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11517         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11518         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11519         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11520         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11521         (modules-names): Add `tst-armtlsdescmod',
11522         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11523         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11524         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11525         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11526         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11527         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11528         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11529         ($(objpfx)tst-armtlsdescloc): New dependency.
11530         ($(objpfx)tst-armtlsdescextnow): Likewise.
11531         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11532         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11533         TLS scheme support.
11534         * sysdeps/arm/configure: Regenerate.
11536 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11538         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11539         (__atfct_seterrno_2): Likewise.
11540         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11541         <kernel-features.h>.
11542         (__ASSUME_ATFCTS): Do not undefine and redefine.
11543         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11544         (__have_atfcts): Remove conditional definition.
11545         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11546         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11547         unreachable if [__ASSUME_ATFCTS].
11548         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11549         not undefine and redefine.
11550         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11551         <kernel-features.h>.
11552         (faccessat) [__NR_faccessat]: Make code unconditional.
11553         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11554         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11555         <kernel-features.h>.
11556         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11557         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11558         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11559         <kernel-features.h>.
11560         (fchownat) [__NR_fchownat]: Make code unconditional.
11561         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11562         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11563         <kernel-features.h>.
11564         (futimesat) [__NR_futimesat]: Make code unconditional.
11565         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11566         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11567         <kernel-features.h>.
11568         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11569         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11570         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11571         <kernel-features.h>.
11572         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11573         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11574         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11575         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11576         <kernel-features.h>.
11577         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11578         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11579         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11580         <kernel-features.h>.
11581         (linkat) [__NR_linkat]: Make code unconditional.
11582         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11583         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11584         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11585         <kernel-features.h>.
11586         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11587         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11588         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11589         <kernel-features.h>.
11590         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11591         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11592         * sysdeps/unix/sysv/linux/openat.c: Do not include
11593         <kernel-features.h>.
11594         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11595         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11596         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11597         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11598         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11599         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11600         <kernel-features.h>.
11601         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11602         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11603         result of INLINE_SYSCALL directly, not via int variable.
11604         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11605         <kernel-features.h>.
11606         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11607         (renameat) [__NR_renameat]: Make code unconditional.
11608         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11609         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11610         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11611         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11612         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11613         (__ASSUME_ATFCTS): Do not undefine and redefine.
11614         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11615         <kernel-features.h>.
11616         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11617         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11618         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11619         <kernel-features.h>.
11620         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11621         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11622         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11623         (__ASSUME_ATFCTS): Do not undefine and redefine.
11624         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11625         <kernel-features.h>.
11626         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11627         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11628         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11629         <kernel-features.h>.
11630         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11631         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11633 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11635         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11637 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11639         [BZ #17069]
11640         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11641         constructed tree before returning error.
11642         * posix/bug-regexp36.c: Expand test case.
11644 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11646         [BZ #6803]
11647         * math/libm-test.inc (scalbln_test_date):
11648         Add errno expectations.
11649         * math/w_scalblnf.c: New File.
11650         Add wrapper which checks for setting errno to ERANGE.
11651         Add weak_alias for corresponding scalbln function.
11652         * math/w_scalbln.c: Likewise.
11653         * math/w_scalblnl.c: Likewise.
11654         * math/Makefile (libm-calls): Add w_scalbln.
11655         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11656         Remove weak_alias for corresponding scalbln function.
11657         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11658         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11660         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11661         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11662         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11663         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11664         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11665         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11666         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11667         Remove long_double_symbol for scalblnl function in libm, libc.
11668         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11669         Add wrapper which checks for setting errno to ERANGE.
11670         Add long_double_symbol for scalblnl function in libm, libc.
11671         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11672         Remove long_double_symbol for scalblnl in libm.
11673         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11674         Add wrapper which checks for setting errno to ERANGE.
11675         Add long_double_symbol for scalblnl function in libm.
11676         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11677         Do not use wrapper because of own implementation.
11679 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11681         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11682         3 bytes for __pad1 for x32.
11683         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11685 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11686             H.J. Lu  <hongjiu.lu@intel.com>
11688         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11689         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11690         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11691         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11692         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11694 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11696         [BZ #17069]
11697         * posix/regcomp.c (parse_expression): Deallocate partially
11698         constructed tree before returning error.
11699         * posix/Makefile.c (tests): Add bug-regex36.
11700         (generated): Add bug-regex36.mtrace.
11701         (tests-special): Add $(objpfx)bug-regex36-mem.out
11702         (bug-regex36-ENV): New variable.
11703         ($(objpfx)bug-regex36-mem.out): New rule.
11704         * posix/bug-regex36.c: New file.
11706 2014-06-19  Will Newton  <will.newton@linaro.org>
11708         * malloc/malloc.c (systrim): If extra is zero then return
11709         early.
11711 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11713         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11715 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11717         * sysdeps/aarch64/strchr.S: New file.
11719 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11721         [BZ #17022]
11722         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11723         from arguments -2 or below.
11724         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11725         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11727 2014-06-18  Andreas Schwab  <schwab@suse.de>
11729         [BZ #17062]
11730         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11731         of a bracket expr not to run off the end of the string.
11732         * posix/Makefile (tests): Add tst-fnmatch3.
11733         * posix/tst-fnmatch3.c: New file.
11735 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11737         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11738         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11739         [$(cross-compiling) = no]: Likewise.
11740         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11741         [$(cross-compiling) = no]: Likewise.
11743 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11745         [BZ #17031]
11746         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11747         double, adjusted for any remainder from the high double.
11748         * math/libm-test.inc (nearbyint): Add tests.
11749         (rint): Likewise.
11751 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11753         * nptl/sysdeps/powerpc/Makefile: Moved ...
11754         * sysdeps/powerpc/nptl/Makefile: ... here.
11755         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11756         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11757         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11758         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11759         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11760         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11761         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11762         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11763         * nptl/sysdeps/powerpc/tls.h: Moved ...
11764         * sysdeps/powerpc/nptl/tls.h: ... here.
11766 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11768         [BZ #16681]
11769         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11770         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11771         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11772         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11773         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11774         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11775         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11776         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11777         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11779 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11781         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11783 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11785         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11786         defined operator.
11788         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11789         $TIMEOUTFACTOR.
11791 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11793         [BZ #17058]
11794         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11795         non-executed part of the test.
11797 2014-06-16  Andreas Schwab  <schwab@suse.de>
11799         * string/bits/string2.h (strdup, strndup): Update feature guard.
11801 2014-06-14  David S. Miller  <davem@davemloft.net>
11803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11805 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11807         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11808         that was previously under [RESET_PID].
11809         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11811         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11812         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11813         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11814         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11815         (__libc_vfork): New strong alias.
11816         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11818 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11820         * sysdeps/generic/elide.h: New file.
11822 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11824         * Makefile (installed-headers): Adjust path of pthread.h header.
11826 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11828         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11829         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11831         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11833         * nptl/sysdeps/s390/Makefile: Moved ...
11834         * sysdeps/s390/nptl/Makefile: ... here.
11835         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11836         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11837         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11838         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11839         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11840         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11841         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11842         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11843         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11844         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11845         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11846         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11847         * nptl/sysdeps/s390/tls.h: Moved ...
11848         * sysdeps/s390/nptl/tls.h: ... here.
11850         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11851         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11853 2014-06-13  David S. Miller  <davem@davemloft.net>
11855         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11857         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11858         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11859         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11861         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11862         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11863         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11864         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11865         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11866         Remove RESET_PID cpp guards.
11867         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11868         Remove RESET_PID cpp guards.
11869         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11871 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11873         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11874         __sp to uintptr_t.
11876 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11878         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11879         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11880         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11881         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11882         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11883         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11884         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11885         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11886         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11887         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11888         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11889         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11890         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11892         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11893         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11894         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11895         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11896         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11897         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11899         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11900         (pthread_rwlock_rdlock): Add elision.
11901         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11902         (pthread_rwlock_wrlock): Add elision.
11903         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11904         (pthread_rwlock_trywrlock): Add elision.
11905         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11906         (pthread_rwlock_tryrdlock): Add elision.
11907         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11908         (pthread_rwlock_tryrdlock): Add elision unlock.
11909         * nptl/sysdeps/pthread/pthread.h:
11910         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11911         (PTHREAD_RWLOCK_INITIALIZER,
11912         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11913         Handle new elision field.
11914         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11915         * sysdeps/arm/nptl/bits/pthreadtypes.h
11916         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11917         * sysdeps/sh/nptl/bits/pthreadtypes.h
11918         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11919         * sysdeps/tile/nptl/bits/pthreadtypes.h
11920         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11921         * sysdeps/a/nptl/bits/pthreadtypes.h
11922         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11923         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11924         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11925         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11926         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11927         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11928         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11929         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11930         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11931         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11932         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11933         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11934         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11935         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11937         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11938         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11939         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11940         (elision_init): Set try_xbegin to zero when no RTM.
11941         * sysdeps/x86/nptl/bits/pthreadtypes.h
11942         (pthread_rwlock_t): Change __pad1 to __rwelision.
11943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11945 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11947         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11948         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11949         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11950         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11952 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11954         [BZ #16996]
11955         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11956         that the cached result has been set before returning it.
11958 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11960         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11961         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11962         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11963         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11964         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11965         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11967         * nptl/sysdeps/sparc/Makefile: Moved ...
11968         * sysdeps/sparc/nptl/Makefile: ... here.
11969         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11970         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11971         * nptl/sysdeps/sparc/tls.h: Moved ...
11972         * sysdeps/sparc/nptl/tls.h: ... here.
11973         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11974         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11975         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11976         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11977         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11978         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11979         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11980         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11981         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11982         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11983         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11984         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11985         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11986         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11987         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11988         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11989         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11990         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11991         Update #include.
11992         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11993         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11994         Update #include.
11995         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11996         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11997         Update #include.
11998         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11999         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12000         Update #include.
12002         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12004         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12005         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12007         * sysdeps/pthread/posix-timer.h: Include <list.h>.
12008         (struct list_links): Type removed.
12009         (struct thread_node, struct timer_node): Replace struct list_links
12010         with struct list_head.
12011         (list_unlink_ip): Likewise.
12012         * sysdeps/pthread/timer_routines.c
12013         (timer_free_list, thread_free_list, thread_active_list): Likewise.
12014         (list_append, list_insbefore): Likewise.
12015         (list_init): Function removed.
12016         (thread_init, init_module): Use INIT_LIST_HEAD instead.
12017         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12018         * sysdeps/pthread/Makefile: ... here, new file.
12020         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12021         * sysdeps/nptl/Implies: ... here.
12022         * sysdeps/unix/sysv/linux/Implies: Add nptl.
12023         * nptl/sysdeps/pthread/list.h: Moved ...
12024         * include/list.h: ... here.
12025         * nptl/sysdeps/pthread/createthread.c: Moved ...
12026         * nptl/createthread.c: ... here.
12027         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12028         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12029         * nptl/pt-longjmp.c: ... here.
12030         * nptl/sysdeps/pthread/Makefile: Moved ...
12031         * sysdeps/nptl/Makefile: ... here.
12032         * nptl/sysdeps/pthread/Subdirs: Moved ...
12033         * sysdeps/nptl/Subdirs: ... here.
12034         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12035         * sysdeps/nptl/aio_misc.h: ... here.
12036         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12037         * sysdeps/nptl/bits/libc-lock.h: ... here.
12038         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12039         * sysdeps/nptl/bits/libc-lockP.h: ... here.
12040         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12041         * sysdeps/nptl/bits/stdio-lock.h: ... here.
12042         * nptl/sysdeps/pthread/configure: Moved ...
12043         * sysdeps/nptl/configure: ... here.
12044         * nptl/sysdeps/pthread/configure.ac: Moved ...
12045         * sysdeps/nptl/configure.ac: ... here.
12046         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12047         * sysdeps/nptl/gai_misc.h: ... here.
12048         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12049         * sysdeps/nptl/librt-cancellation.c: ... here.
12050         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12051         * sysdeps/nptl/malloc-machine.h: ... here.
12052         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12053         * sysdeps/nptl/pthread-functions.h: ... here.
12054         * nptl/sysdeps/pthread/pthread.h: Moved ...
12055         * sysdeps/nptl/pthread.h: ... here.
12056         * nptl/sysdeps/pthread/setxid.h: Moved ...
12057         * sysdeps/nptl/setxid.h: ... here.
12058         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12059         * sysdeps/nptl/sigfillset.c: ... here.
12060         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12061         * sysdeps/nptl/tcb-offsets.h: ... here.
12062         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12063         * sysdeps/nptl/tst-mqueue8x.c: ... here.
12064         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12065         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12066         * nptl/sysdeps/pthread/allocalim.h: Moved ...
12067         * sysdeps/pthread/allocalim.h: ... here.
12068         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12069         * sysdeps/pthread/bits/sigthread.h: ... here.
12070         * nptl/sysdeps/pthread/flockfile.c: Moved ...
12071         * sysdeps/pthread/flockfile.c: ... here.
12072         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12073         * sysdeps/pthread/ftrylockfile.c: ... here.
12074         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12075         * sysdeps/pthread/funlockfile.c: ... here.
12076         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12077         * sysdeps/pthread/posix-timer.h: ... here.
12078         * nptl/sysdeps/pthread/timer_create.c: Moved ...
12079         * sysdeps/pthread/timer_create.c: ... here.
12080         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12081         * sysdeps/pthread/timer_delete.c: ... here.
12082         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12083         * sysdeps/pthread/timer_getoverr.c: ... here.
12084         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12085         * sysdeps/pthread/timer_gettime.c: ... here.
12086         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12087         * sysdeps/pthread/timer_routines.c: ... here.
12088         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12089         * sysdeps/pthread/timer_settime.c: ... here.
12090         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12091         * sysdeps/pthread/tst-timer.c: ... here.
12092         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12093         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12095         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12096         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12098         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12099         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12100         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12101         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12102         Update #include target.
12103         * nptl/sysdeps/i386/i686/Makefile: Moved ...
12104         * sysdeps/i386/i686/nptl/Makefile: ... here.
12105         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12106         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12107         Update #include target.
12108         * nptl/sysdeps/i386/i686/tls.h: Moved ...
12109         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
12110         * nptl/sysdeps/i386/Makefile: Moved ...
12111         * sysdeps/i386/nptl/Makefile: ... here.
12112         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12113         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12114         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12115         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12116         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12117         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12118         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12119         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12120         * sysdeps/i386/nptl/pthreaddef.h: ... here.
12121         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12122         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12123         * nptl/sysdeps/i386/tls.h: Moved ...
12124         * sysdeps/i386/nptl/tls.h: ... here.
12126         * sysdeps/sh/Makefile [$(subdir) = csu]
12127         (gen-as-const-headers): Add tcb-offsets.sym.
12128         * nptl/sysdeps/sh/Makefile: File removed.
12129         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12130         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12131         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12132         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12133         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12134         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12135         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12136         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12137         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12138         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12139         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12140         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12141         * nptl/sysdeps/sh/tls.h: Moved ...
12142         * sysdeps/sh/nptl/tls.h: ... here.
12143         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12144         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12145         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12146         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12147         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12148         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12150         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12151         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12152         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12153         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12154         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12155         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12156         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12157         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12158         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12159         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12160         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12161         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12162         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12164         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12165         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12166         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12167         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12168         Moved ...
12169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12170         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12171         Moved ...
12172         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12173         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12174         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12175         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12176         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12177         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12178         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12179         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12180         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12181         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12182         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12183         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12184         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12185         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12186         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12188         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12189         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12190         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12192 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12194         * posix/spawn_faction_addopen.c: Include string.h.
12196 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12198         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12199         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12200         * nptl/sysdeps/x86_64/Makefile: Moved ...
12201         * sysdeps/x86_64/nptl/Makefile: ... here.
12202         * nptl/sysdeps/x86_64/configure: Moved ...
12203         * sysdeps/x86_64/nptl/configure: ... here.
12204         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12205         * sysdeps/x86_64/nptl/configure.ac: ... here.
12206         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12207         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12208         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12209         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12210         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12211         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12212         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12213         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12214         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12215         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12216         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12217         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12218         * nptl/sysdeps/x86_64/tls.h: Moved ...
12219         * sysdeps/x86_64/nptl/tls.h: ... here.
12220         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12221         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12222         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12223         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12225         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12227 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12231 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12233         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12234         type.
12235         [POSIX] (off_t): Likewise.
12236         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12237         [POSIX] (S_ISBLK): Require macro.
12238         [POSIX] (S_ISCHR): Likewise.
12239         [POSIX] (S_ISDIR): Likewise.
12240         [POSIX] (S_ISFIFO): Likewise.
12241         [POSIX] (S_ISREG): Likewise.
12242         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12243         optional-macro.
12244         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12245         type.
12246         [POSIX] (time_t): Likewise.
12247         [POSIX] (timer_t): Likewise.
12249 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12251         [BZ #17048]
12252         * posix/spawn_int.h (struct __spawn_action): Make the path string
12253         non-const to support deallocation.
12254         * posix/spawn_faction_addopen.c
12255         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12256         * posix/spawn_faction_destroy.c
12257         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12258         path in all spawn_do_open actions.
12259         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12260         posix_spawn_file_actions_addopen.
12262 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12264         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12265         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12266         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12267         conditional code always true.
12268         (__libc_vfork): New alias.
12270 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12272         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12273         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12275         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12277         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12278         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12280         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12281         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12283         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12284         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12286 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12288         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12289         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12290         multiarch strcmp for PPC64.
12291         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12292         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12293         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12294         multiarch optimizations.
12295         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12296         (__libc_ifunc_impl_list): Likewise.
12298 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12300         * benchtests/scripts/validate_benchout.py: New script.
12301         * benchtests/Makefile (bench-func): Call it.
12302         * benchtests/scripts/benchout.schema.json: New file.
12304 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12306         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12307         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12308         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12309         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12310         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12311         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12312         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12313         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12314         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12315         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12316         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12317         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12318         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12319         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12320         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12321         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12323         Moved ...
12324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12325         ... here.
12326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12327         Moved ...
12328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12330         Moved ...
12331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12332         ... here.
12333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12334         Moved ...
12335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12336         ... here.
12337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12338         Moved ...
12339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12341         Moved ...
12342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12343         ... here.
12344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12345         Moved ...
12346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12347         ... here.
12348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12349         Moved ...
12350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12352         Moved ...
12353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12354         ... here.
12355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12356         Moved ...
12357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12358         ... here.
12359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12360         Moved ...
12361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12362         ... here.
12363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12364         Moved ...
12365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12367         Moved ...
12368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12369         ... here.
12370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12371         Moved ...
12372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12373         ... here.
12374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12375         Moved ...
12376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12377         ... here.
12378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12379         Moved ...
12380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12382         Moved ...
12383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12384         ... here.
12385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12386         Moved ...
12387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12388         ... here.
12389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12390         Moved ...
12391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12393         Moved ...
12394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12395         ... here.
12396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12397         Moved ...
12398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12400         Moved ...
12401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12403         Moved ...
12404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12405         ... here.
12406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12407         Moved ...
12408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12409         ... here.
12410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12411         Moved ...
12412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12413         ... here.
12414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12415         Moved ...
12416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12418         Moved ...
12419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12420         ... here.
12421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12422         Moved ...
12423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12424         ... here.
12425         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12426         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12427         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12428         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12429         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12430         Moved ...
12431         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12432         ... here.
12433         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12434         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12435         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12436         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12437         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12438         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12439         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12440         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12442         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12443         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12444         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12445         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12446         Moved ...
12447         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12449         Moved ...
12450         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12451         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12452         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12453         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12454         Moved ...
12455         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12457         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12458         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12459         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12460         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12461         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12463 2014-06-10  Wilco  <wdijkstr@arm.com>
12465         * math/test-fenv-return.c: New file.
12466         * math/Makefile: Add new test test-fenv-return.
12468 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12470         [BZ #17042]
12471         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12472         when x - 1 is zero.
12473         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12474         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12475         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12476         0.0L for an argument of 1.0L.
12477         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12478         Likewise.
12479         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12480         value when x - 1 is zero.
12481         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12482         * sysdeps/i386/fpu/libm-test-ulps: Update.
12483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12485 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12487         [BZ #15119]
12488         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12490 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12492         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12493         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12495 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12497         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12498         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12500         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12501         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12503         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12504         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12506         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12507         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12509         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12510         if not already defined.
12511         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12512         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12513         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12514         (TLS_INIT_TP): Use it.
12515         (TLS_DEFINE_INIT_TP): New macro.
12516         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12518 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12520         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12521         constant.
12522         [POSIX] (IXANY): Likewise.
12523         [POSIX] (OLCUC): Likewise.
12524         [POSIX || POSIX2008] (CBAUD): Do not allow.
12525         [POSIX || POSIX2008] (DEFECHO): Likewise.
12526         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12527         [POSIX || POSIX2008] (ECHOKE): Likewise.
12528         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12529         [POSIX || POSIX2008] (EXTA): Likewise.
12530         [POSIX || POSIX2008] (EXTB): Likewise.
12531         [POSIX || POSIX2008] (FLUSHO): Likewise.
12532         [POSIX || POSIX2008] (LOBLK): Likewise.
12533         [POSIX || POSIX2008] (PENDIN): Likewise.
12534         [POSIX || POSIX2008] (SWTCH): Likewise.
12535         [POSIX || POSIX2008] (VDISCARD): Likewise.
12536         [POSIX || POSIX2008] (VDSUSP): Likewise.
12537         [POSIX || POSIX2008] (VLNEXT): Likewise.
12538         [POSIX || POSIX2008] (VREPRINT): Likewise.
12539         [POSIX || POSIX2008] (VSTATUS): Likewise.
12540         [POSIX || POSIX2008] (VWERASE): Likewise.
12541         (B*): Change to B[0123456789]*.
12542         * conform/data/time.h-data [POSIX || UNIX98]
12543         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12544         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12545         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12546         [POSIX] (tm_*): Do not allow.
12548 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12550         * Makefile (install): Don't set LANGUAGE.
12551         * Makefile.in (install): Likewise.
12552         * assert/Makefile (test-assert-ENV): Remove variable.
12553         (test-assert-perr-ENV): Likewise.
12554         * elf/Makefile (neededtest4-ENV): Likewise.
12555         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12556         [$(cross-compiling) = no]: Don't set LANGUAGE.
12557         * io/ftwtest-sh (LANG): Remove variable.
12558         * libio/Makefile (tst-widetext-ENV): Likewise.
12559         * manual/install.texi (Running make install): Don't refer to
12560         environment settings for make install.
12561         * INSTALL: Regenerated.
12562         * nptl/tst-tls6.sh: Don't set LANG.
12563         * posix/globtest.sh (LANG): Remove variable.
12564         * string/Makefile (tester-ENV): Likewise.
12565         (inl-tester-ENV): Likewise.
12566         (noinl-tester-ENV): Likewise.
12567         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12568         [$(cross-compiling) = no]: Don't set LANGUAGE.
12569         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12570         without explicit environment settings.
12572 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12574         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12575         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12576         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12577         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12579 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12581         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12582         other files in the crypt directory.
12583         * crypt/crypt.c: Remove duplicate includes.
12584         * crypt/crypt-entry.c: Likewise.
12585         * crypt/crypt_util.c: Likewise.
12587 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12589         * Makeconfig (run-program-env): New variable.
12590         (run-program-prefix-before-env): Likewise.
12591         (run-program-prefix-after-env): Likewise.
12592         (run-program-prefix): Define in terms of new variables.
12593         (built-program-cmd-before-env): New variable.
12594         (built-program-cmd-after-env): Likewise.
12595         (built-program-cmd): Define in terms of new variables.
12596         (test-program-prefix-before-env): New variable.
12597         (test-program-prefix-after-env): Likewise.
12598         (test-program-prefix): Define in terms of new variables.
12599         (test-program-cmd-before-env): New variable.
12600         (test-program-cmd-after-env): Likewise.
12601         (test-program-cmd): Define in terms of new variables.
12602         * Rules (make-test-out): Use $(run-program-env).
12603         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12604         (help): Do not mention environment variables.  Mention
12605         --timeoutfactor option.
12606         (timeoutfactor): New variable.
12607         (blacklist_exports): Remove function.
12608         (exports): Remove variable.
12609         (command): Do not include ${exports}.
12610         * manual/install.texi (Configuring and compiling): Do not mention
12611         test wrappers preserving environment variables.  Mention that last
12612         assignment to a variable must take precedence.
12613         * INSTALL: Regenerated.
12614         * benchtests/Makefile (run-bench): Use $(run-program-env).
12615         * catgets/Makefile ($(objpfx)test1.cat): Use
12616         $(built-program-cmd-before-env), $(run-program-env) and
12617         $(built-program-cmd-after-env).
12618         ($(objpfx)test2.cat): Do not specify environment variables
12619         explicitly.
12620         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12621         $(run-program-env) and $(built-program-cmd-after-env).
12622         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12623         $(run-program-env) and $(test-program-cmd-after-env).
12624         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12625         explicitly.
12626         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12627         run_program_env and test_program_cmd_after_env arguments.
12628         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12629         * elf/tst-pathopt.sh: Use run_program_env argument.
12630         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12631         $(test-wrapper-env) and $(run-program-env).
12632         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12633         run_program_env arguments.
12634         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12635         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12636         $(test-program-prefix-before-env), $(run-program-env) and
12637         $(test-program-prefix-after-env).
12638         ($(objpfx)tst-gettext2.out): Likewise.
12639         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12640         run_program_env and test_program_prefix_after_env arguments.
12641         * intl/tst-gettext2.sh: Likewise.
12642         * intl/tst-gettext4.sh: Do not set environment variables
12643         explicitly.
12644         * intl/tst-gettext6.sh: Likewise.
12645         * intl/tst-translit.sh: Likewise.
12646         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12647         $(test-program-prefix-before-env), $(run-program-env) and
12648         $(test-program-prefix-after-env).
12649         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12650         run_program_env and test_program_prefix_after_env arguments.
12651         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12652         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12653         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12654         explicitly with each use of ${test_wrapper_env}.
12655         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12656         $(test-program-prefix-before-env), $(run-program-env) and
12657         $(test-program-prefix-after-env).
12658         * posix/tst-getconf.sh: Do not set environment variables
12659         explicitly.
12660         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12661         run_program_env and test_program_prefix_after_env arguments.
12662         * stdio-common/tst-printf.sh: Do not set environment variables
12663         explicitly.
12664         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12665         $(test-program-prefix-before-env), $(run-program-env) and
12666         $(test-program-prefix-after-env).
12667         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12668         run_program_env and test_program_prefix_after_env arguments.
12669         Split $test calls into $test_pre and $test.
12670         * timezone/Makefile (build-testdata): Use
12671         $(built-program-cmd-before-env), $(run-program-env) and
12672         $(built-program-cmd-after-env).
12674 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12676         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12677         strlen for non SHARED builds.
12679 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12681         * nptl/allocatestack.c (check_list): Inlined function...
12682         (__reclaim_stacks): ... here.
12684 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12686         [BZ #15698]
12687         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12688         memory overrun.
12690 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12692         * Rules (make-test-out): Include
12693         LOCPATH=$(common-objpfx)localedata in default environment.
12694         * debug/Makefile (tst-chk1-ENV): Remove variable.
12695         (tst-chk2-ENV): Likewise.
12696         (tst-chk3-ENV): Likewise.
12697         (tst-chk4-ENV): Likewise.
12698         (tst-chk5-ENV): Likewise.
12699         (tst-chk6-ENV): Likewise.
12700         (tst-lfschk1-ENV): Likewise.
12701         (tst-lfschk2-ENV): Likewise.
12702         (tst-lfschk3-ENV): Likewise.
12703         (tst-lfschk4-ENV): Likewise.
12704         (tst-lfschk5-ENV): Likewise.
12705         (tst-lfschk6-ENV): Likewise.
12706         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12707         (tst-iconv7-ENV): Likewise.
12708         * intl/Makefile (LOCPATH-ENV): Likewise.
12709         (tst-codeset-ENV): Likewise.
12710         (tst-gettext3-ENV): Likewise.
12711         (tst-gettext5-ENV): Likewise.
12712         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12713         (tst-fopenloc-ENV): Likewise.
12714         (tst-fgetws-ENV): Remove variable.
12715         (tst-ungetwc1-ENV): Likewise.
12716         (tst-ungetwc2-ENV): Likewise.
12717         (bug-ungetwc2-ENV): Likewise.
12718         (tst-swscanf-ENV): Likewise.
12719         (bug-ftell-ENV): Likewise.
12720         (tst-fgetwc-ENV): Likewise.
12721         (tst-fseek-ENV): Likewise.
12722         (tst-ftell-partial-wide-ENV): Likewise.
12723         (tst-ftell-active-handler-ENV): Likewise.
12724         (tst-ftell-append-ENV): Likewise.
12725         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12726         (tst-regexloc-ENV): Likewise.
12727         (bug-regex1-ENV): Likewise.
12728         (tst-regex-ENV): Likewise.
12729         (tst-regex2-ENV): Likewise.
12730         (bug-regex5-ENV): Likewise.
12731         (bug-regex6-ENV): Likewise.
12732         (bug-regex17-ENV): Likewise.
12733         (bug-regex18-ENV): Likewise.
12734         (bug-regex19-ENV): Likewise.
12735         (bug-regex20-ENV): Likewise.
12736         (bug-regex22-ENV): Likewise.
12737         (bug-regex23-ENV): Likewise.
12738         (bug-regex25-ENV): Likewise.
12739         (bug-regex26-ENV): Likewise.
12740         (bug-regex30-ENV): Likewise.
12741         (bug-regex32-ENV): Likewise.
12742         (bug-regex33-ENV): Likewise.
12743         (bug-regex34-ENV): Likewise.
12744         (bug-regex35-ENV): Likewise.
12745         (tst-rxspencer-ENV): Likewise.
12746         (tst-rxspencer-no-utf8-ENV): Likewise.
12747         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12748         (tst-sscanf-ENV): Likewise.
12749         (tst-swprintf-ENV): Likewise.
12750         (tst-swscanf-ENV): Likewise.
12751         (test-vfprintf-ENV): Likewise.
12752         (scanf13-ENV): Likewise.
12753         (bug14-ENV): Likewise.
12754         (tst-grouping-ENV): Likewise.
12755         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12756         (tst-strtod3-ENV): Likewise.
12757         (tst-strtod4-ENV): Likewise.
12758         (tst-strtod5-ENV): Likewise.
12759         (testmb2-ENV): Likewise./
12760         * string/Makefile (tst-strxfrm-ENV): Likewise.
12761         (tst-strxfrm2-ENV): Likewise.
12762         (bug-strcoll1-ENV): Likewise.
12763         (test-strcasecmp-ENV): Likewise.
12764         (test-strncasecmp-ENV): Likewise.
12765         * time/Makefile (tst-strptime-ENV): Likewise.
12766         (tst-ftime_l-ENV): Likewise.
12767         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12768         (tst-mbrtowc-ENV): Likewise.
12769         (tst-wcrtomb-ENV): Likewise.
12770         (tst-mbrtowc2-ENV): Likewise.
12771         (tst-c16c32-1-ENV): Likewise.
12772         (tst-mbsnrtowcs-ENV): Likewise.
12774 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12776         * manual/resource.texi (How to get information about the memory
12777         subsystem?): Fix typo.
12778         Reported by Peon de la Parra Ivan <peon@keba.com>
12780 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12782         [BZ #16882]
12783         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12784         (pthread_spin_lock): Branch out of spin loop to proper location.
12785         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12786         (pthread_spin_lock): Likewise.
12788         * nptl/tst-spin4.c: New test.
12789         * nptl/Makefile (tests): Add tst-spin4.
12791 2014-06-03  Andreas Schwab  <schwab@suse.de>
12793         [BZ #15946]
12794         * resolv/res_send.c (send_dg): Reload file descriptor after
12795         calling reopen.
12797 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12799         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12801 2014-06-03  Richard Henderson  <rth@redhat.com>
12803         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12804         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12805         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12806         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12807         in the SAVE_PID block.
12808         (__libc_vfork): New alias.
12809         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12811         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12812         child in registers, not on the stack.  Remove RESET_PID conditionals.
12813         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12815 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12817         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12819 2014-06-03  Wilco  <wdijkstr@arm.com>
12821         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12822         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12823         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12824         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12825         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12826         Likewise.
12828 2014-06-03  Wilco  <wdijkstr@arm.com>
12830         * sysdeps/aarch64/fpu/math_private.h
12831         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12832         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12833         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12834         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12835         Fix declarations.
12837 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12839         * crypt/crypt-private.h: Include ufc-crypt.h.
12840         (__b64_from_24bit): Declare extern.
12841         * crypt/crypt_util.c(__b64_from_24bit): New function.
12842         (b64t): New static const variable.
12843         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12844         (b64t): Remove variable.
12845         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12846         * crypt/sha256-crypt.c: Include crypt-private.h.
12847         (b64t): Remove variable.
12848         (__sha256_crypt_r): Remove b64_from_24bit and replace
12849         with __b64_from_24bit.
12850         * crypt/sha512-crypt.c: Likewise.
12852 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12854         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12855         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12856         Label the code __libc_vfork rather than __vfork.
12857         [!NOT_IN_libc] (vfork): Define as weak alias.
12858         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12859         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12860         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12862 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12864         * malloc/malloc.c (malloc_info): Fix format specifier for
12865         n_mmaps.
12867 2014-06-02  Wilco  <wdijkstr@arm.com>
12869         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12870         FPCR write.
12872 2014-06-02  Wilco  <wdijkstr@arm.com>
12874         [BZ #17009]
12875         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12876         Rewrite to reduce FPCR/FPSR accesses.
12878 2014-06-01  David S. Miller  <davem@davemloft.net>
12880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12882 2014-05-31  David S. Miller  <davem@davemloft.net>
12884         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12885         to occur in round to nearest mode when |x| >= 2.0
12887 2014-05-30  Richard Henderson  <rth@twiddle.net>
12889         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12890         (PSEUDO_RET_NOERRNO): Remove.
12891         (ret): Don't redefine.
12892         (ret_NOERRNO): Define in terms of ret.
12893         (ret_ERRVAL): Likewise.
12895         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12896         use of PSEUDO_RET; perform the error check directly.
12898 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12900         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12901         with __int128_t.
12903 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12905         * malloc/malloc (malloc_info): Fix formatting.
12907 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12908             Roland McGrath  <roland@hack.frob.com>
12910         * malloc/malloc (malloc_info): Also print mmapped statistics.
12912 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12914         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12915         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12917 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12919         * malloc/malloc.c (malloc_info): Inline mi_arena.
12921 2014-05-29  Richard Henderson  <rth@twiddle.net>
12923         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12924         Remove comma before expanding ASM_ARGS_##nr.
12925         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12926         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12927         of ASM_ARGS_##nr.
12928         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12929         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12930         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12931         (ASM_ARGS_1): Add leading comma.
12933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12934         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12935         to __errno_location.
12936         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12937         Remove the expected plt for __errno_location.
12939         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12940         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12941         call to __read_tp.
12943         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12944         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12945         it and break it down.
12946         (DOCARGS_0, DOCARGS_1): Do nothing.
12947         (DOCARGS_2): Update to store into the new stack frame.
12948         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12949         (UNDOCARGS_1): Update to restore from the new stack frame.
12950         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12951         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12953         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12954         (SINGLE_THREAD_P): New parameter for result regno.
12955         (PSEUDO): Update to match; use cbz instead of beq.
12957         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12958         Use ENTRY to define the _nocancel entry point.  Share the syscall
12959         and syscall error check paths with the cancel path.
12960         (PSEUDO_END): New.
12962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12963         whitespace; tabs before and after asm mnemonics.
12965 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12967         [BZ #15132]
12968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12969         Call fstat64 or stat64 internally, depending on arguments passed.
12970         Replace stat buffer argument with file descriptor argument.
12971         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12972         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12973         Pass fd to __internal_statvfs instead of calling fstat64.
12974         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12975         Pass fd to __internal_statvfs64 instead of calling fstat64.
12976         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12977         Pass -1 to __internal_statvfs instead of calling stat64.
12978         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12979         Pass -1 to __internal_statvfs64 instead of calling stat64.
12981 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12983         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12984         that was previously under [RESET_PID].
12985         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12987         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12988         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12990 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12992         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12994         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12995         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12997 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12999         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13001 2014-05-27  Andreas Schwab  <schwab@suse.de>
13003         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13004         TLS_INIT_TP macro.
13005         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13006         * elf/rtld.c (init_tls, dl_main): Likewise.
13007         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13008         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13009         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13010         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13011         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13012         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13013         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13014         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13015         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13016         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13017         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13018         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13019         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13020         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13021         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13022         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13023         * sysdeps/generic/tls.h: Update description.
13025 2014-05-27  Will Newton  <will.newton@linaro.org>
13027         [BZ #16990]
13028         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13029         and restore r2 rather than just restoring.
13031 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13033         [BZ #16724]
13034         * libio/tst-ftell-append.c: New test case.
13035         * libio/Makefile (tests): Add test case.
13036         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13037         append mode.
13038         * libio/wfileops.c (do_ftell_wide): Likewise.
13040 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13044         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13045         ...
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13048         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13049         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13050         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13051         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13053         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13054         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13055         Moved ...
13056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13057         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13058         Moved ...
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13060         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13061         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13062         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13063         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13064         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13065         ...
13066         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13067         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13068         Moved ...
13069         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13070         here.
13071         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13072         ...
13073         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13074         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13075         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13077         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13078         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13079         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13080         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13082         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13083         merge into ...
13084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13085         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13086         ...
13087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13089         ...
13090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13092         Moved ...
13093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13094         here.
13095         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13096         Moved ...
13097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13099         Moved ...
13100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13103         conditional [RESET_PID].
13104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13105         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13106         removed.
13107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13108         removed.
13110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13111         <tcb-offsets.h>.
13112         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13113         (__libc_vfork): New strong alias.
13114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13115         removed.
13116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13117         Removed.
13119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13120         <tcb-offsets.h>.
13121         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13122         (__libc_vfork): New strong alias.
13123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13124         removed.
13125         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13126         removed.
13128 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
13130         * malloc/malloc.c (mi_arena): New function.
13131         (malloc_info): Remove nested function mi_arena. Call non-nosted
13132         function mi_arena.
13134 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13136         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13137         by insrwi.
13138         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13139         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13140         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13141         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13142         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13143         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13144         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13146 2014-05-26  Andreas Schwab  <schwab@suse.de>
13148         [BZ #16984]
13149         * locale/programs/repertoire.c (repertoire_read): Add slash
13150         between I18NPATH element and file name.
13151         * locale/programs/locfile.c (locfile_read): Likewise.
13153 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13155         * nptl/pthread_mutexattr_settype.c
13156         (__pthread_mutexattr_settype):
13157         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13159 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13161         * nptl/tst-mutex5 (do_test):
13162         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13164 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13166         * benchtests/README: Document 'init' directive.
13167         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13168         BENCH_INIT.
13169         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13170         (parse_file): Recognize 'init' directive.
13172 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13174         [BZ #16796]
13175         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13176         alignment of struct pthread.
13178 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13180         [BZ #16878]
13181         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13182         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13183         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13184         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13186 2014-05-25  Richard Henderson  <rth@twiddle.net>
13188         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13189         (SINGLE_THREAD_P_PIC): Remove.
13190         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13191         (SINGLE_THREAD_P_PIC): Remove.
13193         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13194         branch to syscall error ...
13195         (PSEUDO): ... here.
13196         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13197         from __local_syscall_error to .Lsyscall_error.
13198         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13199         (SYSCALL_ERROR): Update label name.
13201         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13202         Do not use DOARGS/UNDOARGS.
13203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13204         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13205         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13206         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13207         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13210         block comment.
13212         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13213         define if !NOT_IN_libc.
13214         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13215         define with non-default symbol versions.
13217 2014-05-23  Richard Henderson  <rth@twiddle.net>
13219         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13220         (vfork, __vfork): Define via compat_symbol.
13222         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13223         [!HAVE_IFUNC] (vfork_compat): Remove.
13224         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13226 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13228         [BZ #16978]
13229         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13230         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13231         variable.
13233 2014-05-23  Richard Henderson  <rth@twiddle.net>
13235         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13236         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13237         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13238         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13240         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13241         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13242         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13243         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13244         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13245         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13246         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13247         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13248         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13249         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13250         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13251         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13252         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13253         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13254         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13255         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13256         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13257         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13258         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13259         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13260         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13261         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13262         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13263         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13264         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13265         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13266         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13267         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13268         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13269         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13270         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13271         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13272         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13273         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13274         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13275         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13276         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13277         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13278         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13279         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13280         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13281         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13282         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13283         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13284         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13285         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13286         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13287         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13288         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13289         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13290         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13291         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13293         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13295         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13297         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13298         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13299         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13300         before exiting on error.
13301         (__libc_vfork): New strong alias.
13302         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13303         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13305         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13306         that was previously under [RESET_PID].
13307         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13309         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13311 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13313         [BZ #16977]
13314         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13315         value when x - 1 is zero.
13316         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13317         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13318         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13319         0.0L for an argument of 1.0L.
13320         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13321         Likewise.
13322         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13323         value when x - 1 is zero.
13324         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13325         * sysdeps/i386/fpu/libm-test-ulps: Update.
13326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13328 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13330         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13331         alphasort and versionsort.
13333 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13335         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13336         macro.
13337         [copysignf]: Likewise.
13339 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13341         * crypt/md5-crypt.c: Fix formatting.
13343 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13345         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13346         (b64_from_24bit): New function.
13348 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13350         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13351         libc_hidden_builtin_def to ifunc.
13352         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13353         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13355 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13357         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13358         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13360 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13362         * nscd/Depend (linuxthreads): Remove.
13363         (nptl): Add.
13364         * resolv/Depend (linuxthreads): Remove.
13365         * rt/Depend (linuxthreads): Remove.
13367         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13368         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13369         $(common-objpfx)elf/.
13370         (link-libc-before-gnulib): Likewise.
13371         (elfobjdir): Remove variable.
13372         * Makefile (install): Use $(elf-objpfx) instead of
13373         $(common-objpfx)elf/.
13374         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13375         $(elfobjdir)/.
13376         (link-libc-deps): Likewise.
13377         ($(common-objpfx)libc.so): Likewise.
13378         ($(common-objpfx)linkobj/libc.so): Likewise.
13379         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13380         instead of $(common-objpfx)elf/.
13381         (symbolic-link-list): Likewise.
13382         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13383         [$(cross-compiling) = no]: Likewise.
13384         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13385         $(elfobjdir)/.
13386         (static-gnulib-arch): Likewise.
13387         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13388         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13389         $(common-objpfx)elf/.
13391 2014-05-21  Richard Henderson  <rth@redhat.com>
13393         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13394         (SINGLE_THREAD_P): Use the correct width load.  Fold
13395         into the ldr offset.
13397         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13398         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13400 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13402         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13403         (libgcc_s_resume): Use __attribute_used__.
13404         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13405         Likewise.
13407 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13409         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13410         optimization when used with float constants.
13412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13414 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13416         [BZ #16915]
13417         * locale/nl_langinfo_l.c: Make direct reference to every
13418         _nl_current_CATEGORY symbol.
13419         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13420         (tests-static): Add tst-langinfo-static.
13421         (tests-special): Add tst-langinfo-static.out.
13422         ($(objpfx)tst-langinfo.out): Redirect output.
13423         ($(objpfx)tst-langinfo-static.out): New.
13424         * localedata/tst-langinfo.sh: Send output to stdout.
13425         * localedata/tst-langinfo-static.c: New file.
13427         [BZ #16965]
13428         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13429         when the shift amount is modulo the limb size.
13431 2014-05-20  Richard Henderson  <rth@redhat.com>
13433         [BZ #16967]
13434         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13435         Change type of sa_flags from unsigned int to int.
13437         [BZ #16966]
13438         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13440         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13442 2014-05-20  Will Newton  <will.newton@linaro.org>
13444         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13445         Test the return value of the system call in the nocancel case.
13447 2014-05-20  Will Newton  <will.newton@linaro.org>
13448             Yvan Roux  <yvan.roux@linaro.org>
13450         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13451         #include of asm/ptrace.h.
13452         (PTRACE_GET_THREAD_AREA): Remove #undef.
13453         (PTRACE_GETHBPREGS): Likewise.
13454         (PTRACE_SETHBPREGS): Likewise.
13455         (struct user_regs_struct): New structure.
13456         (struct user_fpsimd_struct): New structure.
13457         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13458         #include of asm/ptrace.h and second #include of sys/user.h.
13459         (PTRACE_GET_THREAD_AREA): Remove #undef.
13460         (PTRACE_GETHBPREGS): Likewise.
13461         (PTRACE_SETHBPREGS): Likewise.
13462         (ELF_NGREG): Use new struct user_regs_struct.
13463         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13465 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13467         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13468         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13470 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13472         [BZ #16958]
13473         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13474         membar to avoid block loads/stores to overlap previous stores.
13476 2014-05-17  Richard Henderson  <rth@redhat.com>
13478         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13479         Create the __##syscall_name##_nocancel entry point.
13480         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13481         Remove; let the sysdep-cancel.h code create it.
13483 2014-05-17  David S. Miller  <davem@davemloft.net>
13485         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13486         Protect with __USE_GNU.
13487         (TIOCSET_TEMPT): Likewise.
13488         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13489         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13490         these are already provided in bits/ioctl-types.h
13492 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13494         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13495         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13497         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13498         Use wait4 regardless of [__NR_waitpid].
13500 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13502         PR libgcc/60166
13503         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13504         (_FP_NANSIGN_Q): Set the quiet bit.
13506 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13508         * benchtests/Makefile
13509         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13510         not $(common-objpfx)math/libm.so.
13511         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13512         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13513         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13514         $(common-objpfx)dlfcn/libdl.so.
13515         ($(objpfx)tst-audit8): Depend on $(libm), not
13516         $(common-objpfx)math/libm.so.
13517         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13518         not $(common-objpfx)dlfcn/libdl.so.
13519         * math/Makefile
13520         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13521         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13522         [$(build-shared) = yes].
13523         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13524         $(common-objpfx)nptl/libpthread.so.
13525         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13526         $(common-objpfx)math/libm.so$(libm.so-version) or
13527         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13528         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13529         $(common-objpfx)dlfcn/libdl.so.
13530         * setjmp/Makefile (link-libm): Remove variable.
13531         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13532         * stdio-common/Makefile (link-libm): Remove variable.
13533         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13534         * stdlib/Makefile (link-libm): Remove variable.
13535         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13536         ($(objpfx)tst-strtod-round): Likewise.
13537         ($(objpfx)tst-tininess): Likewise.
13538         ($(objpfx)tst-strtod-underflow): Likewise.
13539         ($(objpfx)tst-strtod6): Likewise.
13540         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13541         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13542         $(common-objpfx)dlfcn/libdl.so.
13544 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13546         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13547         BSD terminal modes definitions.
13549 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13551         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13552         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13554         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13555         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13556         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13557         Don't do #include_next.
13558         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13559         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13560         Don't do #include_next.
13561         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13562         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13563         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13564         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13566 2014-05-16  Allan McRae  <allan@archlinux.org>
13568         * po/sv.po: Update Swedish translation from translation project.
13570         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13571         in sed expression.
13573 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13575         [BZ #16917]
13576         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13577         errno if the TIOCGPTN ioctl fails with an error different than
13578         EINVAL.
13579         * login/tst-ptsname.c: New file.
13580         * login/Makefile (tests): Add tst-ptsname.
13582         [BZ #16943]
13583         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13584         and prlimit64.
13586 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13588         [BZ #16849]
13589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13590         herrno to return EAI_AGAIN.
13592 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13594         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13595         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13596         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13597         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13598         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13599         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13600         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13601         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13603         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13604         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13605         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13606         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13607         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13608         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13609         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13610         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13611         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13612         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13613         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13614         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13615         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13616         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13617         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13618         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13619         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13620         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13621         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13622         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13623         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13625         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13627         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13629         Moved ...
13630         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13631         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13632         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13633         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13634         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13636         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13638         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13640         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13642         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13644         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13646         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13648         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13650         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13652         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13654         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13656         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13658         Moved ...
13659         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13661         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13663         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13664         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13665         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13667         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13669         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13670         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13671         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13673         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13675         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13677         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13678         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13679         Moved ...
13680         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13682         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13684         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13685         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13686         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13687         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13688         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13689         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13690         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13691         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13692         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13693         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13694         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13695         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13696         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13697         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13698         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13699         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13700         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13701         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13702         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13703         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13704         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13706         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13707         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13708         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13709         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13710         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13711         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13712         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13713         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13714         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13716         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13717         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13719         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13720         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13721         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13723         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13724         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13725         Moved ...
13726         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13727         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13728         Moved ...
13729         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13730         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13731         Moved ...
13732         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13734         Moved ...
13735         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13736         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13737         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13738         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13739         Moved ...
13740         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13741         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13742         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13744         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13745         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13746         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13747         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13748         Moved ...
13749         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13750         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13751         Moved ...
13752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13753         ... here.
13754         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13755         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13756         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13757         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13758         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13759         Moved ...
13760         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13761         ... here.
13762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13763         Moved ...
13764         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13765         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13766         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13767         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13768         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13769         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13770         Moved ...
13771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13772         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13773         Moved ...
13774         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13775         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13776         Moved ...
13777         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13778         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13779         Moved ...
13780         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13781         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13782         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13783         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13784         Moved ...
13785         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13786         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13787         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13789         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13790         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13791         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13792         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13793         Moved ...
13794         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13795         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13796         Moved ...
13797         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13798         ... here.
13799         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13800         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13801         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13802         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13803         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13804         Moved ...
13805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13806         ... here.
13807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13808         Moved ...
13809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13810         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13811         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13812         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13813         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13814         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13815         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13816         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13817         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13818         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13819         Moved ...
13820         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13821         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13822         Moved ...
13823         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13824         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13825         Moved ...
13826         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13828         Moved ...
13829         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13830         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13831         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13832         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13833         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13834         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13835         Moved ...
13836         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13837         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13838         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13840         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13841         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13842         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13844         Moved ...
13845         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13847         Moved ...
13848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13849         ... here.
13850         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13851         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13852         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13853         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13854         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13855         Moved ...
13856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13857         ... here.
13858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13859         Moved ...
13860         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13861         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13862         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13863         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13864         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13865         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13866         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13867         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13868         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13869         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13870         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13872         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13873         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13875         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13876         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13878         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13879         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13880         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13881         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13882         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13883         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13884         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13885         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13886         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13887         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13888         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13889         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13890         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13891         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13892         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13894         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13895         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13896         Moved ...
13897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13899         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13901         Moved ...
13902         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13904         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13906         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13907         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13908         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13909         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13910         Moved ...
13911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13913         Moved ...
13914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13916         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13918         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13920         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13921         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13922         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13923         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13924         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13925         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13926         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13927         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13928         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13929         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13930         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13932         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13933         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13934         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13935         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13936         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13938         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13939         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13940         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13941         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13942         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13943         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13944         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13945         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13946         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13947         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13949         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13952         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13953         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13954         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13955         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13956         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13957         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13958         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13959         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13960         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13961         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13962         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13963         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13964         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13965         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13967         Update #include.
13968         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13969         Likewise.
13970         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13971         Likewise.
13972         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13973         Likewise.
13974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13975         Likewise.
13976         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13977         Likewise.
13978         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13979         Likewise.
13980         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13981         Likewise.
13982         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13983         Likewise.
13984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13985         Likewise.
13986         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13989         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13996         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13997         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13998         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13999         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
14000         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
14002         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14003         that was previously under [RESET_PID].
14004         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14005         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14006         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14008         * sysdeps/i386/nptl/Implies: New file.
14009         * sysdeps/x86_64/nptl/Implies: New file.
14010         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14011         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14012         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14013         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14015         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14016         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14017         (__libc_vfork): New strong alias.
14018         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14019         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14021         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14022         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14023         (__libc_vfork): New strong alias.
14024         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14025         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14027         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14028         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14029         (__libc_vfork): New strong alias.
14030         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14031         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14032         * nptl/pt-vfork.c: New file.
14033         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14034         (libpthread: GLIBC_2.20): New version set (empty).
14036 2014-05-14  Will Newton  <will.newton@linaro.org>
14038         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14039         rather than #if.
14041 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14043         [BZ #16564]
14044         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14045         arguments with exponent 65 or above.
14046         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14047         arguments 0x1p113L or above.
14048         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14049         to arguments 0x1p107L or above.
14050         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14051         positive arguments with exponent 65 or above.
14052         * math/auto-libm-test-in: Add more tests of log1p.
14053         * math/auto-libm-test-out: Regenerated.
14055         [BZ #16928]
14056         * math/s_cacos.c (__cacos): Ensure zero real part of result from
14057         non-finite arguments is +0.
14058         * math/s_cacosf.c (__cacosf): Likewise.
14059         * math/s_cacosl.c (__cacosl): Likewise.
14060         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14061         * sysdeps/i386/fpu/libm-test-ulps: Update.
14062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14064         [BZ #16927]
14065         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14066         value.
14067         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14068         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14069         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14070         for explicit high bit of mantissa when testing for argument equal
14071         to 1.
14072         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14073         * sysdeps/i386/fpu/libm-test-ulps: Update.
14074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14076         [BZ #16516]
14077         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14078         (__erf): Scale by 16 instead of 8 in potentially underflowing
14079         case.  Ensure exception if result actually underflows.
14080         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14081         (__erff): Scale by 16 instead of 8 in potentially underflowing
14082         case.  Ensure exception if result actually underflows.
14083         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14084         (efx8): Remove variable.
14085         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14086         case.  Ensure exception if result actually underflows.
14087         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14088         (efx8): Remove variable.
14089         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14090         case.  Ensure exception if result actually underflows.
14091         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14092         (efx8): Remove variable.
14093         (__erfl): Scale by 16 instead of 8 in potentially underflowing
14094         case.  Ensure exception if result actually underflows.
14095         * math/auto-libm-test-in: Add more tests of erf.
14096         * math/auto-libm-test-out: Regenerated.
14098 2014-05-14  Andreas Schwab  <schwab@suse.de>
14100         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14101         Remove code conditionalized on USE___THREAD.
14103         * config.h.in (HAVE_PT_CHOWN): Define as 0.
14104         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14105         not definedness.
14107 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
14109         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14110         Define unconditionally.
14111         (__ASSUME_O_CLOEXEC): Likewise.
14112         (__ASSUME_SOCK_CLOEXEC): Likewise.
14113         (__ASSUME_IN_NONBLOCK): Likewise.
14114         (__ASSUME_PIPE2): Likewise.
14115         (__ASSUME_EVENTFD2): Likewise.
14116         (__ASSUME_SIGNALFD4): Likewise.
14117         (__ASSUME_DUP3): Likewise.
14118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14119         (__ASSUME_DUP3): Do not define.
14120         (__ASSUME_EVENTFD2): Likewise.
14121         (__ASSUME_IN_NONBLOCK): Likewise.
14122         (__ASSUME_O_CLOEXEC): Likewise.
14123         (__ASSUME_PIPE2): Likewise.
14124         (__ASSUME_SIGNALFD4): Likewise.
14125         (__ASSUME_SOCK_CLOEXEC): Likewise.
14126         (__ASSUME_UTIMES): Undefine.
14127         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14128         (__ASSUME_UTIMES): Do not define.
14129         (__ASSUME_O_CLOEXEC): Likewise.
14130         (__ASSUME_SOCK_CLOEXEC): Likewise.
14131         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14132         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14133         0x020621].
14134         (__ASSUME_PIPE2): Likewise.
14135         (__ASSUME_EVENTFD2): Likewise.
14136         (__ASSUME_SIGNALFD4): Likewise.
14137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14138         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14139         Do not define.
14140         (__ASSUME_EVENTFD2): Likewise.
14141         (__ASSUME_SIGNALFD4): Likewise.
14142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14143         (__ASSUME_32BITUIDS): Likewise.
14144         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14145         (__ASSUME_IPC64): Likewise.
14146         (__ASSUME_ST_INO_64_BIT): Likewise.
14147         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14148         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14149         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14150         (__ASSUME_UTIMES): Do not define.
14151         (__ASSUME_PSELECT): Likewise.
14152         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
14161         (__ASSUME_UTIMES): Likewise.
14162         (__ASSUME_O_CLOEXEC): Likewise.
14163         (__ASSUME_SOCK_CLOEXEC): Likewise.
14164         (__ASSUME_IN_NONBLOCK): Likewise.
14165         (__ASSUME_PIPE2): Likewise.
14166         (__ASSUME_EVENTFD2): Likewise.
14167         (__ASSUME_SIGNALFD4): Likewise.
14168         (__ASSUME_DUP3): Likewise.
14169         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14170         (__ASSUME_UTIMES): Likewise.
14171         (__ASSUME_O_CLOEXEC): Likewise.
14172         (__ASSUME_SOCK_CLOEXEC): Likewise.
14173         (__ASSUME_IN_NONBLOCK): Likewise.
14174         (__ASSUME_PIPE2): Likewise.
14175         (__ASSUME_EVENTFD2): Likewise.
14176         (__ASSUME_SIGNALFD4): Likewise.
14177         (__ASSUME_DUP3): Likewise.
14178         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14179         Likewise.
14180         (__ASSUME_UTIMES): Likewise.
14181         (__ASSUME_EVENTFD2): Likewise.
14182         (__ASSUME_SIGNALFD4): Likewise.
14183         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14184         (__ASSUME_O_CLOEXEC): Likewise.
14185         (__ASSUME_SOCK_CLOEXEC): Likewise.
14186         (__ASSUME_IN_NONBLOCK): Likewise.
14187         (__ASSUME_PIPE2): Likewise.
14188         (__ASSUME_EVENTFD2): Likewise.
14189         (__ASSUME_SIGNALFD4): Likewise.
14190         (__ASSUME_DUP3): Likewise.
14191         (__ASSUME_UTIMES): Undefine.
14193         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14194         feclearexcept.  Remove symbol versioning code.
14195         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14196         symbol versioning code.
14197         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14198         symbol versioning code.
14199         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14200         feupdateenv.  Remove symbol versioning code.
14201         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14202         fegetexceptflag.  Remove symbol versioning code.
14203         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14204         fesetexceptflag.  Remove symbol versioning code.
14205         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14206         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14207         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14208         (__posix_fadvise64_l32): Remove prototype.
14209         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14210         code.
14212 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14214         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14215         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14216         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14217         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14219 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14221         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14222         current working directory
14224 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14226         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14227         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14228         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14229         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14230         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14231         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14232         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14233         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14234         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14235         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14236         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14237         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14238         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14239         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14240         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14241         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14242         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14243         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14244         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14245         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14246         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14247         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14248         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14249         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14250         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14251         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14253         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14254         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14255         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14256         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14257         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14258         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14259         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14260         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14261         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14262         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14263         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14264         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14265         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14266         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14267         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14269         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14270         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14272         * sysdeps/unix/sysv/linux/arm/Makefile
14273         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14274         Add rt-aeabi_unwind_cpp_pr1.
14275         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14276         Add nptl-aeabi_unwind_cpp_pr1.
14277         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14278         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14279         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14280         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14281         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14282         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14284         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14285         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14286         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14287         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14289         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14290         Deconditionalize the code that was previously under [RESET_PID].
14291         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14293         * sysdeps/generic/exit-thread.h: New file.
14294         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14295         * include/unistd.h (__exit_thread): Remove declaration.
14296         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14297         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14298         * csu/libc-start.c: Include <exit-thread.h>.
14299         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14300         * nptl/pthread_create.c: Include <exit-thread.h>.
14301         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14302         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14303         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14304         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14305         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14306         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14307         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14308         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14309         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14310         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14311         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14312         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14313         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14314         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14315         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14316         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14317         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14319 2014-05-13  Andreas Schwab  <schwab@suse.de>
14321         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14323 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14325         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14326         (__ASSUME_UTIMES): Do not condition on kernel version.
14327         (__ASSUME_PSELECT): Define unconditionally.
14328         (__ASSUME_PPOLL): Likewise.
14329         (__ASSUME_ATFCTS): Likewise.
14330         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14331         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14332         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14333         (__ASSUME_UTIMENSAT): Define unconditionally.
14334         (__ASSUME_PRIVATE_FUTEX): Likewise.
14335         (__ASSUME_FALLOCATE): Likewise.
14336         (__ASSUME_O_CLOEXEC): Likewise.
14337         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14338         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14339         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14340         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14341         (__ASSUME_IN_NONBLOCK): Likewise.
14342         (__ASSUME_PIPE2): Likewise.
14343         (__ASSUME_EVENTFD2): Likewise.
14344         (__ASSUME_SIGNALFD4): Likewise.
14345         (__ASSUME_DUP3): Likewise.
14346         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14347         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14348         (__ASSUME_AT_RANDOM): Likewise.
14349         (__ASSUME_PREADV): Likewise.
14350         (__ASSUME_PWRITEV): Likewise.
14351         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14352         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14353         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14354         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14355         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14357         (__ASSUME_O_CLOEXEC): Define unconditionally.
14358         (__ASSUME_PSELECT): Do not undefine conditionally.
14359         (__ASSUME_PPOLL): Likewise.
14360         (__ASSUME_ATFCTS): Likewise.
14361         (__ASSUME_SET_ROBUST_LIST): Likewise.
14362         (__ASSUME_UTIMENSAT): Likewise.
14363         (__ASSUME_FDATASYNC): Define unconditionally.
14364         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14365         (__ASSUME_SIGFRAME_V2): Likewise.
14366         )__ASSUME_EVENTFD2): Likewise.
14367         (__ASSUME_SIGNALFD4): Likewise.
14368         (__ASSUME_PSELECT): Do not undefine conditionally.
14369         (__ASSUME_PPOLL): Likewise.
14370         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14371         (__ASSUME_PSELECT): Define unconditionally.
14372         (__ASSUME_PPOLL): Likewise.
14373         (__ASSUME_O_CLOEXEC): Likewise.
14374         (__ASSUME_SOCK_CLOEXEC): Likewise.
14375         (__ASSUME_IN_NONBLOCK): Likewise.
14376         (__ASSUME_PIPE2): Likewise.
14377         (__ASSUME_EVENTFD2): Likewise.
14378         (__ASSUME_SIGNALFD4): Likewise.
14379         (__ASSUME_DUP3): Likewise.
14380         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14381         (__ASSUME_O_CLOEXEC): Likewise.
14382         (__ASSUME_SOCK_CLOEXEC): Likewise.
14383         (__ASSUME_IN_NONBLOCK): Likewise.
14384         (__ASSUME_PIPE2): Likewise.
14385         (__ASSUME_EVENTFD2): Likewise.
14386         (__ASSUME_SIGNALFD4): Likewise.
14387         (__ASSUME_DUP3): Likewise.
14388         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14389         (__ASSUME_EVENTFD2): Likewise.
14390         (__ASSUME_SIGNALFD4): Likewise.
14391         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14393 2014-05-12  Andreas Schwab  <schwab@suse.de>
14395         [BZ #16932]
14396         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14397         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14398         than maximum RPC packet size.
14399         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14400         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14401         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14402         (_nss_nis_getservbyport_r): Likewise.
14404 2014-05-12  Will Newton  <will.newton@linaro.org>
14406         * malloc/Makefile (tests): Add tst-mallopt.
14407         * malloc/tst-mallopt.c: New file.
14409 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14411         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14412         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14414 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14416         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14417         (tst-tlsmod6.so): Likewise.
14419 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14421         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14423 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14425         [BZ #16064]
14426         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14427         and <dl-procinfo.h>.
14428         (__fegetenv): Save SSE state in envp->__eip if supported.
14429         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14430         envp->__eip if supported.
14431         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14432         and <dl-procinfo.h>.
14433         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14434         __data_offset and __data_selector in environment to 0.  Set SSE
14435         state if supported.
14436         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14437         test-fenv-sse.
14438         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14439         -mfpmath=sse.
14440         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14442 2014-05-09  Will Newton  <will.newton@linaro.org>
14444         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14445         and libc_relro_required for ARM.
14446         * sysdeps/arm/preconfigure: Regenerate.
14448 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14449             Stefan Liebler  <stli@linux.vnet.ibm.com>
14451         * config.make.in (enable-lock-elision): New Makefile variable.
14452         * configure.ac: Likewise.
14453         * configure: Regenerate.
14454         * sysdeps/s390/configure.ac:
14455         Add check for gcc transactions support.
14456         * sysdeps/s390/configure: Regenerate.
14457         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14458         Build elision files if enabled.
14459         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14460         Add lock elision support for s390.
14461         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14462         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14463         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14464         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14465         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14466         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14467         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14468         Likewise.
14469         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14470         Likewise.
14471         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14472         Likewise.
14473         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14474         Likewise.
14475         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14476         (__lll_timedlock_elision, __lll_lock_elision)
14477         (__lll_unlock_elision, __lll_trylock_elision)
14478         (lll_timedlock_elision, lll_lock_elision)
14479         (lll_unlock_elision, lll_trylock_elision): Add.
14480         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14481         (pthread_mutex_t): Add lock elision support for s390.
14483 2014-05-14  Wilco  <wdijkstr@arm.com>
14485         * sysdeps/arm/fclrexcpt.c: Cleanup.
14486         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14487         * sysdeps/arm/feenablxcpt.c: Cleanup.
14488         * sysdeps/arm/fegetenv.c: Cleanup.
14489         * sysdeps/arm/fegetexcept.c: Cleanup.
14490         * sysdeps/arm/fegetround.c: Cleanup.
14491         * sysdeps/arm/feholdexcpt.c: Cleanup.
14492         * sysdeps/arm/fesetenv.c: Cleanup.
14493         * sysdeps/arm/fesetround.c: Cleanup.
14494         * sysdeps/arm/feupdateenv.c: Cleanup.
14495         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14496         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14497         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14498         * sysdeps/arm/ftestexcept.c: Cleanup.
14499         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14500         * sysdeps/arm/setfpucw.c: Cleanup.
14502 2014-05-09  Will Newton  <will.newton@linaro.org>
14504         * sysdeps/arm/armv7/strcmp.S: New file.
14505         * NEWS: Mention addition of ARMv7 optimized strcmp.
14507 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14509         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14510         look for %.ac rather than %.in.
14512         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14513         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14514         * sysdeps/mach/hurd/configure: Regenerated.
14515         * sysdeps/unix/sysv/linux/configure: Regenerated.
14517         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14519 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14521         [BZ# 16922]
14522         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14523         (LONG_SUB): Ditto.
14524         (PTR_SUB): Ditto.
14526 2014-05-07  Andreas Schwab  <schwab@suse.de>
14528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14529         when skipping over non-matching result from nscd.
14531 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14533         [BZ #16876]
14534         * nptl/sockperf.c (client): Check socket return value.
14536         [BZ #16877]
14537         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14538         nscd security class.
14540 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14542         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14543         * sysdeps/arm/unwind.h: ... here.
14545 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14547         [BZ# 16916]
14548         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14549         Define.
14551 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14553         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14554         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14555         multiarch strncpy for PPC64.
14556         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14557         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14559         multiarch optimizations.
14560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14561         (__libc_ifunc_impl_list): Likewise.
14562         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14563         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14564         multiarch stpncpy for PPC64.
14565         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14566         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14568 2014-05-06  Andreas Schwab  <schwab@suse.de>
14570         [BZ #16912]
14571         * gmon/mcount.c (_MCOUNT_DECL): Use
14572         atomic_compare_and_exchange_bool_acq instead of
14573         catomic_compare_and_exchange_bool_acq.
14575 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14577         * elf/Makefile (others, install-bin): Remove pldd.
14578         (pldd-modules): Variable removed.
14579         ($(objpfx)pldd): Target removed.
14580         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14581         (others, install-bin): Append pldd here.
14582         ($(objpfx)pldd): New target.
14584         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14585         to 0, so the first #if test emitted later doesn't see it undefined.
14586         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14587         * sysdeps/gnu/errlist.c: Regenerated.
14589 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14592         [libc_hidden_builtin_def]: Define to empty value.
14593         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14594         [libc_hidden_builtin_def]: Likewise.
14595         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14596         [libc_hidden_builtin_def]: Likewise.
14597         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14598         [libc_hidden_builtin_def]: Likewise.
14599         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14600         __redirect_memcpy and define ifunc as default hidden symbol.
14601         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14602         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14604 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14606         * locale/iso-4217.def: Reintroduce XDR currency.
14608 2014-05-04  Allan McRae  <allan@archlinux.org>
14610         * po/eo.po: Update Esperanto translation from translation project.
14612 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14614         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14615         and FEATURE_INDEX_MAX to 1.
14616         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14618 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14620         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14621         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14622         * iconvdata/big5.c (ONE_DIRECTION): Define.
14623         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14624         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14625         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14626         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14627         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14628         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14629         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14630         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14631         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14632         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14633         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14634         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14635         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14636         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14637         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14638         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14639         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14640         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14641         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14642         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14643         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14644         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14645         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14646         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14647         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14648         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14649         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14650         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14651         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14652         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14653         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14654         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14655         * iconvdata/johab.c (ONE_DIRECTION): Define.
14656         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14657         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14658         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14659         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14660         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14661         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14662         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14663         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14664         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14665         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14667 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14669         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14670         (_IO_JUMPS_OFFSET): Define to 0.
14672         * nptl/sysdeps/pthread/bits/libc-lock.h
14673         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14674         (__libc_lock_define_initialized_recursive): Always define using
14675         initializer.  Modern compilers treat uninitialized (implicit zero) and
14676         explicit zero initializers the same (i.e. put the datum in bss).
14678 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14680         * nscd/nscd-client.h: Include <string.h>.
14682 2014-05-01  David S. Miller  <davem@davemloft.net>
14684         [BZ #16885]
14685         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14686         multiple zero bytes exist at the end of a string.
14687         Reported by Aurelien Jarno <aurelien@aurel32.net>
14689         * string/test-strcmp.c (check): Add explicit test for situations where
14690         there are multiple zero bytes after the first.
14692 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14694         [BZ #16890]
14695         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14696         when compiling wprintf.
14697         * stdio-common/tstdiomisc.c (t3): New function.
14698         (main): Call it.
14700 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14702         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14703         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14704         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14705         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14707 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14709         * stdlib/longlong.h: Updated from GCC.
14711 2014-05-01  Will Newton  <will.newton@linaro.org>
14712             Bernard Ogden  <bernie.ogden@linaro.org>
14714         * NEWS: Update fixed bug list.
14716         [BZ #15119]
14717         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14719 2014-04-30  David S. Miller  <davem@davemloft.net>
14721         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14722         (libc_feholdexcept_setround_sparc_ctx): New function.
14723         (libc_fesetenv_sparc_ctx): Likewise.
14724         (libc_feupdateenv_sparc_ctx): Likewise.
14725         (libc_feholdsetround_sparc_ctx): Likewise.
14726         (libc_feholdexcept_setround_ctx): Define.
14727         (libc_feholdexcept_setroundf_ctx): Likewise.
14728         (libc_feholdexcept_setroundl_ctx): Likewise.
14729         (libc_fesetenv_ctx): Likewise.
14730         (libc_fesetenvf_ctx): Likewise.
14731         (libc_fesetenvl_ctx): Likewise.
14732         (libc_feupdateenv_ctx): Likewise.
14733         (libc_feupdateenvf_ctx): Likewise.
14734         (libc_feupdateenvl_ctx): Likewise.
14735         (libc_feresetround_ctx): Likewise.
14736         (libc_feresetroundf_ctx): Likewise.
14737         (libc_feresetroundl_ctx): Likewise.
14738         (libc_feholdsetround_ctx): Likewise.
14739         (libc_feholdsetroundf_ctx): Likewise.
14740         (libc_feholdsetroundl_ctx): Likewise.
14742         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14743         with __USE_GNU instead of XOPEN cpp guards.
14745         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14746         0.
14748         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14749         with XOPEN cpp guards.
14751 2014-04-30  Julian Brown  <julian@codesourcery.com>
14753         [BZ #16888]
14754         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14755         handling.
14757 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14759         [BZ #9894]
14760         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14761         Change to 2.6.32.
14762         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14763         * sysdeps/unix/sysv/linux/configure: Regenerated.
14764         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14765         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14766         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14767         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14768         * README: Update reference to required Linux kernel version.
14769         * manual/install.texi (Linux): Update reference to required Linux
14770         kernel headers version.
14771         * INSTALL: Regenerated.
14773         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14774         header inclusion.
14775         [POSIX] (limits.h): Likewise.
14776         [POSIX] (math.h): Likewise.
14777         [POSIX] (sys/wait.h): Likewise.
14778         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14779         function.
14780         [POSIX] (stddef.h): Do not allow header inclusion.
14782 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14784         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14786 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14788         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14789         Return immediately after lll_futex_wake.
14791 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14793         [BZ #16791]
14794         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14795         structure.
14796         (datahead_init_pos): Call datahead_init_common early.
14797         (datahead_init_neg): Likewise.
14799         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14800         datahead_init_neg): New functions.
14801         * nscd/aicache.c (addhstaiX): Use them.
14802         * nscd/grpcache.c (cache_addgr): Likewise.
14803         * nscd/hstcache.c (cache_addhst): Likewise.
14804         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14805         * nscd/netgroupcache.c (do_notfound): Likewise.
14806         (addgetnetgrentX): Likewise.
14807         (addinnetgrX): Likewise.
14808         * nscd/pwdcache.c (cache_addpw): Likewise.
14809         * nscd/servicescache.c (cache_addserv): Likewise.
14811 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14812             Atsushi Onoe  <atsushi@onoe.org>
14814         [BZ #14308]
14815         [BZ #12994]
14816         [BZ #13651]
14817         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14818         one response is valid.
14819         * resolv/res_send.c (send_dg): Check for validity of other
14820         response if the current response is a referral.
14822 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14824         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14826 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14828         [BZ #16823]
14829         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14830         Always divide by positive zero when computing -Inf result.
14831         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14832         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14834 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14836         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14837         FPSCR if value do not change.
14838         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14839         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14840         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14841         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14842         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14843         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14844         function.
14846 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14848         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14849         * sysdeps/unix/sysv/linux/hppa: Move directory from
14850         ports/systeps/unix/sysv/linux/hppa.
14851         * README: Update listing for hppa-*-linux-gnu.
14853 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14855         [BZ #16754]
14856         * manual/stdio.texi (Hook functions): Fix types of stream hook
14857         functions.
14858         [BZ #16854]
14859         * socket/sys/socket.h: Fix typo in comment.
14861 2014-04-28  Wilco  <wdijkstr@arm.com>
14863         * sysdeps/arm/fenv_private.h: New file.
14864         * sysdeps/arm/math_private.h: New file.
14865         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14867 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14869         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14870         with __int128_t.
14871         (La_x86_64_retval): Likewise.
14873 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14875         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14876         fpsr if value didn't change.
14877         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14878         to fpcr if value didn't change.
14879         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14880         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14881         fpsr or fpcr if value didn't change.
14882         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14883         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14884         fpcr if value didn't change.
14885         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14886         to fpsr if value didn't change.
14888 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14890         * nptl/tst-sem3.c: Use test-skeleton.c
14891         (main): Rename to do_test.  Use return instead of
14892         exit.
14893         * nptl/tst-sem4.c: Use test-skeleton.c
14894         (main): Rename to do_test.
14896 2014-04-22  David S. Miller  <davem@davemloft.net>
14898         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14899         (struct sigaction): New struct member __glibc_reserved0, change
14900         type of sa_flags to int.
14902 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14904         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14905         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14907 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14909         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14910         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14912 2014-04-22  Will Newton  <will.newton@linaro.org>
14913             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14915         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14916         (__longjmp): Add longjmp and longjmp_target SystemTap
14917         probes.
14918         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14919         (__sigsetjmp): Add setjmp SystemTap probe.
14921 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14923         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14924         match manual order.
14926 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14928         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14930         * sysdeps/powerpc/fpu/fenv_private.h
14931         (libc_feholdexcept_setroundl_ctx): Define to
14932         libc_feholdexcept_setround_ppc_ctx.
14933         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14934         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14935         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14936         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14938 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14940         * sysdeps/aarch64/math-tests.h: New file.
14942 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14944         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14945         New.
14946         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14947         Check and set bit_AVX2_Usable.
14948         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14949         macro.
14950         (bit_AVX2): Likewise.
14951         (index_AVX2_Usable): Likewise.
14952         (CPUID_AVX2): Likewise.
14953         (HAS_AVX2): Likewise.
14955 2014-04-17  Will Newton  <will.newton@linaro.org>
14957         * manual/setjmp.texi (System V contexts): Add note that
14958         calling setcontext on a context created by a call to a
14959         signal handler is undefined.  Update text to note that
14960         setcontext from a signal handler is possible but not
14961         recommended.
14963         [BZ #16629]
14964         * stdlib/tst-setcontext.c: Include signal.h.
14965         (main): Check that the signal stack before and
14966         after swapcontext is the same.
14968         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14969         Re-implement to restore registers in user code and avoid
14970         rt_sigreturn system call.
14972 2014-04-17  Wilco  <wdijkstr@arm.com>
14974         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14975         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14976         * math/test-fenv.c: Skip exception trap tests on targets which only
14977         support non-stop mode.
14979 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14980             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14982         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14983         (libc_feholdsetround_aarch64_ctx)
14984         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14985         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14986         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14987         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14988         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14989         (libc_feresetround_noexl_ctx): Define.
14991 2014-04-16  Richard Henderson  <rth@redhat.com>
14993         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14995         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14996         unwind tables.
14998         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14999         const from the non-libc, non-ldso copy.
15001         * sysdeps/alpha/libm-test-ulps: Regenerate.
15003 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
15004             Wilco Dijkstra  <wilco.dijkstra@arm.com>
15006         * sysdeps/aarch64/fpu/math_private.h: New file.
15008 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15010         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15012 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
15014         [BZ #16275]
15015         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15016         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15018         Intel MPX bound registers before _dl_profile_fixup.
15019         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15020         registers after _dl_profile_fixup.  Save and restore bound
15021         registers bnd0/bnd1 when calling _dl_call_pltexit.
15022         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15023         (LR_BND_OFFSET): Likewise.
15024         (LRV_BND0_OFFSET): Likewise.
15025         (LRV_BND1_OFFSET): Likewise.
15027 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15029         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15030         to...
15031         * sysdeps/mach/hurd/i386/tls.h: ... here.
15032         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15033         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15034         fields.
15036 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15038         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15040 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15042         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15044 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
15046         [BZ #14770]
15047         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15048         * sysdeps/s390/configure: Regenerate.
15050         [BZ #16824]
15051         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15052         Set round-to-nearest internally to reduce error accumulation.
15054 2014-04-16  Alan Modra  <amodra@gmail.com>
15056         [BZ #16740]
15057         [BZ #16619]
15058         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15059         * math/libm-test.inc (frexp_test_data): Add tests.
15060         * NEWS: Update fixed bug list.
15062 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15064         * benchtests/Makefile: Depend on libraries in build directory.
15065         (bench-math): Separate out math tests.
15066         (bench-pthread): Separate out pthread tests.
15067         (bench): Include math and pthread tests.
15069 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
15071         [BZ #16831]
15072         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15073         _dl_debug_initialize.
15075         * configure.ac: Remove SELinux header check.
15076         * configure: Regenerate.
15077         * nscd/selinux.c (perms): Array of const char* to permission names.
15078         (nscd_request_avc_has_perm): Call security_deny_unknown to find
15079         default policy. Call string_to_security_class and string_to_av_perm to
15080         translate strings. Enforce default policy and call avs_has_perm with
15081         results of translated strings.
15083 2014-04-13  David S. Miller  <davem@davemloft.net>
15085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15087 2014-04-12  Allan McRae  <allan@archlinux.org>
15089         [BZ #16838]
15090         * manual/string.texi (Collation Functions): Fix qsort argument
15091         order in example.
15092         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15094 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
15096         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15097         Make the test a no-op if there are no exceptions defined.
15099 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15101         * elf/Makefile (tests): make tst-dlopen-aout conditional on
15102         enable-hardcoded-path-in-tests
15104 2014-04-11  Will Newton  <will.newton@linaro.org>
15106         * benchtests/Makefile (extra-objs): Add json-lib.o.
15107         (bench-func): Tidy up JSON output.
15108         * benchtests/bench-skeleton.c: Include json-lib.h.
15109         (main): Use JSON library functions to do output of
15110         benchmark results.
15111         * benchtests/bench-timing-type.c (main): Output the
15112         timing type simply, leaving formatting to the user.
15113         * benchtests/json-lib.c: New file.
15114         * benchtests/json-lib.h: Likewise.
15116 2014-04-11  Torvald Riegel  <triegel@redhat.com>
15118         [BZ #15215]
15119         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15120         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
15121         memory barriers.  Add comments.
15122         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15123         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15124         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15125         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15126         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15127         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15129 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15131         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15132         * sysdeps/s390/s390-64/configure.ac: ... this ...
15133         * sysdeps/s390/configure.ac: ... to here.
15134         * sysdeps/s390/s390-32/configure: Delete file.
15135         * sysdeps/s390/s390-64/configure: Delete file.
15136         * sysdeps/s390/configure: Regenerate.
15138 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15140         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15142 2014-04-11  Will Newton  <will.newton@linaro.org>
15144         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15145         to zero if it is not defined elsewhere.  (mtrim): Test
15146         the value of MALLOC_DEBUG with #if rather than #ifdef.
15148 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15150         * benchtests/pthread_once-inputs: New file.
15151         * benchtests/pthread_once-source.c: New file.
15152         * benchtests/README: Update documentation.
15154 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15155             H.J. Lu  <hongjiu.lu@intel.com>
15157         [BZ #16275]
15158         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15159         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15160         * sysdeps/x86_64/configure: Regenerated.
15161         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15162         macro.
15163         (REGISTER_SAVE_RAX): Likewise.
15164         (REGISTER_SAVE_RCX): Likewise.
15165         (REGISTER_SAVE_RDX): Likewise.
15166         (REGISTER_SAVE_RSI): Likewise.
15167         (REGISTER_SAVE_RDI): Likewise.
15168         (REGISTER_SAVE_R8): Likewise.
15169         (REGISTER_SAVE_R9): Likewise.
15170         (REGISTER_SAVE_BND0): Likewise.
15171         (REGISTER_SAVE_BND1): Likewise.
15172         (REGISTER_SAVE_BND2): Likewise.
15173         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15174         bound registers when calling _dl_fixup.
15176 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15178         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15179         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15180         of its definition.
15181         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15182         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15183         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15184         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15185         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15186         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15187         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15189 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15191         [BZ #15514]
15192         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15193         pathconf(_PC_NAME_MAX).
15195 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15197         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15198         Remove macro usage.
15199         (__PTHREAD_SPINS): Move definition to ...
15200         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15201         (__PTHREAD_SPINS): ... here.
15202         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15203         (__PTHREAD_SPIN): Likewise.
15204         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15205         (__PTHREAD_SPIN): Likewise.
15206         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15207         (__PTHREAD_SPIN): Likewise.
15208         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15209         (__PTHREAD_SPIN): Likewise.
15210         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15211         (__PTHREAD_SPIN): Likewise.
15212         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15213         (__PTHREAD_SPIN): Likewise.
15214         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15215         (__PTHREAD_SPIN): Likewise.
15216         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15217         (__PTHREAD_SPIN): Likewise.
15218         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15219         (__PTHREAD_SPIN): Likewise.
15220         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15221         (__PTHREAD_SPIN): Likewise.
15222         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15223         (__PTHREAD_SPIN): Likewise.
15224         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15225         (__PTHREAD_SPIN): Likewise.
15227         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15228         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15229         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15230         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15231         imply folder.
15232         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15233         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15234         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15235         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15236         correct imply path.
15237         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15238         strlen symbol for non multi-arch builds.
15239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15240         missing hidden_def and weak_alias.
15242 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15244         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15246 2014-04-07  Will Newton  <will.newton@linaro.org>
15248         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15249         and contents.  [!_LIBC] Remove #ifndef and contents.
15250         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15251         * string/memccpy.c (__memccpy): Use ANSI prototype.
15252         * string/memfrob.c (memfrob): Likewise.
15253         * string/strcoll.c (STRCOLL): Likewise.
15254         * string/strlen.c (strlen): Likewise.
15255         * string/strtok.c (STRTOK): Likewise.
15256         * string/strcat.c: Remove unused #include of memcopy.h.
15257         (strcat): Use ANSI prototype.
15258         * string/strchr.c: Remove unused #include of memcopy.h.
15259         (strchr): Use ANSI prototype.
15260         * string/strcmp.c: Remove unused #include of memcopy.h.
15261         (strcmp): Use ANSI prototype.
15262         * string/strcpy.c: Remove unused #include of memcopy.h.
15263         (strcpy): Use ANSI prototype.
15265 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15267         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15268         * config.make.in (config-extra-cppflags): Set it from
15269         libc_extra_cppflags.
15270         * configure.ac (libc_extra_cflags): Make it accumulate over
15271         configure fragments.
15272         (libc_extra_cppflags): New flag.
15273         * configure. Regenerate.
15274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15275         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15276         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15279         [BZ #16815]
15280         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15281         result for FE_DOWNWARD rounding mode.
15282         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15283         Likewise.
15284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15286 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15288         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15289         in function argument name.
15291 2014-04-03  David Svoboda  <svoboda@cert.org>
15293         [BZ #5666]
15294         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15295         explicitly.
15297 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15299         * elf/dl-unmap-segments.h: New file.
15300         * sysdeps/generic/ldsodefs.h
15301         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15302         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15303         * elf/dl-fptr.c: Likewise.
15304         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15305         * sysdeps/aarch64/tlsdesc.c: Likewise.
15306         * sysdeps/arm/tlsdesc.c: Likewise.
15307         * sysdeps/i386/tlsdesc.c: Likewise.
15308         * sysdeps/tile/dl-runtime.c: Likewise.
15309         * sysdeps/x86_64/tlsdesc.c: Likewise.
15310         * elf/dl-load.h: New file.
15311         * elf/dl-load.c: Include it.
15312         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15313         Macros moved to dl-load.h.
15314         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15315         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15316         Use _dl_unmap_segments in place of __munmap.
15317         Break out segment-mapping loop into ...
15318         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15320 2014-04-03  Will Newton  <will.newton@linaro.org>
15322         * elf/dl-lookup.c (do_lookup_x): Remove comment
15323         referring to nested function and move variable
15324         declarations down to before first use.
15326 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15328         [BZ #16799]
15329         [BZ #16800]
15330         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15331         with 0 numerator.
15332         * math/s_catanf.c (__catanf): Likewise.
15333         * math/s_catanh.c (__catanh): Likewise.
15334         * math/s_catanhf.c (__catanhf): Likewise.
15335         * math/s_catanhl.c (__catanhl): Likewise.
15336         * math/s_catanl.c (__catanl): Likewise.
15337         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15338         by positive zero when computing -Inf result.
15339         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15340         (catanh_test): Likewise.
15341         * sysdeps/i386/fpu/libm-test-ulps: Update.
15342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15344         [BZ #16789]
15345         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15346         instead of using underflowing value in computing result.
15347         * math/s_clog10.c (__clog10): Likewise.
15348         * math/s_clog10f.c (__clog10f): Likewise.
15349         * math/s_clog10l.c (__clog10l): Likewise.
15350         * math/s_clogf.c (__clogf): Likewise.
15351         * math/s_clogl.c (__clogl): Likewise.
15352         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15353         (clog10_test): Likewise.
15354         * sysdeps/i386/fpu/libm-test-ulps: Update.
15355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15357 2014-04-02  Alan Modra  <amodra@gmail.com>
15359         [BZ #16739]
15360         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15361         output when value is near a power of two.  Use int64_t for lx and
15362         remove casts.  Use decimal rather than hex exponent constants.
15363         Don't use long double multiplication when double will suffice.
15364         * math/libm-test.inc (nextafter_test_data): Add tests.
15365         * NEWS: Add 16739 and 16786 to bug list.
15367         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15369         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15371 2014-04-01  Will Newton  <will.newton@linaro.org>
15373         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15374         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15376 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15378         [BZ #13347]
15379         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15380         * nptl/tst-setuid2.c: New file.
15381         * nptl/Makefile (xtests): Add tst-setuid2.
15383 2014-04-01  Alan Modra  <amodra@gmail.com>
15385         [BZ #16786]
15386         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15388 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15390         [BZ #6803]
15391         [BZ #6804]
15392         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15393         set errno as appropriate.
15394         * math/w_scalbf.c (__scalbf): Likewise.
15395         * math/w_scalbl.c (__scalbl): Likewise.
15396         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15397         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15398         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15399         Add more NaN tests.
15401         [BZ #16349]
15402         * math/w_atan2.c: Include <errno.h>.
15403         (__atan2): Set errno for result underflowing to zero.
15404         * math/w_atan2f.c: Include <errno.h>.
15405         (__atan2f): Set errno for result underflowing to zero.
15406         * math/w_atan2l.c: Include <errno.h>.
15407         (__atan2l): Set errno for result underflowing to zero.
15408         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15409         tests.
15410         * math/auto-libm-test-out: Regenerated.
15412 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15414         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15415         Encode instruction correctly in little endian.
15416         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15417         Likewise.
15418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15419         Likewise.
15420         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15421         Likewise.
15422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15423         Likewise.
15425 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15427         [BZ #9894]
15428         * sysdeps/unix/sysv/linux/kernel-features.h
15429         [__sparc__ && !__arch64__ && !__sparc_v9__]
15430         (__ASSUME_SET_ROBUST_LIST): Do not define.
15431         [__sparc__ && !__arch64__ && !__sparc_v9__]
15432         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15433         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15436         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15437         (__ASSUME_REQUEUE_PI): Likewise.
15438         (__ASSUME_SET_ROBUST_LIST): Likewise.
15439         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15440         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15441         Undefine.
15442         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15443         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15444         Likewise.
15445         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15446         Likewise.
15447         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15448         Likewise.
15449         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15450         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15451         Undefine.
15452         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15453         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15454         Likewise.
15456         [BZ #16648]
15457         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15458         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15459         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15461 2014-03-31  Will Newton  <will.newton@linaro.org>
15463         * benchtests/Makefile (bench): Add ffs and ffsll to list
15464         of tests.
15465         * benchtests/ffs-inputs: New file.
15466         * benchtests/ffsll-inputs: Likewise.
15468 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15470         [BZ #16770]
15471         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15472         too large before casting to int.
15473         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15474         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15475         * math/libm-test.inc (scalb_test_data): Add more tests.
15477 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15479         * benchtests/Makefile (DETAILED_OPT): New make option.
15480         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15481         set.
15482         * benchtests/bench-skeleton.c: Include stdbool.h.
15483         (main): Store and print timings per input.
15484         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15485         member to each argument value.
15486         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15487         (_print_arg_data): Initialize per-input timing to 0.
15489         * benchtests/Makefile (timing-type): New binary.
15490         (bench-clean): Also remove bench-timing-type.
15491         (bench): New target for timing-type.
15492         (bench-func): Print output in JSON format.
15493         * benchtests/bench-skeleton.c (main): Print output in JSON
15494         format.
15495         * benchtests/bench-timing-type.c: New file.
15496         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15497         (TIMING_PRINT_STATS): Remove.
15498         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15499         name separately.
15501         * benchtests/bench-modf.c: Remove.
15502         * benchtests/modf-inputs: New inputs file.
15504 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15506         [BZ #16362]
15507         * math/s_clog10.c (M_PI_LOG10E): New macro.
15508         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15509         imaginary parts are 0.
15510         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15511         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15512         imaginary parts are 0.
15513         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15514         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15515         imaginary parts are 0.
15516         * math/libm-test.inc (clog10_test_data): Update expected results
15517         for when real and imaginary parts are 0.
15519 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15521         * elf/dl-load.c: Finish conversion of __builtin_expect into
15522         __glibc_{un}likely.
15524 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15526         [BZ #16348]
15527         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15528         1+x for argument with exponent below -67.
15529         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15530         Likewise.
15531         * math/auto-libm-test-in: Add more tests of exp.
15532         * math/auto-libm-test-out: Regenerated.
15534 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15536         [BZ #16759]
15537         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15538         (nscd_getnetgrent): Use it.
15540         [BZ #16760]
15541         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15542         of stpcpy.
15544 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15546         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15547         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15548         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15549         (lll_robust_unlock): Remove out of line section. Use cfi
15550         intrinsics.
15551         (LLL_STUB_UNWIND_INFO*): Remove.
15552         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15553         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15554         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15555         (lll_robust_unlock): Remove out of line section. Use cfi
15556         intrinsics.
15557         (LLL_STUB_UNWIND_INFO*): Remove.
15559 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15561         [BZ #16758]
15562         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15563         blank values.
15565 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15567         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15569 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15571         [BZ #16198]
15572         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15573         fnstenv.
15574         * math/test-fenv-preserve.c: New file.
15575         * math/Makefile (tests): Add test-fenv-preserve.
15577 2014-03-26  Will Newton <will.newton@linaro.org>
15579         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15581 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15583         * scripts/versionlist.awk: Partition the version sets and emit all
15584         GLIBC_* (sorted) before all others (sorted).
15586 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15588         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15589         GLIBC_2.2.5 version.
15591 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15593         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15594         calls.
15596         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15597         previous change.
15599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15601 2014-03-25  Andreas Schwab  <schwab@suse.de>
15603         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15604         label to be used after in6ailist is initialized.
15606 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15608         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15609         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15611 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15613         [BZ #16357]
15614         [BZ #16599]
15615         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15616         min_plus_half.
15617         (fp_formats): Update initializers.
15618         (init_fp_formats): Initialize new field.
15619         (output_for_one_input_case): Allow underflow for results up to
15620         min_plus_half.
15621         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15622         * math/auto-libm-test-in: Don't mark some underflows from asin and
15623         atanh as spurious.
15624         * math/auto-libm-test-out: Regenerated.
15625         * sysdeps/i386/fpu/libm-test-ulps: Update.
15626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15628 2014-03-25  Andreas Schwab  <schwab@suse.de>
15630         * libio/Makefile (tst-ftell-partial-wide-ENV)
15631         (tst-ftell-active-handler-ENV): Define.
15633 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15635         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15637 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15639         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15641 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15643         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15644         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15645         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15647 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15649         [BZ #16634]
15650         * elf/dl-load.c (open_verify): Add mode parameter.
15651         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15652         (open_path): Change from boolean 'secure' to complete flag 'mode'
15653         (_dl_map_object): Adjust.
15654         * elf/Makefile (tests): Add tst-dlopen-aout.
15655         * elf/tst-dlopen-aout.c: New test.
15657 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15659         [BZ #16714]
15660         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15661         (struct stat): Rename member pad0 to __glibc_reserved0.
15663         [BZ #16712]
15664         * sysdeps/s390/s390-32/bits/wordsize.h
15665         (__WORDSIZE32_SIZE_ULONG): New define.
15666         * sysdeps/s390/s390-64/bits/wordsize.h
15667         (__WORDSIZE32_SIZE_ULONG): Likewise.
15668         * sysdeps/generic/stdint.h (SIZE_MAX):
15669         Define as UL if __WORDSIZE32_SIZE_ULONG.
15671         [BZ #16713]
15672         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15673         (__glibc_reserved0): New variable.
15674         (sa_flags): Change type to int.
15676         * posix/Makefile (before-compile): Use += before-compile instead
15677         of a :=.
15679         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15680         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15682 2014-03-20  Andreas Schwab  <schwab@suse.de>
15684         [BZ #16743]
15685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15686         non-matching result from nscd.
15688 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15690         * scripts/bench.py: Moved to ...
15691         * benchtests/scripts/bench.py: ... here.
15692         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15694 2014-03-24  Andreas Schwab  <schwab@suse.de>
15696         [BZ #16002]
15697         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15698         alloca_account and account alloca use for struct in6ailist.
15700 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15702         [BZ #16284]
15703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15704         rounding mode to recompute results that overflow to infinity or
15705         underflow to zero.
15706         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15707         bug 16284.
15708         * math/auto-libm-test-out: Regenerated.
15709         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15710         (ccosh_test): Likewise.
15711         (csin_test_data): Use plus_oflow.
15712         (csin_test): Use ALL_RM_TEST.
15713         (csinh_test_data): Use plus_oflow.
15714         (csinh_test): Use ALL_RM_TEST.
15715         * sysdeps/i386/fpu/libm-test-ulps: Update.
15716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15718 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15720         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15721         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15722         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15724         [BZ #16731]
15725         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15726         when x - 1 is zero.
15727         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15728         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15729         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15730         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15731         argument is 1.
15732         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15733         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15734         zero.
15735         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15736         * sysdeps/i386/fpu/libm-test-ulps: Update.
15737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15739 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15741         * scripts/bench.pl: Remove file.
15742         * scripts/bench.py: New benchmark script.
15743         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15744         * benchtests/README: Mention python dependency.
15745         * scripts/pylintrc: New file.
15746         * scripts/pylint: New file.
15748         * bits/mathdef.h: Use #ifdef instead of #if.
15749         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15750         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15751         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15752         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15753         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15754         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15756 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15757             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15759         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15761         and strpbrk-ppc64 objects.
15762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15763         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15764         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15765         multiarch strpbrk for POWER7.
15766         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15767         multiarch strpbrk for PPC64.
15768         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15769         ifunc selector.
15770         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15771         strpbrk for POWER7.
15773 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15775         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15776         (atan_test): Likewise.
15777         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15778         (atanh_test): Use ALL_RM_TEST.
15779         (atan2_test_data): Likewise.
15780         (cabs_test): Likewise.
15781         (cacosh_test): Likewise.
15782         (carg_test): Likewise.
15783         (casin_test): Likewise.
15784         (casinh_test): Likewise.
15785         (cbrt_test): Likewise.
15786         (csqrt_test): Likewise.
15787         (erf_test): Likewise.
15788         (erfc_test): Likewise.
15789         (pow10_test): Likewise.
15790         (exp2_test): Likewise.
15791         (hypot_test): Likewise.
15792         (j0_test): Likewise.
15793         (j1_test): Likewise.
15794         (lgamma_test): Likewise.
15795         (gamma_test): Likewise.
15796         (sincos_test): Likewise.
15797         (tanh_test): Likewise.
15798         (y0_test): Likewise.
15799         (y1_test): Likewise.
15800         * sysdeps/i386/fpu/libm-test-ulps: Update.
15801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15803 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15805         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15807         and strcspn-ppc64 objects.
15808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15809         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15810         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15811         multiarch strcspn for POWER7.
15812         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15813         multiarch strcspn for PPC64.
15814         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15815         ifunc selector.
15816         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15817         strcspn for POWER7.
15819 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15821         * math/gen-libm-test.pl (generate_testfile): Expect only function
15822         name as argument to AUTO_TESTS_* and pass results for all rounding
15823         modes to parse_args.
15824         (parse_auto_input): Separate inputs of automatic tests from
15825         outputs before storing in %auto_tests.
15826         * math/libm-test.inc (acos_test_data): Update call to
15827         AUTO_TESTS_f_f.
15828         (acos_test): Use ALL_RM_TEST.
15829         (acos_tonearest_test_data): Remove.
15830         (acos_test_tonearest): Likewise.
15831         (acos_towardzero_test_data): Likewise.
15832         (acos_test_towardzero): Likewise.
15833         (acos_downward_test_data): Likewise.
15834         (acos_test_downward): Likewise.
15835         (acos_upward_test_data): Likewise.
15836         (acos_test_upward): Likewise.
15837         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15838         (asin_test_data): Likewise.
15839         (asin_test): Use ALL_RM_TEST.
15840         (asin_tonearest_test_data): Remove.
15841         (asin_test_tonearest): Likewise.
15842         (asin_towardzero_test_data): Likewise.
15843         (asin_test_towardzero): Likewise.
15844         (asin_downward_test_data): Likewise.
15845         (asin_test_downward): Likewise.
15846         (asin_upward_test_data): Likewise.
15847         (asin_test_upward): Likewise.
15848         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15849         (atan_test_data): Likewise.
15850         (atanh_test_data): Likewise.
15851         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15852         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15853         (carg_test_data): Likewise.
15854         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15855         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15856         (ccosh_test_data): Likewise.
15857         (cexp_test_data): Likewise.
15858         (clog_test_data): Likewise.
15859         (clog10_test_data): Likewise.
15860         (cos_test_data): Update call to AUTO_TESTS_f_f.
15861         (cos_test): Use ALL_RM_TEST.
15862         (cos_tonearest_test_data): Remove.
15863         (cos_test_tonearest): Likewise.
15864         (cos_towardzero_test_data): Likewise.
15865         (cos_test_towardzero): Likewise.
15866         (cos_downward_test_data): Likewise.
15867         (cos_test_downward): Likewise.
15868         (cos_upward_test_data): Likewise.
15869         (cos_test_upward): Likewise.
15870         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15871         (cosh_test): Use ALL_RM_TEST.
15872         (cosh_tonearest_test_data): Remove.
15873         (cosh_test_tonearest): Likewise.
15874         (cosh_towardzero_test_data): Likewise.
15875         (cosh_test_towardzero): Likewise.
15876         (cosh_downward_test_data): Likewise.
15877         (cosh_test_downward): Likewise.
15878         (cosh_upward_test_data): Likewise.
15879         (cosh_test_upward): Likewise.
15880         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15881         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15882         (ctan_test_data): Likewise.
15883         (ctan_test): Use ALL_RM_TEST.
15884         (ctan_tonearest_test_data): Remove.
15885         (ctan_test_tonearest): Likewise.
15886         (ctan_towardzero_test_data): Likewise.
15887         (ctan_test_towardzero): Likewise.
15888         (ctan_downward_test_data): Likewise.
15889         (ctan_test_downward): Likewise.
15890         (ctan_upward_test_data): Likewise.
15891         (ctan_test_upward): Likewise.
15892         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15893         (ctanh_test): Use ALL_RM_TEST.
15894         (ctanh_tonearest_test_data): Remove.
15895         (ctanh_test_tonearest): Likewise.
15896         (ctanh_towardzero_test_data): Likewise.
15897         (ctanh_test_towardzero): Likewise.
15898         (ctanh_downward_test_data): Likewise.
15899         (ctanh_test_downward): Likewise.
15900         (ctanh_upward_test_data): Likewise.
15901         (ctanh_test_upward): Likewise.
15902         (erf_test_data): Update call to AUTO_TESTS_f_f.
15903         (erfc_test_data): Likewise.
15904         (exp_test_data): Likewise.
15905         (exp_test): Use ALL_RM_TEST.
15906         (exp_tonearest_test_data): Remove.
15907         (exp_test_tonearest): Likewise.
15908         (exp_towardzero_test_data): Likewise.
15909         (exp_test_towardzero): Likewise.
15910         (exp_downward_test_data): Likewise.
15911         (exp_test_downward): Likewise.
15912         (exp_upward_test_data): Likewise.
15913         (exp_test_upward): Likewise.
15914         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15915         (exp10_test): Use ALL_RM_TEST.
15916         (exp10_tonearest_test_data): Remove.
15917         (exp10_test_tonearest): Likewise.
15918         (exp10_towardzero_test_data): Likewise.
15919         (exp10_test_towardzero): Likewise.
15920         (exp10_downward_test_data): Likewise.
15921         (exp10_test_downward): Likewise.
15922         (exp10_upward_test_data): Likewise.
15923         (exp10_test_upward): Likewise.
15924         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15925         (expm1_test_data): Likewise.
15926         (expm1_test): Use ALL_RM_TEST.
15927         (expm1_tonearest_test_data): Remove.
15928         (expm1_test_tonearest): Likewise.
15929         (expm1_towardzero_test_data): Likewise.
15930         (expm1_test_towardzero): Likewise.
15931         (expm1_downward_test_data): Likewise.
15932         (expm1_test_downward): Likewise.
15933         (expm1_upward_test_data): Likewise.
15934         (expm1_test_upward): Likewise.
15935         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15936         (fma_test): Use ALL_RM_TEST.
15937         (fma_towardzero_test_data): Remove.
15938         (fma_test_towardzero): Likewise.
15939         (fma_downward_test_data): Likewise.
15940         (fma_test_downward): Likewise.
15941         (fma_upward_test_data): Likewise.
15942         (fma_test_upward): Likewise.
15943         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15944         (j0_test_data): Update call to AUTO_TESTS_f_f.
15945         (j1_test_data): Likewise.
15946         (jn_test_data): Update call to AUTO_TESTS_if_f.
15947         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15948         (log_test_data): Update call to AUTO_TESTS_f_f.
15949         (log10_test_data): Likewise.
15950         (log1p_test_data): Likewise.
15951         (log2_test_data): Likewise.
15952         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15953         (pow_tonearest_test_data): Likewise.
15954         (sin_test_data): Update call to AUTO_TESTS_f_f.
15955         (sin_test): Use ALL_RM_TEST.
15956         (sin_tonearest_test_data): Remove.
15957         (sin_test_tonearest): Likewise.
15958         (sin_towardzero_test_data): Likewise.
15959         (sin_test_towardzero): Likewise.
15960         (sin_downward_test_data): Likewise.
15961         (sin_test_downward): Likewise.
15962         (sin_upward_test_data): Likewise.
15963         (sin_test_upward): Likewise.
15964         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15965         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15966         (sinh_test): Use ALL_RM_TEST.
15967         (sinh_tonearest_test_data): Remove.
15968         (sinh_test_tonearest): Likewise.
15969         (sinh_towardzero_test_data): Likewise.
15970         (sinh_test_towardzero): Likewise.
15971         (sinh_downward_test_data): Likewise.
15972         (sinh_test_downward): Likewise.
15973         (sinh_upward_test_data): Likewise.
15974         (sinh_test_upward): Likewise.
15975         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15976         (sqrt_test): Use ALL_RM_TEST.
15977         (sqrt_tonearest_test_data): Remove.
15978         (sqrt_test_tonearest): Likewise.
15979         (sqrt_towardzero_test_data): Likewise.
15980         (sqrt_test_towardzero): Likewise.
15981         (sqrt_downward_test_data): Likewise.
15982         (sqrt_test_downward): Likewise.
15983         (sqrt_upward_test_data): Likewise.
15984         (sqrt_test_upward): Likewise.
15985         (tan_test_data): Update call to AUTO_TESTS_f_f.
15986         (tan_test): Use ALL_RM_TEST.
15987         (tan_tonearest_test_data): Remove.
15988         (tan_test_tonearest): Likewise.
15989         (tan_towardzero_test_data): Likewise.
15990         (tan_test_towardzero): Likewise.
15991         (tan_downward_test_data): Likewise.
15992         (tan_test_downward): Likewise.
15993         (tan_upward_test_data): Likewise.
15994         (tan_test_upward): Likewise.
15995         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15996         (tgamma_test_data): Likewise.
15997         (y0_test_data): Likewise.
15998         (y1_test_data): Likewise.
15999         (yn_test_data): Update call to AUTO_TESTS_if_f.
16000         (main): Do not call removed functions.
16002 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16004         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16005         (ldexp_test_data): Remove.
16006         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
16007         scalbn_test_data.
16008         (scalb_test): Use ALL_RM_TEST.
16010 2014-03-19  Andreas Schwab  <schwab@suse.de>
16012         * nscd/nscd.service: Also invalidate netgroup cache on reload.
16014 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
16016         [BZ #16649]
16017         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16018         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16019         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16020         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16021         (__ASSUME_PREADV): Undefine.
16022         (__ASSUME_PWRITEV): Likewise.
16024 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16026         * bits/mman-linux.h: Add comment about non-Linux use.
16027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16028         bits/mman-linux.h resting place.
16030         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16031         * bits/mman-linux.h: ... here.
16033 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16035         * conform/conformtest.pl: Add standard definition when calling C
16036         preprocessor on data files.
16037         (checknamespace): Remove unused variable.
16039 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16041         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16042         minus_oflow, plus_uflow and minus_uflow in expected results.
16043         * math/libm-test.inc (scalbn_test_data): Add more tests of
16044         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
16045         minus_uflow.
16046         (scalbn_test): Use ALL_RM_TEST.
16047         (scalbln_test_data): Add more tests of negative arguments.  Use
16048         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16049         (scalbln_test): Use ALL_RM_TEST.
16051 2014-03-18  Roland McGrath  <roland@hack.frob.com>
16053         * scripts/abilist.awk: Ignore symbols marked with .hidden.
16055 2014-03-18  Will Newton  <will.newton@linaro.org>
16057         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16058         inaccurate comment.
16060 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
16062         * Makerules [!subdir] (check-abi): Exit with error status if a
16063         test failed.
16065 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16067         * math/libm-test.inc (nearbyint_test_data): Include all tests used
16068         for rint.  Include results for all rounding modes.
16069         (nearbyint_test): Use ALL_RM_TEST.
16070         (rint_test_data): Include all tests used for nearbyint.
16072 2014-03-17  Will Newton  <will.newton@linaro.org>
16074         * nptl/sysdeps/pthread/pthread.h: Revert previous
16075         change.
16077         * sysdeps/generic/ldsodefs.h: Revert previous
16078         change.
16080         * libio/genops.c: Revert previous change.
16081         * libio/libioP.h: Likewise.
16082         * stdio-common/vfprintf.c: Likewise.
16084         * sysdeps/generic/math_private.h: Revert previous
16085         change.
16087         * sysdeps/generic/math_private.h: Check whether
16088         HAVE_RM_CTX is defined with #ifdef rather
16089         than #if.
16091         * argp/argp-fmtstream.h: Check whether
16092         __STRICT_ANSI__ is defined with #ifdef rather
16093         than #if.
16094         * argp/argp.h: Likewise.
16096         * libio/genops.c: Check whether
16097         _IO_JUMPS_OFFSET is defined with #ifdef rather
16098         than #if.
16099         * libio/libioP.h: Likewise.
16100         * stdio-common/vfprintf.c: Likewise.
16102         * sysdeps/generic/ldsodefs.h: Check whether
16103         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16104         than #if.
16106         * nptl/sysdeps/pthread/pthread.h: Check
16107         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16108         its value.
16110 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16112         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16113         setting O_APPEND.
16114         * libio/tst-ftell-active-handler.c (do_append_test): Add a
16115         test case.
16117         [BZ #16680]
16118         * libio/fileops.c (_IO_file_open): Seek to end of file but
16119         don't cache the offset.
16120         (get_file_offset): Remove function.
16121         (do_ftell): Use cached offset when available.
16122         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16123         don't cache the offset.
16124         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16125         case.
16126         (do_one_test): Call it.
16127         (do_ftell_test): Fix up expected old offset for a+ mode.
16128         * libio/wfileops.c (do_ftell_wide): Used cached offset when
16129         available.
16131         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16132         up test status with function return status.
16133         (do_write_test): Likewise.
16134         (do_append_test): Likewise.
16136         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16137         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16138         Remove.
16140 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16142         * math/gen-libm-test.pl (parse_args): Handle results specified for
16143         each rounding mode separately.
16144         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16145         tests and results from lrint_tonearest_test_data,
16146         lrint_towardzero_test_data, lrint_downward_test_data and
16147         lrint_upward_test_data.
16148         (lrint_test): Use ALL_RM_TEST.
16149         (lrint_tonearest_test_data): Remove.
16150         (lrint_test_tonearest): Likewise.
16151         (lrint_towardzero_test_data): Likewise.
16152         (lrint_test_towardzero): Likewise.
16153         (lrint_downward_test_data): Likewise.
16154         (lrint_test_downward): Likewise.
16155         (lrint_upward_test_data): Likewise.
16156         (lrint_test_upward): Likewise.
16157         (llrint_test_data): Merge in per-rounding-mode tests and results
16158         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16159         llrint_downward_test_data and llrint_upward_test_data.
16160         (llrint_test): Use ALL_RM_TEST.
16161         (llrint_tonearest_test_data): Remove.
16162         (llrint_test_tonearest): Likewise.
16163         (llrint_towardzero_test_data): Likewise.
16164         (llrint_test_towardzero): Likewise.
16165         (llrint_downward_test_data): Likewise.
16166         (llrint_test_downward): Likewise.
16167         (llrint_upward_test_data): Likewise.
16168         (llrint_test_upward): Likewise.
16169         (rint_test_data): Merge in per-rounding-mode tests and results
16170         from rint_tonearest_test_data, rint_towardzero_test_data,
16171         rint_downward_test_data and rint_upward_test_data.  Add
16172         per-rounding-mode results for tests not in those arrays.
16173         (rint_test): Use ALL_RM_TEST.
16174         (rint_tonearest_test_data): Remove.
16175         (rint_test_tonearest): Likewise.
16176         (rint_towardzero_test_data): Likewise.
16177         (rint_test_towardzero): Likewise.
16178         (rint_downward_test_data): Likewise.
16179         (rint_test_downward): Likewise.
16180         (rint_upward_test_data): Likewise.
16181         (rint_test_upward): Likewise.
16182         (main): Don't call removed functions.
16184 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16186         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16187         "Compiled on ..." crapola.  It is anti-useful.
16189 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16191         * scripts/evaluate-test.sh: Handle fourth argument to determine
16192         whether test run should stop on failure.
16193         * Makeconfig (stop-on-test-failure): New variable.
16194         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16195         $(stop-on-test-failure).
16196         * Makefile (tests): Give a summary of results from testing and
16197         exit with failure status if they include an ERROR or FAIL.
16198         (xtests): Likewise.
16199         * manual/install.texi (Configuring and compiling): Mention
16200         stop-on-test-failure=y.
16201         * INSTALL: Regenerated.
16203 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16205         * scripts/versionlist.awk: New file.
16206         * Makerules [$(build-shared) = yes]
16207         (postclean-generated): Add Versions.def, not Versions.def.v and
16208         Versions.def.v.i.
16209         ($(common-objpfx)Versions.def.v.i): Target removed.
16210         ($(common-objpfx)Versions.def): New target.
16211         ($(common-objpfx)Versions.all): Depend on that rather that
16212         $(common-objpfx)Versions.def.v.
16213         * Versions.def: File removed.
16215         * Makeconfig (+gccwarn): Add -Wundef.
16216         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16217         a dl-sysdep.h breaking its contract.
16218         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16219         * include/stackinfo.h: New file.
16220         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16221         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16222         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16223         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16224         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16225         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16226         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16227         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16228         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16229         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16230         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16231         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16232         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16233         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16234         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16236 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16238         [BZ #16707]
16239         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16240         implementation.
16241         * math/libm-test.inc (round_test_data): Add more tests.
16243         [BZ #16706]
16244         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16245         implementation.
16246         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16248         [BZ #16701]
16249         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16250         implementation.
16251         * math/libm-test.inc (ceil_test_data): Add more tests.
16253         * math/libm-test.inc (trunc_test_data): Add more tests related to
16254         BZ#16414.
16256 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16258         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16259         with #if rather than #ifdef.
16260         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16262 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16264         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16265         first.  Disable AVX-512 GCC support if assembler doesn't support
16266         it.
16267         * sysdeps/x86_64/configure: Regenerated.
16269 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16271         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16272         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16273         (__old_pthread_attr_setstack): Likewise.
16274         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16275         [!_STACK_GROWS_DOWN]: Likewise.
16277 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16279         * config.make.in (have-bash2): Delete.
16280         * configure.ac (libc_cv_have_bash2): Delete.
16281         * configure: Regenerate.
16282         * elf/Makefile (common-ldd-rewrite): Rename to ...
16283         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16284         (sh-ldd-rewrite): Delete.
16285         (bash-ldd-rewrite): Delete.
16286         (have-bash2): Delete checks.
16287         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16288         ldd-rewrite.
16290         * config.make.in (have-ksh): Delete.
16291         (KSH): Delete.
16292         * configure.ac (libc_cv_have_ksh): Delete.
16293         * configure: Regenerate.
16295         * elf/Makefile: Delete $(have-ksh) check.
16296         ($(objpfx)sotruss): Change KSH to BASH.
16297         * elf/sotruss.ksh: Rename to ...
16298         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16299         function style to match POSIX.  Drop ksh vim mode setting.
16301         * manual/time.texi (Specifying the Time Zone with TZ): Change
16302         Tuesday to Thursday.
16304         * debug/tst-longjmp_chk2.c: Update header comment.
16305         (stackoverflow_handler): Add comment.  Call assert on pass value.
16307 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16309         [BZ #16194]
16310         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16311         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16312         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16313         (La_x86_64_vector): Add zmm.
16314         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16315         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16316         ($(objpfx)tst-audit10): New target.
16317         ($(objpfx)tst-audit10.out): Likewise.
16318         (tst-audit10-ENV): New.
16319         (AVX512-CFLAGS): Likewise.
16320         (CFLAGS-tst-audit10.c): Likewise.
16321         (CFLAGS-tst-auditmod10a.c): Likewise.
16322         (CFLAGS-tst-auditmod10b.c): Likewise.
16323         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16324         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16325         * sysdeps/x86_64/configure: Regenerated.
16326         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16327         AVX-512 zmm register support.
16328         (_dl_x86_64_save_sse): Likewise.
16329         (_dl_x86_64_restore_sse): Likewise.
16330         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16331         size vector registers.
16332         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16333         (ZMM_SIZE): Likewise.
16334         * sysdeps/x86_64/tst-audit10.c: New file.
16335         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16336         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16338 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16340         * configure.ac (HAVE_EHDR_START): New check.
16341         * configure: Regenerated.
16342         * config.h.in (HAVE_EHDR_START): New #undef.
16343         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16344         assuming the lowest-addressed segment maps the start of the file.
16346 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16348         * INSTALL: Regenerated.
16350 2014-03-13  Will Newton  <will.newton@linaro.org>
16352         * manual/setjmp.texi (System V contexts): Improve
16353         clarity and grammar of documentation.
16355 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16357         [BZ #16381]
16358         * elf/Makefile (tests): Add tst-pie2.
16359         (tests-pie): Add tst-pie2.
16360         * elf/tst-pie2.c: New file.
16361         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16362         for ET_EXEC.
16363         * elf/rtld.c (map_doit): Load executable as lt_executable.
16364         (dl_main): Likewise.
16366 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16368         [BZ #16642]
16369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16370         (__ASSUME_PSELECT): Undefine.
16372 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16374         [BZ #16689]
16375         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16376         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16377         static build.
16378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16379         selector for static builds.
16381 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16383         [BZ #16695]
16384         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16385         key in the buffer.
16387 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16389         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16390         IFUNC selector for static builds.
16392 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16394         * sysdeps/mips/math_private.h [__mips_hard_float]
16395         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16396         libc_feresetround_mips_ctx.
16397         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16398         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16399         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16401         [BZ #16677]
16402         * math/s_nextafter.c (__nextafter): Do not return value from
16403         overflowing computation.
16404         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16405         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16406         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16407         Likewise.
16408         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16409         Likewise.
16410         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16411         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16413 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16415         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16416         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16417         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16418         the new mov targetting sp.
16420 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16422         [BZ #16683]
16423         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16424         Define it for static builds as well.
16425         (NO_BZERO_IMPL): Likewise.
16427 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16429         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16430         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16431         multiarch strspn for PPC64.
16432         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16433         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16435         (__libc_ifunc_impl_list): Likewise.
16436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16437         multiarch optimizations
16438         * string/strspn.c (strspn): Using macro to redefine symbol name.
16440 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16443         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16444         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16445         multiarch strncat for PPC64.
16446         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16447         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16448         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16449         (__libc_ifunc_impl_list): Likewise.
16450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16451         multiarch optimizations
16453 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16455         [BZ #16639]
16456         * nscd/nscd.service: Make service type forking.
16458 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16460         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16461         sign in non default rounding modes.
16462         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16464 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16466         * math/libm-test.inc (ALL_RM_TEST): New macro.
16467         (ceil_test): Use ALL_RM_TEST.
16468         (cimag_test): Likewise.
16469         (conj_test): Likewise.
16470         (copysign_test): Likewise.
16471         (cproj_test): Likewise.
16472         (creal_test): Likewise.
16473         (fabs_test): Likewise.
16474         (floor_test): Likewise.
16475         (fmax_test): Likewise.
16476         (fmin_test): Likewise.
16477         (fmod_test): Likewise.
16478         (fpclassify_test): Likewise.
16479         (frexp_test): Likewise.
16480         (ilogb_test): Likewise.
16481         (isfinite_test): Likewise.
16482         (finite_test): Likewise.
16483         (isgreater_test): Likewise.
16484         (isgreaterequal_test): Likewise.
16485         (isinf_test): Likewise.
16486         (isless_test): Likewise.
16487         (islessequal_test): Likewise.
16488         (islessgreater_test): Likewise.
16489         (isnan_test): Likewise.
16490         (isnormal_test): Likewise.
16491         (issignaling_test): Likewise.
16492         (isunordered_test): Likewise.
16493         (logb_test): Likewise.
16494         (logb_downward_test_data): Remove.
16495         (logb_test_downward): Likewise.
16496         (lround_test): Use ALL_RM_TEST.
16497         (llround_test): Likewise.
16498         (modf_test): Likewise.
16499         (nexttoward_test): Likewise.
16500         (remainder_test): Likewise.
16501         (drem_test): Likewise.
16502         (remainder_tonearest_test_data): Likewise.
16503         (remainder_test_tonearest): Likewise.
16504         (drem_test_tonearest): Likewise.
16505         (remainder_towardzero_test_data): Likewise.
16506         (remainder_test_towardzero): Likewise.
16507         (drem_test_towardzero): Likewise.
16508         (remainder_downward_test_data): Likewise.
16509         (remainder_test_downward): Likewise.
16510         (drem_test_downward): Likewise.
16511         (remainder_upward_test_data): Likewise.
16512         (remainder_test_upward): Likewise.
16513         (drem_test_upward): Likewise.
16514         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16515         (round_test): Use ALL_RM_TEST.
16516         (signbit_test): Likewise.
16517         (trunc_test): Likewise.
16518         (significand_test): Likewise.
16519         (main): Don't call removed functions.
16521 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16523         [BZ #16674]
16524         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16525         || __USE_XOPEN2K8].
16526         (ILL_ILLOPN): Likewise.
16527         (ILL_ILLADR): Likewise.
16528         (ILL_ILLTRP): Likewise.
16529         (ILL_PRVOPC): Likewise.
16530         (ILL_PRVREG): Likewise.
16531         (ILL_COPROC): Likewise.
16532         (ILL_BADSTK): Likewise.
16533         (FPE_INTDIV): Likewise.
16534         (FPE_INTOVF): Likewise.
16535         (FPE_FLTDIV): Likewise.
16536         (FPE_FLTOVF): Likewise.
16537         (FPE_FLTUND): Likewise.
16538         (FPE_FLTRES): Likewise.
16539         (FPE_FLTINV): Likewise.
16540         (FPE_FLTSUB): Likewise.
16541         (SEGV_MAPERR): Likewise.
16542         (SEGV_ACCERR): Likewise.
16543         (BUS_ADRALN): Likewise.
16544         (BUS_ADRERR): Likewise.
16545         (BUS_OBJERR): Likewise.
16546         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16547         (TRAP_TRACE): Likewise.
16548         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16549         __USE_XOPEN2K8].
16550         (CLD_KILLED): Likewise.
16551         (CLD_DUMPED): Likewise.
16552         (CLD_TRAPPED): Likewise.
16553         (CLD_STOPPED): Likewise.
16554         (CLD_CONTINUED): Likewise.
16555         (POLL_IN): Likewise.
16556         (POLL_OUT): Likewise.
16557         (POLL_MSG): Likewise.
16558         (POLL_ERR): Likewise.
16559         (POLL_PRI): Likewise.
16560         (POLL_HUP): Likewise.
16561         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16562         Likewise.
16563         (ILL_ILLOPN): Likewise.
16564         (ILL_ILLADR): Likewise.
16565         (ILL_ILLTRP): Likewise.
16566         (ILL_PRVOPC): Likewise.
16567         (ILL_PRVREG): Likewise.
16568         (ILL_COPROC): Likewise.
16569         (ILL_BADSTK): Likewise.
16570         (FPE_INTDIV): Likewise.
16571         (FPE_INTOVF): Likewise.
16572         (FPE_FLTDIV): Likewise.
16573         (FPE_FLTOVF): Likewise.
16574         (FPE_FLTUND): Likewise.
16575         (FPE_FLTRES): Likewise.
16576         (FPE_FLTINV): Likewise.
16577         (FPE_FLTSUB): Likewise.
16578         (SEGV_MAPERR): Likewise.
16579         (SEGV_ACCERR): Likewise.
16580         (BUS_ADRALN): Likewise.
16581         (BUS_ADRERR): Likewise.
16582         (BUS_OBJERR): Likewise.
16583         (BUS_MCEERR_AR): Likewise.
16584         (BUS_MCEERR_AO): Likewise.
16585         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16586         (TRAP_TRACE): Likewise.
16587         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16588         __USE_XOPEN2K8].
16589         (CLD_KILLED): Likewise.
16590         (CLD_DUMPED): Likewise.
16591         (CLD_TRAPPED): Likewise.
16592         (CLD_STOPPED): Likewise.
16593         (CLD_CONTINUED): Likewise.
16594         (POLL_IN): Likewise.
16595         (POLL_OUT): Likewise.
16596         (POLL_MSG): Likewise.
16597         (POLL_ERR): Likewise.
16598         (POLL_PRI): Likewise.
16599         (POLL_HUP): Likewise.
16600         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16601         (ILL_ILLOPN): Likewise.
16602         (ILL_ILLADR): Likewise.
16603         (ILL_ILLTRP): Likewise.
16604         (ILL_PRVOPC): Likewise.
16605         (ILL_PRVREG): Likewise.
16606         (ILL_COPROC): Likewise.
16607         (ILL_BADSTK): Likewise.
16608         (FPE_INTDIV): Likewise.
16609         (FPE_INTOVF): Likewise.
16610         (FPE_FLTDIV): Likewise.
16611         (FPE_FLTOVF): Likewise.
16612         (FPE_FLTUND): Likewise.
16613         (FPE_FLTRES): Likewise.
16614         (FPE_FLTINV): Likewise.
16615         (FPE_FLTSUB): Likewise.
16616         (SEGV_MAPERR): Likewise.
16617         (SEGV_ACCERR): Likewise.
16618         (BUS_ADRALN): Likewise.
16619         (BUS_ADRERR): Likewise.
16620         (BUS_OBJERR): Likewise.
16621         (BUS_MCEERR_AR): Likewise.
16622         (BUS_MCEERR_AO): Likewise.
16623         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16624         (TRAP_TRACE): Likewise.
16625         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16626         __USE_XOPEN2K8].
16627         (CLD_KILLED): Likewise.
16628         (CLD_DUMPED): Likewise.
16629         (CLD_TRAPPED): Likewise.
16630         (CLD_STOPPED): Likewise.
16631         (CLD_CONTINUED): Likewise.
16632         (POLL_IN): Likewise.
16633         (POLL_OUT): Likewise.
16634         (POLL_MSG): Likewise.
16635         (POLL_ERR): Likewise.
16636         (POLL_PRI): Likewise.
16637         (POLL_HUP): Likewise.
16638         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16639         Likewise.
16640         (ILL_ILLOPN): Likewise.
16641         (ILL_ILLADR): Likewise.
16642         (ILL_ILLTRP): Likewise.
16643         (ILL_PRVOPC): Likewise.
16644         (ILL_PRVREG): Likewise.
16645         (ILL_COPROC): Likewise.
16646         (ILL_BADSTK): Likewise.
16647         (ILL_BADIADDR): Likewise.
16648         (ILL_BREAK): Likewise.
16649         (FPE_INTDIV): Likewise.
16650         (FPE_INTOVF): Likewise.
16651         (FPE_FLTDIV): Likewise.
16652         (FPE_FLTOVF): Likewise.
16653         (FPE_FLTUND): Likewise.
16654         (FPE_FLTRES): Likewise.
16655         (FPE_FLTINV): Likewise.
16656         (FPE_FLTSUB): Likewise.
16657         (FPE_DECOVF): Likewise.
16658         (FPE_DECDIV): Likewise.
16659         (FPE_DECERR): Likewise.
16660         (FPE_INVASC): Likewise.
16661         (FPE_INVDEC): Likewise.
16662         (SEGV_MAPERR): Likewise.
16663         (SEGV_ACCERR): Likewise.
16664         (SEGV_PSTKOVF): Likewise.
16665         (BUS_ADRALN): Likewise.
16666         (BUS_ADRERR): Likewise.
16667         (BUS_OBJERR): Likewise.
16668         (BUS_MCEERR_AR): Likewise.
16669         (BUS_MCEERR_AO): Likewise.
16670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16671         (TRAP_TRACE): Likewise.
16672         (TRAP_BRANCH): Likewise.
16673         (TRAP_HWBKPT): Likewise.
16674         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16675         __USE_XOPEN2K8].
16676         (CLD_KILLED): Likewise.
16677         (CLD_DUMPED): Likewise.
16678         (CLD_TRAPPED): Likewise.
16679         (CLD_STOPPED): Likewise.
16680         (CLD_CONTINUED): Likewise.
16681         (POLL_IN): Likewise.
16682         (POLL_OUT): Likewise.
16683         (POLL_MSG): Likewise.
16684         (POLL_ERR): Likewise.
16685         (POLL_PRI): Likewise.
16686         (POLL_HUP): Likewise.
16687         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16688         (ILL_ILLOPN): Likewise.
16689         (ILL_ILLADR): Likewise.
16690         (ILL_ILLTRP): Likewise.
16691         (ILL_PRVOPC): Likewise.
16692         (ILL_PRVREG): Likewise.
16693         (ILL_COPROC): Likewise.
16694         (ILL_BADSTK): Likewise.
16695         (FPE_INTDIV): Likewise.
16696         (FPE_INTOVF): Likewise.
16697         (FPE_FLTDIV): Likewise.
16698         (FPE_FLTOVF): Likewise.
16699         (FPE_FLTUND): Likewise.
16700         (FPE_FLTRES): Likewise.
16701         (FPE_FLTINV): Likewise.
16702         (FPE_FLTSUB): Likewise.
16703         (SEGV_MAPERR): Likewise.
16704         (SEGV_ACCERR): Likewise.
16705         (BUS_ADRALN): Likewise.
16706         (BUS_ADRERR): Likewise.
16707         (BUS_OBJERR): Likewise.
16708         (BUS_MCEERR_AR): Likewise.
16709         (BUS_MCEERR_AO): Likewise.
16710         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16711         (TRAP_TRACE): Likewise.
16712         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16713         __USE_XOPEN2K8].
16714         (CLD_KILLED): Likewise.
16715         (CLD_DUMPED): Likewise.
16716         (CLD_TRAPPED): Likewise.
16717         (CLD_STOPPED): Likewise.
16718         (CLD_CONTINUED): Likewise.
16719         (POLL_IN): Likewise.
16720         (POLL_OUT): Likewise.
16721         (POLL_MSG): Likewise.
16722         (POLL_ERR): Likewise.
16723         (POLL_PRI): Likewise.
16724         (POLL_HUP): Likewise.
16725         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16726         (ILL_ILLOPN): Likewise.
16727         (ILL_ILLADR): Likewise.
16728         (ILL_ILLTRP): Likewise.
16729         (ILL_PRVOPC): Likewise.
16730         (ILL_PRVREG): Likewise.
16731         (ILL_COPROC): Likewise.
16732         (ILL_BADSTK): Likewise.
16733         (FPE_INTDIV): Likewise.
16734         (FPE_INTOVF): Likewise.
16735         (FPE_FLTDIV): Likewise.
16736         (FPE_FLTOVF): Likewise.
16737         (FPE_FLTUND): Likewise.
16738         (FPE_FLTRES): Likewise.
16739         (FPE_FLTINV): Likewise.
16740         (FPE_FLTSUB): Likewise.
16741         (SEGV_MAPERR): Likewise.
16742         (SEGV_ACCERR): Likewise.
16743         (BUS_ADRALN): Likewise.
16744         (BUS_ADRERR): Likewise.
16745         (BUS_OBJERR): Likewise.
16746         (BUS_MCEERR_AR): Likewise.
16747         (BUS_MCEERR_AO): Likewise.
16748         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16749         (TRAP_TRACE): Likewise.
16750         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16751         __USE_XOPEN2K8].
16752         (CLD_KILLED): Likewise.
16753         (CLD_DUMPED): Likewise.
16754         (CLD_TRAPPED): Likewise.
16755         (CLD_STOPPED): Likewise.
16756         (CLD_CONTINUED): Likewise.
16757         (POLL_IN): Likewise.
16758         (POLL_OUT): Likewise.
16759         (POLL_MSG): Likewise.
16760         (POLL_ERR): Likewise.
16761         (POLL_PRI): Likewise.
16762         (POLL_HUP): Likewise.
16763         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16764         (ILL_ILLOPN): Likewise.
16765         (ILL_ILLADR): Likewise.
16766         (ILL_ILLTRP): Likewise.
16767         (ILL_PRVOPC): Likewise.
16768         (ILL_PRVREG): Likewise.
16769         (ILL_COPROC): Likewise.
16770         (ILL_BADSTK): Likewise.
16771         (FPE_INTDIV): Likewise.
16772         (FPE_INTOVF): Likewise.
16773         (FPE_FLTDIV): Likewise.
16774         (FPE_FLTOVF): Likewise.
16775         (FPE_FLTUND): Likewise.
16776         (FPE_FLTRES): Likewise.
16777         (FPE_FLTINV): Likewise.
16778         (FPE_FLTSUB): Likewise.
16779         (SEGV_MAPERR): Likewise.
16780         (SEGV_ACCERR): Likewise.
16781         (BUS_ADRALN): Likewise.
16782         (BUS_ADRERR): Likewise.
16783         (BUS_OBJERR): Likewise.
16784         (BUS_MCEERR_AR): Likewise.
16785         (BUS_MCEERR_AO): Likewise.
16786         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16787         (TRAP_TRACE): Likewise.
16788         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16789         __USE_XOPEN2K8].
16790         (CLD_KILLED): Likewise.
16791         (CLD_DUMPED): Likewise.
16792         (CLD_TRAPPED): Likewise.
16793         (CLD_STOPPED): Likewise.
16794         (CLD_CONTINUED): Likewise.
16795         (POLL_IN): Likewise.
16796         (POLL_OUT): Likewise.
16797         (POLL_MSG): Likewise.
16798         (POLL_ERR): Likewise.
16799         (POLL_PRI): Likewise.
16800         (POLL_HUP): Likewise.
16801         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16802         (ILL_ILLOPN): Likewise.
16803         (ILL_ILLADR): Likewise.
16804         (ILL_ILLTRP): Likewise.
16805         (ILL_PRVOPC): Likewise.
16806         (ILL_PRVREG): Likewise.
16807         (ILL_COPROC): Likewise.
16808         (ILL_BADSTK): Likewise.
16809         (ILL_DBLFLT): Likewise.
16810         (ILL_HARDWALL): Likewise.
16811         (FPE_INTDIV): Likewise.
16812         (FPE_INTOVF): Likewise.
16813         (FPE_FLTDIV): Likewise.
16814         (FPE_FLTOVF): Likewise.
16815         (FPE_FLTUND): Likewise.
16816         (FPE_FLTRES): Likewise.
16817         (FPE_FLTINV): Likewise.
16818         (FPE_FLTSUB): Likewise.
16819         (SEGV_MAPERR): Likewise.
16820         (SEGV_ACCERR): Likewise.
16821         (BUS_ADRALN): Likewise.
16822         (BUS_ADRERR): Likewise.
16823         (BUS_OBJERR): Likewise.
16824         (BUS_MCEERR_AR): Likewise.
16825         (BUS_MCEERR_AO): Likewise.
16826         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16827         (TRAP_TRACE): Likewise.
16828         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16829         __USE_XOPEN2K8].
16830         (CLD_KILLED): Likewise.
16831         (CLD_DUMPED): Likewise.
16832         (CLD_TRAPPED): Likewise.
16833         (CLD_STOPPED): Likewise.
16834         (CLD_CONTINUED): Likewise.
16835         (POLL_IN): Likewise.
16836         (POLL_OUT): Likewise.
16837         (POLL_MSG): Likewise.
16838         (POLL_ERR): Likewise.
16839         (POLL_PRI): Likewise.
16840         (POLL_HUP): Likewise.
16841         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16842         (ILL_ILLOPN): Likewise.
16843         (ILL_ILLADR): Likewise.
16844         (ILL_ILLTRP): Likewise.
16845         (ILL_PRVOPC): Likewise.
16846         (ILL_PRVREG): Likewise.
16847         (ILL_COPROC): Likewise.
16848         (ILL_BADSTK): Likewise.
16849         (FPE_INTDIV): Likewise.
16850         (FPE_INTOVF): Likewise.
16851         (FPE_FLTDIV): Likewise.
16852         (FPE_FLTOVF): Likewise.
16853         (FPE_FLTUND): Likewise.
16854         (FPE_FLTRES): Likewise.
16855         (FPE_FLTINV): Likewise.
16856         (FPE_FLTSUB): Likewise.
16857         (SEGV_MAPERR): Likewise.
16858         (SEGV_ACCERR): Likewise.
16859         (BUS_ADRALN): Likewise.
16860         (BUS_ADRERR): Likewise.
16861         (BUS_OBJERR): Likewise.
16862         (BUS_MCEERR_AR): Likewise.
16863         (BUS_MCEERR_AO): Likewise.
16864         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16865         (TRAP_TRACE): Likewise.
16866         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16867         __USE_XOPEN2K8].
16868         (CLD_KILLED): Likewise.
16869         (CLD_DUMPED): Likewise.
16870         (CLD_TRAPPED): Likewise.
16871         (CLD_STOPPED): Likewise.
16872         (CLD_CONTINUED): Likewise.
16873         (POLL_IN): Likewise.
16874         (POLL_OUT): Likewise.
16875         (POLL_MSG): Likewise.
16876         (POLL_ERR): Likewise.
16877         (POLL_PRI): Likewise.
16878         (POLL_HUP): Likewise.
16879         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16880         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16882         [BZ #16670]
16883         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16884         before #include of <time.h>.
16885         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16886         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16887         (test-xfail-UNIX98/sched.h/conform): Likewise.
16889 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16891         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16892         error absence of trapping exception support.
16893         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16895 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16897         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16898         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16899         * timezone/Makefile (testdata): Move definition above include of
16900         Rules.
16901         (test-zones): New variable.
16902         (tests-special): Add zone files.
16903         (build-testdata): Use $(evaluate-test).
16905         * elf/Makefile (tests-special): Rename tests to end with .out.
16906         ($(objpfx)noload-mem): Likewise.
16907         ($(objpfx)tst-leaks1-mem): Likewise.
16908         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16909         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16910         $(objpfx)test-iconvconfig.out.
16911         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16912         set -e inside subshell and redirect output to file.
16913         * iconvdata/Makefile (generated): Rename tests to end with .out.
16914         Correct type.
16915         (tests-special): Rename tests to end with .out.
16916         ($(objpfx)mtrace-tst-loading): Likewise.
16917         * intl/Makefile (generated): Likewise.
16918         (tests-special): Likewise.
16919         ($(objpfx)mtrace-tst-gettext): Likewise.
16920         * misc/Makefile (generated): Likewise.
16921         (tests-special): Likewise.
16922         ($(objpfx)tst-error1-mem): Likewise.
16923         * nptl/Makefile (tests-special): Likewise.
16924         ($(objpfx)tst-stack3-mem): Likewise.
16925         (generated): Likewise.
16926         * posix/Makefile (generated): Likewise.
16927         (tests-special): Likewise.
16928         (xtests-special): Likewise.
16929         ($(objpfx)tst-fnmatch-mem): Likewise.
16930         ($(objpfx)bug-regex2-mem): Likewise.
16931         ($(objpfx)bug-regex14-mem): Likewise.
16932         ($(objpfx)bug-regex21-mem): Likewise.
16933         ($(objpfx)bug-regex31-mem): Likewise.
16934         ($(objpfx)tst-vfork3-mem): Likewise.
16935         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16936         ($(objpfx)tst-pcre-mem): Likewise.
16937         ($(objpfx)tst-boost-mem): Likewise.
16938         ($(objpfx)bug-ga2-mem): Likewise.
16939         ($(objpfx)bug-glob2-mem): Likewise.
16940         * resolv/Makefile (generate): Likewise.
16941         (tests-special): Likewise.
16942         (xtests-special): Likewise.
16943         (generated): Likewise.
16944         ($(objpfx)mtrace-tst-leaks): Likewise.
16945         ($(objpfx)mtrace-tst-leaks2): Likewise.
16947         * scripts/merge-test-results.sh: New file.
16948         * Makefile (tests-special-notdir): New variable.
16949         (tests): Run merge-test-results.sh.
16950         (xtests): Likewise.
16951         * Rules (tests-special-notdir): New variable.
16952         (xtests-special-notdir): Likewise.
16953         (tests): Run merge-test-results.sh
16954         (xtests): Likewise.
16956         * Makeconfig (test-xfail-name): New variable.
16957         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16958         compute variable name for expected failures.
16959         * conform/Makefile (conformtest-headers-data): New variable.
16960         (conformtest-standards): Likewise.
16961         (conformtest-headers-ISO): Likewise.
16962         (conformtest-headers-ISO99): Likewise.
16963         (conformtest-headers-ISO11): Likewise.
16964         (conformtest-headers-POSIX): Likewise.
16965         (conformtest-headers-XPG3): Likewise.
16966         (conformtest-headers-XPG4): Likewise.
16967         (conformtest-headers-UNIX98): Likewise.
16968         (conformtest-headers-XOPEN2K): Likewise.
16969         (conformtest-headers-POSIX2008): Likewise.
16970         (conformtest-headers-XOPEN2K8): Likewise.
16971         (conformtest-header-list-base): Likewise.
16972         (conformtest-header-list-tests): Likewise.
16973         (conformtest-header-base): Likewise.
16974         (conformtest-header-tests): Likewise.
16975         (tests-special): Add $(conformtest-header-list-tests).  If
16976         [$(fast-check) && !$(cross-compiling)], add
16977         $(conformtest-header-tests) instead of
16978         $(objpfx)run-conformtest.out.
16979         (generated): Add $(conformtest-header-list-base).  If
16980         [$(fast-check) && !$(cross-compiling)], add
16981         $(conformtest-header-base).  Remove previous setting.
16982         ($(conformtest-header-list-tests)): New target.
16983         (test-xfail-run-conformtest): Remove variable.
16984         ($(objpfx)run-conformtest.out): Remove target.
16985         (test-xfail-ISO11/complex.h/conform): New variable.
16986         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16987         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16988         (test-xfail-XPG3/varargs.h/conform): Likewise.
16989         (test-xfail-XPG4/varargs.h/conform): Likewise.
16990         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16991         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16992         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16993         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16994         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16995         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16996         (test-xfail-XPG3/ftw.h/conform): Likewise.
16997         (test-xfail-XPG3/grp.h/conform): Likewise.
16998         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16999         (test-xfail-XPG3/limits.h/conform): Likewise.
17000         (test-xfail-XPG3/pwd.h/conform): Likewise.
17001         (test-xfail-XPG3/search.h/conform): Likewise.
17002         (test-xfail-XPG3/signal.h/conform): Likewise.
17003         (test-xfail-XPG3/stdio.h/conform): Likewise.
17004         (test-xfail-XPG3/stdlib.h/conform): Likewise.
17005         (test-xfail-XPG3/string.h/conform): Likewise.
17006         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17007         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17008         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17009         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17010         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17011         (test-xfail-XPG3/sys/types.h/conform): Likewise.
17012         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17013         (test-xfail-XPG3/termios.h/conform): Likewise.
17014         (test-xfail-XPG3/time.h/conform): Likewise.
17015         (test-xfail-XPG3/unistd.h/conform): Likewise.
17016         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17017         (test-xfail-XPG4/fcntl.h/conform): Likewise.
17018         (test-xfail-XPG4/langinfo.h/conform): Likewise.
17019         (test-xfail-XPG4/netdb.h/conform): Likewise.
17020         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17021         (test-xfail-XPG4/signal.h/conform): Likewise.
17022         (test-xfail-XPG4/stdio.h/conform): Likewise.
17023         (test-xfail-XPG4/stdlib.h/conform): Likewise.
17024         (test-xfail-XPG4/stropts.h/conform): Likewise.
17025         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17026         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17027         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17028         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17029         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17030         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17031         (test-xfail-XPG4/sys/time.h/conform): Likewise.
17032         (test-xfail-XPG4/sys/types.h/conform): Likewise.
17033         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17034         (test-xfail-XPG4/termios.h/conform): Likewise.
17035         (test-xfail-XPG4/ucontext.h/conform): Likewise.
17036         (test-xfail-XPG4/unistd.h/conform): Likewise.
17037         (test-xfail-XPG4/utmpx.h/conform): Likewise.
17038         (test-xfail-POSIX/sched.h/conform): Likewise.
17039         (test-xfail-POSIX/signal.h/conform): Likewise.
17040         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17041         (test-xfail-POSIX/tar.h/conform): Likewise.
17042         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17043         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17044         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17045         (test-xfail-UNIX98/netdb.h/conform): Likewise.
17046         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17047         (test-xfail-UNIX98/sched.h/conform): Likewise.
17048         (test-xfail-UNIX98/signal.h/conform): Likewise.
17049         (test-xfail-UNIX98/stdio.h/conform): Likewise.
17050         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17051         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17052         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17053         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17054         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17055         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17056         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17057         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17058         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17059         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17060         (test-xfail-UNIX98/unistd.h/conform): Likewise.
17061         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17062         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17063         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17064         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17065         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17066         (test-xfail-XOPEN2K/math.h/conform): Likewise.
17067         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17068         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17069         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17070         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17071         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17072         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17073         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17074         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17075         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17076         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17077         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17078         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17079         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17080         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17081         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17082         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17083         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17084         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17085         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17086         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17087         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17088         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17089         (test-xfail-POSIX2008/signal.h/conform): Likewise.
17090         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17091         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17092         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17093         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17094         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17095         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17096         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17097         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17098         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17099         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17100         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17101         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17102         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17103         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17104         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17105         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17106         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17107         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17108         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17109         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17110         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17111         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17112         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17113         (conformtest-cc-flags): Likewise.
17114         ($(conformtest-header-tests): New target.
17115         * conform/check-header-lists.sh: New file.
17116         * conform/run-conformtest.sh: Remove.
17118         * conform/conformtest.pl: Allow ' and \ in values given for
17119         constants.
17120         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17121         inclusion.
17122         [POSIX] (sys/types.h): Likewise.
17123         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17124         inclusion.
17125         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17126         inclusion.
17127         * conform/data/signal.h-data (SIGIO): Remove expectation.
17128         [XPG3] (SIGBUS): Do not expect.
17129         [POSIX || XPG3] (SIGPOLL): Likewise.
17130         [POSIX || XPG3] (SIGPROF): Likewise.
17131         [POSIX || XPG3] (SIGSYS): Likewise.
17132         [XPG3] (SIGTRAP): Likewise.
17133         [POSIX || XPG3] (SIGURG): Likewise.
17134         [POSIX || XPG3] (SIGVTALRM): Likewise.
17135         [POSIX || XPG3] (SIGXCPU): Likewise.
17136         [POSIX || XPG3] (SIGXFSZ): Likewise.
17137         [POSIX] (SA_SIGINFO): Expect.
17138         [XPG3] (siginfo_t): Do not expect type or contents.
17139         [POSIX] (si_pid): Do not expect element.
17140         [POSIX] (si_uid): Likewise.
17141         [POSIX] (si_addr): Likewise.
17142         [POSIX] (si_status): Likewise.
17143         [POSIX] (si_band): Likewise.
17144         [XPG4] (si_value): Likewise.
17145         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17146         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17147         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17148         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17149         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17150         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17151         [POSIX || XPG3] (ILL_COPROC): Likewise.
17152         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17153         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17154         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17155         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17156         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17157         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17158         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17159         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17160         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17161         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17162         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17163         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17164         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17165         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17166         [POSIX || XPG3] (CLD_EXITED): Likewise.
17167         [POSIX || XPG3] (CLD_KILLED): Likewise.
17168         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17169         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17170         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17171         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17172         [POSIX || XPG3] (POLL_IN): Likewise.
17173         [POSIX || XPG3] (POLL_OUT): Likewise.
17174         [POSIX || XPG3] (POLL_MSG): Likewise.
17175         [POSIX || XPG3] (POLL_ERR): Likewise.
17176         [POSIX || XPG3] (POLL_PRI): Likewise.
17177         [POSIX || XPG3] (POLL_HUP): Likewise.
17178         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17179         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17180         (SIG*): Do not allow.
17181         [XPG3] (si_*): Likewise.
17182         [XPG3] (SI_*): Likewise.
17183         [XPG3 || XPG4] (sigev_*): Likewise.
17184         [XPG3 || XPG4] (SIGEV_*): Likewise.
17185         [XPG3 || XPG4] (sival_*): Likewise.
17186         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17187         [POSIX || XPG3] (BUS_*): Likewise.
17188         [POSIX || XPG3] (CLD_*): Likewise.
17189         [POSIX || XPG3] (FPE_*): Likewise.
17190         [POSIX || XPG3] (ILL_*): Likewise.
17191         [POSIX || XPG3] (POLL_*): Likewise.
17192         [POSIX || XPG3] (SEGV_*): Likewise.
17193         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17194         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17195         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17196         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17197         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17198         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17199         Specify type and value.
17200         (TVERSLEN): Likewise.
17201         (REGTYPE): Likewise.
17202         (AREGTYPE): Likewise.
17203         (LNKTYPE): Likewise.
17204         (SYMTYPE): Likewise.
17205         (CHRTYPE): Likewise.
17206         (BLKTYPE): Likewise.
17207         (DIRTYPE): Likewise.
17208         (FIFOTYPE): Likewise.
17209         (CONTTYPE): Likewise.
17210         (TSUID): Likewise.
17211         (TSGID): Likewise.
17212         (TSVTX): Likewise.
17213         (TUREAD): Likewise.
17214         (TUWRITE): Likewise.
17215         (TUEXEC): Likewise.
17216         (TGREAD): Likewise.
17217         (TGWRITE): Likewise.
17218         (TGEXEC): Likewise.
17219         (TOREAD): Likewise.
17220         (TOWRITE): Likewise.
17221         (TOEXEC): Likewise.
17222         [POSIX] (TSVTX): Expect constant.
17224 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17226         * Makefile (tests): Change dependencies to ....
17227         (tests-special): ... additions to this variable.
17228         (tests): Depend on $(tests-special).
17229         * Makerules (check-abi-list): New variable.
17230         (check-abi): Depend on $(check-abi-list).
17231         [$(subdir) = elf] (tests-special): Add
17232         $(objpfx)check-abi-libc.out.
17233         [$(build-shared) = yes && subdir] (tests-special): Add
17234         $(check-abi-list).
17235         [$(build-shared) = yes && subdir] (tests): Do not depend on
17236         check-abi.
17237         * Rules (tests): Depend on $(tests-special).
17238         (xtests): Depend on $(xtests-special).
17239         * catgets/Makefile (tests): Change dependencies to ....
17240         (tests-special): ... additions to this variable.
17241         * conform/Makefile (tests): Change dependencies to ....
17242         (tests-special): ... additions to this variable.
17243         * elf/Makefile (tests): Change dependencies to ....
17244         (tests-special): ... additions to this variable.
17245         * grp/Makefile (tests): Change dependencies to ....
17246         (tests-special): ... additions to this variable.
17247         * iconv/Makefile (xtests): Change dependencies to ....
17248         (xtests-special): ... additions to this variable.
17249         * iconvdata/Makefile (tests): Change dependencies to ....
17250         (tests-special): ... additions to this variable.
17251         * intl/Makefile (tests): Change dependencies to ....
17252         (tests-special): ... additions to this variable.  Also add
17253         $(objpfx)tst-gettext.out.
17254         * io/Makefile (tests): Change dependencies to ....
17255         (tests-special): ... additions to this variable.
17256         * libio/Makefile (tests): Change dependencies to ....
17257         (tests-special): ... additions to this variable.
17258         * malloc/Makefile (tests): Change dependencies to ....
17259         (tests-special): ... additions to this variable.
17260         * misc/Makefile (tests): Change dependencies to ....
17261         (tests-special): ... additions to this variable.
17262         * nptl/Makefile (tests): Change dependencies to ....
17263         (tests-special): ... additions to this variable.
17264         * nptl_db/Makefile (tests): Change dependencies to ....
17265         (tests-special): ... additions to this variable.
17266         * posix/Makefile (tests): Change dependencies to ....
17267         (tests-special): ... additions to this variable.
17268         (xtests): Change dependencies to ....
17269         (xtests-special): ... additions to this variable.
17270         * resolv/Makefile (tests): Change dependencies to ....
17271         (tests-special): ... additions to this variable.
17272         (xtests): Change dependencies to ....
17273         (xtests-special): ... additions to this variable.
17274         * stdio-common/Makefile (tests): Change dependencies to ....
17275         (tests-special): ... additions to this variable.
17276         (do-tst-unbputc): Remove target.
17277         (do-tst-printf): Likewise.
17278         * stdlib/Makefile (tests): Change dependencies to ....
17279         (tests-special): ... additions to this variable.
17280         * string/Makefile (tests): Change dependencies to ....
17281         (tests-special): ... additions to this variable.
17282         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17283         (tests-special): ... additions to this variable.
17285         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17286         whole file.
17287         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17288         whole file.
17289         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17290         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17292         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17293         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17294         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17295         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17296         * conform/data/libgen.h-data [XPG3]: Likewise.
17297         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17298         * conform/data/ndbm.h-data [XPG3]: Likewise.
17299         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17300         * conform/data/netdb.h-data [XPG3]: Likewise.
17301         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17302         * conform/data/poll.h-data [XPG3]: Likewise.
17303         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17304         * conform/data/strings.h-data [XPG3]: Likewise.
17305         * conform/data/stropts.h-data [XPG3]: Likewise.
17306         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17307         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17308         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17309         Likewise.
17310         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17311         * conform/data/sys/time.h-data [XPG3]: Likewise.
17312         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17313         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17314         * conform/data/sys/un.h-data [XPG3]: Likewise.
17315         * conform/data/syslog.h-data [XPG3]: Likewise.
17316         * conform/data/ucontext.h-data [XPG3]: Likewise.
17317         * conform/data/utmpx.h-data [XPG3]: Likewise.
17318         * conform/data/varargs.h-data [UNIX98]: Enable file.
17320         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17322         * math/libm-test.inc (struct test_f_f_data): Move expected results
17323         into structure for each rounding mode.
17324         (struct test_ff_f_data): Likewise.
17325         (struct test_ff_f_data_nexttoward): Likewise.
17326         (struct test_fi_f_data): Likewise.
17327         (struct test_fl_f_data): Likewise.
17328         (struct test_if_f_data): Likewise.
17329         (struct test_fff_f_data): Likewise.
17330         (struct test_c_f_data): Likewise.
17331         (struct test_f_f1_data): Likewise.
17332         (struct test_fF_f1_data): Likewise.
17333         (struct test_ffI_f1_data): Likewise.
17334         (struct test_c_c_data): Likewise.
17335         (struct test_cc_c_data): Likewise.
17336         (struct test_f_i_data): Likewise.
17337         (struct test_ff_i_data): Likewise.
17338         (struct test_f_l_data): Likewise.
17339         (struct test_f_L_data): Likewise.
17340         (struct test_fFF_11_data): Likewise.
17341         (RM_): New macro.
17342         (RM_FE_DOWNWARD): Likewise.
17343         (RM_FE_TONEAREST): Likewise.
17344         (RM_FE_TOWARDZERO): Likewise.
17345         (RM_FE_UPWARD): Likewise.
17346         (RUN_TEST_LOOP_f_f): Update references to expected results.
17347         (RUN_TEST_LOOP_2_f): Likewise.
17348         (RUN_TEST_LOOP_fff_f): Likewise.
17349         (RUN_TEST_LOOP_c_f): Likewise.
17350         (RUN_TEST_LOOP_f_f1): Likewise.
17351         (RUN_TEST_LOOP_fF_f1): Likewise.
17352         (RUN_TEST_LOOP_fI_f1): Likewise.
17353         (RUN_TEST_LOOP_ffI_f1): Likewise.
17354         (RUN_TEST_LOOP_c_c): Likewise.
17355         (RUN_TEST_LOOP_cc_c): Likewise.
17356         (RUN_TEST_LOOP_f_i): Likewise.
17357         (RUN_TEST_LOOP_f_i_tg): Likewise.
17358         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17359         (RUN_TEST_LOOP_f_b): Likewise.
17360         (RUN_TEST_LOOP_f_b_tg): Likewise.
17361         (RUN_TEST_LOOP_f_l): Likewise.
17362         (RUN_TEST_LOOP_f_L): Likewise.
17363         (RUN_TEST_LOOP_fFF_11): Likewise.
17364         * math/gen-libm-test.pl (parse_args): Output four copies of
17365         expected results for each test.
17367         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17368         (__ASSUME_UTIMES): Remove.
17369         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17370         (__ASSUME_UTIMES): Likewise.
17372         * math/gen-auto-libm-tests.c: Update comment on output format.
17373         (output_for_one_input_case): Generate before-rounding and
17374         after-rounding information as conditions on output flags not
17375         floating-point format.
17376         * math/auto-libm-test-out: Regenerated.
17377         * math/gen-libm-test.pl (cond_value): New function.
17378         (or_cond_value): Use cond_value.
17379         (generate_testfile): Handle conditional exceptions.
17381 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17383         * math/libm-test.inc (max_valid_error): New variable.
17384         (init_max_error): Take new argument specifying whether function
17385         results are exactly determined.  Set max_valid_error and bound
17386         other variables for errors based on this argument.
17387         (set_max_error): Do not record results above max_valid_error.
17388         (check_float_internal): Only accept errors of up to 0.5ulps if
17389         also at most max_valid_error.
17390         (START): Take new argument EXACT and pass it to init_max_error.
17391         (acos_test): Update call to START.
17392         (acos_test_tonearest): Likewise.
17393         (acos_test_towardzero): Likewise.
17394         (acos_test_downward): Likewise.
17395         (acos_test_upward): Likewise.
17396         (acosh_test): Likewise.
17397         (asin_test): Likewise.
17398         (asin_test_tonearest): Likewise.
17399         (asin_test_towardzero): Likewise.
17400         (asin_test_downward): Likewise.
17401         (asin_test_upward): Likewise.
17402         (asinh_test): Likewise.
17403         (atan_test): Likewise.
17404         (atanh_test): Likewise.
17405         (atan2_test): Likewise.
17406         (cabs_test): Likewise.
17407         (cacos_test): Likewise.
17408         (cacosh_test): Likewise.
17409         (carg_test): Likewise.
17410         (casin_test): Likewise.
17411         (casinh_test): Likewise.
17412         (catan_test): Likewise.
17413         (catanh_test): Likewise.
17414         (cbrt_test): Likewise.
17415         (ccos_test): Likewise.
17416         (ccosh_test): Likewise.
17417         (ceil_test): Likewise.
17418         (cexp_test): Likewise.
17419         (cimag_test): Likewise.
17420         (clog_test): Likewise.
17421         (clog10_test): Likewise.
17422         (conj_test): Likewise.
17423         (copysign_test): Likewise.
17424         (cos_test): Likewise.
17425         (cos_test_tonearest): Likewise.
17426         (cos_test_towardzero): Likewise.
17427         (cos_test_downward): Likewise.
17428         (cos_test_upward): Likewise.
17429         (cosh_test): Likewise.
17430         (cosh_test_tonearest): Likewise.
17431         (cosh_test_towardzero): Likewise.
17432         (cosh_test_downward): Likewise.
17433         (cosh_test_upward): Likewise.
17434         (cpow_test): Likewise.
17435         (cproj_test): Likewise.
17436         (creal_test): Likewise.
17437         (csin_test): Likewise.
17438         (csinh_test): Likewise.
17439         (csqrt_test): Likewise.
17440         (ctan_test): Likewise.
17441         (ctan_test_tonearest): Likewise.
17442         (ctan_test_towardzero): Likewise.
17443         (ctan_test_downward): Likewise.
17444         (ctan_test_upward): Likewise.
17445         (ctanh_test): Likewise.
17446         (ctanh_test_tonearest): Likewise.
17447         (ctanh_test_towardzero): Likewise.
17448         (ctanh_test_downward): Likewise.
17449         (ctanh_test_upward): Likewise.
17450         (erf_test): Likewise.
17451         (erfc_test): Likewise.
17452         (exp_test): Likewise.
17453         (exp_test_tonearest): Likewise.
17454         (exp_test_towardzero): Likewise.
17455         (exp_test_downward): Likewise.
17456         (exp_test_upward): Likewise.
17457         (exp10_test): Likewise.
17458         (exp10_test_tonearest): Likewise.
17459         (exp10_test_towardzero): Likewise.
17460         (exp10_test_downward): Likewise.
17461         (exp10_test_upward): Likewise.
17462         (pow10_test): Likewise.
17463         (exp2_test): Likewise.
17464         (expm1_test): Likewise.
17465         (expm1_test_tonearest): Likewise.
17466         (expm1_test_towardzero): Likewise.
17467         (expm1_test_downward): Likewise.
17468         (expm1_test_upward): Likewise.
17469         (fabs_test): Likewise.
17470         (fdim_test): Likewise.
17471         (floor_test): Likewise.
17472         (fma_test): Likewise.
17473         (fma_test_towardzero): Likewise.
17474         (fma_test_downward): Likewise.
17475         (fma_test_upward): Likewise.
17476         (fmax_test): Likewise.
17477         (fmin_test): Likewise.
17478         (fmod_test): Likewise.
17479         (fpclassify_test): Likewise.
17480         (frexp_test): Likewise.
17481         (hypot_test): Likewise.
17482         (ilogb_test): Likewise.
17483         (isfinite_test): Likewise.
17484         (finite_test): Likewise.
17485         (isgreater_test): Likewise.
17486         (isgreaterequal_test): Likewise.
17487         (isinf_test): Likewise.
17488         (isless_test): Likewise.
17489         (islessequal_test): Likewise.
17490         (islessgreater_test): Likewise.
17491         (isnan_test): Likewise.
17492         (isnormal_test): Likewise.
17493         (issignaling_test): Likewise.
17494         (isunordered_test): Likewise.
17495         (j0_test): Likewise.
17496         (j1_test): Likewise.
17497         (jn_test): Likewise.
17498         (ldexp_test): Likewise.
17499         (lgamma_test): Likewise.
17500         (gamma_test): Likewise.
17501         (lrint_test): Likewise.
17502         (lrint_test_tonearest): Likewise.
17503         (lrint_test_towardzero): Likewise.
17504         (lrint_test_downward): Likewise.
17505         (lrint_test_upward): Likewise.
17506         (llrint_test): Likewise.
17507         (llrint_test_tonearest): Likewise.
17508         (llrint_test_towardzero): Likewise.
17509         (llrint_test_downward): Likewise.
17510         (llrint_test_upward): Likewise.
17511         (log_test): Likewise.
17512         (log10_test): Likewise.
17513         (log1p_test): Likewise.
17514         (log2_test): Likewise.
17515         (logb_test): Likewise.
17516         (logb_test_downward): Likewise.
17517         (lround_test): Likewise.
17518         (llround_test): Likewise.
17519         (modf_test): Likewise.
17520         (nearbyint_test): Likewise.
17521         (nextafter_test): Likewise.
17522         (nexttoward_test): Likewise.
17523         (pow_test): Likewise.
17524         (pow_test_tonearest): Likewise.
17525         (pow_test_towardzero): Likewise.
17526         (pow_test_downward): Likewise.
17527         (pow_test_upward): Likewise.
17528         (remainder_test): Likewise.
17529         (drem_test): Likewise.
17530         (remainder_test_tonearest): Likewise.
17531         (drem_test_tonearest): Likewise.
17532         (remainder_test_towardzero): Likewise.
17533         (drem_test_towardzero): Likewise.
17534         (remainder_test_downward): Likewise.
17535         (drem_test_downward): Likewise.
17536         (remainder_test_upward): Likewise.
17537         (drem_test_upward): Likewise.
17538         (remquo_test): Likewise.
17539         (rint_test): Likewise.
17540         (rint_test_tonearest): Likewise.
17541         (rint_test_towardzero): Likewise.
17542         (rint_test_downward): Likewise.
17543         (rint_test_upward): Likewise.
17544         (round_test): Likewise.
17545         (scalb_test): Likewise.
17546         (scalbn_test): Likewise.
17547         (scalbln_test): Likewise.
17548         (signbit_test): Likewise.
17549         (sin_test): Likewise.
17550         (sin_test_tonearest): Likewise.
17551         (sin_test_towardzero): Likewise.
17552         (sin_test_downward): Likewise.
17553         (sin_test_upward): Likewise.
17554         (sincos_test): Likewise.
17555         (sinh_test): Likewise.
17556         (sinh_test_tonearest): Likewise.
17557         (sinh_test_towardzero): Likewise.
17558         (sinh_test_downward): Likewise.
17559         (sinh_test_upward): Likewise.
17560         (sqrt_test): Likewise.
17561         (sqrt_test_tonearest): Likewise.
17562         (sqrt_test_towardzero): Likewise.
17563         (sqrt_test_downward): Likewise.
17564         (sqrt_test_upward): Likewise.
17565         (tan_test): Likewise.
17566         (tan_test_tonearest): Likewise.
17567         (tan_test_towardzero): Likewise.
17568         (tan_test_downward): Likewise.
17569         (tan_test_upward): Likewise.
17570         (tanh_test): Likewise.
17571         (tgamma_test): Likewise.
17572         (trunc_test): Likewise.
17573         (y0_test): Likewise.
17574         (y1_test): Likewise.
17575         (yn_test): Likewise.
17576         (significand_test): Likewise.
17578         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17579         individual tests in comment.
17580         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17581         (prev_max_error): New variable.
17582         (prev_real_max_error): Likewise.
17583         (prev_imag_max_error): Likewise.
17584         (compare_ulp_data): Don't refer to test names in comment.
17585         (find_test_ulps): Remove function.
17586         (find_function_ulps): Likewise.
17587         (find_complex_function_ulps): Likewise.
17588         (init_max_error): Take function name as argument.  Look up ulps
17589         for that function.
17590         (print_ulps): Remove function.
17591         (print_max_error): Use prev_max_error instead of calling
17592         find_function_ulps.
17593         (print_complex_max_error): Use prev_real_max_error and
17594         prev_imag_max_error instead of calling find_complex_function_ulps.
17595         (check_float_internal): Take max_ulp parameter instead of calling
17596         find_test_ulps.  Don't call print_ulps.
17597         (check_float): Update call to check_float_internal.
17598         (check_complex): Update calls to check_float_internal.
17599         (START): Pass argument to init_max_error.
17600         * math/gen-libm-test.pl (%results): Don't include "kind"
17601         information.
17602         (parse_ulps): Don't handle ulps of individual tests.
17603         (print_ulps_file): Likewise.
17604         (output_ulps): Likewise.
17605         * math/README.libm-test: Update.
17606         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17607         individual tests.
17608         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17609         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17610         * sysdeps/arm/libm-test-ulps: Likewise.
17611         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17612         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17613         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17614         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17615         * sysdeps/microblaze/libm-test-ulps: Likewise.
17616         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17617         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17618         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17619         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17621         * sysdeps/sh/libm-test-ulps: Likewise.
17622         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17623         * sysdeps/tile/libm-test-ulps: Likewise.
17624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17626 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17628         * math/libm-test.inc (print_complex_max_error): Check separately
17629         whether real and imaginary errors are within allowed range and
17630         pass 0 to print_complex_function_ulps instead of value within
17631         allowed range.
17633 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17635         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17636         formatting.
17637         (get_handles_fopen): Likewise.
17638         (do_write_test): Likewise.
17640         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17642         * libio/fileops.c (do_ftell): Use cached offset when
17643         available.
17644         * libio/iofwide.c (do_ftell_wide): Likewise.
17645         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17646         _IO_file_attach.
17647         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17649         [BZ #16532]
17650         * libio/libioP.h (get_file_offset): New function.
17651         * libio/fileops.c (get_file_offset): Likewise.
17652         (do_ftell): Likewise.
17653         (_IO_new_file_seekoff): Split out ftell logic.
17654         * libio/wfileops.c (do_ftell_wide): Likewise.
17655         (_IO_wfile_seekoff): Split out ftell logic.
17656         * libio/tst-ftell-active-handler.c: New test case.
17657         * libio/Makefile (tests): Add it.
17659 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17661         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17662         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17664 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17666         [BZ #16639]
17667         * nscd/connections.c (nscd_init): Call do_exit.
17668         (start_threads): Call do_exit and notify_parent.
17669         (begin_drop_privileges): Call do_exit.
17670         (finish_drop_privileges): Likewise.
17671         * nscd/selinux.c (preserve_capabilities): Likewise.
17672         (install_real_capabilities): Likewise.
17673         (nscd_selinux_enabled): Likewise.
17674         (avc_create_thread): Likewise.
17675         (avc_alloc_lock): Likewise.
17676         (nscd_avc_init): Likewise.
17677         * nscd/nscd.c (parent_fd): New static variable.
17678         (main): Create a pipe between parent and child processes.
17679         Skip closing parent_fd.
17680         (monitor_child): New function.
17681         (do_exit): Likewise.
17682         (notify_parent): Likewise.
17683         * nscd/nscd.h (notify_parent): Likewise.
17684         (do_exit): Likewise.
17686 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17688         * malloc/malloc.c (__libc_calloc): Revert last change.
17690 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17694 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17696         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17698         implementation.
17699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17700         (__libc_ifunc_impl_list): Likewise.
17701         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17702         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17703         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17704         * string/strrchr.c: Define STRRCHR.
17706 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17708         * benchtest/bench-strtok.c (simple_strtok): Delete.
17709         (strtok_string): Use as benchmark.
17710         * string/strtok (STRTOK): New macro.
17712 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17714         * manual/threads.texi: Add header and standard comments to all
17715         functions.
17717         * elf/dl-lookup.c (check_match): New function.
17718         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17719         (do_lookup_x): Remove nested function check_match. Use non-nested
17720         function check_match.
17722 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17724         * csu/Makefile (generated, before-compile): Use += rather than =.
17725         * catgets/Makefile (generated, generated-dirs): Likewise.
17726         * debug/Makefile (generated): Likewise.
17727         * dlfcn/Makefile (generated): Likewise.
17728         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17729         * iconvdata/Makefile (before-compile, generated): Likewise.
17730         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17731         * libio/Makefile (generated): Likewise.
17732         * malloc/Makefile (generated): Likewise.
17733         * manual/Makefile (generated, generated-dirs): Likewise.
17734         * misc/Makefile (generated): Likewise.
17735         * posix/Makefile (generated): Likewise.
17736         * resolv/Makefile (generated): Likewise.
17737         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17738         * timezone/Makefile (generated, generated-dirs): Likewise.
17740         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17742 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17745         power8 implementation.
17746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17747         file: POWER8 llround ifunc implementation.
17748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17749         (__lllround): Add POWER8 implementation.
17750         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17751         POWER8 llround implementation.
17753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17754         power8 implementation.
17755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17756         file: POWER8 llrint ifunc implementation.
17757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17758         Add POWER8 implementation.
17759         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17760         POWER8 llrint implementation.
17762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17763         power8 implementation.
17764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17765         file: POWER8 finite ifunc implementation.
17766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17767         Add POWER8 implementation.
17768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17769         Likewise.
17770         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17771         POWER8 finite implementation.
17772         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17774         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17775         power8 implementation.
17776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17777         file: POWER8 isinf ifunc implementation.
17778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17779         POWER8 implementation.
17780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17781         Likewise.
17782         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17783         isinf implementation.
17784         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17786         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17787         (INIT_ARCH): Add hwcap2 initialization.
17788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17789         power8 implementation.
17790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17791         file: POWER8 isnan ifunc implementation.
17792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17793         POWER8 implementation.
17794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17795         Likewise.
17796         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17797         isnan implementation.
17798         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17800 2014-02-27  Joey Ye  <joey.ye@arm.com>
17802         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17803         (_FP_NANFRAC_Q): Set to zero.
17805 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17807         [BZ #16623]
17808         * math/auto-libm-test-in: New test inputs.
17809         * math/auto-libm-test-out: Regenerate.
17810         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17811         and DA.
17812         (__cos): Likewise.
17813         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17815 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17817         * scripts/evaluate-test.sh: Take new argument indicating whether
17818         failure is expected.
17819         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17820         indicating whether failure is expected.
17821         * conform/Makefile (test-xfail-run-conformtest): New variable.
17822         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17823         level.
17824         * posix/Makefile (test-xfail-annexc): New variable.
17825         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17827 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17829         * argp/Makefile: Include Makeconfig immediately after defining
17830         subdir.
17831         * assert/Makefile: Likewise.
17832         * benchtests/Makefile: Likewise.
17833         * catgets/Makefile: Likewise.
17834         * conform/Makefile: Likewise.
17835         * crypt/Makefile: Likewise.
17836         * csu/Makefile: Likewise.
17837         (all): Remove target.
17838         * ctype/Makefile: Include Makeconfig immediately after defining
17839         subdir.
17840         * debug/Makefile: Likewise.
17841         * dirent/Makefile: Likewise.
17842         * dlfcn/Makefile: Likewise.
17843         * gmon/Makefile: Likewise.
17844         * gnulib/Makefile: Likewise.
17845         * grp/Makefile: Likewise.
17846         * gshadow/Makefile: Likewise.
17847         * hesiod/Makefile: Likewise.
17848         * hurd/Makefile: Likewise.
17849         (all): Remove target.
17850         * iconvdata/Makefile: Include Makeconfig immediately after
17851         defining subdir.
17852         * inet/Makefile: Likewise.
17853         * intl/Makefile: Likewise.
17854         * io/Makefile: Likewise.
17855         * libio/Makefile: Likewise.
17856         (all): Remove target.
17857         * locale/Makefile: Include Makeconfig immediately after defining
17858         subdir.
17859         * login/Makefile: Likewise.
17860         * mach/Makefile: Likewise.
17861         (all): Remove target.
17862         * malloc/Makefile: Include Makeconfig immediately after defining
17863         subdir.
17864         (all): Remove target.
17865         * manual/Makefile: Include Makeconfig immediately after defining
17866         subdir.
17867         * math/Makefile: Likewise.
17868         * misc/Makefile: Likewise.
17869         * nis/Makefile: Likewise.
17870         * nss/Makefile: Likewise.
17871         * po/Makefile: Likewise.
17872         (all): Remove target.
17873         * posix/Makefile: Include Makeconfig immediately after defining
17874         subdir.
17875         * pwd/Makefile: Likewise.
17876         * resolv/Makefile: Likewise.
17877         * resource/Makefile: Likewise.
17878         * rt/Makefile: Likewise.
17879         * setjmp/Makefile: Likewise.
17880         * shadow/Makefile: Likewise.
17881         * signal/Makefile: Likewise.
17882         * socket/Makefile: Likewise.
17883         * soft-fp/Makefile: Likewise.
17884         * stdio-common/Makefile: Likewise.
17885         * stdlib/Makefile: Likewise.
17886         * streams/Makefile: Likewise.
17887         * string/Makefile: Likewise.
17888         * sunrpc/Makefile: Likewise.
17889         (all): Remove target.
17890         * sysvipc/Makefile: Include Makeconfig immediately after defining
17891         subdir.
17892         * termios/Makefile: Likewise.
17893         * time/Makefile: Likewise.
17894         * timezone/Makefile: Likewise.
17895         (all): Remove target.
17896         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17897         subdir.
17898         * wctype/Makefile: Likewise.
17900 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17902         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17903         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17904         (libc_feholdexcept_setround_mips): Ditto.
17905         (libc_feholdsetround): New.
17906         (libc_feholdsetroundf): New.
17907         (libc_feholdsetroundl): New.
17908         (libc_feupdateenv_test_mips): New.
17909         (libc_feupdateenv_test): New.
17910         (libc_feupdateenv_testf): New.
17911         (libc_feupdateenv_testl): New.
17912         (libc_feresetround): New.
17913         (libc_feresetroundf): New.
17914         (libc_feresetroundl): New.
17915         (libc_fetestexcept_mips): New.
17916         (libc_fetestexcept): New.
17917         (libc_fetestexceptf): New.
17918         (libc_fetestexceptl): New.
17919         (HAVE_RM_CTX): New.
17920         (libc_feholdexcept_setround_mips_ctx): New.
17921         (libc_feholdexcept_setround_ctx): New.
17922         (libc_feholdexcept_setroundf_ctx): New.
17923         (libc_feholdexcept_setroundl_ctx): New.
17924         (libc_fesetenv_mips_ctx): New.
17925         (libc_fesetenv_ctx): New.
17926         (libc_fesetenv_ctxf): New.
17927         (libc_fesetenv_ctxl): New.
17928         (libc_feupdateenv_mips_ctx): New.
17929         (libc_feupdateenv_ctx): New.
17930         (libc_feupdateenvf_ctx): New.
17931         (libc_feupdateenvl_ctx): New.
17932         (libc_feholdsetround_mips_ctx): New.
17933         (libc_feholdsetround_ctx): New.
17934         (libc_feholdsetroundf_ctx): New.
17935         (libc_feholdsetroundl_ctx): New.
17936         (libc_feresetround_mips_ctx): New.
17937         (libc_feresetround_ctx): New.
17938         (libc_feresetroundf_ctx): New.
17939         (libc_feresetroundl_ctx): New.
17941 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17943         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17945         * manual/ipc.texi: New file.
17946         * manual/Makefile (chapters): Add ipc.
17947         * manual/job.texi: Add "Inter-Process Communication" to next.
17948         * manual/process.texi: Add "Inter-Process Communication" to prev.
17950 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17954 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17956         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17958         * manual/arith.texi: Fix spaces after sentences.
17959         * manual/charset.texi: Likewise.
17960         * manual/errno.texi: Likewise.
17961         * manual/install.texi: Likewise.
17962         * manual/llio.texi: Likewise.
17963         * manual/locale.texi: Likewise.
17964         * manual/maint.texi: Likewise.
17965         * manual/math.texi: Likewise.
17966         * manual/memory.texi: Likewise.
17967         * manual/message.texi: Likewise.
17968         * manual/probes.texi: Likewise.
17969         * manual/resource.texi: Likewise.
17970         * manual/signal.texi: Likewise.
17971         * manual/socket.texi: Likewise.
17972         * manual/stdio.texi: Likewise.
17973         * manual/string.texi: Likewise.
17974         * manual/time.texi: Likewise.
17975         * manual/users.texi: Likewise.
17977 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17979         [BZ #16632]
17980         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17981         _DEFAULT_SOURCE is defined.
17983 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17984             Carlos O'Donell  <carlos@redhat.com>
17986         [BZ #16613]
17987         * elf/dl-tls.c (_dl_count_modids): New function.
17988         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17989         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17990         audit library and increment generation counter.
17991         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17992         * elf/tst-audit9.c: New file.
17993         * elf/tst-auditmod9a.c: New file.
17994         * elf/tst-auditmod9b.c: New file.
17995         * elf/Makefile: Add rules to build and run tst-audit9.
17997 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17999         [BZ #15347]
18000         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18002 2014-02-25  Will Newton  <will.newton@linaro.org>
18004         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18005         (__longjmp): Restore sp and lr before restoring callee
18006         saved registers.  Add longjmp and longjmp_target
18007         SystemTap probe point.
18008         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18009         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18010         Define to zero to match jmpbuf layout.
18011         * sysdeps/arm/setjmp.S: Include stap-probe.h.
18012         (__sigsetjmp): Save sp and lr before saving callee
18013         saved registers.  Add setjmp SystemTap probe point.
18015 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18017         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18019 2014-02-24  Andreas Schwab  <schwab@suse.de>
18021         [BZ #15804]
18022         * elf/pldd.c (wait_for_ptrace_stop): New function.
18023         (main): Call it after attaching.
18025 2014-02-22  Roland McGrath  <roland@hack.frob.com>
18027         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18028         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18029         Versions files is now verboten.
18030         * hurd/Versions (libc: GLIBC_2.0):
18031         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18032         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18033         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18034         * mach/Versions: Likewise.
18036         * csu/Versions: Remove unused %include.
18037         * resolv/Versions: Likewise.
18039 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
18041         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18042         ($(objpfx)check-local-headers.out): Likewise.
18043         ($(objpfx)begin-end-check.out): Likewise.
18044         * Makerules (check-abi-%.out): Likewise.
18045         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18046         ($(objpfx)test2.cat): Likewise.
18047         ($(objpfx)de/libc.cat): Likewise.
18048         ($(objpfx)test-gencat.out): Likewise.
18049         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18050         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18051         ($(objpfx)noload-mem): Likewise.
18052         ($(objpfx)tst-pathopt.out): Likewise.
18053         ($(objpfx)tst-rtld-load-self.out): Likewise.
18054         ($(objpfx)tst-array1-cmp.out): Likewise.
18055         ($(objpfx)tst-array1-static-cmp.out): Likewise.
18056         ($(objpfx)tst-array2-cmp.out): Likewise.
18057         ($(objpfx)tst-array3-cmp.out): Likewise.
18058         ($(objpfx)tst-array4-cmp.out): Likewise.
18059         ($(objpfx)tst-array5-cmp.out): Likewise.
18060         ($(objpfx)tst-array5-static-cmp.out): Likewise.
18061         ($(objpfx)check-textrel.out): Likewise.
18062         ($(objpfx)check-execstack.out): Likewise.
18063         ($(objpfx)check-localplt.out): Likewise.
18064         ($(objpfx)order2-cmp.out): Likewise.
18065         ($(objpfx)tst-leaks1-mem): Likewise.
18066         ($(objpfx)tst-leaks1-static-mem): Likewise.
18067         ($(objpfx)tst-initorder-cmp.out): Likewise.
18068         ($(objpfx)tst-initorder2-cmp.out): Likewise.
18069         ($(objpfx)tst-unused-dep.out): Likewise.
18070         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18071         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18072         * iconv/Makefile (test-iconvconfig): Likewise.
18073         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18074         ($(objpfx)iconv-test.out): Likewise.
18075         ($(objpfx)tst-tables.out): Likewise.
18076         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18077         ($(objpfx)tst-gettext.out): Likewise.
18078         ($(objpfx)tst-translit.out): Likewise.
18079         ($(objpfx)tst-gettext2.out): Likewise.
18080         ($(objpfx)tst-gettext4.out): Likewise.
18081         ($(objpfx)tst-gettext6.out): Likewise.
18082         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18083         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18084         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18085         ($(objpfx)tst-fopenloc-mem.out): Likewise.
18086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18087         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18088         * posix/Makefile ($(objpfx)globtest.out): Likewise.
18089         ($(objpfx)wordexp-tst.out): Likewise.
18090         ($(objpfx)annexc.out): Likewise.
18091         ($(objpfx)tst-fnmatch-mem): Likewise.
18092         ($(objpfx)bug-regex2-mem): Likewise.
18093         ($(objpfx)bug-regex14-mem): Likewise.
18094         ($(objpfx)bug-regex21-mem): Likewise.
18095         ($(objpfx)bug-regex31-mem): Likewise.
18096         ($(objpfx)tst-vfork3-mem): Likewise.
18097         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18098         ($(objpfx)tst-pcre-mem): Likewise.
18099         ($(objpfx)tst-boost-mem): Likewise.
18100         ($(objpfx)tst-getconf.out): Likewise.
18101         ($(objpfx)bug-ga2-mem): Likewise.
18102         ($(objpfx)bug-glob2-mem): Likewise.
18103         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18104         ($(objpfx)mtrace-tst-leaks2): Likewise.
18105         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18106         ($(objpfx)tst-printf.out): Likewise.
18107         ($(objpfx)tst-setvbuf1.out): Likewise.
18108         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18109         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18110         ($(objpfx)tst-fmtmsg.out): Likewise.
18111         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18112         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18114         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18115         * bits/sigaction.h [__USE_MISC]: Likewise.
18116         * bits/waitstatus.h: Update #endif comments.
18117         * ctype/ctype.h: Likewise.
18118         * dirent/dirent.h: Likewise.
18119         [__USE_MISC]: Remove redundant conditionals.
18120         * grp/grp.h: Update #endif comments.
18121         [__USE_GNU]: Remove redundant conditionals.
18122         [__USE_MISC]: Likewise.
18123         * inet/netinet/in.h [__USE_GNU]: Likewise.
18124         * io/sys/stat.h [__USE_MISC]: Likewise.
18125         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18126         * libio/bits/stdio.h: Update #endif comments.
18127         [__USE_MISC]: Remove redundant conditionals.
18128         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18129         * libio/stdio.h: Update #endif comments.
18130         [__USE_MISC]: Remove redundant conditionals.
18131         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18132         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18133         * math/math.h: Update #else and #endif comments.
18134         [__USE_MISC]: Remove redundant conditionals.
18135         * misc/sys/uio.h: Update #endif comments.
18136         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18137         * posix/glob.h [__USE_MISC]: Likewise.
18138         * posix/sys/types.h: Update #endif comments.
18139         [__USE_MISC]: Remove redundant conditionals.
18140         * posix/sys/wait.h: Update #endif comments.
18141         [__USE_MISC]: Remove redundant conditionals.
18142         * posix/unistd.h: Update #endif comments.
18143         [__USE_MISC]: Remove redundant conditionals.
18144         * pwd/pwd.h [__USE_GNU]: Likewise.
18145         [__USE_MISC]: Likewise.
18146         * resolv/netdb.h [__USE_GNU]: Likewise.
18147         * signal/signal.h: Update #endif comments.
18148         [__USE_MISC]: Remove redundant conditionals.
18149         * stdlib/stdlib.h: Update #else and #endif comments.
18150         [__USE_MISC]: Remove redundant conditionals.
18151         [__USE_GNU]: Likewise.
18152         * string/bits/string2.h [__USE_MISC]: Likewise.
18153         * string/string.h: Update #endif comments.
18154         [__USE_MISC]: Remove redundant conditionals.
18155         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18156         Likewise.
18157         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18158         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18159         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18160         Likewise.
18161         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18162         Likewise.
18163         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18164         comments.
18165         [__USE_MISC]: Remove redundant conditionals.
18166         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18167         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18168         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18169         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18170         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18171         Likewise.
18172         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18173         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18174         Likewise.
18175         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18176         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18177         Likewise.
18178         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18179         Likewise.
18180         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18181         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18182         Likewise.
18183         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18184         Likewise.
18185         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18186         * sysdeps/x86/bits/string.h: Update #endif comments.
18187         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18188         conditionals.
18189         * time/sys/time.h: Update #endif comments.
18190         * time/time.h: Likewise.
18191         [__USE_MISC]: Remove redundant conditionals.
18193 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18195         [BZ #16600]
18196         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18198 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18200         * Versions.def (librt): Add GLIBC_2.17.
18202 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18204         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18205         synonym for _SYS_AUXV_H to allow direct inclusion.
18206         * sysdeps/sparc/bits/hwcap.h: Likewise.
18207         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18208         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18209         * sysdeps/sparc/sysdep.h: Likewise.
18211 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18213         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18215 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18217         * benchtests/bench-strrchr.c: Print length instead of position.
18219 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18221         [BZ #16611]
18222         * sysdeps/unix/sysv/linux/kernel-features.h
18223         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18224         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18225         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18226         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18227         Likewise.
18228         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18229         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18230         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18231         (__ASSUME_SENDMMSG): Define instead of using previous
18232         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18233         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18234         (__ASSUME_SENDMMSG_SYSCALL): Define.
18235         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18236         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18237         Likewise.
18238         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18239         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18240         Likewise.
18241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18242         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18243         Likewise.
18244         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18245         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18246         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18247         [__ASSUME_SENDMMSG]: Change conditionals to
18248         [__ASSUME_SENDMMSG_SOCKETCALL].
18249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18250         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18251         Define.
18252         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18253         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18256         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18257         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18258         [!__ASSUME_SENDMMSG]: Change conditional to
18259         [!__ASSUME_SENDMMSG_SOCKETCALL].
18260         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18261         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18262         Define.
18264         [BZ #16610]
18265         * sysdeps/unix/sysv/linux/kernel-features.h
18266         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18267         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18268         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18269         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18270         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18271         [__i386__ || __sparc__]
18272         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18273         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18274         (__ASSUME_RECVMMSG): Define instead of using previous
18275         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18276         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18277         (__ASSUME_RECVMMSG_SYSCALL): Define.
18278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18280         Likewise.
18281         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18282         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18283         Likewise.
18284         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18285         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18286         Likewise.
18287         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18288         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18289         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18290         [__ASSUME_RECVMMSG]: Change condition to
18291         [__ASSUME_RECVMMSG_SOCKETCALL].
18292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18293         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18294         Define.
18295         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18296         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18297         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18298         Likewise.
18299         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18300         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18301         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18302         [!__ASSUME_RECVMMSG]: Change condition to
18303         [!__ASSUME_RECVMMSG_SOCKETCALL].
18304         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18305         (__ASSUME_RECVMMSG_SYSCALL): Define.
18307         [BZ #16609]
18308         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18309         __powerpc__ || __s390__ || __sh__ || __sparc__]
18310         (__ASSUME_SOCKETCALL): Define.
18311         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18312         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18313         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18314         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18315         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18316         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18317         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18318         (__ASSUME_ACCEPT4): Define instead of using previous
18319         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18320         __powerpc__ || __sparc__ || __s390__)] condition.
18321         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18323         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18324         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18325         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18326         [!__ASSUME_ACCEPT4]: Change condition to
18327         [!__ASSUME_ACCEPT4_SOCKETCALL].
18328         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18329         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18330         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18331         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18332         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18333         __ASSUME_ACCEPT4_SYSCALL.
18334         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18335         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18336         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18337         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18338         __ASSUME_ACCEPT4_SYSCALL.
18339         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18340         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18341         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18342         [__ASSUME_ACCEPT4]: Change condition to
18343         [__ASSUME_ACCEPT4_SOCKETCALL].
18344         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18345         (__ASSUME_SOCKETCALL): Define.
18346         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18347         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18348         (__ASSUME_SOCKETCALL): Define.
18349         (__ASSUME_ACCEPT4): Remove.
18350         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18351         Define.
18352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18353         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18354         Likewise.
18355         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18356         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18358         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18359         macro.
18360         (HWCAP_ARM_LPAE): Likewise.
18361         (HWCAP_ARM_EVTSTRM): Likewise.
18362         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18363         Add vpfd32, lpae and evtstrm.
18364         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18365         Increase to 22.
18367 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18369         * math/auto-libm-test-in: Add tests of clog10.
18370         * math/auto-libm-test-out: Regenerated.
18371         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18372         * sysdeps/i386/fpu/libm-test-ulps: Update.
18373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18375 2014-02-18  Andreas Schwab  <schwab@suse.de>
18377         [BZ #16574]
18378         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18379         Store non-zero if the second buffer was newly allocated.
18380         (send_dg): Likewise.
18381         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18382         to send_vc and send_dg.
18383         (res_nsend): Pass NULL for ansp2_malloced.
18384         * resolv/res_query.c (__libc_res_nquery): Add parameter
18385         answerp2_malloced and pass it down to __libc_res_nsend.
18386         (res_nquery): Pass additional NULL to __libc_res_nquery.
18387         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18388         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18389         second answer buffer if answerp2_malloced was set.
18390         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18391         (__libc_res_nquerydomain): Add parameter
18392         answerp2_malloced and pass it down to __libc_res_nquery.
18393         (res_nquerydomain): Pass additional NULL to
18394         __libc_res_nquerydomain.
18395         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18396         additional NULL to __libc_res_nsend and __libc_res_nquery.
18397         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18398         additional NULL to __libc_res_nsearch.
18399         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18400         parameter of __libc_res_nsearch to check for separately allocated
18401         second buffer.
18402         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18403         __libc_res_nquery.
18404         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18405         additional NULL to __libc_res_nquery.
18406         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18407         __libc_res_nsearch.
18408         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18409         * include/resolv.h: Update prototypes of __libc_res_nquery,
18410         __libc_res_nsearch, __libc_res_nsend.
18412 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18414         * math/auto-libm-test-in: Add tests of fma.
18415         * math/auto-libm-test-out: Regenerated.
18416         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18417         (fma_towardzero_test_data): Likewise.
18418         (fma_downward_test_data): Likewise.
18419         (fma_upward_test_data): Likewise.
18420         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18421         mpc_mode.
18422         (rounding_modes): Add values for new field.
18423         (func_calc_method): Add value mpfr_fff_f.
18424         (func_calc_desc): Add mpfr_fff_f union field.
18425         (test_function): Add field exact_args.
18426         (FUNC): Add macro argument EXACT_ARGS.
18427         (FUNC_mpfr_f_f): Update call to FUNC.
18428         (FUNC_mpfr_f_f): Likewise.
18429         (FUNC_mpfr_ff_f): Likewise.
18430         (FUNC_mpfr_if_f): Likewise.
18431         (FUNC_mpc_c_f): Likewise.
18432         (FUNC_mpc_c_c): Likewise.
18433         (test_functions): Add fma.  Update calls to FUNC.
18434         (handle_input_arg): Add argument exact_args.
18435         (add_test): Update call to handle_input_arg.
18436         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18437         (output_for_one_input_case): Update call to calc_generic_results.
18438         Recalculate exact zero results in each rounding mode.
18440         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18441         non-negative before setting low bit.
18442         * math/auto-libm-test-in: Mark one asin test possibly having
18443         spurious underflow.
18444         * math/auto-libm-test-out: Regenerated.
18445         * sysdeps/i386/fpu/libm-test-ulps: Update.
18446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18448 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18450         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18451         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18452         ports/sysdeps/unix/sysv/linux/microblaze.
18453         * README: Add missing listing for microblaze*-*-linux-gnu.
18455 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18457         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18458         duplicate code
18460 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18462         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18463         * sysdeps/unix/sysv/linux/ia64: Move directory from
18464         ports/sysdeps/unix/sysv/linux/ia64.
18465         * README: Update listing for ia64-*-linux-gnu.
18467 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18468             Joseph Myers  <joseph@codesourcery.com>
18470         * Makeconfig (test-name): New variable.
18471         (evaluate-test): Likewise.
18472         * Makerules (do-test-clean): Remove .test-result files.
18473         (common-mostlyclean): Likewise.
18474         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18475         * scripts/evaluate-test.sh: New file.
18477 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18479         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18480         separate $(objpfx)tst-fopenloc-cmp.out and
18481         $(objpfx)tst-fopenloc-mem.out targets.
18482         (tests): Update dependencies.
18483         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18484         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18485         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18486         (tst-rxspencer-no-utf8-ARGS): New variable.
18487         (tst-rxspencer-no-utf8-ENV): Likewise.
18488         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18489         instead of $(objpfx)tst-rxspencer-mem.
18490         ($(objpfx)tst-rxspencer-mem): Change target to
18491         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18492         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18493         * posix/tst-rxspencer-no-utf8.c: New file.
18495         * elf/Makefile ($(objpfx)order.out): Remove rule.
18496         [$(run-built-tests) = yes] (tests): Depend on
18497         $(objpfx)order-cmp.out.
18498         ($(objpfx)order-cmp.out): New rule.
18499         [$(run-built-tests) = yes] (tests): Depend on
18500         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18501         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18502         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18503         $(objpfx)tst-array5-static-cmp.out.
18504         ($(objpfx)tst-array1.out): Remove rule.
18505         ($(objpfx)tst-array1-cmp.out): New rule.
18506         ($(objpfx)tst-array1-static.out): Remove rule.
18507         ($(objpfx)tst-array1-static-cmp.out): New rule.
18508         ($(objpfx)tst-array2.out): Remove rule.
18509         ($(objpfx)tst-array2-cmp.out): New rule.
18510         ($(objpfx)tst-array3.out): Remove rule.
18511         ($(objpfx)tst-array3-cmp.out): New rule.
18512         ($(objpfx)tst-array4.out): Remove rule.
18513         ($(objpfx)tst-array4-cmp.out): New rule.
18514         ($(objpfx)tst-array5.out): Remove rule.
18515         ($(objpfx)tst-array5-cmp.out): New rule.
18516         ($(objpfx)tst-array5-static.out): Remove rule.
18517         ($(objpfx)tst-array5-static-cmp.out): New rule.
18518         [$(run-built-tests) = yes] (tests): Depend on
18519         $(objpfx)order2-cmp.out.
18520         ($(objpfx)order2.out): Remove rule.
18521         ($(objpfx)order2-cmp.out): New rule.
18522         ($(objpfx)tst-initorder.out): Remove rule.
18523         [$(run-built-tests) = yes] (tests): Depend on
18524         $(objpfx)tst-initorder-cmp.out.
18525         ($(objpfx)tst-initorder-cmp.out): New rule.
18526         ($(objpfx)tst-initorder2.out): Remove rule.
18527         [$(run-built-tests) = yes] (tests): Depend on
18528         $(objpfx)tst-initorder2-cmp.out.
18529         ($(objpfx)tst-initorder2-cmp.out): New rule.
18530         [$(run-built-tests) = yes] (tests): Depend on
18531         $(objpfx)tst-unused-dep-cmp.out.
18532         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18533         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18534         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18535         on $(objpfx)tst-setvbuf1-cmp.out.
18536         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18537         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18538         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18539         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18540         ($(objpfx)tst-svc.out): Remove rule.
18541         ($(objpfx)tst-svc-cmp.out): New rule.
18543 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18545         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18546         * ctype/ctype.h [__USE_MISC]: Likewise.
18547         * dirent/dirent.h [__USE_MISC]: Likewise.
18548         * grp/grp.h [__USE_MISC]: Likewise.
18549         * io/fcntl.h [__USE_MISC]: Likewise.
18550         * io/sys/stat.h [__USE_MISC]: Likewise.
18551         * libio/stdio.h [__USE_MISC]: Likewise.
18552         * posix/unistd.h [__USE_MISC]: Likewise.
18553         * pwd/pwd.h [__USE_MISC]: Likewise.
18554         * stdlib.h [__USE_MISC]: Likewise.
18555         * string/bits/string2.h [__USE_MISC]: Likewise.
18556         * string/string.h [__USE_MISC]: Likewise.
18557         * time/time.h [__USE_MISC]: Likewise.
18559 2014-02-13  Andreas Schwab  <schwab@suse.de>
18561         [BZ #16574]
18562         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18563         second answer buffer if it was separately allocated.
18565 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18567         * sysdeps/mips/math-tests.h: Include <features.h>.
18568         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18569         (ROUNDING_TESTS_long_double): Do not define.
18570         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18571         (EXCEPTION_TESTS_long_double): Likewise.
18572         * sysdeps/mips/mips64/libm-test-ulps: Update.
18574         * include/features.h (__USE_BSD): Remove macro definitions.
18575         (__USE_SVID): Likewise.
18576         (_BSD_SOURCE): Likewise.
18577         (_SVID_SOURCE): Likewise.
18578         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18579         from definition of _DEFAULT_SOURCE.
18580         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18581         [_DEFAULT_SOURCE].
18582         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18583         * bits/mman.h [__USE_BSD]: Likewise.
18584         * bits/termios.h [__USE_BSD]: Likewise.
18585         * bits/waitstatus.h [__USE_BSD]: Likewise.
18586         * ctype/ctype.h [__USE_SVID]: Likewise.
18587         * dirent/dirent.h [__USE_BSD]: Likewise.
18588         * grp/grp.h [__USE_SVID]: Likewise.
18589         [__USE_BSD]: Likewise.
18590         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18591         * io/fcntl.h [__USE_BSD]: Likewise.
18592         * io/ftw.h [__USE_BSD]: Likewise.
18593         * io/sys/stat.h [__USE_BSD]: Likewise.
18594         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18595         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18596         * libio/stdio.h [__USE_SVID]: Likewise.
18597         [__USE_BSD]: Likewise.
18598         * math/math.h [__USE_SVID]: Likewise.
18599         [__USE_BSD]: Likewise.
18600         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18601         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18602         * misc/search.h [__USE_SVID]: Likewise.
18603         * misc/sys/mman.h [__USE_BSD]: Likewise.
18604         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18605         * misc/sys/uio.h [__USE_BSD]: Likewise.
18606         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18607         * posix/glob.h [__USE_BSD]: Likewise.
18608         * posix/regex.h [__USE_BSD]: Likewise.
18609         * posix/sys/types.h [__USE_BSD]: Likewise.
18610         [__USE_SVID]: Likewise.
18611         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18612         * posix/sys/wait.h [__USE_BSD]: Likewise.
18613         [__USE_SVID]: Likewise.
18614         * posix/unistd.h [__USE_BSD]: Likewise.
18615         [__USE_SVID]: Likewise.
18616         * pwd/pwd.h [__USE_SVID]: Likewise.
18617         * resolv/netdb.h [__USE_BSD]: Likewise.
18618         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18619         * signal/signal.h [__USE_BSD]: Likewise.
18620         [__USE_SVID]: Likewise.
18621         * socket/sys/socket.h [__USE_BSD]: Likewise.
18622         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18623         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18624         [__USE_SVID]: Likewise.
18625         * string/bits/string2.h [__USE_BSD]: Likewise.
18626         [__USE_SVID]: Likewise.
18627         * string/bits/string3.h [__USE_BSD]: Likewise.
18628         * string/endian.h [__USE_BSD]: Likewise.
18629         * string/string.h [__USE_SVID]: Likewise.
18630         [__USE_BSD]: Likewise.
18631         * string/strings.h [__USE_BSD]: Likewise.
18632         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18633         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18634         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18635         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18636         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18637         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18638         Likewise.
18639         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18640         Likewise.
18641         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18642         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18643         Likewise.
18644         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18645         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18646         Likewise.
18647         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18648         Likewise.
18649         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18650         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18651         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18652         Likewise.
18653         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18654         Likewise.
18655         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18656         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18657         * termios/termios.h [__USE_BSD]: Likewise.
18658         * time/sys/time.h [__USE_BSD]: Likewise.
18659         * time/time.h [__USE_BSD]: Likewise.
18660         [__USE_SVID]: Likewise.
18662         * Makefile (subdir_targets): Remove subdir_lint.out.
18664         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18665         (do-tst-printf): Likewise.
18666         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18667         $(objpfx)tst-printf.out.
18669         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18671         * Makerules (check-abi-%): Change target to
18672         $(objpfx)check-abi-%.out.
18673         (check-abi target): Update dependencies.
18674         (check-abi-pattern variable): Redirect output of diff to $@.
18675         (check-abi variable): Likewise.
18676         * elf/Makefile (check-abi): Update dependencies.
18678         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18679         unused.
18680         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18681         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18682         subnormal range.
18683         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18684         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18685         value has largest subnormal exponent.
18686         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18687         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18688         * sysdeps/aarch64/soft-fp/sfp-machine.h
18689         (_FP_TININESS_AFTER_ROUNDING): New macro.
18690         * sysdeps/alpha/soft-fp/sfp-machine.h
18691         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18692         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18693         Likewise.
18694         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18695         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18696         * sysdeps/mips/soft-fp/sfp-machine.h
18697         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18698         * sysdeps/powerpc/soft-fp/sfp-machine.h
18699         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18700         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18701         Likewise.
18702         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18703         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18705         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18706         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18707         Likewise.
18709 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18711         [BZ #16545]
18712         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18713         model 1.
18715 2014-02-12  Richard Henderson  <rth@redhat.com>
18717         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18718         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18719         * sysdeps/unix/sysv/linux/alpha: Move directory from
18720         ports/sysdeps/unix/sysv/linux/alpha.
18721         * README: Update listing for alpha-*-linux-gnu.
18723 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18725         * include/features.h: Update comment documenting feature test
18726         macros.
18727         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18728         _DEFAULT_SOURCE.
18729         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18730         (_SVID_SOURCE): Likewise.
18731         (_DEFAULT_SOURCE): Update description of default features.
18732         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18733         with _GNU_SOURCE.
18734         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18735         (S_ISVTX): Likewise.
18736         * manual/math.texi (Mathematical Constants): Likewise.
18737         * manual/signal.texi (Interrupted Primitives): Likewise.
18738         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18739         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18740         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18741         Don't refer to _SVID_SOURCE in warning text.
18743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18745         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18746         already defined.
18747         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18748         * sysdeps/mips/dl-lookup.c: Remove.
18749         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18751 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18753         [BZ #16447]
18754         * math/auto-libm-test-in: Add testcase for expl.
18755         * math/auto-libm-test-out: Regenerate.
18756         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18757         calculation of unsafe.
18758         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18760 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18762         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18763         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18764         ports/sysdeps/unix/sysv/linux/aarch64.
18765         * README: Update listing for aarch64*-*-linux-gnu.
18767 2014-02-11  Will Newton  <will.newton@linaro.org>
18769         * manual/probes.texi (Mathematical Function Probes): Use
18770         "triggered" instead of "hit".
18772         * manual/probes.texi (Internal Probes): Add documentation
18773         of setjmp, longjmp and longjmp_target probes.
18775         * include/stap-probe.h: Add comment about probe argument
18776         format.
18778         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18779         definition.  (tr_where, tr_freehook, tr_mallochook,
18780         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18782 2014-02-11  David S. Miller  <davem@davemloft.net>
18784         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18785         processing int_tests.
18787 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18789         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18790         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18791         * sysdeps/unix/sysv/linux/mips: Move directory from
18792         ports/sysdeps/unix/sysv/linux/mips.
18793         * README: Update listing for mips-*-linux-gnu and
18794         mips64-*-linux-gnu.
18796 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18798         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18799         * sysdeps/unix/sysv/linux/m68k: Move directory from
18800         ports/sysdeps/unix/sysv/linux/m68k.
18801         * README: Update listing for m68k-*-linux-gnu.
18803 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18805         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18806         * sysdeps/unix/sysv/linux/generic: Move directory from
18807         ports/sysdeps/unix/sysv/linux/generic.
18808         * sysdeps/unix/sysv/linux/tile: Move directory from
18809         ports/sysdeps/unix/sysv/linux/tile.
18810         * README: Update listing for tile*-*-linux-gnu.
18812 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18814         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18815         __builtin_expect.
18816         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18817         * catgets/open_catalog.c (__open_catalog): Likewise.
18818         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18819         * debug/confstr_chk.c: Likewise.
18820         * debug/fread_chk.c (__fread_chk): Likewise.
18821         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18822         * debug/getgroups_chk.c: Likewise.
18823         * debug/mbsnrtowcs_chk.c: Likewise.
18824         * debug/mbsrtowcs_chk.c: Likewise.
18825         * debug/mbstowcs_chk.c: Likewise.
18826         * debug/memcpy_chk.c: Likewise.
18827         * debug/memmove_chk.c: Likewise.
18828         * debug/mempcpy_chk.c: Likewise.
18829         * debug/memset_chk.c: Likewise.
18830         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18831         * debug/strcat_chk.c (__strcat_chk): Likewise.
18832         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18833         * debug/strncat_chk.c (__strncat_chk): Likewise.
18834         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18835         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18836         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18837         * debug/wcpncpy_chk.c: Likewise.
18838         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18839         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18840         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18841         * debug/wcsncpy_chk.c: Likewise.
18842         * debug/wcsnrtombs_chk.c: Likewise.
18843         * debug/wcsrtombs_chk.c: Likewise.
18844         * debug/wcstombs_chk.c: Likewise.
18845         * debug/wmemcpy_chk.c: Likewise.
18846         * debug/wmemmove_chk.c: Likewise.
18847         * debug/wmempcpy_chk.c: Likewise.
18848         * debug/wmemset_chk.c: Likewise.
18849         * dirent/scandirat.c (SCANDIRAT): Likewise.
18850         * dlfcn/dladdr1.c (dladdr1): Likewise.
18851         * dlfcn/dladdr.c (dladdr): Likewise.
18852         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18853         * dlfcn/dlerror.c (__dlerror): Likewise.
18854         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18855         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18856         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18857         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18858         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18859         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18860         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18861         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18862         Likewise.
18863         * elf/dl-conflict.c: Likewise.
18864         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18865         * elf/dl-dst.h: Likewise.
18866         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18867         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18868         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18869         * elf/dl-init.c (call_init, _dl_init): Likewise.
18870         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18871         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18872         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18873         Likewise.
18874         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18875         Likewise.
18876         * elf/dl-minimal.c (__libc_memalign): Likewise.
18877         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18878         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18879         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18880         * elf/dl-sym.c (do_sym): Likewise.
18881         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18882         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18883         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18884         * elf/dl-writev.h (_dl_writev): Likewise.
18885         * elf/ldconfig.c (search_dir): Likewise.
18886         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18887         (dl_main): Likewise.
18888         * elf/setup-vdso.h (setup_vdso): Likewise.
18889         * grp/compat-initgroups.c (compat_call): Likewise.
18890         * grp/fgetgrent.c (fgetgrent): Likewise.
18891         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18892         * grp/putgrent.c (putgrent): Likewise.
18893         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18894         Likewise.
18895         * hurd/hurdinit.c: Likewise.
18896         * iconvdata/8bit-gap.c (struct): Likewise.
18897         * iconvdata/ansi_x3.110.c : Likewise.
18898         * iconvdata/big5.c : Likewise.
18899         * iconvdata/big5hkscs.c : Likewise.
18900         * iconvdata/cp1255.c: Likewise.
18901         * iconvdata/cp1258.c : Likewise.
18902         * iconvdata/cp932.c : Likewise.
18903         * iconvdata/euc-cn.c: Likewise.
18904         * iconvdata/euc-jisx0213.c : Likewise.
18905         * iconvdata/euc-jp.c: Likewise.
18906         * iconvdata/euc-jp-ms.c : Likewise.
18907         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18908         * iconvdata/gb18030.c : Likewise.
18909         * iconvdata/gbbig5.c (const): Likewise.
18910         * iconvdata/gbgbk.c: Likewise.
18911         * iconvdata/gbk.c : Likewise.
18912         * iconvdata/ibm1364.c : Likewise.
18913         * iconvdata/ibm930.c : Likewise.
18914         * iconvdata/ibm932.c: Likewise.
18915         * iconvdata/ibm933.c : Likewise.
18916         * iconvdata/ibm935.c : Likewise.
18917         * iconvdata/ibm937.c : Likewise.
18918         * iconvdata/ibm939.c : Likewise.
18919         * iconvdata/ibm943.c: Likewise.
18920         * iconvdata/iso_11548-1.c: Likewise.
18921         * iconvdata/iso-2022-cn.c : Likewise.
18922         * iconvdata/iso-2022-cn-ext.c : Likewise.
18923         * iconvdata/iso-2022-jp-3.c: Likewise.
18924         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18925         * iconvdata/iso-2022-kr.c : Likewise.
18926         * iconvdata/iso646.c (gconv_end): Likewise.
18927         * iconvdata/iso_6937-2.c : Likewise.
18928         * iconvdata/iso_6937.c : Likewise.
18929         * iconvdata/iso8859-1.c: Likewise.
18930         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18931         * iconvdata/shift_jisx0213.c : Likewise.
18932         * iconvdata/sjis.c : Likewise.
18933         * iconvdata/t.61.c : Likewise.
18934         * iconvdata/tcvn5712-1.c : Likewise.
18935         * iconvdata/tscii.c: Likewise.
18936         * iconvdata/uhc.c : Likewise.
18937         * iconvdata/unicode.c (gconv_end): Likewise.
18938         * iconvdata/utf-16.c (gconv_end): Likewise.
18939         * iconvdata/utf-32.c (gconv_end): Likewise.
18940         * iconvdata/utf-7.c (base64): Likewise.
18941         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18942         * iconv/gconv_close.c (__gconv_close): Likewise.
18943         * iconv/gconv_open.c (__gconv_open): Likewise.
18944         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18945         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18946         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18947         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18948         (ucs4le_internal_loop_single): Likewise.
18949         * iconv/iconv.c (iconv): Likewise.
18950         * iconv/iconv_close.c: Likewise.
18951         * iconv/loop.c (SINGLE): Likewise.
18952         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18953         * include/atomic.h: Likewise.
18954         * inet/inet6_option.c (option_alloc): Likewise.
18955         * intl/bindtextdom.c (set_binding_values): Likewise.
18956         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18957         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18958         * intl/localealias.c (read_alias_file): Likewise.
18959         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18960         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18961         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18962         * libio/fmemopen.c (fmemopen): Likewise.
18963         * libio/iofgets.c (_IO_fgets): Likewise.
18964         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18965         * libio/iofgetws.c (fgetws): Likewise.
18966         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18967         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18968         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18969         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18970         * locale/findlocale.c (_nl_find_locale): Likewise.
18971         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18972         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18973         Likewise.
18974         * locale/setlocale.c (setlocale): Likewise.
18975         * login/programs/pt_chown.c (main): Likewise.
18976         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18977         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18978         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18979         (mmap, mmap64, mremap, munmap): Likewise.
18980         * math/e_exp2l.c: Likewise.
18981         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18982         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18983         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18984         * math/s_catan.c (__catan): Likewise.
18985         * math/s_catanf.c (__catanf): Likewise.
18986         * math/s_catanh.c (__catanh): Likewise.
18987         * math/s_catanhf.c (__catanhf): Likewise.
18988         * math/s_catanhl.c (__catanhl): Likewise.
18989         * math/s_catanl.c (__catanl): Likewise.
18990         * math/s_ccosh.c (__ccosh): Likewise.
18991         * math/s_ccoshf.c (__ccoshf): Likewise.
18992         * math/s_ccoshl.c (__ccoshl): Likewise.
18993         * math/s_cexp.c (__cexp): Likewise.
18994         * math/s_cexpf.c (__cexpf): Likewise.
18995         * math/s_cexpl.c (__cexpl): Likewise.
18996         * math/s_clog10.c (__clog10): Likewise.
18997         * math/s_clog10f.c (__clog10f): Likewise.
18998         * math/s_clog10l.c (__clog10l): Likewise.
18999         * math/s_clog.c (__clog): Likewise.
19000         * math/s_clogf.c (__clogf): Likewise.
19001         * math/s_clogl.c (__clogl): Likewise.
19002         * math/s_csin.c (__csin): Likewise.
19003         * math/s_csinf.c (__csinf): Likewise.
19004         * math/s_csinh.c (__csinh): Likewise.
19005         * math/s_csinhf.c (__csinhf): Likewise.
19006         * math/s_csinhl.c (__csinhl): Likewise.
19007         * math/s_csinl.c (__csinl): Likewise.
19008         * math/s_csqrt.c (__csqrt): Likewise.
19009         * math/s_csqrtf.c (__csqrtf): Likewise.
19010         * math/s_csqrtl.c (__csqrtl): Likewise.
19011         * math/s_ctan.c (__ctan): Likewise.
19012         * math/s_ctanf.c (__ctanf): Likewise.
19013         * math/s_ctanh.c (__ctanh): Likewise.
19014         * math/s_ctanhf.c (__ctanhf): Likewise.
19015         * math/s_ctanhl.c (__ctanhl): Likewise.
19016         * math/s_ctanl.c (__ctanl): Likewise.
19017         * math/w_pow.c: Likewise.
19018         * math/w_powf.c: Likewise.
19019         * math/w_powl.c: Likewise.
19020         * math/w_scalb.c (sysv_scalb): Likewise.
19021         * math/w_scalbf.c (sysv_scalbf): Likewise.
19022         * math/w_scalbl.c (sysv_scalbl): Likewise.
19023         * misc/error.c (error_tail): Likewise.
19024         * misc/pselect.c (__pselect): Likewise.
19025         * nis/nis_callback.c (__nis_create_callback): Likewise.
19026         * nis/nis_call.c (__nisfind_server): Likewise.
19027         * nis/nis_creategroup.c (nis_creategroup): Likewise.
19028         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19029         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19030         * nis/nis_getservlist.c (nis_getservlist): Likewise.
19031         * nis/nis_lookup.c (nis_lookup): Likewise.
19032         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
19033         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19034         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
19035         * nis/nis_xdr.c (xdr_endpoint): Likewise.
19036         * nis/nss_compat/compat-grp.c (getgrent_next_file)
19037         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19038         * nis/nss_compat/compat-initgroups.c (add_group)
19039         (internal_getgrent_r): Likewise.
19040         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19041         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19042         * nis/nss_compat/compat-spwd.c (getspent_next_file)
19043         (internal_getspnam_r): Likewise.
19044         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19045         (_nss_nis_getaliasbyname_r): Likewise.
19046         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19047         (_nss_nis_getntohost_r): Likewise.
19048         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19049         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19050         (_nss_nis_getgrgid_r): Likewise.
19051         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19052         (internal_nis_gethostent_r, internal_gethostbyname2_r)
19053         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19054         (_nss_nis_gethostbyname4_r): Likewise.
19055         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19056         (initgroups_netid): Likewise.
19057         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
19058         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19059         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19060         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19061         (_nss_nis_getprotobynumber_r): Likewise.
19062         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19063         (_nss_nis_getsecretkey): Likewise.
19064         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19065         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19066         (_nss_nis_getpwuid_r): Likewise.
19067         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19068         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19069         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19070         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19071         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19072         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
19073         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19074         Likewise.
19075         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19076         (_nss_nisplus_getntohost_r): Likewise.
19077         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19078         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19079         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19080         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
19081         Likewise.
19082         * nis/nss_nisplus/nisplus-initgroups.c
19083         (_nss_nisplus_initgroups_dyn): Likewise.
19084         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19085         (_nss_nisplus_getnetbyaddr_r): Likewise.
19086         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19087         (_nss_nisplus_getprotobynumber_r): Likewise.
19088         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19089         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
19090         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19091         Likewise.
19092         * nis/nss_nisplus/nisplus-service.c
19093         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19094         (_nss_nisplus_getservbyport_r): Likewise.
19095         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19096         (_nss_nisplus_getspnam_r): Likewise.
19097         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19098         Likewise.
19099         * nscd/aicache.c (addhstaiX): Likewise.
19100         * nscd/cache.c (cache_search, prune_cache): Likewise.
19101         * nscd/connections.c (register_traced_file, send_ro_fd)
19102         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19103         (main_loop_epoll): Likewise.
19104         * nscd/grpcache.c (addgrbyX): Likewise.
19105         * nscd/hstcache.c (addhstbyX): Likewise.
19106         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19107         * nscd/mem.c (gc, mempool_alloc): Likewise.
19108         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19109         (addinnetgrX): Likewise.
19110         * nscd/nscd-client.h (__nscd_acquire_maplock)
19111         (__nscd_drop_map_ref): Likewise.
19112         * nscd/nscd_getai.c (__nscd_getai): Likewise.
19113         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19114         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19115         Likewise.
19116         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19117         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
19118         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19119         (__nscd_get_map_ref): Likewise.
19120         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
19121         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19122         Likewise.
19123         * nscd/pwdcache.c (addpwbyX): Likewise.
19124         * nscd/selinux.c (preserve_capabilities): Likewise.
19125         * nscd/servicescache.c (addservbyX): Likewise.
19126         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19127         * posix/fnmatch.c (fnmatch): Likewise.
19128         * posix/getopt.c (_getopt_internal_r): Likewise.
19129         * posix/glob.c (glob, glob_in_dir): Likewise.
19130         * posix/wordexp.c (exec_comm_child): Likewise.
19131         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19132         (getanswer_r, gaih_getanswer_slice): Likewise.
19133         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19134         * resolv/res_init.c: Likewise.
19135         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19136         * resolv/res_query.c (__libc_res_nquery): Likewise.
19137         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19138         Likewise.
19139         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19140         * stdio-common/perror.c (perror): Likewise.
19141         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19142         * stdio-common/tmpnam.c (tmpnam): Likewise.
19143         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19144         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19145         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19146         Likewise.
19147         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19148         * stdlib/putenv.c (putenv): Likewise.
19149         * stdlib/setenv.c (__add_to_environ): Likewise.
19150         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19151         * stdlib/strtol_l.c (INTERNAL): Likewise.
19152         * string/memmem.c (memmem): Likewise.
19153         * string/strerror.c (strerror): Likewise.
19154         * string/strnlen.c (__strnlen): Likewise.
19155         * string/test-memmem.c (simple_memmem): Likewise.
19156         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19157         * sunrpc/pm_getport.c (__get_socket): Likewise.
19158         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19159         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19160         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19161         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19162         Likewise.
19163         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19164         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19165         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19166         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19167         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19168         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19169         Likewise.
19170         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19171         Likewise.
19172         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19173         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19174         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19175         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19176         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19178         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19179         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19180         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19181         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19182         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19183         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19184         Likewise.
19185         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19186         Likewise.
19187         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19188         Likewise.
19189         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19190         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19193         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19194         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19195         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19196         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19197         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19198         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19199         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19201         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19202         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19204         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19205         Likewise.
19206         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19207         Likewise.
19208         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19209         Likewise.
19210         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19211         Likewise.
19212         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19213         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19214         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19215         Likewise.
19216         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19217         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19218         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19219         * sysdeps/posix/sleep.c: Likewise.
19220         * sysdeps/posix/tempname.c: Likewise.
19221         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19222         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19223         Likewise.
19224         * sysdeps/powerpc/powerpc32/dl-machine.h
19225         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19226         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19228         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19229         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19230         Likewise.
19231         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19232         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19233         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19234         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19235         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19236         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19237         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19238         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19239         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19240         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19241         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19242         (elf_machine_lazy_rel): Likewise.
19243         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19244         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19245         (elf_machine_lazy_rel): Likewise.
19246         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19247         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19248         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19249         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19250         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19251         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19252         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19254         Likewise.
19255         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19256         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19257         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19258         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19259         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19261         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19262         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19263         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19264         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19265         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19266         Likewise.
19267         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19268         (__posix_fallocate64_l64): Likewise.
19269         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19270         (posix_fallocate): Likewise.
19271         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19272         Likewise.
19273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19274         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19275         (getifaddrs_internal): Likewise.
19276         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19277         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19278         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19279         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19280         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19281         (__posix_fallocate64_l64): Likewise.
19282         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19283         Likewise.
19284         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19286         (__get_clockfreq): Likewise.
19287         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19288         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19289         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19290         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19292         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19293         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19294         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19295         Likewise.
19296         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19297         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19298         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19299         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19300         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19301         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19302         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19303         Likewise.
19304         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19305         (posix_fallocate): Likewise.
19306         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19307         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19308         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19309         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19310         (elf_machine_rela, elf_machine_rela_relative)
19311         (elf_machine_lazy_rel): Likewise.
19312         * time/asctime.c (asctime_internal): Likewise.
19313         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19314         * time/tzset.c (__tzset_parse_tz): Likewise.
19315         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19316         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19317         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19318         * wcsmbs/wcsmbsload.h: Likewise.
19320         [BZ #15894]
19321         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19323         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19324         (arena_get2): Remove THREAD_STATS conditionals.
19325         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19326         (__malloc_stats, int): Likewise.
19328 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19330         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19331         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19333         * manual/setjmp.texi: Fix typos/grammar errors.
19335         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19336         Only return early when n is <= 0.  Delete unused return statement.
19338         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19339         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19340         * debug/tst-longjmp_chk3.c: New file.
19342         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19343         (test_main): Replace code with set_fortify_handler call.
19344         * debug/test-strcpy_chk.c: Likewise.
19345         * debug/tst-chk1.c: Likewise.
19346         * debug/tst-longjmp_chk.c: Likewise.
19347         * test-skeleton.c: Include fcntl.h & paths.h
19348         (set_fortify_handler): Define.
19350         * debug/tst-longjmp_chk.c: Add header comment and include
19351         ../test-skeleton.c.
19352         (do_test): Mark static.
19353         (TEST_FUNCTION): Define.
19355         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19356         (IP_PMTUDISC_INTERFACE): Likewise.
19357         (IP_MULTICAST_IF): Likewise.
19358         (IP_MULTICAST_TTL): Likewise.
19359         (IP_MULTICAST_LOOP): Likewise.
19360         (IP_ADD_MEMBERSHIP): Likewise.
19361         (IP_DROP_MEMBERSHIP): Likewise.
19362         (IP_UNBLOCK_SOURCE): Likewise.
19363         (IP_BLOCK_SOURCE): Likewise.
19364         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19365         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19366         (IP_MSFILTER): Likewise.
19367         (MCAST_JOIN_GROUP): Likewise.
19368         (MCAST_BLOCK_SOURCE): Likewise.
19369         (MCAST_UNBLOCK_SOURCE): Likewise.
19370         (MCAST_LEAVE_GROUP): Likewise.
19371         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19372         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19373         (MCAST_MSFILTER): Likewise.
19374         (IP_MULTICAST_ALL): Likewise.
19375         (IP_UNICAST_IF): Likewise.
19377         * timezone/Makefile: Delete $(have-ksh) check.
19378         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19379         * timezone/tzselect.ksh: Add +x mode bits.
19381         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19382         (ANON_INODE_FS_MAGIC): Likewise.
19383         (BDEVFS_MAGIC): Likewise.
19384         (BINFMTFS_MAGIC): Likewise.
19385         (BTRFS_TEST_MAGIC): Likewise.
19386         (CRAMFS_MAGIC_WEND): Likewise.
19387         (DEBUGFS_MAGIC): Likewise.
19388         (ECRYPTFS_SUPER_MAGIC): Likewise.
19389         (EXT3_SUPER_MAGIC): Likewise.
19390         (EXT4_SUPER_MAGIC): Likewise.
19391         (FUTEXFS_SUPER_MAGIC): Likewise.
19392         (HOSTFS_SUPER_MAGIC): Likewise.
19393         (HUGETLBFS_MAGIC): Likewise.
19394         (MINIX3_SUPER_MAGIC): Likewise.
19395         (MTD_INODE_FS_MAGIC): Likewise.
19396         (NILFS_SUPER_MAGIC): Likewise.
19397         (OPENPROM_SUPER_MAGIC): Likewise.
19398         (PIPEFS_MAGIC): Likewise.
19399         (PSTOREFS_MAGIC): Likewise.
19400         (QNX6_SUPER_MAGIC): Likewise.
19401         (RAMFS_MAGIC): Likewise.
19402         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19403         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19404         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19405         (SECURITYFS_MAGIC): Likewise.
19406         (SELINUX_MAGIC): Likewise.
19407         (SMACK_MAGIC): Likewise.
19408         (SOCKFS_MAGIC): Likewise.
19409         (SQUASHFS_MAGIC): Likewise.
19410         (STACK_END_MAGIC): Likewise.
19411         (TMPFS_MAGIC): Likewise.
19412         (USBDEVICE_SUPER_MAGIC): Likewise.
19413         (V9FS_MAGIC): Likewise.
19414         (XENFS_SUPER_MAGIC): Likewise.
19415         (CRAMFS_MAGIC): Fix typo in comment.
19416         (EXT2_SUPER_MAGIC): Update comment.
19417         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19419 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19421         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19422         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19423         * sysdeps/unix/sysv/linux/arm: Move directory from
19424         ports/sysdeps/unix/sysv/linux/arm.
19425         * README: Update listing for arm-*-linux-gnueabi.
19427         * README: Remove mention of am33.
19429 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19431         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19432         than the comma operator, to avoid "rhs of comma has no effect"
19433         compiler warnings.
19434         (__sigfillset, __sigandset, __sigorset): Likewise.
19435         * include/signal.h (__sigemptyset): Likewise.
19436         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19438 2014-02-07  Allan McRae  <allan@archlinux.org>
19440         * version.h (RELEASE): Set to "development".
19441         (VERSION): Set to "2.19.90"
19442         * NEWS: Add 2.20 section.
19444 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19446         [BZ #16529]
19447         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19449 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19451         * manual/contrib.texi: Update entry for Carlos O'Donell,
19452         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19454 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19456         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19458         * sysdeps/unix/sysv/linux/kernel-features.h
19459         [__LINUX_KERNEL_VERSION >= 0x020621]
19460         (__ASSUME_PROC_PID_TASK_COMM): Define.
19462 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19464         [BZ #16398]
19465         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19466         conversion when destination buffer does not have enough space.
19467         * libio/tst-ftell-partial-wide.c: New test case.
19468         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19470         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19471         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19472         Leonard and Allan McRae.
19474 2014-02-04  David S. Miller  <davem@davemloft.net>
19476         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19477         32-bit.
19479 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19482         New file
19483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19484         New file
19485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19486         New file.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19488         New file.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19490         New file.
19491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19492         New file.
19493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19494         New file.
19495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19496         New file.
19497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19498         New file.
19499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19500         New file.
19501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19502         New file.
19503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19504         New file.
19505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19506         New file.
19508 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19510         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19511         * shlib-versions: Likewise.
19513 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19514             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19516         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19517         (abilist-pattern): New variable, set to %-le.abilist.
19519         * Makerules (abilist-pattern): New variable.
19520         (vpath): Use $(abilist-pattern) in place of %.abilist.
19521         (check-abi-% pattern rule): Likewise.
19522         (check-abi, update-abi): Likewise.
19524 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19528 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19530         * manual/startup.texi: Add next, previous, and top entries for
19531         the `Program Arguments' and `Environment Variables' nodes.
19533 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19535         * manual/macros.texi: Add comments before MTASC-safety macros.
19537         * manual/users.texi: Document MTASC-safety properties.
19539         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19540         (pthread_getspecific, pthread_setspecific): Format with
19541         @deftypefun, and add @safety note.
19542         * manual/signal.texi: Move comments that analyze the above
19543         functions to their home place.
19545 2014-02-03  Allan McRae  <allan@archlinux.org>
19547         * po/sl.po: Update Slovenian translation from translation project.
19549 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19551         * manual/time.texi (timegm): Add missing blank after @c.
19552         Reported by Joseph Myers <joseph@codesourcery.com>.
19554 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19556         * manual/check-safety.sh: New.
19557         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19559         * manual/terminal.texi: Document MTASC-safety properties.
19561         * manual/filesys.texi: Document MTASC-safety properties.
19563         * manual/errno.texi: Document MTASC-safety properties.
19565         * manual/intro.texi: Document safety identifiers and
19566         conditionals.
19568         * manual/string.texi (wcstok): Fix prototype.
19569         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19571         * manual/time.texi: Document MTASC-safety properties.
19573         * manual/string.texi: Document MTASC-safety properties.
19575         * manual/threads.texi: Document MTASC-safety properties.
19577         * manual/stdio.texi: Document MTASC-safety properties.
19579         * manual/syslog.texi: Document MTASC-safety properties.
19581         * manual/sysinfo.texi: Document MTASC-safety properties.
19583         * manual/startup.texi: Document MTASC-safety properties.
19585         * manual/socket.texi: Document MTASC-safety properties.
19587         * manual/signal.texi: Document MTASC-safety properties.
19589 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19591         * manual/setjmp.texi: Document MTASC-safety properties.
19593         * manual/search.texi: Document MTASC-safety properties.
19595         * manual/resource.texi: Document MTASC-safety properties.
19597         * manual/process.texi: Document MTASC-safety properties.
19599         * manual/platform.texi: Document MTASC-safety properties.
19601         * manual/pipe.texi: Document MTASC-safety properties.
19603         * manual/pattern.texi: Document MTASC-safety properties.
19605         * manual/message.texi: Document MTASC-safety properties.
19607         [BZ #12751]
19608         * manual/memory.texi: Document MTASC-safety properties.
19610         * manual/math.texi: Document MTASC-safety properties.
19612         * manual/locale.texi: Document MTASC-safety properties.
19614         * manual/llio.texi: Document MTASC-safety properties.
19616         * manual/libdl.texi: New.
19618         * manual/lang.texi: Document MTASC-safety properties.
19620         * manual/job.texi: Document MTASC-safety properties.
19622         * manual/getopt.texi: Document MTASC-safety properties.
19624         * manual/ctype.texi: Document MTASC-safety properties.
19626 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19628         [BZ #16046]
19629         * csu/libc-tls.c (static_map): Remove variable.
19630         (__libc_setup_tls): Use main executable's link map for TLS data.
19631         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19632         casing for LM_ID_BASE and GL(dl_nns).
19633         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19634         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19635         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19636         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19637         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19638         member.
19639         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19640         l_phnum members.
19642 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19644         * manual/debug.texi: Document MTASC-safety properties.
19646 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19648         [BZ #16510]
19649         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19650         of __x86_64__ when disabling x87 inline functions.
19652 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19654         * manual/charset.texi: Document MTASC-safety properties.
19656         * manual/crypt.texi: Document MTASC-safety properties.
19658         * manual/conf.texi: Document MTASC-safety properties.
19660         * manual/arith.texi: Document MTASC-safety properties.
19662         * manual/argp.texi: Document MTASC-safety properties.
19664         * manual/macros.texi: Introduce macros to document multi
19665         thread, asynchronous signal and asynchronous cancellation
19666         safety properties.
19667         * manual/intro.texi: Introduce the properties themselves.
19669 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19671         * sysdeps/sh/sh4/Makefile: New file.
19673 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19675         * math/gen-libm-test.pl ($srcdir): New variable.
19676         ($auto_input): Use it.
19678 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19680         [BZ #16506]
19681         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19682         access beyond array bounds when parsing netgroups file.
19684         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19685         the old buffer before realloc.
19687 2014-01-27  Allan McRae  <allan@archlinux.org>
19689         * po/fr.po: Update French translation from translation project.
19691 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19693         * sysdeps/sh/libm-test-ulps: Regenerate.
19695 2014-01-24  David S. Miller  <davem@davemloft.net>
19697         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19699 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19701         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19702         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19704 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19706         [BZ #16474]
19707         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19708         string pointers after reallocation.
19710 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19712         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19713         __SH4A__ instead of __SH_FPU_ANY__.
19715 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19717         * sysdeps/sh/fpu_control.h: New file.
19718         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19720         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19721         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19722         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19723         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19724         * sysdeps/sh/sys/ucontext.h: Remove.
19725         * sysdeps/sh/sys: Remove directory.
19727 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19729         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19730         s390/sys/ucontext.h.
19731         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19732         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19734 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19736         [BZ #15605]
19737         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19739 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19741         [BZ#16431]
19742         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19743         Adjust the vDSO correctly for internal calls.
19744         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19746 2014-01-20  Allan McRae  <allan@archlinux.org>
19748         * po/ca.po: Update Catalan translation from translation project.
19750 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19752         * sysdeps/s390/sotruss-lib.c: New file.
19754 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19756         [BZ#16430]
19757         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19758         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19759         local calls issues by not having a PLT stub required for IFUNC calls.
19760         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19762 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19764         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19765         * math/test-fpucw-static.c: Likewise.
19767 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19769         [BZ #16453]
19770         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19772 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19774         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19775         implementation for powerpc.
19777 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19779         [BZ #14782]
19780         * sysdeps/posix/system.c (__libc_system): Do not enable
19781         asynchronous cancellation.
19783 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19785         [BZ #16427]
19786         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19787         handling only for numbers special also in the IEEE case.
19789 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19791         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19793 2014-01-11  Allan McRae  <allan@archlinux.org>
19795         * po/bg.po: Update Bulgarian translation from translation project.
19797         * po/de.po: Update German translation from translation project.
19799 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19801         * sysdeps/generic/gcc-compat.h: New file.
19803 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19805         * benchtests/asin-inputs: Correct slow inputs.
19806         * benchtests/acos-inputs: Likewise.
19808 2014-01-10  Allan McRae  <allan@archlinux.org>
19810         * po:sv.po: Update Swedish translation from translation project.
19812         * po/vi.po: Update Vietnamese translation from translation project.
19814         * po/eo.po: Update Esperanto translation from translation project.
19816         * po/cs.po: Update Czech translation from translation project.
19818         * po/nl.po: Update Dutch translation from translation project.
19820         * po/pl.po: Update Polish translation from translation project.
19822         * po/ru.po: Update Russian translation from translation project.
19824         * po/uk.po: Update Ukrainian translation from translation project.
19826 2014-01-08  Brooks Moses  <bmoses@google.com>
19828         * elf/dl-load.c: Fix comment typo.
19830 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19832         * po/header.pot: Rename to...
19833         * po/pot.header: ... this.
19834         * po/Makefile: Use pot.header.
19836 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19837             Maxim Kuvyrkov  <maxim@kugelworks.com>
19839         [BZ #16394]
19840         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19841         SRC and DEST against LEN.
19843 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19845         [BZ #16414]
19846         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19847         implementation.
19848         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19850 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19854 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #16408]
19857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19858         for large positive arguments.
19860 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19862         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19864         * math/auto-libm-test-in: Mark various tests with
19865         xfail-rounding:ldbl-128ibm.
19866         * math/auto-libm-test-out: Regenerated.
19868         [BZ #16407]
19869         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19870         Increase overflow threshold.
19872 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19874         [BZ #14286]
19875         * stdio-common/vfprintf.c: Check for integer overflow.
19877 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19879         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19880         the first argument and return value of __tls_get_addr_internal.
19882 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19884         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19885         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19887 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19889         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19890         * sysdeps/s390/rtld-global-offsets.sym: New file.
19891         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19892         GLIBC_2.19 symbol.
19893         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19894         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19895         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19896         ... this.
19897         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19898         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19899         ... this.
19900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19901         Regenerate.
19902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19903         Regenerate.
19904         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19905         halfs of GPRs for high_gprs contexts.
19906         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19907         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19908         field.
19909         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19910         uc_flags field.
19911         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19912         64 bit versions:
19913         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19914         for high GPRs (uc_high_gprs) and for future extensions
19915         (__reserved).
19916         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19917         for future extensions (__reserved).
19918         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19919         64 bit versions:
19920         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19921         SC_HIGHGPRS offset definition.
19922         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19923         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19925         * Versions.def: Add GLIBC_2.19 for libpthread.
19926         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19927         siglongjmp for libpthread with GLIBC_2.19 symver.
19928         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19929         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19930         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19931         * sysdeps/s390/__longjmp.c: New file.
19932         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19933         * sysdeps/s390/longjmp.c: New file.
19934         * sysdeps/s390/setjmp.S: New file.
19935         * sysdeps/s390/sigjmp.S: New file.
19936         * sysdeps/s390/v1-longjmp.c: New file.
19937         * sysdeps/s390/v1-setjmp.h: New file.
19938         * sysdeps/s390/v1-sigjmp.c: New file.
19939         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19940         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19941         GLIBC_2.19 version.
19942         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19943         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19944         versioned symbols for ____longjmp_chk.
19945         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19946         Likewise.
19947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19948         Regenerate.
19949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19950         Regenerate.
19951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19952         Regenerate.
19953         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19954         Regenerate.
19955         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19956         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19957         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19958         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19959         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19960         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19961         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19962         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19963         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19964         * sysdeps/s390/rtld-__longjmp.c: New file.
19965         * sysdeps/s390/rtld-setjmp.S: New file.
19967 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19969         [BZ #16400]
19970         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19971         Return -__logl (x) for small positive arguments without evaluating
19972         a polynomial.
19974 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19976         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19977         Rename to ...
19978         (__ptrace_peeksiginfo_args): ... this.
19979         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19980         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19981         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19983 2014-01-06  Allan McRae  <allan@archlinux.org>
19985         * inet/netinet/in.h: Fix typo in comment.
19987 2014-01-05  Andreas Jaeger  <aj@suse.de>
19989         * sysdeps/i386/fpu/libm-test-ulps: Update.
19991 2014-01-05  Allan McRae  <allan@archlinux.org>
19993         * po/libc.pot: Regenerated.
19995         * malloc/memusagestat.c: Fix gettext call formatting.
19997 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19999         * nscd/nscd.c: Improve usage() output.
20001 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
20003         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20004         * sysdeps/unix/sysv/linux/configure: Regenerated.
20005         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20006         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20008 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20010         [BZ #16390]
20011         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20012         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20014 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20016         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20017         extra tokens at end of #undef directive.
20018         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20019         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20020         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20022 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
20024         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20026         * math/auto-libm-test-in: Mark various tests with
20027         xfail-rounding:ldbl-128ibm.
20028         * math/auto-libm-test-out: Regenerated.
20030 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
20032         [BZ #16386]
20033         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20034         numbers with subnormal high part when calculating exponent.
20036         [BZ #16385]
20037         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20038         fabs.
20040         [BZ #16384]
20041         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20042         M_LN2l.
20043         (__ieee754_acoshl): Use __log1pl not __log1p.
20045 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
20047         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20048         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20049         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20050         (grow_heap, heap_trim, _int_new_arena, get_free_list)
20051         (reused_arena, arena_get2): Convert to GNU style.
20052         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20053         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20054         (memalign_check, __malloc_set_state): Likewise.
20055         * malloc/mallocbug.c (main): Likewise.
20056         * malloc/malloc.c (__malloc_assert, malloc_init_state)
20057         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20058         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20059         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20060         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20061         (__posix_memalign, malloc_info): Likewise.
20062         * malloc/malloc.h: Likewise.
20063         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20064         (mallochook, memalignhook, reallochook, mabort): Likewise.
20065         * malloc/mcheck.h: Likewise.
20066         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20067         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
20068         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20069         * malloc/morecore.c (__default_morecore): Likewise.
20070         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
20071         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20072         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20073         (print_and_abort): Likewise.
20074         * malloc/obstack.h: Likewise.
20075         * malloc/set-freeres.c (__libc_freeres): Likewise.
20076         * malloc/tst-mallocstate.c (main): Likewise.
20077         * malloc/tst-mtrace.c (main): Likewise.
20078         * malloc/tst-realloc.c (do_test): Likewise.
20080 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20082         [BZ #16366]
20083         * nscd/netgroupcache.c (do_notfound): New function.
20084         (addgetnetgrentX): Use it.
20086         [BZ # 16365]
20087         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20088         NSS_STATUS_NOTFOUND.
20090 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
20092         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20095 2014-01-01  Allan McRae  <allan@archlinux.org>
20097         * scripts/update-copyrights: Update configure input file suffix.
20099         * NEWS: Update copyright year.
20100         * catgets/gencat.c: Likewise.
20101         * csu/version.c: Likewise.
20102         * debug/catchsegv.sh: Likewise.
20103         * debug/pcprofiledump.c: Likewise.
20104         * debug/xtrace.sh: Likewise.
20105         * elf/ldconfig.c: Likewise.
20106         * elf/ldd.bash.in: Likewise.
20107         * elf/pldd.c: Likewise.
20108         * elf/sotruss.ksh: Likewise.
20109         * elf/sprof.c: Likewise.
20110         * iconv/iconv_prog.c: Likewise.
20111         * iconv/iconvconfig.c: Likewise.
20112         * locale/programs/locale.c: Likewise.
20113         * locale/programs/localedef.c: Likewise.
20114         * login/programs/pt_chown.c: Likewise.
20115         * malloc/memusage.sh: Likewise.
20116         * malloc/memusagestat.c: Likewise.
20117         * malloc/mtrace.pl: Likewise.
20118         * manual/libc.texinfo: Likewise.
20119         * nscd/nscd.c: Likewise.
20120         * nss/getent.c: Likewise.
20121         * nss/makedb.c: Likewise.
20122         * posix/getconf.c: Likewise.
20123         * scripts/test-installation.pl: Likewise.
20125         * All files with FSF copyright notices: Update copyright dates
20126         using scripts/update-copyrights.
20127         * intl/plural.c: Regenerated.
20128         * locale/programs/charmap-kw.h: Likewise.
20129         * locale/programs/locfile-kw.h: Likewise.
20131 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20133         * sysdeps/unix/sysv/linux/configure: Regenerated.
20134         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20135         the linux/fanotify.h header.
20136         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20137         HAVE_LINUX_FANOTIFY_H is defined.
20139 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20141         * benchtests/cos-inputs: New inputs.
20142         * benchtests/sin-inputs: Likewise.
20144         * benchtests/atan-inputs: New inputs. Fix name of multiple
20145         precision fallback inputs.
20147         * benchtests/atanh-inputs: New inputs.
20148         * benchtests/tanh-inputs: Likewise.
20150         * benchtests/acosh-inputs: New inputs.
20151         * benchtests/asinh-inputs: Likewise.
20153         * benchtests/cosh-inputs: New inputs.
20154         * benchtests/sinh-inputs: Likewise.
20156         * benchtests/acos-inputs: Add more inputs.
20157         * benchtests/asin-inputs: Likewise.
20159 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20161         [BZ #16375]
20162         * manual/arith.texi: Fix spelling.
20163         * manual/charset.texi: Likewise.
20164         * manual/errno.texi: Likewise.
20165         * manual/filesys.texi: Likewise.
20166         * manual/lang.texi: Likewise.
20167         * manual/llio.texi: Likewise.
20168         * manual/locale.texi: Likewise.
20169         * manual/message.texi: Likewise.
20170         * manual/resource.texi: Likewise.
20171         * manual/search.texi: Likewise.
20172         * manual/setjmp.texi: Likewise.
20173         * manual/stdio.texi: Likewise.
20174         * manual/string.texi: Likewise.
20175         * manual/sysinfo.texi: Likewise.
20176         * manual/time.texi: Likewise.
20178 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20180         * po/sl.po: New file.
20182 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20184         * .gitignore: Add core/.gdbinit/.gdb_history.
20186 2013-12-27  Allan McRae  <allan@archlinux.org>
20188         [BZ #16369]
20189         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20190         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20192 2013-12-24  Brooks Moses  <bmoses@google.com>
20194         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20195         all compilers that claim C++98 compliance, not just GCC.
20196         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20197         Likewise.
20199 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20201         * NEWS: Restore accidentally deleted bug-fix entries.
20203 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20204             Ondřej Bílka  <neleai@seznam.cz>
20206         [BZ #15073]
20207         * malloc/malloc.c (_int_free): Perform sanity check only if we
20208         have_lock.
20210 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20212         [BZ #12986]
20213         * manual/stdio.texi (String Input Conversions): Clarify that character
20214         classes are not supported.
20216 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20220 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20222         [BZ #16337]
20223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20224         Calculate results for small negative arguments directly rather
20225         than using reflection formula with special underflow handling.
20227         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20228         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20229         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20230         (fchflags): Likewise.
20231         (revoke): Likewise.
20232         (setlogin): Likewise.
20233         (sigaltstack): Likewise.
20234         (wait4): Likewise.
20235         (sigblock): Remove.
20236         (sigsetmask): Likewise.
20237         (wait3): Likewise.
20238         (waitpid): Likewise.
20239         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20240         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20241         file.
20242         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20243         * sysdeps/unix/bsd/Makefile: ... here.
20244         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20245         * sysdeps/unix/bsd/Versions: ... here.
20246         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20247         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20248         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20249         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20250         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20251         * sysdeps/unix/bsd/sigblock.c: ... here.
20252         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20253         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20254         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20255         * sysdeps/unix/bsd/sigvec.c: ... here.
20256         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20257         * sysdeps/unix/bsd/tcdrain.c: ... here.
20258         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20259         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20260         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20261         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20262         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20263         * sysdeps/unix/bsd/wait.c: ... here.
20264         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20265         * sysdeps/unix/bsd/wait3.c: ... here.
20266         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20267         * sysdeps/unix/bsd/waitpid.c: ... here.
20269 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20271         [BZ #16356]
20272         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20273         round-to-nearest for [!USE_AS_EXPM1L].
20274         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20275         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20276         more tests of exp and exp10.  Expect some exp10 tests to miss
20277         exceptions or fail in directed rounding modes.
20278         * math/auto-libm-test-out: Regenerated.
20279         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20280         (exp10_test_tonearest): New function.
20281         (exp10_towardzero_test_data): New array.
20282         (exp10_test_towardzero): New function.
20283         (exp10_downward_test_data): New array.
20284         (exp10_test_downward): New function.
20285         (exp10_upward_test_data): New array.
20286         (exp10_test_upward): New function.
20287         (main): Call the new functions.
20288         * sysdeps/i386/fpu/libm-test-ulps: Update.
20289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20291 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20293         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20294         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20295         * math/auto-libm-test-out: Regenerated.
20296         * math/libm-test.inc (acosh_test_data): Add more tests.
20297         (atanh_test_data): Likewise.
20298         (ceil_test_data): Likewise.
20299         (copysign_test_data): Likewise.
20300         * sysdeps/i386/fpu/libm-test-ulps: Update.
20301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303         * timezone/checktab.awk: Update from tzcode 2013i.
20304         * timezone/private.h: Likewise.
20305         * timezone/scheck.c: Likewise.
20306         * timezone/tzfile.h: Likewise.
20307         * timezone/tzselect.ksh: Likewise.
20308         * timezone/zdump.c: Likewise.
20309         * timezone/zic.c: Likewise.
20311         * math/auto-libm-test-in: Add tests of cpow.
20312         * math/auto-libm-test-out: Regenerated.
20313         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20314         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20315         mpc_cc_c.
20316         (func_calc_desc): Add mpc_cc_c union field.
20317         (test_functions): Add cpow.
20318         (special_fill_2pi): New function.
20319         (special_real_inputs): Add 2pi.
20320         (calc_generic_results): Handle mpc_cc_c.
20321         * sysdeps/i386/fpu/libm-test-ulps: Update.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20325         csqrt, ctan and ctanh.
20326         * math/auto-libm-test-out: Regenerated.
20327         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20328         (TEST_COND_x86): Likewise.
20329         (ccos_test_data): Use AUTO_TESTS_c_c.
20330         (ccosh_test_data): Likewise.
20331         (cexp_test_data): Likewise.
20332         (clog_test_data): Likewise.
20333         (csqrt_test_data): Likewise.
20334         (ctan_test_data): Likewise.
20335         (ctan_tonearest_test_data): Likewise.
20336         (ctan_towardzero_test_data): Likewise.
20337         (ctan_downward_test_data): Likewise.
20338         (ctan_upward_test_data): Likewise.
20339         (ctanh_test_data): Likewise.
20340         (ctanh_tonearest_test_data): Likewise.
20341         (ctanh_towardzero_test_data): Likewise.
20342         (ctanh_downward_test_data): Likewise.
20343         (ctanh_upward_test_data): Likewise.
20344         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20345         mpc_c_c.
20346         (func_calc_desc): Add mpc_c_c union field.
20347         (FUNC_mpc_c_c): New macro.
20348         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20349         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20350         ctanh.
20351         (special_fill_min_subnorm_p120): New function.
20352         (special_real_inputs): Add min_subnorm_p120.
20353         (calc_generic_results): Handle mpc_c_c.
20354         * sysdeps/i386/fpu/libm-test-ulps: Update.
20355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20357 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20359         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20360         (do_sin_slow): New functions.
20361         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20362         (cslow2, csloww1, csloww2): Use the new functions.
20364         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20365         Use M to change sign of result instead of X.  Assume X is
20366         positive.
20367         (csloww1): Likewise.
20368         (__sin): Adjust.
20369         (__cos): Adjust.
20371         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20372         arguments A and DA.
20373         (__sin): Adjust.
20374         (__cos): Likewise.
20376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20377         (__cos): Likewise.
20378         (sloww1): Don't adjust sign of DX.
20379         (csloww1): Likewise.
20380         (sloww2): Use X directly and don't adjust sign of DX.
20381         (csloww2): Likewise.
20383 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20385         * math/auto-libm-test-in: Add tests of cabs and carg.
20386         * math/auto-libm-test-out: Regenerated.
20387         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20388         (carg_test_data): Likewise.
20389         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20390         mpc_c_f.
20391         (func_calc_desc): Add mpc_c_f union field.
20392         (test_functions): Add cabs and carg.
20393         (calc_generic_results): Handle mpc_c_f.
20395         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20396         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20397         as a macro and a compat symbol.
20398         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20399         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20400         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20401         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20402         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20403         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20404         not use .hidden.
20405         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20406         Likewise.
20407         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20408         Likewise.
20409         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20410         Likewise.
20411         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20412         Likewise.
20413         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20414         Likewise.
20415         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20416         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20417         from GLIBC_2.3.2.
20419 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20423 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20425         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20426         trailing whitespace removed.
20427         * scripts/config.guess: Update to version 2013-11-29.
20428         * scripts/config.sub: Update to version 2013-10-01.
20430         * math/auto-libm-test-in: Add tests of sincos.
20431         * math/auto-libm-test-out: Regenerated.
20432         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20433         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20434         mpfr_f_11.
20435         (func_calc_desc): Add mpfr_f_11 union field.
20436         (test_functions): Add sincos.
20437         (calc_generic_results): Handle mpfr_f_11.
20438         * sysdeps/i386/fpu/libm-test-ulps: Update.
20439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20441 2013-12-19  Andreas Schwab  <schwab@suse.de>
20443         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20444         CALL_MCOUNT.
20445         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20446         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20447         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20449 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20451         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20452         * sysdeps/i386/fpu/libm-test-ulps: Update.
20453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20455         [BZ #16293]
20456         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20457         round-to-nearest mode when using frndint.
20458         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20459         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20460         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20461         Likewise.
20462         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20463         sinh test to fail.
20464         * math/auto-libm-test-out: Regenerated.
20465         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20466         (TEST_COND_x86): Likewise.
20467         (expm1_tonearest_test_data): New array.
20468         (expm1_test_tonearest): New function.
20469         (expm1_towardzero_test_data): New array.
20470         (expm1_test_towardzero): New function.
20471         (expm1_downward_test_data): New array.
20472         (expm1_test_downward): New function.
20473         (expm1_upward_test_data): New array.
20474         (expm1_test_upward): New function.
20475         (main): Run the new test functions.
20476         * sysdeps/i386/fpu/libm-test-ulps: Update.
20477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20479         * include/features.h: Update comment documenting feature test
20480         macros.  Mention _DEFAULT_SOURCE in comment.
20481         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20482         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20483         _BSD_SOURCE and _SVID_SOURCE.
20484         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20485         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20486         !_SVID_SOURCE]: Likewise.
20487         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20488         (__USE_POSIX_IMPLICITLY): Define.
20489         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20490         (_POSIX_SOURCE): Undefine and redefine.
20491         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20492         (_POSIX_C_SOURCE): Likewise.
20493         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20494         (Feature Test Macros): Update documentation of default features.
20496 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20498         * benchtests/Makefile: Add bench-strtok.
20499         * benchtests/bench-strtok.c: New file: strtok benchtest.
20501 2013-12-19  Allan McRae  <allan@archlinux.org>
20503         * manual/install.texi: Suppress menu for plain text output.
20504         * INSTALL: Regenerated.
20506 2013-12-18  Brooks Moses  <bmoses@google.com>
20508         [BZ #15846]
20509         * misc/getauxval.c: Include errno.h.
20510         (__getauxval): Set errno to ENOENT if the requested type is not
20511         found.
20512         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20513         don't declare with __attribute_const__.
20514         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20515         * manual/startup.texi: Document that getauxval sets errno.
20517 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20519         * math/auto-libm-test-in: Add tests of jn and yn.
20520         * math/auto-libm-test-out: Regenerated.
20521         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20522         (yn_test_data): Likewise.
20523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20524         mpfr_if_f.
20525         (func_calc_desc): Add mpfr_if_f union field.
20526         (FUNC_mpfr_if_f): New macro.
20527         (test_functions): Add jn and yn.
20528         (calc_generic_results): Assert type of second input for
20529         mpfr_ff_f.  Handle mpfr_if_f.
20530         (output_for_one_input_case): Disable all checking for arguments
20531         fitting floating-point types in case of an integer argument.
20532         * sysdeps/i386/fpu/libm-test-ulps: Update.
20533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20536         Don't expect fegetround reference in libm.so.
20538 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20540         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20541         $(config-cflags-nofma).
20543 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20545         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20546         * math/auto-libm-test-out: Regenerated.
20548         [BZ #16338]
20549         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20550         to determine exponent and adjust argument to have exponent of -1.
20551         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20552         log2.
20553         * math/auto-libm-test-out: Regenerated.
20554         * sysdeps/i386/fpu/libm-test-ulps: Update.
20555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20557 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20559         * manual/probes.texi: Remove cases when per-thread arenas are
20560         disabled.
20562 2013-12-18  Andreas Schwab  <schwab@suse.de>
20564         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20565         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20566         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20567         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20568         * sysdeps/i386/i686/multiarch/Makefile: Update.
20569         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20571 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20573         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20574         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20576 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20578         [BZ #15968]
20579         Support TZ transition times < 00:00:00.
20580         This is needed for version-3 tz-format files; it supports time
20581         stamps past 2037 for America/Godthab (the only entry in the tz
20582         database for which this change is relevant).
20583         * manual/time.texi (TZ Variable): Document transition times
20584         from -167:59:59 through -00:00:01.
20585         * time/tzset.c (tz_rule): Time of day is now signed.
20586         (__tzset_parse_tz): Parse negative time of day.
20588         Document TZ transition times >= 25:00:00.
20589         * manual/time.texi (TZ Variable): Document transition times from
20590         25:00:00 through 167:59:59.  These are already supported, and this
20591         support will help with version-3 tz-format files.
20593         * manual/time.texi (TZ Variable): Modernize North America example
20594         to reflect current (i.e., 2007-and-later) daylight saving rules.
20596         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20598 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20600         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20601         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20603         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20604         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20605         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20606         * sysdeps/unix/bsd/clock.c: Likewise.
20607         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20608         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20609         * sysdeps/unix/bsd/init-posix.c: Likewise.
20610         * sysdeps/unix/bsd/poll.c: Likewise.
20611         * sysdeps/unix/bsd/ptsname.c: Likewise.
20612         * sysdeps/unix/bsd/seekdir.c: Likewise.
20613         * sysdeps/unix/bsd/setegid.c: Likewise.
20614         * sysdeps/unix/bsd/seteuid.c: Likewise.
20615         * sysdeps/unix/bsd/setgid.c: Likewise.
20616         * sysdeps/unix/bsd/setrgid.c: Likewise.
20617         * sysdeps/unix/bsd/setruid.c: Likewise.
20618         * sysdeps/unix/bsd/setsid.c: Likewise.
20619         * sysdeps/unix/bsd/setuid.c: Likewise.
20620         * sysdeps/unix/bsd/sigaction.c: Likewise.
20621         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20622         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20623         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20624         * sysdeps/unix/bsd/telldir.c: Likewise.
20625         * sysdeps/unix/bsd/times.c: Likewise.
20626         * sysdeps/unix/bsd/usleep.c: Likewise.
20628         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20629         ($(objpfx)libbsd-compat.a): Remove rule.
20631         * include/features.h (__FAVOR_BSD): Do not define.
20632         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20633         features conflicting with POSIX.
20634         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20635         (_BSD_SOURCE): Remove description of not being a subset of other
20636         feature test macros.
20637         * manual/job.texi (getpgrp): Do not document BSD version.
20638         (getpgid): Do not document by reference to BSD getpgrp.
20639         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20640         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20641         * signal/signal.h [__FAVOR_BSD]: Likewise.
20642         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20643         instead of making contents conditional on [__FAVOR_BSD].
20644         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20646 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20648         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20650 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20652         [BZ #16314]
20653         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20654         values below 2**-450, not 2**-500.
20655         * math/auto-libm-test-in: Don't allow spurious underflow from
20656         hypot.
20657         * math/auto-libm-test-out: Regenerated.
20659         [BZ #16316]
20660         [BZ #16330]
20661         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20662         values of ha and hb and sort them after adjusting subnormal
20663         arguments.
20664         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20665         Likewise.
20666         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20667         values of ea and eb and sort them after adjusting subnormal
20668         arguments.
20669         * math/auto-libm-test-in: Do not expect some hypot tests of
20670         subnormals to fail.  Add more hypot tests.
20671         * math/auto-libm-test-out: Regenerated.
20673 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20675         [BZ #13304]
20676         * sysdeps/sh/s_fma.c: New file.
20677         * sysdeps/sh/s_fmaf.c: New file.
20678         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20679         version.
20680         * sysdeps/sh/Implies: Add sh/soft-fp.
20682 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20684         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20685         level of indirection to members `objname', `errstring', `malloced'.
20686         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20687         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20688         it as the __longjmp argument (just pass 1 instead).
20689         (_dl_catch_error): Initialize C with argument pointers and address of
20690         volatile local ERRCODE rather than copying values out of C at return.
20692 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20694         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20695         * math/auto-libm-test-out: Regenerated.
20696         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20697         (hypot_test_data): Likewise.
20698         (pow_test_data): Likewise.
20699         (pow_tonearest_test_data): Likewise.
20700         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20701         mpfr_ff_f.
20702         (func_calc_desc): Add mpfr_ff_f union field.
20703         (FUNC_mpfr_ff_f): New macro.
20704         (test_functions): Add atan2, hypot and pow.
20705         (special_fill_min): New function.
20706         (special_fill_minus_min): Likewise.
20707         (special_fill_min_subnorm): Likewise.
20708         (special_fill_minus_min_subnorm): Likewise.
20709         (special_real_inputs): Add min, -min, min_subnorm and
20710         -min_subnorm.
20711         (calc_generic_results): Handle mpfr_ff_f.
20712         * sysdeps/i386/fpu/libm-test-ulps: Update.
20713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20715 2013-12-16  Will Newton  <will.newton@linaro.org>
20717         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20718         (Aligned Memory Blocks): Add documentation for aligned_alloc
20719         and suggest it as an alternative to posix_memalign.
20720         (Hooks for Malloc): Document __memalign_hook is also called
20721         for aligned_alloc.  (Summary of Malloc): Add summary for
20722         aligned alloc.  Document __memalign_hook is also called
20723         for aligned_alloc.
20725 2013-12-16  Will Newton  <will.newton@linaro.org>
20727         * manual/memory.texi (Malloc Examples): Clarify default
20728         alignment documentation.  Suggest posix_memalign rather
20729         than memalign or valloc.
20730         (Aligned Memory Blocks): Remove suggestion to use memalign
20731         or valloc.  Remove obsolete comment about BSD.
20732         Document memalign errno values and mark the function obsolete.
20733         Document posix_memalign returned error codes.  Mark valloc
20734         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20735         called for posix_memalign and valloc.
20736         (Summary of Malloc): Add posix_memalign to function summary.
20737         __memalign_hook is also called for posix_memalign and valloc.
20739 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20741         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20742         TAYLOR_SIN.
20743         (__sin): Adjust.
20744         (__cos): Likewise.
20745         (sloww): Use mynumber union.  Expand ternary operator into
20746         if-else statements.
20747         (cslow): use mynumber union.
20749 2013-12-16  Allan McRae  <allan@archlinux.org>
20751         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20752         * configure: Regenerated.
20754         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20756         [BZ #14120]
20757         * configure.ac: Added --enable-maintainer-mode. Check for
20758         autoconf when enabled.
20759         * configure: Regenerated.
20761         * nscd/nscd.service: New file.
20762         * nscd/nscd.tmpfiles: New file.
20764 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20766         [BZ #12100]
20767         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20768         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20769         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20770         (strstr): Add __strstr_sse2_unaligned ifunc.
20771         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20772         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20773         (strcasestr): Remove __strcasestr_sse42 ifunc.
20774         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20775         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20776         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20778 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20780         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20781         * sysdeps/sh/bits/fenv.h: ... here.
20782         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20784 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20786         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20788         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20789         hypotf multiarch implementations.
20790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20793         multiarch hypot for PPC64.
20794         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20795         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20796         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20797         multiarch hypotf for PPC64.
20799         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20800         modff multiarch implementations.
20801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20804         multiarch modf for PPC64.
20805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20808         multiarch modff for PPC64.
20810         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20811         and logl multiarch implementations.
20812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20815         multiarch logb for PPC64.
20816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20819         multiarch logb for PPC64.
20820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20823         multiarch logb for PPC64.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20826         isinff multiarch implementation.
20827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20828         file.
20829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20831         multiarch isinf for PPC64.
20832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20833         file.
20834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20835         multiarch isinff for PPC64.
20837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20838         finitef multiarch implementation.
20839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20840         file.
20841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20843         multiarch finite for PPC64.
20844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20845         file.
20846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20847         multiarch finitef for PPC64.
20849         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20850         lrint multiarch implementation.
20851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20852         file.
20853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20855         multiarch llrint for PPC64.
20856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20857         multiarch lrint for PPC64.
20859         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20860         copysignf multiarch implementation.
20861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20862         file.
20863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20864         file.
20865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20866         multiarch copysign for PPC64.
20867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20868         multiarch copysignf for PPC64.
20870         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20871         multiarch implementation.
20872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20873         file.
20874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20875         file.
20876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20877         file.
20878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20879         file.
20880         multiarch llround for PPC64.
20881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20882         multiarch trunc for PPC64.
20883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20884         multiarch truncf for PPC64.
20886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20887         multiarch implementation.
20888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20889         file.
20890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20891         file.
20892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20893         file.
20894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20895         file.
20896         multiarch llround for PPC64.
20897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20898         multiarch round for PPC64.
20899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20900         multiarch roundf for PPC64.
20902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20903         multiarch implementation.
20904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20905         file.
20906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20907         file.
20908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20909         file.
20910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20911         file.
20912         multiarch llround for PPC64.
20913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20914         multiarch floor for PPC64.
20915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20916         multiarch floorf for PPC64.
20918         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20919         multiarch implementation.
20920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20921         file.
20922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20923         file.
20924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20925         file.
20926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20927         file.
20928         multiarch llround for PPC64.
20929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20930         multiarch ceil for PPC64.
20931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20932         multiarch ceilf for PPC64.
20934         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20935         multiarch implementation.
20936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20937         file.
20938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20939         file.
20940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20941         file.
20942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20943         multiarch llround for PPC64.
20944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20945         multiarch lround for PPC64.
20947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20948         multiarch implementation.
20949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20952         file.
20953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20956         multiarch isnan for PPC64.
20957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20958         multiarch isnanf for PPC64.
20960         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20961         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20962         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20963         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20964         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20967         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20968         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20969         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20970         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20972         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20973         multiarch implementations.
20974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20975         (__libc_ifunc_impl_list): Likewise.
20976         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20977         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20978         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20979         multiarch stpcpy for PPC64.
20981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20982         multiarch implementations.
20983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20984         (__libc_ifunc_impl_list): Likewise.
20985         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20986         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20987         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20988         multiarch strcpy for PPC64.
20990         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20991         redefine function name.
20992         (_wordcopy_fwd_dest_aligned): Likewise.
20993         (_wordcopy_bwd_aligned): Likewise.
20994         (_wordcopy_bwd_dest_aligned): Likewise.
20995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20996         multiarch implementations.
20997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20998         (__libc_ifunc_impl_list): Likewise.
20999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21000         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21001         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21002         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21003         multiarch wcscpy for PPC64.
21005         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21006         multiarch implementations.
21007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21008         (__libc_ifunc_impl_list): Likewise.
21009         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21010         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21011         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21012         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21013         multiarch wcscpy for PPC64.
21015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21016         multiarch implementations.
21017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21018         (__libc_ifunc_impl_list): Likewise.
21019         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21020         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21021         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21022         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21023         multiarch wcsrchr for PPC64.
21025         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21026         multiarch implementations.
21027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21028         (__libc_ifunc_impl_list): Likewise.
21029         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21030         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21031         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21032         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21033         multiarch wcschr for PPC64.
21035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21036         multiarch implementations.
21037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21038         (__libc_ifunc_impl_list): Likewise.
21039         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21040         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21041         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21042         multiarch strchrnul for PPC64.
21044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21045         implementations.
21046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21047         (__libc_ifunc_impl_list): Likewise.
21048         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21049         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21050         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21051         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21052         strchr for PPC64.
21054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21055         implementations.
21056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21057         (__libc_ifunc_impl_list): Likewise.
21058         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21059         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21060         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21061         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21062         strncmp for PPC64.
21064         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21065         multiarch implementations.
21066         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21067         (__libc_ifunc_impl_list): Likewise.
21068         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21069         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21070         strncasecmp for PPC64.
21071         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21072         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21073         multiarch strncasecmp_l for PPC64.
21075         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21076         multiarch implementations.
21077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21078         (__libc_ifunc_impl_list): Likewise.
21079         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21081         multiarch strcasecmp for PPC64.
21082         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21083         file.
21084         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21085         multiarch strcasecmp_l for PPC64.
21087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21088         implementations.
21089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21090         (__libc_ifunc_impl_list): Likewise.
21091         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21092         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21093         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21094         strnlen for PPC64.
21096         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21097         implementations.
21098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21099         (__libc_ifunc_impl_list): Likewise.
21100         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21101         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21102         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21103         strlen for PPC64.
21105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21106         implementations.
21107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21108         (__libc_ifunc_impl_list): Likewise.
21109         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21110         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21111         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21112         rawmemrchr for PPC64.
21114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21115         implementation.
21116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21117         (__libc_ifunc_impl_list): Likewise.
21118         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21119         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21120         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21121         memrchr for PPC64.
21123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21124         implementation.
21125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21126         (__libc_ifunc_impl_list): Likewise.
21127         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21128         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21129         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21130         memchr for PPC64.
21132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21133         implementation.
21134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21135         (__libc_ifunc_impl_list): Likewise.
21136         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21137         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21138         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21139         mempcpy for PPC64.
21141         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21142         avoid cretion of __bzero symbol.
21143         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21144         Likewise.
21145         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21146         Likewise.
21147         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21148         Likewise.
21149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21150         multiarch implementations.
21151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21152         (__libc_ifunc_impl_list): Likewise.
21153         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21154         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21155         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21156         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21157         bzero for PPC32.
21158         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21159         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21160         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21162         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21163         memset for PPC64.
21164         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21166         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21168         implementations.
21169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21170         (__libc_ifunc_impl_list): Likewise.
21171         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21172         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21173         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21174         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21175         memcmp for PPC64.
21177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21178         multiarch for POWER/PPC64.
21179         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21180         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21181         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21182         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21183         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21184         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21185         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21186         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21187         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21188         memcpy for PPC64.
21190         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21191         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21192         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21193         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21194         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21195         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21196         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21197         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21198         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21199         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21200         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21201         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21202         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21203         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21204         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21213 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21215         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21217 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21219         * benchtests/Makefile (bench): Add exp2 and log2.
21220         (LDLIBS-bench-exp2): Add -lm.
21221         (LDLIBS-bench-log2): Likewise.
21222         * benchtests/exp2-inputs: New inputs file.
21223         * benchtests/log2-inputs: New inputs file.
21224         * benchtests/log-inputs: Add new inputs.
21225         * benchtests/tan-inputs: Likewise.
21227 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21229         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21230         definition...
21231         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21232         (csloww2): ... from here.
21234         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21235         instead of structures.
21236         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21237         (POLYNOMIAL): Likewise.
21238         (TAYLOR_SLOW): Likewise.
21239         (__sin): Likewise.
21240         (__cos): Likewise.
21241         (slow1): Likewise.
21242         (slow2): Likewise.
21243         (sloww): Likewise.
21244         (sloww1); Likewise.
21245         (sloww2): Likewise.
21246         (bsloww1): Likewise.
21247         (bsloww2): Likewise.
21248         (cslow2): Likewise.
21249         (csloww): Likewise.
21250         (csloww1): Likewise.
21251         (csloww2): Likewise.
21253 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21255         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21256         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21257         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21258         * malloc/hooks.c (realloc_check): Likewise.
21260         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21261         * malloc/arena.c: Remove PER_THREAD conditional.
21262         [!PER_THREAD]: Remove code.
21263         (ptmalloc_unlock_all2): Likewise.
21264         (ptmalloc_init): Likewise.
21265         (_int_new_arena): Likewise.
21266         (arena_get2): Likewise.
21267         * malloc/hooks.c (__malloc_get_state): Likewise.
21268         (__malloc_set_state): Likewise.
21269         * malloc/malloc.c: Likewise.
21270         (struct malloc_state): Likewise.
21271         (struct malloc_par): Likewise.
21272         (__libc_realloc): Likewise.
21273         (__libc_mallopt): Likewise.
21275 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21277         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21279 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21281         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21282         macro to a function.  Check for zero perturb_byte.
21283         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21285         * malloc/malloc.c: (force_reg): Remove.
21286         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21287         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21288         force_reg by atomic_forced_read.
21289         * malloc/arena.c (ptmalloc_init): Likewise.
21290         * malloc/hooks.c (top_check): Likewise.
21292 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21296 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21300 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21302         * math/auto-libm-test-in: Add tests of lgamma.
21303         * math/auto-libm-test-out: Regenerated.
21304         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21305         (M_LOG_2_SQRT_PIl): Likewise.
21306         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21308         mpfr_f_f1.
21309         (func_calc_desc): Add mpfr_f_f1 union field.
21310         (ARGS1): New macro.
21311         (ARGS2): Likewise.
21312         (ARGS3): Likewise.
21313         (ARGS4): Likewise.
21314         (RET1): Likewise.
21315         (RET2): Likewise.
21316         (CALC): Likewise.
21317         (FUNC): Likewise.
21318         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21319         (test_functions): Add lgamma.
21320         (calc_generic_results): Handle mpfr_f_f1.
21321         * sysdeps/i386/fpu/libm-test-ulps: Update.
21322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21324 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21326         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21327         __mpn_add_n for PowerPC64/POWER7.
21328         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21329         __mpn_sub_n for PowerPC64/POWER7.
21331         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21332         __mpn_addmul_1 for PowerPC64.
21333         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21334         __mpn_submul_1 for PowerPC64.
21335         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21336         for PowerPC64.
21337         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21338         for PowerPC64.
21340 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21342         [BZ #15089]
21343         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21345 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21347         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21349         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21350         add multiarch folders.
21351         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21352         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21353         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21354         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21355         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21356         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21357         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21358         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21359         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21360         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21361         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21370         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21372         New file.
21373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21374         New file.
21375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21376         multiarch __ieee754_hypot for PowerPC32.
21377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21378         New file.
21379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21380         New file.
21381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21382         multiarch __ieee754_hypotf for PowerPC32.
21384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21385         long_double_symbol only if __logbl is defined.
21386         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21387         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21388         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21389         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21391         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21392         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21393         path for implementation.
21394         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21395         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21397         logb, and logbl multiarch implementations for PowerPC32.
21398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21399         file.
21400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21401         file.
21402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21403         multiarch logb for PowerPC32.
21404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21405         file.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21407         file.
21408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21409         multiarch logbf for PowerPC32.
21410         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21412         file.
21413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21414         multiarch logbl implementation for PowerPC32.
21416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21417         and modff multiarch implementations.
21418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21419         New file.
21420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21421         New file.
21422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21423         multiarch modf for PowerPC32.
21424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21425         New file.
21426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21427         New file.
21428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21429         multiarch modff for PowerPC32.
21431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21432         and lrintf multiarch implementations.
21433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21434         New file.
21435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21436         New file.
21437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21438         multiarch lrint for PowerPC32.
21439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21440         file: multiarch lrintf for PowerPC32.
21442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21443         and lroundf multiarch implementations.
21444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21445         New file.
21446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21447         New file.
21448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21449         New file.
21450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21451         multiarch lround for PowerPC32.
21452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21453         file: multiarch lroundf for PowerPC32.
21455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21456         copysign and copysignf multiarch implementations.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21458         New file.
21459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21460         New file.
21461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21462         file: multiarch copysign for PowerPC32.
21463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21464         file: multiarch copysignf for PowerPC32.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21467         and truncf multiarch implementations.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21469         New file.
21470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21471         file.
21472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21473         multiarch trunc for PowerPC32.
21474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21475         New file.
21476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21477         New file.
21478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21479         multiarch truncf for PowerPC32.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21482         and roundf multiarch implementations.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21484         New file.
21485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21486         file.
21487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21488         multiarch round for PowerPC32.
21489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21490         New file.
21491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21492         New file.
21493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21494         multiarch roundf for PowerPC32.
21496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21497         and floorf multiarch implementations.
21498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21499         New file.
21500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21501         file.
21502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21503         multiarch floor for PowerPC32.
21504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21505         New file.
21506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21507         New file.
21508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21509         multiarch floorf for PowerPC32.
21511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21512         and ceilf multiarch implementations.
21513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21514         New file.
21515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21516         file.
21517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21518         multiarch ceil for PowerPC32.
21519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21520         New file.
21521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21522         file.
21523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21524         multiarch ceilf for PowerPC32.
21526         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21527         is defined.
21528         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21529         FINITEF is defined.
21530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21531         and finitef multiarch implementations.
21532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21533         New file.
21534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21535         file.
21536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21537         multiarch finite for PowerPC32.
21538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21539         New file.
21540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21541         file: multiarch finitef for PowerPC32.
21543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21544         and isinff multiarch implementations.
21545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21546         file.
21547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21548         file.
21549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21550         multiarch isinf for PowerPC32.
21551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21552         New file.
21553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21554         multiarch isinff for PowerPC32.
21556         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21557         alias when __isnan is defined.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21559         and isnanf multiarch implementations.
21560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21561         file.
21562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21563         file.
21564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21565         file.
21566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21567         file.
21568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21569         multiarch isnan for PowerPC32.
21570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21571         New file.
21572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21573         New file.
21574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21575         multiarch isnanf for PowerPC32.
21577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21578         and sqrtf multiarch implementations.
21579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21580         file.
21581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21582         file.
21583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21584         multiarch sqrt for PowerPC32.
21585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21586         file.
21587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21588         file.
21589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21590         multiarch sqrtf for PowerPC32.
21592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21593         and llroundf multiarch implementations.
21594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21595         New file.
21596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21597         New file.
21598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21599         New file.
21600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21601         file: multiarch llround for PowerPC32.
21602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21603         file: multiarch llroundf for PowerPC32.
21605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21606         multiarch PowerPC32 fpu implementations.
21607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21608         New file.
21609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21610         New file.
21611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21612         multiarch llrint for PowerPC32.
21613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21614         New file.
21615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21616         New file.
21617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21618         file.
21620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21622         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21623         file.
21624         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21625         file.
21626         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21627         file.
21628         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21629         multiarch wordcopy for PPC32.
21630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21631         wordcopy objects.
21632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21633         (__libc_ifunc_impl_list): Likewise.
21634         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21635         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21636         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21637         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21638         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21639         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21641         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21643         file.
21644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21645         file.
21646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21647         file.
21648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21649         multiarch wcscpy for PPC32.
21650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21651         multiarch objects.
21652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21653         (__libc_ifunc_impl_list): Likewise.
21654         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21655         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21656         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21657         sysdeps/powerpc/power6/wcscpy.c.
21659         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21661         file.
21662         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21663         file.
21664         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21665         file.
21666         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21667         multiarch wcsrchr for PPC32.
21668         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21669         multiarch objects.
21670         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21671         (__libc_ifunc_impl_list): Likewise.
21672         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21673         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21674         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21675         sysdeps/powerpc/power6/wcsrchr.c.
21677         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21678         file.
21679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21680         file.
21681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21682         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21683         multiarch wcschr for PPc32.
21684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21685         multiarch objects.
21686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21687         (__libc_ifunc_impl_list): Likewise.
21688         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21689         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21690         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21691         sysdeps/powerpc/power6/wcschr.c.
21693         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21695         file.
21696         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21697         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21698         file: multiarch strchr for PPC32.
21699         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21700         multiarch objects.
21701         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21702         (__libc_ifunc_impl_list): Likewise.
21704         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21705         name.
21706         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21707         file.
21708         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21709         file.
21710         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21711         multiarch strchrnul for PPC32.
21712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21713         multiarch objects.
21714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21715         (__libc_ifunc_impl_list): Likewise.
21717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21718         file.
21719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21720         multiarch strncasecmp for PPC32.
21721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21722         file.
21723         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21724         multiarch strncasecmp_l for PPC32.
21725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21726         strncasecmp multiarch objects.
21727         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21728         (__libc_ifunc_impl_list): Likewise.
21730         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21731         file.
21732         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21733         multiarch strncasecmp for PPC32.
21734         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21735         New file.
21736         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21737         multiarch strcasecmp_l for PPC32.
21738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21739         multiarch objects.
21740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21741         (__libc_ifunc_impl_list): Likewise.
21743         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21744         file.
21745         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21746         file.
21747         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21748         multiarch strncmp for PPC32.
21749         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21750         multiarch objects.
21751         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21752         (__libc_ifunc_impl_list): Likewise.
21754         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21755         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21756         file.
21757         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21758         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21760         multiarch objects.
21761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21762         (__libc_ifunc_impl_list): Likewise.
21764         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21765         file.
21766         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21767         file.
21768         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21770         multiarch objects.
21771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21772         (__libc_ifunc_impl_list): Likewise.
21774         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21775         file.
21776         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21777         file.
21778         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21779         multiarch rawmemchr for PPC32.
21780         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21781         multiarch objects.
21782         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21783         (__libc_ifunc_impl_list): Likewise.
21785         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21786         file.
21787         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21788         file.
21789         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21790         file: memrchr multiarch for PPC32.
21791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21792         multiarch objects.
21793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21794         (__libc_ifunc_impl_list): Likewise.
21796         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21797         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21798         file.
21799         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21801         multiarch memchr for PPC32.
21802         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21803         multiarch objects.
21804         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21805         (__libc_ifunc_impl_list): Likewise.
21807         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21808         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21809         file.
21810         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21811         file.
21812         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21813         file: multiarch mempcpy for PPC32.
21814         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21815         multiarch objects.
21816         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21817         (__libc_ifunc_impl_list): Likewise.
21819         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21820         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21821         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21822         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21823         multiarch bzero for PPC32.
21824         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21825         file.
21826         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21827         file.
21828         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21829         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21830         file: multiarch memset for PPC32.
21831         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21833         memset multiarch objects.
21834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21835         (__libc_ifunc_impl_list): Likewise.
21837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21838         file.
21839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21840         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21841         memcmp for PPC32.
21842         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21843         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21844         multiarch objects.
21845         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21846         (__libc_ifunc_impl_list): Likewise.
21848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21851         file.
21852         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21853         file.
21854         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21855         file.
21856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21857         multiarch memcpy for PPC32.
21858         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21859         multiarch objects.
21860         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21861         (__libc_ifunc_impl_list): Likewise.
21863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21864         support multiarch for POWER/PPC32.
21865         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21866         Likewise.
21867         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21869         Implies file to make multiarch folder appers before the fpu and
21870         default folder for power4 configuration.
21872 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21874         * scripts/bench.pl: Append volatile keyword to type.
21876 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21878         * sysdeps/sh/sotruss-lib.c: New file.
21879         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21881 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21885 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21887         [BZ #6810]
21888         * math/w_tgamma.c: Include <errno.h>.
21889         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21890         * math/w_tgammaf.c: Include <errno.h>.
21891         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21892         * math/w_tgammal.c: Include <errno.h>.
21893         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21894         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21895         underflow.  Add more tgamma tests.
21896         * math/auto-libm-test-out: Regenerated.
21897         * sysdeps/i386/fpu/libm-test-ulps: Update.
21898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21900         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21901         sin, sinh, tan, tanh, tgamma, y0 and y1.
21902         * math/auto-libm-test-out: Regenerated.
21903         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21904         (TEST_COND_x86): Likewise.
21905         (M_E2l): Remove macro.
21906         (M_E3l): Likewise.
21907         (M_2_SQRT_PIl): Likewise.
21908         (M_SQRT_PIl): Likewise.
21909         (M_1_DIV_El): Likewise.
21910         (log_test_data): Use AUTO_TESTS_f_f.
21911         (log10_test_data): Likewise.
21912         (log1p_test_data): Likewise.
21913         (log2_test_data): Likewise.
21914         (sin_test_data): Likewise.
21915         (sin_tonearest_test_data): Likewise.
21916         (sin_towardzero_test_data): Likewise.
21917         (sin_downward_test_data): Likewise.
21918         (sin_upward_test_data): Likewise.
21919         (sinh_test_data): Likewise.
21920         (sinh_tonearest_test_data): Likewise.
21921         (sinh_towardzero_test_data): Likewise.
21922         (sinh_downward_test_data): Likewise.
21923         (sinh_upward_test_data): Likewise.
21924         (tan_test_data): Likewise.
21925         (tan_tonearest_test_data): Likewise.
21926         (tan_towardzero_test_data): Likewise.
21927         (tan_downward_test_data): Likewise.
21928         (tan_upward_test_data): Likewise.
21929         (tanh_test_data): Likewise.
21930         (tgamma_test_data): Likewise.
21931         (y0_test_data): Likewise.
21932         (y1_test_data): Likewise.
21933         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21934         (special_real_inputs): Add pi/4.
21935         * sysdeps/i386/fpu/libm-test-ulps: Update.
21936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21938 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21940         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21941         "longjmp_target" static probes.
21942         (__longjmp): Rename to __longjmp_symbol.
21943         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21944         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21945         on which longjmp to generate.
21946         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21947         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21948         probe.
21949         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21950         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21951         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21952         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21953         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21954         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21956         __longjmp_symbol based on which __longjmp to generate.
21957         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21958         probe.
21959         (setjmp): Rename to setjmp_symbol.
21960         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21961         (_setjmp): Rename to _setjmp_symbol.
21962         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21963         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21964         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21965         which setjmp to generate.
21966         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21967         "longjmp_target" static probes.
21969 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21971         * benchtests/README: Add note about output arguments.
21972         * benchtests/bench-sincos.c: Remove file.
21973         * benchtests/sincos-inputs: New file.
21974         * scripts/bench.pl: Identify output arguments and define
21975         static variables for them.
21977         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21979         [BZ #15941]
21980         * Makefile (INSTALL): Add install-plain.texi as the primary
21981         dependency.
21982         * manual/install-plain.texi: New file.
21983         * manual/install.texi: Include node directive only for
21984         non-plaintext output.
21986 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21988         * stdlib/longlong.h: Update from GCC.
21990         [BZ #6807]
21991         [BZ #15901]
21992         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21993         * math/w_j0f.c (y0f): Likewise.
21994         * math/w_j0l.c (__y0l): Likewise.
21995         * math/w_j1.c (y1): Likewise.
21996         * math/w_j1f.c (y1f): Likewise.
21997         * math/w_j1l.c (__y1l): Likewise
21998         * math/w_jn.c (yn): Likewise.
21999         * math/w_jnf.c (ynf): Likewise.
22000         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22001         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
22002         value for Bessel function domain errors outside _SVID_ mode.
22003         Adjust sign of return value for yn (negative integer, 0).
22004         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22005         by zero in return for negative x and set sign appropriately for
22006         negative n.
22007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22008         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22009         * math/libm-test.inc (y0_test_data): Add more tests and adjust
22010         expectations in error cases.
22011         (y1_test_data): Likewise.
22012         (yn_test_data): Likewise.
22013         * sysdeps/i386/fpu/libm-test-ulps: Update.
22014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22016 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22018         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22019         "64" to "64-v1".  Add "64-v2".
22020         (abi-64-options): Rename to ...
22021         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
22022         (abi-64-condition): Rename to ...
22023         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
22024         (abi-64-ld-soname): Rename to ...
22025         (abi-64-v1-ld-soname): ... this.
22026         (abi-64-v2-options): Define.
22027         (abi-64-v2-condition): Likewise.
22028         (abi-64-v2-ld-soname): Likewise.
22029         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22030         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22035 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22036             Alan Modra  <amodra@gmail.com>
22038         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22039         New versions for use with the ELFv2 ABI.
22040         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22041         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22042         declaration.
22043         (struct La_ppc64v2_retval): Likewise.
22044         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22045         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22046         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22047         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22048         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22049         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22050         Do not save or restore CR.
22051         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22052         (_dl_profile_resolve): Do no save or restore CR.  Support extended
22053         return values for ELFv2 ABI.  Fix location of FPR return registers.
22054         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22055         updated values for _CALL_ELF == 2.
22056         (La_regs, La_retval, int_retval): Likewise.
22058 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22060         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22061         (FRAME_MIN_SIZE_PARM): Likewise.
22062         (FRAME_BACKCHAIN): Likewise.
22063         (FRAME_CR_SAVE): Likewise.
22064         (FRAME_LR_SAVE): Likewise.
22065         (FRAME_TOC_SAVE): Likewise.
22066         (FRAME_PARM_SAVE): Likewise.
22067         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22068         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22069         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22070         (call_mcount_parm_offset): New macro.
22071         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22072         (PROF): Use symbolic stack frame offsets.
22073         (TAIL_CALL_SYSCALL_ERROR): Likewise.
22074         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22075         Redefine in terms of FRAME_MIN_SIZE.
22076         (_dl_runtime_resolve): Use symbolic stack frame offsets.
22077         (_dl_profile_resolve): Likewise.  Update comment.
22078         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22079         symbols stack frame offsets.
22080         (__sigsetjmp): Likewise.
22081         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22082         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22083         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22084         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22087         (FRAME_BACKCHAIN): Remove.
22088         (FRAME_CR_SAVE): Likewise.
22089         (FRAME_LR_SAVE): Likewise.
22090         (FRAME_COMPILER_DW): Likewise.
22091         (FRAME_LINKER_DW): Likewise.
22092         (FRAME_TOC_SAVE): Likewise.
22093         (FRAME_PARM_SAVE): Likewise.
22094         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22095         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22096         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22098         (CHECK_SP): Use symbolic stack frame offsets.
22099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22100         zone" instead of caller's parameter save area for temp storage.
22101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22102         Likewise.  Also, use symbolic stack frame offsets.
22103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22104         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22105         our own stack frame instead of the caller's.
22106         (__socket): Use symbolic stack frame offsets.
22108 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22109             Alan Modra  <amodra@gmail.com>
22111         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22112         Define.
22113         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22114         (PPC64_LOCAL_ENTRY_OFFSET): Define.
22115         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22116         New function.
22117         (elf_machine_fixup_plt): Call it.
22118         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
22119         reloc arguments.
22120         (elf_machine_rela): Update call to elf_machine_plt_conflict.
22121         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22122         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
22123         r2 before calling target.
22125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22126             Alan Modra  <amodra@gmail.com>
22128         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22129         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22130         versions of macros to support ELFv2 ABI.
22131         (LOCALENTRY): New macro.
22132         (ENTRY, EALIGN): Use it.
22133         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22134         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22135         fall through into ENTRY entry point.
22136         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22137         Only define if _CALL_ELF != 2.
22139         (elf_machine_matches_host): Verify ABI version matches.
22140         (RTLD_START): Use LOCALENTRY.
22141         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22142         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22143         (PLT_ENTRY_WORDS): New macro.
22144         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22145         (elf_machine_runtime_setup): Support ELFv2 ABI.
22146         (elf_machine_fixup_plt): Likewise.
22147         (elf_machine_plt_conflict): Likewise.
22148         (resolve_ifunc): Likewise.
22149         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22150         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22151         Likewise.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22153         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22155         (makecontext): Support ELFv2 ABI.
22156         * elf/elf.h (EF_PPC64_ABI): Define.
22158 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22160         * sysdeps/powerpc/powerpc64/sysdep.h
22161         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22162         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22163         (ENTRY) [ASSEMBLER]: ... but instead here ...
22164         (EALIGN) [ASSEMBLER]: ... and here.
22165         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22166         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22167         (ENTRY_2) [!ASSEMBLER]: Use it.
22168         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22169         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22170         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22171         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22172         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22174         Use PPC64_LOAD_FUNCPTR.
22176         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22178 2013-12-04  Alan Modra  <amodra@gmail.com>
22180         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22181         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22182         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22183         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22186         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22187         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22188         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22189         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22190         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22192 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22195         (__makecontext): Fix incorrect CFI when backtracing out of
22196         context created via makecontext.
22197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22198         (__setcontext): Fix incorrect CFI during switch to new context.
22199         (__novec_setcontext): Likewise.
22201 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22203         [BZ #4772]
22204         * time/strptime_l.c (__strptime_internal): Allow modifiers
22205         in strptime.
22206         * time/tst-strptime.c (day_tests): Add testcase.
22208 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22210         * scripts/bench.pl: Skip over blank lines.
22212 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22214         [BZ #926]
22215         * manual/time.texi (Calendar Time): Clarify what timezone functions
22216         use.
22218 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22222 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22224         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22225         implementation.
22226         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22227         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22228         * debug/memset_chk.c (__memset_chk): Likewise.
22229         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22230         * debug/strncpy_chk.c: Likewise.
22232 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22234         [BZ #15268]
22235         [BZ #15425]
22236         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22237         (__ieee754_exp): For possibly underflowing results, check size of
22238         result and force underflow exception if required.
22239         * math/auto-libm-test-in: Add more tests of exp.
22240         * math/auto-libm-test-out: Regenerated.
22241         * sysdeps/i386/fpu/libm-test-ulps: Update.
22242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22244         [BZ #16283]
22245         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22246         * math/w_exp2f.c (__exp2f): Likewise.
22247         * math/w_exp2l.c (__exp2l): Likewise.
22248         * math/auto-libm-test-in: Do not allow missing errno on exp2
22249         underflow.
22250         * math/auto-libm-test-out: Regenerated.
22252 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22254         [BZ #16274]
22255         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22256         handle filename validation.
22257         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22258         (do_open): Delete.
22260 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22262         [BZ #6786]
22263         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22264         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22265         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22266         <float.h>.
22267         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22268         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22269         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22271         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22272         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22273         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22274         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22275         Add more erfc tests.
22276         * math/auto-libm-test-out: Regenerated.
22277         * sysdeps/i386/fpu/libm-test-ulps: Update.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22280         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22281         exp2, expm1, j0 and j1.
22282         * math/auto-libm-test-out: Regenerated.
22283         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22284         (erfc_test_data): Likewise.
22285         (exp_test_data): Likewise.
22286         (exp_tonearest_test_data): Likewise.
22287         (exp_towardzero_test_data): Likewise.
22288         (exp_downward_test_data): Likewise.
22289         (exp_upward_test_data): Likewise.
22290         (exp10_test_data): Likewise.
22291         (exp2_test_data): Likewise.
22292         (expm1_test_data): Likewise.
22293         (j0_test_data): Likewise.
22294         (j1_test_data): Likewise.
22295         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22296         (input_flag_type): Add flag_xfail_rounding.
22297         (input_flags): Add xfail-rounding.
22298         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22299         (output_for_one_input_case): Handle flag_xfail_rounding.
22300         * sysdeps/i386/fpu/libm-test-ulps: Update.
22301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22303 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22305         [BZ #16289]
22306         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22307         division by 0.
22309 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22311         [BZ #16195]
22312         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22313         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22314         (STAP_PROBE0): New macro.
22315         (STAP_PROBE1): Likewise.
22316         (STAP_PROBE2): Likewise.
22317         (STAP_PROBE3): Likewise.
22318         (STAP_PROBE4): Likewise.
22320 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22322         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22324 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22326         * benchtests/Makefile (bench): Add sqrt.
22327         (LDLIBS-bench-sqrt): New.
22328         * benchtests/sqrt-input: New.
22330 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22332         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22333         (GAIH_EAI): Likewise.
22334         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22335         (gaih_inet): Likewise.
22336         (getaddrinfo): Don't use GAIH_EAI.
22338         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22339         (struct gaih): Remove definition.
22341 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22343         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22344         Use HERRNOP directly.
22346 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22350 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22352         * math/gen-auto-libm-tests.c (test_functions): Add more
22353         single-argument functions.
22354         (special_fill_pi_2): New function.
22355         (special_fill_minus_pi_2): Likewise.
22356         (special_fill_pi_6): Likewise.
22357         (special_fill_minus_pi_6): Likewise.
22358         (special_fill_pi_3): Likewise.
22359         (special_fill_2pi_3): Likewise.
22360         (special_fill_e): Likewise.
22361         (special_fill_1_e): Likewise.
22362         (special_fill_e_minus_1): Likewise.
22363         (special_real_inputs): Add more special inputs.
22364         (output_for_one_input_case): Do not require ERANGE on underflow to
22365         zero if round-to-nearest result does not underflow to zero, unless
22366         exact results required.
22367         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22368         atan, atanh, cbrt, cos and cosh.
22369         * math/auto-libm-test-out: Regenerated.
22370         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22371         (acos_tonearest_test_data): Likewise.
22372         (acos_towardzero_test_data): Likewise.
22373         (acos_downward_test_data): Likewise.
22374         (acos_upward_test_data): Likewise.
22375         (acosh_test_data): Likewise.
22376         (asin_test_data): Likewise.
22377         (asin_tonearest_test_data): Likewise.
22378         (asin_towardzero_test_data): Likewise.
22379         (asin_upward_test_data): Likewise.
22380         (asinh_test_data): Likewise.
22381         (atan_test_data): Likewise.
22382         (atanh_test_data): Likewise.
22383         (cbrt_test_data): Likewise.
22384         (cos_test_data): Likewise.
22385         (cos_tonearest_test_data): Likewise.
22386         (cos_towardzero_test_data): Likewise.
22387         (cos_downward_test_data): Likewise.
22388         (cos_upward_test_data): Likewise.
22389         (cosh_test_data): Likewise.
22390         (cosh_tonearest_test_data): Likewise.
22391         (cosh_towardzero_test_data): Likewise.
22392         (cosh_downward_test_data): Likewise.
22393         (cosh_upward_test_data): Likewise.
22394         * sysdeps/i386/fpu/libm-test-ulps: Update.
22395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22397 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22399         [BZ #6787]
22400         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22401         * math/w_exp10f.c (__exp10f): Likewise.
22402         * math/w_exp10l.c (__exp10l): Likewise.
22403         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22404         errno settings in existing tests.
22406         [BZ #14032]
22407         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22408         precision control set to double precision.
22409         * sysdeps/i386/fpu/w_sqrt.c: New file.
22410         * math/auto-libm-test-in: Add more tests.
22411         * math/auto-libm-test-out: Update.
22413         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22414         (sqrt_test_tonearest): New function.
22415         (sqrt_towardzero_test_data): New variable.
22416         (sqrt_test_towardzero): New function.
22417         (sqrt_downward_test_data): New variable.
22418         (sqrt_test_downward): New function.
22419         (sqrt_upward_test_data): New variable.
22420         (sqrt_test_upward): New function.
22421         (main): Call the new functions.
22423         * math/gen-auto-libm-tests.c: New file.
22424         * math/auto-libm-test-in: Likewise.
22425         * math/auto-libm-test-out: New generated file.
22426         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22427         variables.
22428         (%beautify): Add generated representations of zero.
22429         (top level): Set $auto_input and call parse_auto_input.
22430         (beautify): Remove trailing "f" from hex float constants.
22431         (parse_args): Handle XFAIL_TEST.
22432         (convert_condition): New function.
22433         (or_value): Likewise.
22434         (or_cond_value): Likewise.
22435         (generate_testfile): Handle AUTO_TESTS_* lines.
22436         (parse_auto_input): New function.
22437         * math/libm-test.inc (XFAIL_TEST): New macro.
22438         (ERRNO_UNCHANGED): Update value.
22439         (ERRNO_EDOM): Likewise.
22440         (ERRNO_ERANGE): Likewise.
22441         (IGNORE_RESULT): Likewise.
22442         (TEST_COND_flt_32): New macro.
22443         (TEST_COND_dbl_64): Likewise.
22444         (TEST_COND_ldbl_96_intel): Likewise.
22445         (TEST_COND_ldbl_96_m68k): Likewise.
22446         (TEST_COND_ldbl_128): Likewise.
22447         (TEST_COND_ldbl_128ibm): Likewise.
22448         (TEST_COND_long32): Likewise.
22449         (TEST_COND_long64): Likewise.
22450         (TEST_COND_before_rounding): Likewise.
22451         (TEST_COND_after_rounding): Likewise.
22452         (enable_test): Handle XFAIL_TEST flag.
22453         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22454         with finite results.
22455         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22456         auto-libm-test-out.
22458 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22459             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22461         [BZ #16214]
22462         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22463         __tls_get_addr_internal instead of __tls_get_offset in order to
22464         avoid GOT pointer dependency.  Make rtld export
22465         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22466         __tls_get_addr since we are a __tls_get_offset platform.
22467         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22468         GOT pointer being set up before.
22469         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22471 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22473         * manual/math.texi (Errors in Math Functions): Document accuracy
22474         goals.
22476         [BZ #15004]
22477         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22478         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22479         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22480         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22481         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22482         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22483         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22484         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22485         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22486         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22487         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22488         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22489         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22490         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22491         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22492         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22494         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22495         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22496         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22497         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22498         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22499         Likewise.
22500         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22501         Likewise.
22502         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22503         Likewise.
22504         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22505         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22506         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22507         atomic-feupdateenv and flt-rounds.
22508         * sysdeps/powerpc/nofpu/Versions (libc): Add
22509         __atomic_feholdexcept, __atomic_feclearexcept,
22510         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22511         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22512         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22513         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22514         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22515         here.
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22517         Update.
22519         * manual/arith.texi (FP Exceptions): Document that exceptions may
22520         not be raised when matherr is used.
22521         (Math Error Reporting): Document overflow in directed rounding
22522         modes.  Document that errno may not be set when finite values are
22523         returned on overflow.  Document intent to set errno on underflow
22524         only for underflow to zero.
22526         [BZ #16271]
22527         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22528         round-to-nearest then adjust result for other rounding modes.
22529         * include/fenv.h (fegetround): Use libm_hidden_proto.
22530         * math/fegetround.c (fegetround): Use libm_hidden_def.
22531         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22532         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22533         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22534         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22535         Likewise.
22536         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22537         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22538         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22539         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22541 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22543         [BZ #16077]
22544         * nss/Versions (libnss_files): Add
22545         _nss_files_gethostbyname3_r.
22546         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22547         New function.
22548         (HOST_DB_LOOKUP): Remove macro.
22549         (_nss_files_gethostbyname_r): Implement function without the
22550         HOST_DB_LOOKUP macro.
22551         (_nss_files_gethostbyname2_r): Likewise.
22553 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22555         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22557 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22559         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22560         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22561         warning.
22563 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22565         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22566         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22567         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22568         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22569         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22570         __fe_nomask_env_priv and attribute_hidden.
22571         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22572         (libc_feupdateenv_test_ppc): Likewise.
22573         (libc_feresetround_ppc): Likewise.
22574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22575         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22576         compat_symbol macro.
22577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22578         (__fe_nomask_env): Likewise.
22579         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22581 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22583         * string/Makefile: Remove ifunc tests.
22584         * string/test-string.h: Define TEST_IFUNC.
22585         * string/test-bcopy-ifunc.c: Remove.
22586         * string/test-bzero-ifunc.c: Likewise.
22587         * string/test-memccpy-ifunc.c: Likewise.
22588         * string/test-memchr-ifunc.c: Likewise.
22589         * string/test-memcmp-ifunc.c: Likewise.
22590         * string/test-memcpy-ifunc.c: Likewise.
22591         * string/test-memmem-ifunc.c: Likewise.
22592         * string/test-memmove-ifunc.c: Likewise.
22593         * string/test-mempcpy-ifunc.c: Likewise.
22594         * string/test-memrchr-ifunc.c: Likewise.
22595         * string/test-memset-ifunc.c: Likewise.
22596         * string/test-rawmemchr-ifunc.c: Likewise.
22597         * string/test-stpcpy-ifunc.c: Likewise.
22598         * string/test-stpncpy-ifunc.c: Likewise.
22599         * string/test-strcasecmp-ifunc.c: Likewise.
22600         * string/test-strcasestr-ifunc.c: Likewise.
22601         * string/test-strcat-ifunc.c: Likewise.
22602         * string/test-strchr-ifunc.c: Likewise.
22603         * string/test-strchrnul-ifunc.c: Likewise.
22604         * string/test-strcmp-ifunc.c: Likewise.
22605         * string/test-strcpy-ifunc.c: Likewise.
22606         * string/test-strcspn-ifunc.c: Likewise.
22607         * string/test-strlen-ifunc.c: Likewise.
22608         * string/test-strncasecmp-ifunc.c: Likewise.
22609         * string/test-strncat-ifunc.c: Likewise.
22610         * string/test-strncmp-ifunc.c: Likewise.
22611         * string/test-strncpy-ifunc.c: Likewise.
22612         * string/test-strnlen-ifunc.c: Likewise.
22613         * string/test-strpbrk-ifunc.c: Likewise.
22614         * string/test-strrchr-ifunc.c: Likewise.
22615         * string/test-strspn-ifunc.c: Likewise.
22616         * string/test-strstr-ifunc.c: Likewise.
22618 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22620         * benchtests/Makefile: Remove ifunc tests.
22621         * benchtests/bench-string.h: Define TEST_IFUNC.
22622         * benchtests/bench-bcopy-ifunc.c: Remove.
22623         * benchtests/bench-bzero-ifunc.c: Likewise.
22624         * benchtests/bench-memccpy-ifunc.c: Likewise.
22625         * benchtests/bench-memchr-ifunc.c: Likewise.
22626         * benchtests/bench-memcmp-ifunc.c: Likewise.
22627         * benchtests/bench-memcpy-ifunc.c: Likewise.
22628         * benchtests/bench-memmem-ifunc.c: Likewise.
22629         * benchtests/bench-memmove-ifunc.c: Likewise.
22630         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22631         * benchtests/bench-memrchr-ifunc.c: Likewise.
22632         * benchtests/bench-memset-ifunc.c: Likewise.
22633         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22634         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22635         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22636         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22637         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22638         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22639         * benchtests/bench-strcat-ifunc.c: Likewise.
22640         * benchtests/bench-strchr-ifunc.c: Likewise.
22641         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22642         * benchtests/bench-strcmp-ifunc.c: Likewise.
22643         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22644         * benchtests/bench-strcpy-ifunc.c: Likewise.
22645         * benchtests/bench-strcspn-ifunc.c: Likewise.
22646         * benchtests/bench-strlen-ifunc.c: Likewise.
22647         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22648         * benchtests/bench-strncat-ifunc.c: Likewise.
22649         * benchtests/bench-strncmp-ifunc.c: Likewise.
22650         * benchtests/bench-strncpy-ifunc.c: Likewise.
22651         * benchtests/bench-strnlen-ifunc.c: Likewise.
22652         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22653         * benchtests/bench-strrchr-ifunc.c: Likewise.
22654         * benchtests/bench-strsep-ifunc.c: Likewise.
22655         * benchtests/bench-strspn-ifunc.c: Likewise.
22656         * benchtests/bench-strstr-ifunc.c: Likewise.
22658 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22660         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22662 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22664         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22665         * rt/aio.h: Likewise.
22666         * sysdeps/gnu/bits/utmp.h: Likewise.
22667         * sysdeps/gnu/bits/utmpx.h: Likewise.
22668         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22669         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22670         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22671         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22672         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22673         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22674         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22675         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22676         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22677         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22678         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22679         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22680         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22682         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22683         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22684         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22685         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22686         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22687         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22688         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22689         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22690         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22691         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22692         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22693         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22694         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22695         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22696         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22697         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22698         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22699         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22700         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22701         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22702         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22703         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22704         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22705         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22706         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22707         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22708         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22709         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22711 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22713         [BZ #16245]
22714         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22715         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22717 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22719         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22721         Likewise.
22723 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22725         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22726         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22727         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22728         (__fesetround): Remove define.
22729         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22730         rounding and exceptions handling.
22731         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22732         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22733         (__fe_nomask_env): Likewise.
22734         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22735         __fegetround instead of fegetround.
22736         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22737         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22739 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22741         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22742         it's there.
22744         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22746 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22748         [BZ #11157]
22749         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22750         (encrypt_r): Likewise.
22751         * malloc/obstack.h (obstack_free): Likewise.
22752         * posix/unistd.h (encrypt): Likewise.
22754 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22756         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22757         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22758         DL_CALL_DT_FINI() that call the functions directly.
22759         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22760         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22761         * elf/dl-fini.c: Likewise.
22763 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22765         * malloc/hooks.c (memalign_check): Add alignment rounding.
22766         * malloc/malloc.c (_mid_memalign): New function.
22767         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22768         Implement by calling _mid_memalign.
22769         * manual/probes.texi (Memory Allocation Probes): Remove
22770         memory_valloc_retry and memory_pvalloc_retry.
22772 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22774         * locale/programs/locarchive.c (open_archive): Add const
22775         qualifier to ARCHIVEFNAME and copy default fname to
22776         DEFAULT_FNAME.
22778         [BZ #15601]
22779         * libio/tst-widetext.input: Rename Oriya to Odia.
22780         * locale/iso-639.def: Likewise.
22782         * manual/probes.texi (Mathematical Function Probes): Add
22783         documentation for sin, cos, asin and acos probes.
22784         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22785         (__sin32): Add slowasin probe.
22786         (__cos32): Add slowacos probe.
22787         (__mpsin): Add slowsin probe.
22788         (__mpcos): Add slowcos probe.
22790 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22792         [BZ #15483]
22793         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22794         thread-local __sim_exceptions_thread and global
22795         __sim_exceptions_global.
22796         (__sim_disabled_exceptions): Change to thread-local
22797         __sim_disabled_exceptions_thread and global
22798         __sim_disabled_exceptions_global.
22799         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22800         and global __sim_round_mode_global.
22801         (__simulate_exceptions): Use thread-local floating-point state and
22802         set global state from it as needed.
22803         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22804         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22805         __sim_round_mode_thread.
22806         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22807         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22808         and global __sim_exceptions_global.
22809         (__sim_disabled_exceptions): Change to thread-local
22810         __sim_disabled_exceptions_thread and global
22811         __sim_disabled_exceptions_global.
22812         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22813         and global __sim_round_mode_global.
22814         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22815         (SIM_SET_GLOBAL): Likewise.
22816         * sysdeps/powerpc/soft-fp/sfp-machine.h
22817         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22818         __sim_round_mode_thread.
22819         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22820         __sim_disabled_exceptions_thread.
22821         (__sim_exceptions): Change to __sim_exceptions_thread.
22822         (__sim_disabled_exceptions): Change to
22823         __sim_disabled_exceptions_thread.
22824         (__sim_round_mode): Change to __sim_round_mode_thread.
22825         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22826         thread-local floating-point state and set global state from it as
22827         needed.
22828         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22829         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22830         (__sim_disabled_exceptions): Remove extern declaration.
22831         (feenableexcept): Use thread-local floating-point state and set
22832         global state from it as needed.
22833         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22834         extern declaration.
22835         (__sim_disabled_exceptions): Likewise.
22836         (__sim_round_mode): Likewise.
22837         (__fegetenv): Use thread-local floating-point state.
22838         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22839         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22840         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22841         floating-point state and set global state from it as needed.
22842         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22843         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22844         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22845         Likewise.
22846         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22847         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22848         Likewise.
22849         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22850         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22851         Use __sim_round_mode_thread.
22852         * math/test-fenv-tls.c: New file.
22853         * math/Makefile (tests): Add test-fenv-tls.
22854         ($(objpfx)test-fenv-tls): Depend on
22855         $(common-objpfx)nptl/libpthread.so.
22857 2013-11-19  Andreas Schwab  <schwab@suse.de>
22859         * locale/programs/locale.c (show_info): Decode wordarray elements.
22860         * locale/categories.def (LC_MONETARY): Add element for
22861         _NL_MONETARY_CRNCYSTR.
22862         * locale/C-monetary.c (conversion_rate): New variable.
22863         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22864         element.
22866 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22868         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22869         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22871 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22873         * elf/Makefile (tst-auxv): New test.
22874         * elf/tst-auxv.c: New
22875         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22877 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22879         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22880         (hidden_proto): Caller changed.
22881         (hidden_tls_proto): New macro.
22882         (libc_hidden_tls_proto): Likewise.
22883         (rtld_hidden_tls_proto): Likewise.
22884         (libm_hidden_tls_proto): Likewise.
22885         (libresolv_hidden_tls_proto): Likewise.
22886         (librt_hidden_tls_proto): Likewise.
22887         (libdl_hidden_tls_proto): Likewise.
22888         (libnss_files_hidden_tls_proto): Likewise.
22889         (libnsl_hidden_tls_proto): Likewise.
22890         (libnss_nisplus_hidden_tls_proto): Likewise.
22891         (libutil_hidden_tls_proto): Likewise.
22893 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22895         [BZ #10253]
22896         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22897         (decompose_rpath): Defer expansion to fillin_rpath.
22898         (_dl_init_paths): Pass linkmap to fillin_rpath.
22900 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22902         * benchtests/Makefile: Add strsep.
22903         * benchtests/bench-strsep.c: New file: strsep benchtest.
22904         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22906 2013-11-18  Andreas Schwab  <schwab@suse.de>
22908         * locale/programs/locale.c (show_info) [case byte]: Check for
22909         '\377' instead of '\177'.
22910         * locale/C-monetary.c (not_available): Always use "\377".
22911         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22912         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22913         detect unavailable sign_posn locale elements.
22914         * locale/localeconv.c (__localeconv): For grouping and
22915         mon_grouping handle "\177" and "\377" like no grouping.
22916         (INT_ELEM): New macro.  Use it to set all numeric members.
22917         * locale/programs/ld-monetary.c (monetary_read)
22918         <tok_mon_grouping>: Normalize single -1 to the empty string.
22919         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22920         Likewise.
22922 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22924         [BZ #16055]
22925         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22926         when we match (nil).
22927         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22929 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22931         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22932         (NO_TEST_INLINE): Update value.
22933         (ERRNO_UNCHANGED): Likewise.
22934         (ERRNO_EDOM): Likewise.
22935         (ERRNO_ERANGE): Likewise.
22936         (IGNORE_RESULT): Likewise.
22937         (check_float_internal): Check signs of NaN results if
22938         TEST_NAN_SIGN used.
22939         (check_complex): Pass TEST_NAN_SIGN flag through to second
22940         check_float_internal call.
22941         (copysign_test_data): Add tests with quiet NaNs as second
22942         argument.  Use TEST_NAN_SIGN.
22943         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22944         TEST_NAN_SIGN.
22945         (signbit_test_data): Add tests of quiet NaN argument.
22946         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22948         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22949         $ignore_result.
22950         (parse_args): Handle function results specified as IGNORE.
22951         * math/libm-test.inc (IGNORE_RESULT): New macro.
22952         (check_float_internal): Do not check numerical result if flag
22953         IGNORE_RESULT set.
22954         (check_complex): Pass through IGNORE_RESULT to second
22955         check_float_internal call.
22956         (check_int): Do not check numerical result if flag IGNORE_RESULT
22957         set.
22958         (check_long): Likewise.
22959         (check_bool): Likewise.
22960         (check_longlong): Likewise.
22961         (lrint_test_data): Add tests of infinite and NaN arguments.
22962         (lrint_tonearest_test_data): Likewise.
22963         (lrint_towardzero_test_data): Likewise.
22964         (lrint_downward_test_data): Likewise.
22965         (lrint_upward_test_data): Likewise.
22966         (llrint_test_data): Likewise.
22967         (llrint_tonearest_test_data): Likewise.
22968         (llrint_towardzero_test_data): Likewise.
22969         (llrint_downward_test_data): Likewise.
22970         (llrint_upward_test_data): Likewise.
22971         (lround_test_data): Likewise.
22972         (llround_test_data): Likewise.
22974         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22975         (ERRNO_UNCHANGED): Update value.
22976         (ERRNO_EDOM): Likewise.
22977         (ERRNO_ERANGE): Likewise.
22978         (NO_TEST_INLINE_FLOAT): New macro.
22979         (NO_TEST_INLINE_DOUBLE): Likewise.
22980         (enable_test): New function.
22981         (RUN_TEST_f_f): Check enable_test before running test.
22982         (RUN_TEST_2_f): Likewise.
22983         (RUN_TEST_fff_f): Likewise.
22984         (RUN_TEST_c_f): Likewise.
22985         (RUN_TEST_f_f1): Likewise.
22986         (RUN_TEST_fF_f1): Likewise.
22987         (RUN_TEST_fI_f1): Likewise.
22988         (RUN_TEST_ffI_f1): Likewise.
22989         (RUN_TEST_c_c): Likewise.
22990         (RUN_TEST_cc_c): Likewise.
22991         (RUN_TEST_f_i): Likewise.
22992         (RUN_TEST_f_i_tg): Likewise.
22993         (RUN_TEST_ff_i_tg): Likewise.
22994         (RUN_TEST_f_b): Likewise.
22995         (RUN_TEST_f_b_tg): Likewise.
22996         (RUN_TEST_f_l): Likewise.
22997         (RUN_TEST_f_L): Likewise.
22998         (RUN_TEST_fFF_11): Likewise.
22999         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23000         conditionals.
23001         (cosh_test_data): Likewise.
23002         (exp_test_data): Likewise.
23003         (expm1_test_data): Likewise.
23004         (hypot_test_data): Likewise.
23005         (pow_test_data): Likewise.
23006         (sinh_test_data): Likewise.
23007         (tanh_test_data): Likewise.
23008         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23009         flags argument.
23011         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23012         tests with quiet NaN input and output.
23013         (acosh_test_data): Likewise.
23014         (asin_test_data): Likewise.
23015         (asinh_test_data): Likewise.
23016         (atan_test_data): Likewise.
23017         (atanh_test_data): Likewise.
23018         (atan2_test_data): Likewise.
23019         (cbrt_test_data): Likewise.
23020         (cos_test_data): Likewise.
23021         (cosh_test_data): Likewise.
23022         (erf_test_data): Likewise.
23023         (erfc_test_data): Likewise.
23024         (exp_test_data): Likewise.
23025         (exp10_test_data): Likewise.
23026         (exp2_test_data): Likewise.
23027         (expm1_test_data): Likewise.
23028         (hypot_test_data): Likewise.
23029         (j0_test_data): Likewise.
23030         (j1_test_data): Likewise.
23031         (jn_test_data): Likewise.
23032         (lgamma_test_data): Likewise.
23033         (log_test_data): Likewise.
23034         (log10_test_data): Likewise.
23035         (log1p_test_data): Likewise.
23036         (log2_test_data): Likewise.
23037         (pow_test_data): Likewise.
23038         (scalb_test_data): Likewise.
23039         (sin_test_data): Likewise.
23040         (sincos_test_data): Likewise.
23041         (sinh_test_data): Likewise.
23042         (tan_test_data): Likewise.
23043         (tanh_test_data): Likewise.
23044         (tgamma_test_data): Likewise.
23045         (y0_test_data): Likewise.
23046         (y1_test_data): Likewise.
23047         (yn_test_data): Likewise.
23049         [BZ #16167]
23050         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23051         argument being NaN and avoid computations with second argument in
23052         that case.
23053         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23054         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23055         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23057 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
23059         * locale/iso-639.def: Add Chitwani Tharu (the).
23061 2013-11-14  Andreas Schwab  <schwab@suse.de>
23063         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23064         word instead of empty string.
23066 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23069         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23071         (__fe_nomask_env): Likewise.
23073 2013-11-13  Steve Ellcey  <sellcey@mips.com>
23075         * benchtests/bench-timing.h: Include time.h.
23077 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
23079         [BZ #15997]
23080         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23081         to 3.4.0 for x32.
23082         * sysdeps/unix/sysv/linux/configure: Regenerated.
23084 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
23086         [BZ #16151]
23087         * stdlib/strtod_l.c (round_and_return): Do not consider
23088         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23089         exponent one less than half the least subnormal exponent.
23090         * stdlib/test-strtod-round-data: Add more tests.
23091         * stdlib/tst-strtod-round.c (tests): Regenerated.
23093 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23095         [BZ #14143]
23096         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23097         (__fe_mask_env): Likewise.
23098         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23099         libm_hidden_proto and add function prototype.
23100         (__fe_mask_env): Add function prototype.
23101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23102         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23104         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23106         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23108 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23110         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
23111         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23113 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23115         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23116         of htab_find_slot().
23118 2013-11-11  David S. Miller  <davem@davemloft.net>
23120         [BZ #16150]
23121         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23122         symbol in the non-vis3 case in static builds.
23123         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23124         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23125         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23126         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23128 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
23130         [BZ #387]
23131         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23132         it is empty.
23134 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23136         * benchtests/Makefile: Add bench-strtod.
23137         * benchtests/bench-strtod.c: New file: strtod benchtest
23139 2013-11-11  Andreas Schwab  <schwab@suse.de>
23141         [BZ #16153]
23142         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23143         terminating NUL in key length.
23145 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23147         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23148         Add artificial ODP entry for vDSO symbol for PPC64.
23149         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23150         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23152 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23154         [BZ #15374]
23155         * nss/getent.c (services_keys): Recognize services starting with digit.
23157 2013-11-06  David S. Miller  <davem@davemloft.net>
23159         [BZ #15985]
23160         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23161         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23163 2013-11-06  Will Newton  <will.newton@linaro.org>
23165         * manual/memory.texi (Malloc Examples): Remove register
23166         keyword from examples.
23168 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23170         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23172 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23174         [BZ #6981]
23175         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23176         depending on [__GCC_IEC_559 > 0].
23177         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23178         depending on [__GCC_IEC_559_COMPLEX > 0].
23180 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23182         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23183         to iso-639.def.
23185 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23187         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23189 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23191         [BZ #16112]
23192         * malloc/malloc (malloc_info): Do not handle first bin as
23193         special case.
23195 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23197         * locale/iso-639.def: Add Central Nahuatl (nhn).
23199 2013-11-01  Bruno Haible  <bruno@clisp.org>
23201         [BZ #7003]
23202         * manual/math.texi (BSD Random): Specify range upper bound as
23203         in POSIX.
23205 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23207         * locale/iso-639.def: Add Meadow Mari (mhr).
23209 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23211         [BZ #14752], [BZ #15763]
23212         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23213         Validate name.
23214         * rt/tst_shm.c: Add test for escaping directory.
23216 2013-10-31  Andreas Schwab  <schwab@suse.de>
23218         [BZ #15917]
23219         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23220         followed by 'x' as part of digit sequence.
23221         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23223 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23225         [BZ #16037]
23226         * configure.ac: allow GNU Make 4.0 and greater.
23227         * configure: Regenerated.
23229 2013-10-30  Will Newton  <will.newton@linaro.org>
23231         [BZ #16038]
23232         * malloc/hooks.c (memalign_check): Limit alignment to the
23233         maximum representable power of two.
23234         * malloc/malloc.c (__libc_memalign): Likewise.
23235         * malloc/tst-memalign.c (do_test): Add test for very
23236         large alignment values.
23237         * malloc/tst-posix_memalign.c (do_test): Likewise.
23239 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23241         [BZ #11087]
23242         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23243         (munmap_chunk): Likewise.
23244         (mremap_chunk): Likewise.
23246 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23248         [BZ #15799]
23249         * stdlib/div.c (div): Remove obsolete code.
23250         * stdlib/ldiv.c (ldiv): Likewise.
23251         * stdlib/lldiv.c (lldiv): Likewise.
23253 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23255         [BZ #16071]
23256         * nss/nss_files/files-XXX.c (get_contents_ret): New
23257         enumerator.
23258         (get_contents): New function.
23259         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23261 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23263         * configure.in: Moved to ...
23264         * configure.ac: ... here. Change reference to configure.in
23265         to configure.ac.
23266         * sysdeps/arm/preconfigure.ac: ... here.
23267         configure.in to configure.ac.
23268         * sysdeps/gnu/configure.in: Moved to ...
23269         * sysdeps/gnu/configure.ac: ... here.
23270         * sysdeps/i386/configure.in: Moved to ...
23271         * sysdeps/i386/configure.ac: ... here.
23272         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23273         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23274         * sysdeps/mach/configure.in: Moved to ...
23275         * sysdeps/mach/configure.ac: ... here.
23276         * sysdeps/mach/hurd/configure.in: Moved to ...
23277         * sysdeps/mach/hurd/configure.ac: ... here.
23278         * sysdeps/powerpc/configure.in: Moved to ...
23279         * sysdeps/powerpc/configure.ac: ... here.
23280         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23281         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23282         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23283         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23284         * sysdeps/s390/s390-32/configure.in: Moved to ...
23285         * sysdeps/s390/s390-32/configure.ac: ... here.
23286         * sysdeps/s390/s390-64/configure.in: Moved to ...
23287         * sysdeps/s390/s390-64/configure.ac: ... here.
23288         * sysdeps/sh/configure.in: Moved to ...
23289         * sysdeps/sh/configure.ac: ... here.
23290         * sysdeps/sparc/configure.in: Moved to ...
23291         * sysdeps/sparc/configure.ac: ... here.
23292         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23293         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23294         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23295         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23296         * sysdeps/x86_64/configure.in: Moved to ...
23297         * sysdeps/x86_64/configure.ac: ... here.
23298         * sysdeps/x86_64/preconfigure.in: Moved to ...
23299         * sysdeps/x86_64/preconfigure.ac: ... here.
23300         * aclocal.m4: Change reference to configure.in to configure.ac.
23301         * config.h.in: Likewise.
23302         * manual/install.texi: Likewise.
23303         * manual/maint.texi: Likewise.
23304         * Makefile: Likewise.
23305         * malloc/Makefile: Likewise.
23306         * nscd/Makefile: Likewise.
23307         * Makeconfig: Change reference to configure.in and
23308         preconfigure.in to configure.ac and preconfigure.ac
23309         respectively.
23310         * INSTALL: Regenerated.
23311         * configure: Likewise.
23312         * sysdeps/gnu/configure: Likewise.
23313         * sysdeps/i386/configure: Likewise.
23314         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23315         * sysdeps/mach/configure: Likewise.
23316         * sysdeps/mach/hurd/configure: Likewise.
23317         * sysdeps/powerpc/configure: Likewise.
23318         * sysdeps/powerpc/powerpc32/configure: Likewise.
23319         * sysdeps/powerpc/powerpc64/configure: Likewise.
23320         * sysdeps/s390/s390-32/configure: Likewise.
23321         * sysdeps/s390/s390-64/configure: Likewise.
23322         * sysdeps/sh/configure: Likewise.
23323         * sysdeps/sparc/configure: Likewise.
23324         * sysdeps/unix/sysv/linux/configure: Likewise.
23325         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23326         * sysdeps/x86_64/configure: Likewise.
23327         * sysdeps/x86_64/preconfigure: Likewise.
23329 2013-10-29  Andreas Schwab  <schwab@suse.de>
23331         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23333 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23335         * benchtests/pow-inputs: Add new inputs.
23337         * benchtests/exp-inputs: Add new inputs.
23339         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23340         conditional check for return value.
23341         (__cos32): Likewise.
23343 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23345         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23346         to provide a boost for large inputs with word alignment.
23347         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23348         implementation based on optimized PPC64 strcpy.
23349         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23350         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23351         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23352         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23354 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23356         [BZ #2801]
23357         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23359 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23361         [BZ #14876]
23362         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23363         * time/tst-strptime.c (day_tests): Add testcase.
23365 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23367         [BZ #14029]
23368         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23370 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23372         [BZ #16074]
23373         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23374         MAP_FAILED on error.
23376 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23378         [BZ #16072]
23379         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23380         heap for large requests.
23382 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23384         [BZ #9954]
23385         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23386         result if the result has no associated interface.
23387         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23388         interface for all 127.X.Y.Z addresses.
23390 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23392         * locale/iso-639.def: Add Ligurian (lij)
23394 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23396         [BZ #15825]
23397         * sunrpc/rpc_main.c: Document rpcgen -5.
23399 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23401         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23403 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23405         [BZ #10278]
23406         * posix/glob.c: Match only directories when trailing slash is present.
23407         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23408         (main): Add testcase.
23410 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23412         [BZ #15670]
23413         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23415 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23417         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23418         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23419         AUTH_DES and cindex for FIPS 140-2.
23420         (DES Encryption): Add cindex FIPS 46-3.
23422         * locale/locarchive.h (struct locarhandle): Add fname.
23423         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23424         if an optional argument was specified to --list-archive,
23425         otherwise NULL.
23426         * locale/programs/locarchive.c (show_archive_content): Take new
23427         argument fname and pass it via ah.fname to open_archive.
23428         * locale/programs/localedef.h: Update decl.
23429         (open_archive): If AH->fname is non-null, open that file
23430         rather than the default file name, and don't ignore ENOENT.
23431         (create_archive): Set AH.fname to NULL.
23432         (delete_locales_from_archive): Likewise.
23433         (add_locales_to_archive): Likewise.
23434         * locale/programs/locfile.c (write_all_categories): Likewise.
23436 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23437             Aldy Hernandez  <aldyh@redhat.com>
23439         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23440         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23441         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23442         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23443         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23444         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23445         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23446         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23447         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23448         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23449         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23450         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23451         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23452         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23453         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23454         Likewise.
23455         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23456         Likewise.
23457         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23458         Likewise.
23459         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23460         Likewise.
23461         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23462         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23463         Likewise.
23464         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23465         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23466         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23467         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23468         Likewise.
23469         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23470         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23471         * sysdeps/powerpc/preconfigure: Likewise.
23472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23473         Likewise.
23474         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23475         Replace contents of file by #include of <fenv_libc.h>.
23476         * sysdeps/powerpc/soft-fp/sfp-machine.h
23477         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23478         and <sys/prctl.h>.
23479         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23484         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23486         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23487         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23488         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23489         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23490         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23492         Allow copysignl PLT reference to be missing.
23494 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23495             Joseph Myers  <joseph@codesourcery.com
23497         [BZ #15948]
23498         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23499         single character.
23500         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23502 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23505         * elf/tst-tls1.c: Likewise.
23506         * elf/tst-tls10.h: Likewise.
23507         * elf/tst-tls14.c: Likewise.
23508         * elf/tst-tls2.c: Likewise.
23509         * elf/tst-tls3.c: Likewise.
23510         * elf/tst-tls4.c: Likewise.
23511         * elf/tst-tls5.c: Likewise.
23512         * elf/tst-tls6.c: Likewise.
23513         * elf/tst-tls7.c: Likewise.
23514         * elf/tst-tls8.c: Likewise.
23515         * elf/tst-tls9.c: Likewise.
23516         * elf/tst-tlsmod1.c: Likewise.
23517         * elf/tst-tlsmod13.c: Likewise.
23518         * elf/tst-tlsmod13a.c: Likewise.
23519         * elf/tst-tlsmod14a.c: Likewise.
23520         * elf/tst-tlsmod16a.c: Likewise.
23521         * elf/tst-tlsmod16b.c: Likewise.
23522         * elf/tst-tlsmod2.c: Likewise.
23523         * elf/tst-tlsmod3.c: Likewise.
23524         * elf/tst-tlsmod4.c: Likewise.
23525         * elf/tst-tlsmod5.c: Likewise.
23526         * elf/tst-tlsmod6.c: Likewise.
23528 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23530         [BZ #12486]
23531         * malloc/malloc.c: remove checks for statistics.
23533 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23535         [BZ #15277]
23536         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23537         * inet/tst-network.c: Add testcase.
23539 2013-10-17  Andreas Schwab  <schwab@suse.de>
23541         [BZ #15218]
23542         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23543         to determine canonical name.
23545 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23547         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23548         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23549         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23550         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23551         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23552         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23553         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23554         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23555         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23556         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23557         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23558         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23559         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23560         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23561         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23562         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23563         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23564         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23565         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23566         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23567         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23568         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23570         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23571         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23572         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23573         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23574         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23575         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23576         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23577         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23578         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23579         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23580         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23581         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23582         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23583         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23584         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23585         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23586         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23587         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23588         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23589         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23590         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23591         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23592         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23593         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23594         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23595         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23596         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23597         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23598         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23599         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23600         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23601         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23602         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23604         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23606 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23608         [BZ #16041]
23609         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23610         make result into a quiet NaN.
23612 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23614         * soft-fp/adddf3.c: Fix horizontal whitespace.
23615         * soft-fp/addsf3.c: Likewise.
23616         * soft-fp/addtf3.c: Likewise.
23617         * soft-fp/divdf3.c: Likewise.
23618         * soft-fp/divsf3.c: Likewise.
23619         * soft-fp/divtf3.c: Likewise.
23620         * soft-fp/double.h: Likewise.
23621         * soft-fp/eqdf2.c: Likewise.
23622         * soft-fp/eqsf2.c: Likewise.
23623         * soft-fp/eqtf2.c: Likewise.
23624         * soft-fp/extenddftf2.c: Likewise.
23625         * soft-fp/extended.h: Likewise.
23626         * soft-fp/extendsfdf2.c: Likewise.
23627         * soft-fp/extendsftf2.c: Likewise.
23628         * soft-fp/extendxftf2.c: Likewise.
23629         * soft-fp/fixdfdi.c: Likewise.
23630         * soft-fp/fixdfsi.c: Likewise.
23631         * soft-fp/fixdfti.c: Likewise.
23632         * soft-fp/fixsfdi.c: Likewise.
23633         * soft-fp/fixsfsi.c: Likewise.
23634         * soft-fp/fixsfti.c: Likewise.
23635         * soft-fp/fixtfdi.c: Likewise.
23636         * soft-fp/fixtfsi.c: Likewise.
23637         * soft-fp/fixtfti.c: Likewise.
23638         * soft-fp/fixunsdfdi.c: Likewise.
23639         * soft-fp/fixunsdfsi.c: Likewise.
23640         * soft-fp/fixunsdfti.c: Likewise.
23641         * soft-fp/fixunssfdi.c: Likewise.
23642         * soft-fp/fixunssfsi.c: Likewise.
23643         * soft-fp/fixunssfti.c: Likewise.
23644         * soft-fp/fixunstfdi.c: Likewise.
23645         * soft-fp/fixunstfsi.c: Likewise.
23646         * soft-fp/fixunstfti.c: Likewise.
23647         * soft-fp/floatdidf.c: Likewise.
23648         * soft-fp/floatdisf.c: Likewise.
23649         * soft-fp/floatditf.c: Likewise.
23650         * soft-fp/floatsidf.c: Likewise.
23651         * soft-fp/floatsisf.c: Likewise.
23652         * soft-fp/floatsitf.c: Likewise.
23653         * soft-fp/floattidf.c: Likewise.
23654         * soft-fp/floattisf.c: Likewise.
23655         * soft-fp/floattitf.c: Likewise.
23656         * soft-fp/floatundidf.c: Likewise.
23657         * soft-fp/floatundisf.c: Likewise.
23658         * soft-fp/floatunditf.c: Likewise.
23659         * soft-fp/floatunsidf.c: Likewise.
23660         * soft-fp/floatunsisf.c: Likewise.
23661         * soft-fp/floatunsitf.c: Likewise.
23662         * soft-fp/floatuntidf.c: Likewise.
23663         * soft-fp/floatuntisf.c: Likewise.
23664         * soft-fp/floatuntitf.c: Likewise.
23665         * soft-fp/fmadf4.c: Likewise.
23666         * soft-fp/fmasf4.c: Likewise.
23667         * soft-fp/fmatf4.c: Likewise.
23668         * soft-fp/gedf2.c: Likewise.
23669         * soft-fp/gesf2.c: Likewise.
23670         * soft-fp/getf2.c: Likewise.
23671         * soft-fp/ledf2.c: Likewise.
23672         * soft-fp/lesf2.c: Likewise.
23673         * soft-fp/letf2.c: Likewise.
23674         * soft-fp/muldf3.c: Likewise.
23675         * soft-fp/mulsf3.c: Likewise.
23676         * soft-fp/multf3.c: Likewise.
23677         * soft-fp/negdf2.c: Likewise.
23678         * soft-fp/negsf2.c: Likewise.
23679         * soft-fp/negtf2.c: Likewise.
23680         * soft-fp/op-1.h: Likewise.
23681         * soft-fp/op-2.h: Likewise.
23682         * soft-fp/op-4.h: Likewise.
23683         * soft-fp/op-8.h: Likewise.
23684         * soft-fp/op-common.h: Likewise.
23685         * soft-fp/quad.h: Likewise.
23686         * soft-fp/single.h: Likewise.
23687         * soft-fp/soft-fp.h: Likewise.
23688         * soft-fp/sqrtdf2.c: Likewise.
23689         * soft-fp/sqrtsf2.c: Likewise.
23690         * soft-fp/sqrttf2.c: Likewise.
23691         * soft-fp/subdf3.c: Likewise.
23692         * soft-fp/subsf3.c: Likewise.
23693         * soft-fp/subtf3.c: Likewise.
23694         * soft-fp/truncdfsf2.c: Likewise.
23695         * soft-fp/trunctfdf2.c: Likewise.
23696         * soft-fp/trunctfsf2.c: Likewise.
23697         * soft-fp/trunctfxf2.c: Likewise.
23698         * soft-fp/unorddf2.c: Likewise.
23699         * soft-fp/unordsf2.c: Likewise.
23700         * soft-fp/unordtf2.c: Likewise.
23702 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23704         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23705         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23707 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23709         * elf/dl-libc.c: Clear initfini list after freeing.
23711 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23713         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23714         * soft-fp/addsf3.c: Likewise.
23715         * soft-fp/addtf3.c: Likewise.
23716         * soft-fp/divdf3.c: Likewise.
23717         * soft-fp/divsf3.c: Likewise.
23718         * soft-fp/divtf3.c: Likewise.
23719         * soft-fp/double.h: Likewise.
23720         * soft-fp/eqdf2.c: Likewise.
23721         * soft-fp/eqsf2.c: Likewise.
23722         * soft-fp/eqtf2.c: Likewise.
23723         * soft-fp/extenddftf2.c: Likewise.
23724         * soft-fp/extended.h: Likewise.
23725         * soft-fp/extendsfdf2.c: Likewise.
23726         * soft-fp/extendsftf2.c: Likewise.
23727         * soft-fp/extendxftf2.c: Likewise.
23728         * soft-fp/fixdfdi.c: Likewise.
23729         * soft-fp/fixdfsi.c: Likewise.
23730         * soft-fp/fixdfti.c: Likewise.
23731         * soft-fp/fixsfdi.c: Likewise.
23732         * soft-fp/fixsfsi.c: Likewise.
23733         * soft-fp/fixsfti.c: Likewise.
23734         * soft-fp/fixtfdi.c: Likewise.
23735         * soft-fp/fixtfsi.c: Likewise.
23736         * soft-fp/fixtfti.c: Likewise.
23737         * soft-fp/fixunsdfdi.c: Likewise.
23738         * soft-fp/fixunsdfsi.c: Likewise.
23739         * soft-fp/fixunsdfti.c: Likewise.
23740         * soft-fp/fixunssfdi.c: Likewise.
23741         * soft-fp/fixunssfsi.c: Likewise.
23742         * soft-fp/fixunssfti.c: Likewise.
23743         * soft-fp/fixunstfdi.c: Likewise.
23744         * soft-fp/fixunstfsi.c: Likewise.
23745         * soft-fp/fixunstfti.c: Likewise.
23746         * soft-fp/floatdidf.c: Likewise.
23747         * soft-fp/floatdisf.c: Likewise.
23748         * soft-fp/floatditf.c: Likewise.
23749         * soft-fp/floatsidf.c: Likewise.
23750         * soft-fp/floatsisf.c: Likewise.
23751         * soft-fp/floatsitf.c: Likewise.
23752         * soft-fp/floattidf.c: Likewise.
23753         * soft-fp/floattisf.c: Likewise.
23754         * soft-fp/floattitf.c: Likewise.
23755         * soft-fp/floatundidf.c: Likewise.
23756         * soft-fp/floatundisf.c: Likewise.
23757         * soft-fp/floatunsidf.c: Likewise.
23758         * soft-fp/floatunsisf.c: Likewise.
23759         * soft-fp/floatuntidf.c: Likewise.
23760         * soft-fp/floatuntisf.c: Likewise.
23761         * soft-fp/floatuntitf.c: Likewise.
23762         * soft-fp/fmadf4.c: Likewise.
23763         * soft-fp/fmasf4.c: Likewise.
23764         * soft-fp/fmatf4.c: Likewise.
23765         * soft-fp/gedf2.c: Likewise.
23766         * soft-fp/gesf2.c: Likewise.
23767         * soft-fp/getf2.c: Likewise.
23768         * soft-fp/ledf2.c: Likewise.
23769         * soft-fp/lesf2.c: Likewise.
23770         * soft-fp/letf2.c: Likewise.
23771         * soft-fp/muldf3.c: Likewise.
23772         * soft-fp/mulsf3.c: Likewise.
23773         * soft-fp/multf3.c: Likewise.
23774         * soft-fp/negdf2.c: Likewise.
23775         * soft-fp/negsf2.c: Likewise.
23776         * soft-fp/negtf2.c: Likewise.
23777         * soft-fp/op-1.h: Likewise.
23778         * soft-fp/op-2.h: Likewise.
23779         * soft-fp/op-4.h: Likewise.
23780         * soft-fp/op-8.h: Likewise.
23781         * soft-fp/op-common.h: Likewise.
23782         * soft-fp/quad.h: Likewise.
23783         * soft-fp/single.h: Likewise.
23784         * soft-fp/soft-fp.h: Likewise.
23785         * soft-fp/sqrtdf2.c: Likewise.
23786         * soft-fp/sqrtsf2.c: Likewise.
23787         * soft-fp/sqrttf2.c: Likewise.
23788         * soft-fp/subdf3.c: Likewise.
23789         * soft-fp/subsf3.c: Likewise.
23790         * soft-fp/subtf3.c: Likewise.
23791         * soft-fp/truncdfsf2.c: Likewise.
23792         * soft-fp/trunctfdf2.c: Likewise.
23793         * soft-fp/trunctfsf2.c: Likewise.
23794         * soft-fp/trunctfxf2.c: Likewise.
23795         * soft-fp/unorddf2.c: Likewise.
23796         * soft-fp/unordsf2.c: Likewise.
23797         * soft-fp/unordtf2.c: Likewise.
23799 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23801         [BZ #15672]
23802         * misc/error.c (error_tail): Fix possible buffer overflow.
23804 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23806         [BZ #13028]
23807         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23808         address.
23810 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23812         [BZ #832]
23813         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23814         testing pipefail option.
23816 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23818         * soft-fp/double.h: Indent preprocessor directives inside #if.
23819         * soft-fp/extended.h: Likewise.
23820         * soft-fp/op-2.h: Likewise.
23821         * soft-fp/op-4.h: Likewise.
23822         * soft-fp/op-common.h: Likewise.
23823         * soft-fp/quad.h: Likewise.
23824         * soft-fp/single.h: Likewise.
23825         * soft-fp/soft-fp.h: Likewise.
23827 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23829         * iconv/iconv_prog.c: Fix typos.
23830         * stdio-common/psiginfo-data.h: Likewise.
23832 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23834         [BZ #15764]
23835         * locale/setlocale.c: Fix typo.
23837 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23839         [BZ #16036]
23840         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23841         signaling NaN arguments.
23842         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23843         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23845         [BZ #14910]
23846         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23847         unordered operands.
23848         * soft-fp/gesf2.c (__gesf2): Likewise.
23849         * soft-fp/getf2.c (__getf2): Likewise.
23850         * soft-fp/ledf2.c (__ledf2): Likewise.
23851         * soft-fp/lesf2.c (__lesf2): Likewise.
23852         * soft-fp/letf2.c (__letf2): Likewise.
23854         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23855         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23856         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23857         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23858         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23859         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23860         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23861         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23862         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23863         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23864         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23865         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23866         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23867         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23868         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23869         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23870         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23871         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23872         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23873         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23874         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23875         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23876         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23877         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23878         * soft-fp/floattidf.c (__floattidf): Likewise.
23879         * soft-fp/floattisf.c (__floattisf): Likewise.
23880         * soft-fp/floattitf.c (__floattitf): Likewise.
23881         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23882         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23883         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23884         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23885         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23886         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23887         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23888         * soft-fp/gesf2.c (__gesf2): Likewise.
23889         * soft-fp/getf2.c (__getf2): Likewise.
23890         * soft-fp/ledf2.c (__ledf2): Likewise.
23891         * soft-fp/lesf2.c (__lesf2): Likewise.
23892         * soft-fp/letf2.c (__letf2): Likewise.
23894         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23895         Undefine and redefine.
23896         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23897         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23898         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23899         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23900         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23901         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23902         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23903         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23904         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23905         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23906         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23907         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23908         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23909         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23910         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23912         [BZ #16032]
23913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23914         without decrementing exponent if mantissa >= that for the
23915         denominator, not >.
23916         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23917         denominator, not >.  Decrement exponent in < case instead of
23918         incrementing in >= case.
23919         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23920         without decrementing exponent if mantissa >= that for the
23921         denominator, not >.
23923         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23924         computing saturated result for unsigned overflow.
23926 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23927             Jeff Law  <law@redhat.com>
23929         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23930         (atan2Mp): Add systemtap probe marker.
23931         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23932         (__ieee754_log): Add systemtap probe marker.
23933         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23934         (atanMp): Add systemtap probe marker.
23935         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23936         (tanMp): Add systemtap probe marker.
23937         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23938         (__slowexp): Add systemtap probe marker.
23939         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23940         (__slowpow): Add systemtap probe marker.
23941         * manual/probes.texi: Document probes.
23943 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23945         [BZ #15362]
23946         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23947         written.
23948         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23949         written.
23950         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23951         written to buffer but not flushed.
23952         * libio/iofwrite_u.c:  Likewise.
23953         * libio/iopadn.c:  Return bytes returned even if EOF was
23954         encountered.
23955         * libio/iowpadn.c:  Likewise.
23956         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23957         if _IO_padn does not write the whole buffer.
23958         [!COMPILE_WPRINTF] (PAD): Likewise.
23960 2013-10-10  David S. Miller  <davem@davemloft.net>
23962         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23963         directory block.
23965 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23967         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23968         instead of FSF address.
23969         * soft-fp/fixdfti.c: Likewise.
23970         * soft-fp/fixsfti.c: Likewise.
23971         * soft-fp/fixtfti.c: Likewise.
23972         * soft-fp/fixunsdfti.c: Likewise.
23973         * soft-fp/fixunssfti.c: Likewise.
23974         * soft-fp/fixunstfti.c: Likewise.
23975         * soft-fp/floattidf.c: Likewise.
23976         * soft-fp/floattisf.c: Likewise.
23977         * soft-fp/floattitf.c: Likewise.
23978         * soft-fp/floatuntidf.c: Likewise.
23979         * soft-fp/floatuntisf.c: Likewise.
23980         * soft-fp/floatuntitf.c: Likewise.
23981         * soft-fp/trunctfxf2.c: Likewise.
23983         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23984         * soft-fp/fixdfti.c: Likewise.
23985         * soft-fp/fixsfti.c: Likewise.
23986         * soft-fp/fixtfti.c: Likewise.
23987         * soft-fp/fixunsdfti.c: Likewise.
23988         * soft-fp/fixunssfti.c: Likewise.
23989         * soft-fp/fixunstfti.c: Likewise.
23990         * soft-fp/floattidf.c: Likewise.
23991         * soft-fp/floattisf.c: Likewise.
23992         * soft-fp/floattitf.c: Likewise.
23993         * soft-fp/floatuntidf.c: Likewise.
23994         * soft-fp/floatuntisf.c: Likewise.
23995         * soft-fp/floatuntitf.c: Likewise.
23996         * soft-fp/trunctfxf2.c: Likewise.
23998 2013-10-10  David S. Miller  <davem@davemloft.net>
24000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24002 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
24004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24005         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24006         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24007         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24008         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24009         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24010         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24012         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24013         for NaNs before doing comparisons on argument.
24014         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24015         Likewise.
24017 2013-10-10  Will Newton  <will.newton@linaro.org>
24019         * malloc/hooks.c (memalign_check): Ensure the value of bytes
24020         passed to _int_memalign does not overflow.
24022 2013-10-10  Torvald Riegel  <triegel@redhat.com>
24024         * scripts/bench.pl: Add include-sources directive.
24025         * benchtests/README: Update documentation.
24027 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
24029         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24030         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24031         instead of FP_INIT_ROUNDMODE.
24032         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24033         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24035         [BZ #16034]
24036         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
24037         copy class of input value.
24038         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
24039         not handle exceptions.
24040         * soft-fp/negsf2.c (__negsf2): Likewise.
24041         * soft-fp/negtf2.c (__negtf2): Likewise.
24042         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24044 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
24046         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24047         semicolon.  From Linux kernel.
24049 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
24051         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24053 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
24055         [BZ #156]
24056         * manual/socket.texi: Added statement about buffer
24057         for gethostbyname2_r.
24059 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
24061         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24062         Use .p2align directive instead, throughout.
24063         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24064         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24065         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24066         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24067         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24068         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24069         * sysdeps/x86_64/strchr.S: Likewise.
24070         * sysdeps/x86_64/strrchr.S: Likewise.
24072 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24074         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24076         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24078         * sysdeps/generic/math_private.h (__mpsin1): Remove
24079         declaration.
24080         (__mpcos1): Likewise.
24081         (__mpsin): New argument __range_reduce.
24082         (__mpcos): Likewise.
24083         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24084         (slow): Use __mpsin and __mpcos.
24085         (slow1): Likewise.
24086         (slow2): Likewise.
24087         (sloww): Likewise.
24088         (sloww1): Likewise.
24089         (sloww2): Likewise.
24090         (bsloww): Likewise.
24091         (bsloww1): Likewise.
24092         (bsloww2): Likewise.
24093         (cslow2): Likewise.
24094         (csloww): Likewise.
24095         (csloww1): Likewise.
24096         (csloww2): Likewise.
24097         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24098         range_reduce.  Merge in __mpsin1.
24099         (__mpcos): Likewise.
24100         (__mpsin1): Remove.
24101         (__mpcos1): Likewise.
24103 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
24105         * locale/loadlocale.c (_nl_intern_locale_data): Use
24106         LOCFILE_ALIGNED_P.
24107         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24108         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24109         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24110         obstack data is appropriately aligned.
24111         (obstack_int32_grow_fast): Likewise.
24112         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24113         * locale/programs/locfile.c (add_locale_uint32): Likewise.
24114         (add_locale_uint32_array): Likewise.
24116 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
24118         * benchtests/Makefile: Remove ARGLIST and RET variables.
24119         ($(objpfx)bench-%.c): Pass only function name to the script.
24120         * benchtests/README: Update documentation.
24121         * benchtests/acos-inputs: Add new directives.
24122         * benchtests/acosh-inputs: Likewise.
24123         * benchtests/asin-inputs: Likewise.
24124         * benchtests/asinh-inputs: Likewise.
24125         * benchtests/atan-inputs: Likewise.
24126         * benchtests/atanh-inputs: Likewise.
24127         * benchtests/cos-inputs: Likewise.
24128         * benchtests/cosh-inputs: Likewise.
24129         * benchtests/exp-inputs: Likewise.
24130         * benchtests/log-inputs: Likewise.
24131         * benchtests/pow-inputs: Likewise.
24132         * benchtests/rint-inputs: Likewise.
24133         * benchtests/sin-inputs: Likewise.
24134         * benchtests/sinh-inputs: Likewise.
24135         * benchtests/tan-inputs: Likewise.
24136         * benchtests/tanh-inputs: Likewise.
24137         * scripts/bench.pl: Add support for new directives.
24139 2013-10-07  Alan Modra  <amodra@gmail.com>
24141         * README: Fix careless merge.
24143 2013-10-05  Alan Modra  <amodra@gmail.com>
24145         * NEWS: Mention powerpc64le support and bugs fixed.
24146         * README: Both big-endian and little-endian powerpc64 supported.
24148 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24150         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24151         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24152         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24153         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24155 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24157         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24158         match prototype.
24160 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24162         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24163         Move -mhard-float appending from
24164         ports/sysdeps/powerpc/powerpc32/Makefile.
24165         [$(with-fp) = yes] (ASFLAGS): Likewise.
24166         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24167         * sysdeps/powerpc/nofpu: Move directory from
24168         ports/sysdeps/powerpc/nofpu.
24169         * sysdeps/powerpc/soft-fp: Move directory from
24170         ports/sysdeps/powerpc/soft-fp.
24171         * sysdeps/powerpc/powerpc32/405: Move directory from
24172         ports/sysdeps/powerpc/powerpc32/405.
24173         * sysdeps/powerpc/powerpc32/440: Move directory from
24174         ports/sysdeps/powerpc/powerpc32/440.
24175         * sysdeps/powerpc/powerpc32/464: Move directory from
24176         ports/sysdeps/powerpc/powerpc32/464.
24177         * sysdeps/powerpc/powerpc32/476: Move directory from
24178         ports/sysdeps/powerpc/powerpc32/476.
24179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24180         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24182         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24184         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24186         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24188         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24189         * README: Update for powerpc-*-linux-gnu software floating point
24190         support in libc.
24192         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24193         case to powerpc/powerpc32*.
24194         * sysdeps/unix/sysv/linux/configure: Regenerated.
24196         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24197         (_FPU_MASK_OM): Define as 0x04.
24198         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24199         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24200         0x00c10080.
24201         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24202         0x0000003c.
24203         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24206         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24207         getcontext_e500.
24208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24209         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24210         setcontext_e500.
24211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24212         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24213         and setcontext_e500.
24215 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24217         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24219 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24221         * manual/threads.texi (Default Thread Attributes): Fix typo.
24223 2013-10-04  Will Newton  <will.newton@linaro.org>
24225         * malloc/Makefile: Add tst-memalign.
24226         * malloc/tst-memalign.c: New file.
24228         * malloc/tst-posix_memalign.c: Add comments.
24229         (do_test): Add comments and call free on all potentially
24230         allocated pointers. Add space after cast.
24232         * malloc/tst-pvalloc.c: Add comments.
24233         (do_test): Add comments and call free on all potentially
24234         allocated pointers. Remove duplicate check for NULL pointer.
24235         Add space after cast.
24237         * malloc/tst-valloc.c: Add comments.
24238         (do_test): Add comments and call free on all potentially
24239         allocated pointers. Remove duplicate check for NULL pointer.
24240         Add space after cast.
24242 2013-10-04  Alan Modra  <amodra@gmail.com>
24244         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24245         Use stdint types in rather than __attribute__((mode())).
24246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24248 2013-10-04  Alan Modra  <amodra@gmail.com>
24250         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24251         Correct handling of unaligned relocs for little-endian.
24252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24254 2013-10-04  Alan Modra  <amodra@gmail.com>
24256         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24257         * configure: Regenerate.
24258         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24259         * shlib-versions: Likewise.
24261 2013-10-04  Alan Modra  <amodra@gmail.com>
24263         * string/tester.c (test_memrchr): Increment reported test cycle.
24265 2013-10-04  Alan Modra  <amodra@gmail.com>
24267         * string/test-memcpy.c (do_one_test): When reporting errors, print
24268         string address and don't overrun end of string.
24270 2013-10-04  Alan Modra  <amodra@gmail.com>
24272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24273         insrdi.  Make better use of reg selection to speed exit slightly.
24274         Schedule entry path a little better.  Remove useless "are we done"
24275         checks on entry to main loop.  Handle wrapping around zero address.
24276         Correct main loop count.  Handle single left-over word from main
24277         loop inline rather than by using loop_small.  Remove extra word
24278         case in loop_small caused by wrong loop count.  Add little-endian
24279         support.
24280         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24281         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24282         cache hint.
24283         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24284         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24285         support.  Avoid rlwimi.
24286         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24288 2013-10-04  Alan Modra  <amodra@gmail.com>
24290         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24291         insrdi.  Formatting.
24292         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24293         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24294         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24295         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24296         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24297         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24299 2013-10-04  Alan Modra  <amodra@gmail.com>
24301         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24303         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24304         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24305         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24307         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24308         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24309         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24310         use of regs.  Use power7 mtocrf.  Tidy function tails.
24312 2013-10-04  Alan Modra  <amodra@gmail.com>
24314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24315         Formatting.  Consistently use rXXX register defines or rN defines.
24316         Use early exit labels that avoid restoring unused non-volatile regs.
24317         Make cr field use more consistent with rWORDn compares.  Rename
24318         regs used as shift registers for unaligned loop, using rN defines
24319         for short lifetime/multiple use regs.
24320         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24321         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24322         addi 1,1,64 to pop stack frame.  Simplify return value code.
24323         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24325 2013-10-04  Alan Modra  <amodra@gmail.com>
24327         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24328         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24329         rather than rlwimi.
24330         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24331         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24332         little-endian support.  Correct typos.
24333         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24334         rather than rlwimi.
24335         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24336         in loop and entry code to keep "and." results.
24337         (strchr): Add little-endian support.  Comment.  Move cntlzd
24338         earlier in tail.
24339         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24341 2013-10-04  Alan Modra  <amodra@gmail.com>
24343         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24344         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24346         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24348 2013-10-04  Alan Modra  <amodra@gmail.com>
24350         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24351         (rTMP): Define as r11.
24352         (strcmp): Add little-endian support.  Optimise tail.
24353         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24354         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24355         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24357         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24358         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24359         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24361 2013-10-04  Alan Modra  <amodra@gmail.com>
24363         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24364         little-endian support.  Remove unnecessary "are we done" tests.
24365         Handle "s" wrapping around zero and extremely large "size".
24366         Correct main loop count.  Handle single left-over word from main
24367         loop inline rather than by using small_loop.  Correct comments.
24368         Delete "zero" tail, use "end_max" instead.
24369         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24371 2013-10-04  Alan Modra  <amodra@gmail.com>
24373         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24374         support.  Don't branch over align.
24375         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24376         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24377         support.  Rearrange tmp reg use to suit.  Comment.
24378         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24380 2013-10-04  Alan Modra  <amodra@gmail.com>
24382         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24384 2013-10-04  Alan Modra  <amodra@gmail.com>
24386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24387         conditional form of branch and link when obtaining pc.
24388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24390 2013-10-04  Alan Modra  <amodra@gmail.com>
24392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24393         HIWORD/LOWORD.
24394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24397 2013-10-04  Alan Modra  <amodra@gmail.com>
24399         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24400         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24401         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24402         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24403         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24404         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24405         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24406         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24407         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24408         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24410 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24411             Alistair Popple <alistair@ozlabs.au.ibm.com>
24412             Alan Modra <amodra@gmail.com>
24414         [BZ #15723]
24415         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24416         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24417         _dl_hwcap access for little-endian.
24418         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24419         destroy vmx regs when saving unaligned.
24420         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24422         destroy vmx regs when saving unaligned.
24424 2013-10-04  Alan Modra  <amodra@gmail.com>
24426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24427         Don't use a union to pack hi/low value.
24429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24431         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24432         for little-endian.
24433         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24434         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24435         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24436         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24437         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24439 2013-10-04  Alan Modra  <amodra@gmail.com>
24441         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24442         constants to usual value for .cst8 section, and remove redundant
24443         high address load.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24445         constant for 0x1p52.  Load little-endian words of double from
24446         correct stack offsets.
24448 2013-10-04  Alan Modra  <amodra@gmail.com>
24450         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24451         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24452         words of double from correct stack offsets.
24453         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24454         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24455         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24456         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24458         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24459         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24460         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24461         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24462         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24463         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24464         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24465         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24466         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24467         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24468         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24469         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24471 2013-10-04  Alan Modra  <amodra@gmail.com>
24473         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24474         64-bit int/double union.
24475         (_FPU_SETCW): Likewise.
24476         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24477         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24479 2013-10-04  Alan Modra  <amodra@gmail.com>
24481         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24482         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24484 2013-10-04  Alan Modra  <amodra@gmail.com>
24486         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24487         use vector int constants.
24488         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24490 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24492         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24493         array with long long.
24494         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24495         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24496         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24497         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24498         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24499         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24500         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24501         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24502         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24503         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24504         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24506         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24508 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24510         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24511         (__signbit): Likewise.  Correct for little-endian.
24512         (__signbitl): Call __signbit.
24513         (lrint): Correct for little-endian.
24514         (lrintf): Call lrint.
24516 2013-10-04  Alan Modra  <amodra@gmail.com>
24518         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24519         union 32-bit int array member with 64-bit int array.
24520         (t515, tm256): Double rather than long double.
24521         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24523 2013-10-04  Alan Modra  <amodra@gmail.com>
24525         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24526         Delete.
24527         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24528         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24529         version of math_ldbl.h.
24531 2013-10-04  Alan Modra  <amodra@gmail.com>
24533         [BZ #15734], [BZ #15735]
24534         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24535         all uses of ieee875 long double macros and unions.  Simplify test
24536         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24537         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24538         normalize after ldbl_extract_mantissa, and don't add hidden bit
24539         already handled.  Don't treat low word of ieee854 mantissa like
24540         low word of IBM long double and mask off bit when testing for
24541         zero.
24542         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24543         all uses of ieee875 long double macros and unions.  Simplify tests
24544         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24545         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24546         two1022, instead use their values.  Recognise that tests for large
24547         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24549         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24550         test for 0.0L and nan.  Correct negation.
24551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24552         ieee875 long double macros and unions.  Correct output for large
24553         magnitude x.  Correct absolute value calculation.
24554         (__erfcl): Likewise.
24555         * math/libm-test.inc: Add tests for errors discovered in IBM long
24556         double versions of fmodl, remainderl, erfl and erfcl.
24558 2013-10-04  Alan Modra  <amodra@gmail.com>
24560         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24561         all uses of ieee854 long double macros and unions.  Simplify tests
24562         for long doubles that are fully specified by the high double.
24563         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24564         Likewise.
24565         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24566         Remove dead code too.
24567         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24568         (__ieee754_ynl): Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24570         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24571         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24572         Remove dead code too.
24573         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24574         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24575         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24576         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24577         Simplify.
24578         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24579         Simplify.
24580         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24581         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24583         Comment on variable precision.
24584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24585         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24586         Likewise.
24587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24590         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24591         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24593 2013-10-04  Alan Modra  <amodra@gmail.com>
24595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24597         all uses of ieee854 long double macros and unions.
24598         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24599         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24600         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24601         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24602         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24603         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24604         Likewise.
24605         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24606         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24607         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24608         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24609         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24610         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24611         Simplify sign and nan test too.
24612         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24613         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24614         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24615         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24616         Likewise.
24617         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24618         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24619         Likewise.
24620         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24621         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24622         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24623         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24624         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24625         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24627 2013-10-04  Alan Modra  <amodra@gmail.com>
24629         * stdio-common/printf_size.c (__printf_size): Don't use
24630         union ieee854_long_double in fpnum union.
24631         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24632         signbit macro to retrieve sign from long double.
24633         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24634         retrieve sign from long double.
24635         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24636         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24637         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24638         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24639         * math/test-misc.c (main): Don't use union ieee854_long_double.
24641 2013-10-04  Alan Modra  <amodra@gmail.com>
24643         [BZ #15680]
24644         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24645         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24646         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24647         calculation.  Remove unnecessary test for denormal exponent.
24648         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24649         Correct handling of denormals.  Avoid undefined shift behaviour.
24650         Correct normalisation of low mantissa when low double is denormal.
24651         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24652         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24653         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24654         Correct normalisation of low mantissa.  Test for overflow of high
24655         mantissa and normalise.
24656         (ldbl_nearbyint): Use more readable constant for two52.
24657         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24658         (__mpn_construct_long_double): Fix test for overflow of high
24659         mantissa and correct normalisation.  Avoid undefined shift.
24661 2013-10-04  Alan Modra  <amodra@gmail.com>
24663         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24664         (union ibm_extended_long_double): Define as an array of ieee754_double.
24665         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24666         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24667         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24670         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24671         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24672         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24674         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24675         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24677 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24679         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24680         page size instead of calling getpagesize.
24682         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24683         (LOCFILE_ALIGN_MASK): Likewise.
24684         (LOCFILE_ALIGN_UP): Likewise.
24685         (LOCFILE_ALIGNED_P): Likewise.
24686         * locale/programs/ld-collate.c (collate_output): Use the new
24687         macros instead of __alignof__ (int32_t).
24688         * locale/weight.h (findidx): Likewise.
24690 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24692         [BZ #431]
24693         * manual/string.texi: Fix strncat and wcsncat.
24695 2013-10-03  Brooks Moses  <bmoses@google.com>
24697         [BZ #15915]
24698         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24699         * Makerules: ...here, and adjust associated comments.
24701 2013-10-02  Will Newton  <will.newton@linaro.org>
24703         * malloc/Makefile: Add tst-pvalloc.
24704         * malloc/tst-pvalloc.c: New file.
24706 2013-10-02  Will Newton  <will.newton@linaro.org>
24708         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24709         improve test coverage.
24711 2013-10-02  Will Newton  <will.newton@linaro.org>
24713         * malloc/Makefile: Add tst-posix_memalign.
24714         * malloc/tst-posix_memalign.c: New file.
24716 2013-10-01  Eric Blake  <eblake@redhat.com>
24718         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24719         Use __THROWNL rather than __THROW on static functions.
24721 2013-09-30  Petr Machata  <pmachata@redhat.com>
24723         * elf/elf.h (R_AARCH64_ABS16): New macro.
24724         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24725         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24726         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24727         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24728         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24729         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24730         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24731         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24732         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24733         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24734         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24735         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24736         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24737         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24738         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24739         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24740         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24741         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24742         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24743         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24744         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24745         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24746         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24747         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24748         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24749         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24750         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24751         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24752         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24753         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24754         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24755         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24756         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24757         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24758         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24759         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24760         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24761         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24762         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24763         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24764         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24765         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24766         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24767         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24768         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24769         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24770         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24771         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24772         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24773         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24774         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24775         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24776         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24777         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24778         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24779         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24780         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24781         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24782         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24783         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24784         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24785         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24786         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24787         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24788         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24789         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24790         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24791         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24792         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24793         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24794         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24795         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24796         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24797         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24798         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24799         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24800         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24801         (R_AARCH64_TLSDESC_LDR): Likewise.
24802         (R_AARCH64_TLSDESC_ADD): Likewise.
24803         (R_AARCH64_TLSDESC_CALL): Likewise.
24805 2013-09-30  Andreas Schwab  <schwab@suse.de>
24807         [BZ #15048]
24808         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24809         the nss database lookup.
24810         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24813 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24815         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24817 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24819         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24820         ${Bash-specific parameter/pattern/string} parameter expansion.
24821         * sysdeps/unix/make-syscalls.sh: Likewise.
24823 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24825         * sysdeps/sh/stackguard-macros.h: New file.
24827 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24831         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24832         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24833         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24834         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24836 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24838         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24839         Fix thread ID register.
24841 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24843         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24844         [POSIX || UNIX98]: Require rather than permitting all symbols from
24845         <time.h>.
24846         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24847         element of struct sched_param.
24848         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24849         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24850         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24851         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24852         constant.
24854 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24856         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24857         argument calculation.
24859 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24861         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24862         Expect macro.
24863         [POSIX] (pthread_attr_t): Do not require type.
24864         [POSIX] (pthread_cond_t): Likewise.
24865         [POSIX] (pthread_condattr_t): Likewise.
24866         [POSIX] (pthread_key_t): Likewise.
24867         [POSIX] (pthread_mutex_t): Likewise.
24868         [POSIX] (pthread_mutexattr_t): Likewise.
24869         [POSIX] (pthread_once_t): Likewise.
24870         [POSIX] (pthread_t): Likewise.
24871         [POSIX-based standards] (pthread_atfork): Expect function.
24873 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24874             Richard Sandiford  <richard@codesourcery.com>
24876         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24877         (swap_endianness_p): New extern variable.
24878         (set_big_endian): New inline function.
24879         (maybe_swap_uint32): Likewise.
24880         (maybe_swap_uint32_array): Likewise.
24881         (maybe_swap_uint32_obstack): Likewise.
24882         * locale/programs/locfile.c: Include <stdbool.h>.
24883         (swap_endianness_p): New variable.
24884         (add_locale_uint32): Call maybe_swap_uint32.
24885         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24886         (write_locale_data): Call maybe_swap_uint32_array.
24887         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24888         maybe_swap_uint32.
24889         (obstack_int32_grow_fast): Likewise.
24890         (output_weightwc): Call maybe_swap_uint32_obstack.
24891         (collate_output): Likewise.
24892         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24893         (OPT_LITTLE_ENDIAN): Likewise.
24894         (options): Add --little-endian and --big-endian options.
24895         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24896         * locale/programs/locarchive.c: Include "locfile.h".
24897         (GET): New macro.
24898         (SET): Likewise.
24899         (INC): Likewise.
24900         (create_archive): Use the new macros to access fields of
24901         structures directly mapped from or written to locale archives.
24902         (oldlocrecentcmp): Likewise.
24903         (enlarge_archive): Likewise.
24904         (insert_name): Likewise.
24905         (add_alias): Likewise.
24906         (add_locale): Likewise.
24907         (delete_locales_from_archive): Likewise.
24908         (show_archive_content): Likewise.
24909         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24910         locale data.
24912 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24914         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24915         http://www.gnu.org/doc/freemanuals.texi.
24916         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24918 2013-09-24  Will Newton  <will.newton@linaro.org>
24920         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24921         macro.
24923 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24925         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24926         unsigned char.
24928 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24930         * manual/threads.texi (POSIX Threads): Fix a typo.
24932 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24934         [BZ #14547]
24935         * string/tst-strcoll-overflow.c: New test case.
24936         * string/Makefile (xtests): Add tst-strcoll-overflow.
24937         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24938         cache if string sizes may cause integer overflow.
24940         [BZ #14547]
24941         * string/strcoll_l.c (coll_seq): New members rule, idx,
24942         save_idx and back_us.
24943         (get_next_seq_nocache): New function.
24944         (do_compare_nocache): New function.
24945         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24946         when malloc fails.
24948 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24950         [BZ #15754]
24951         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24952         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24953         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24955         [BZ #15754]
24956         * elf/Makefile (tests): Add tst-ptrguard1.
24957         (tests-static): Add tst-ptrguard1-static.
24958         (tst-ptrguard1-ARGS): Define.
24959         (tst-ptrguard1-static-ARGS): Define.
24960         * elf/tst-ptrguard1.c: New file.
24961         * elf/tst-ptrguard1-static.c: New file.
24962         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24963         * sysdeps/i386/stackguard-macros.h: Likewise.
24964         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24965         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24966         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24967         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24968         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24969         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24971 2013-09-23  Hector Marco  <hecmargi@upv.es>
24972             Ismael Ripoll  <iripoll@disca.upv.es>
24973             Carlos O'Donell  <carlos@redhat.com>
24975         [BZ #15754]
24976         * sysdeps/generic/stackguard-macros.h: Define
24977         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24978         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24979         Define __pointer_chk_guard_local.
24980         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24981         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24983 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24985         [BZ #15859]
24986         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24988 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24990         * include/string.h (__ffs): Declare as hidden.
24991         * string/ffs.c (__ffs): Define as hidden.
24992         * sysdeps/i386/ffs.c (__ffs): Likewise.
24993         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24994         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24995         * sysdeps/s390/ffs.c (__ffs): Likewise.
24996         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24998 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
25000         * NEWS: Mention malloc probes.
25002         * malloc/arena.c (new_heap): New memory_heap_new probe.
25003         (grow_heap): New memory_heap_more probe.
25004         (shrink_heap): New memory_heap_less probe.
25005         (heap_trim): New memory_heap_free probe.
25006         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25007         (systrim): New memory_sbrk_less probe.
25008         * manual/probes.texi: Document them.
25010         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25011         * manual/probes.texi: Document it.
25013         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25014         (__libc_realloc): Add memory_realloc_retry probe.
25015         (__libc_memalign): Add memory_memalign_retry probe.
25016         (__libc_valloc): Add memory_valloc_retry probe.
25017         (__libc_pvalloc): Add memory_pvalloc_retry probe.
25018         (__libc_calloc): Add memory_calloc_retry probe.
25019         * manual/probes.texi: Document them.
25021         * malloc/arena.c (get_free_list): Add probe
25022         memory_arena_reuse_free_list.
25023         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25024         and memory_arena_reuse.
25025         (arena_get2) [!PER_THREAD]: Likewise.
25026         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25027         memory_arena_reuse_realloc.
25028         * manual/probes.texi: Document them.
25030         * malloc/malloc.c (__libc_free): Add
25031         memory_mallopt_free_dyn_thresholds probe.
25032         (__libc_mallopt): Add multiple memory_mallopt probes.
25033         * manual/probes.texi: Document them.
25035         * malloc/malloc.c: Include stap-probe.h.
25036         (__libc_mallopt): Add memory_mallopt probe.
25037         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25038         * manual/probes.texi: New.
25039         * manual/Makefile (chapters): Add probes.
25040         * manual/threads.texi: Set next node.
25042 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
25044         [BZ #15963, #13985]
25045         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25046         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25047         Add `Chinese' to `nan' entry name.
25049 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25051         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25052         (POLYNOMIAL): Likewise.
25053         (TAYLOR_SINCOS): Likewise.
25054         (TAYLOR_SLOW): Likewise.
25055         (__sin): Use TAYLOR_SINCOS.
25056         (__cos): Likewise.
25057         (slow): Use TAYLOR_SLOW.
25058         (sloww): Likewise.
25059         (bsloww): Likewise.
25060         (csloww): Likewise.
25062 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25064         * stdlib/strtod_l.c: Fix buffer overrun.
25066 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25068         * benchtests/Makefile (bench): Add sincos.
25069         * benchtests/bench-sincos.c: New file.
25071         * math/libm-test.inc (cos_test_data): New test inputs.
25072         (sin_test_data): Likewise.
25074         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25075         macro.
25076         (__sin): Use it.
25077         (__cos): Likewise.
25078         (slow1): Likewise.
25079         (slow2): Likewise.
25080         (sloww1): Likewise.
25081         (sloww2): Likewise.
25082         (bsloww1): Likewise.
25083         (bsloww2): Likewise.
25084         (cslow2): Likewise.
25085         (csloww1): Likewise.
25086         (csloww2): Likewise.
25088         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25089         function.
25090         (__sin): Use it.
25091         (__cos): Likewise.
25093         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25094         gotos.
25095         (__cos): Likewise.
25097 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
25099         * config.h.in (HAVE_MIPS_NAN2008): New macro.
25100         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25101         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25102         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25103         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25104         * elf/cache.c (print_entry): Handle the new cache flags.
25106 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25107             Aldy Hernandez  <aldyh@redhat.com>
25109         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25110         Change condition to [_SOFT_FLOAT].
25111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25116         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25119         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25120         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25121         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25122         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25123         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25124         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25126         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25127         declaration.
25129 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
25131         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25132         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25133         (__longjmp): Use LOAD_GP to load saved GPRs.
25134         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25135         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25136         (__sigsetjmp): Use SAVE_GP to save GPRs.
25138         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25139         Do not append -msoft-float.
25140         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25142 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25144         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25146 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25148         [BZ #15966]
25149         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25150         (_FPU_GETCW): Use initial "__" on variable and field names but not
25151         on macro parameter name.
25152         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25153         parentheses around reference to macro parameter.
25155 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25157         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25158         prototype.
25159         (ctype_startup): Use uint32_t in cast and sizeof for
25160         ctype->charnames.
25162 2013-09-11  Jia Liu  <proljc@gmail.com>
25164         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25165         __daddr_t_defined.
25166         [__FreeBSD__]: Likewise.
25168 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25171         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25172         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25173         (strchr): Remove __strchr_sse42 ifunc selection.
25174         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25175         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25177 2013-09-11  Will Newton  <will.newton@linaro.org>
25179         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25180         parameter to RES. Remove hardcoded 1000 value.
25181         * benchtests/bench-skeleton.c (main): Pass RES parameter
25182         to TIMING_INIT and multiply result by 1000.
25184 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25186         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25188 2013-09-11  Andreas Schwab  <schwab@suse.de>
25190         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25191         if not defined.
25192         (O_TMPFILE) [__USE_GNU]: Define.
25193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25194         Define.
25196 2013-09-11  Will Newton  <will.newton@linaro.org>
25198         [BZ #15857]
25199         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25200         does not overflow.
25202 2013-09-11  Will Newton  <will.newton@linaro.org>
25204         [BZ #15856]
25205         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25206         does not overflow.
25208 2013-09-11  Will Newton  <will.newton@linaro.org>
25210         [BZ #15855]
25211         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25212         does not overflow.
25214 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25216         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25217         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25218         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25219         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25220         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25222 2013-09-10  Allan McRae  <allan@archlinux.org>
25224         [BZ #15748]
25225         * manual/arith.texi (Parsing of Floats): Clarify
25226         cross-reference.
25228         [BZ #15849]
25229         * manual/install.texi (Running make install): Mention
25230         --enable-pt-chown.
25231         * INSTALL: Regenerated.
25233 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25235         * csu/init-first.c (_init): Remove the !SHARED condition around
25236         FPU control word initialization.
25237         * elf/dl-support.c (_dl_fpu_control): New variable.
25238         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25239         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25240         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25241         * math/test-fpucw-static.c: New file.
25242         * math/test-fpucw-ieee.c: New file.
25243         * math/test-fpucw-ieee-static.c: New file.
25244         * math/Makefile (tests): Add `test-fpucw-ieee' and
25245         `$(tests-static)'.
25246         (tests-static): New variable.
25247         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25248         dependency to...
25249         [($(build-shared),yes)]
25250         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25251         ... this.
25252         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25253         New dependency.
25255 2013-09-09  Allan McRae  <allan@archlinux.org>
25257         [BZ #15939]
25258         * manual/string.texi (Collation Functions): Fix typo in
25259         strcoll example.
25260         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25262         [BZ #15893]
25263         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25265         [BZ #15892]
25266         * libio/memstream.c (open_memstream): Fix memory leak.
25267         * libio/wmemstream.c (open_wmemstream): Likewise.
25269         [BZ #15895]
25270         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25272 2013-09-09  Will Newton  <will.newton@linaro.org>
25274         * malloc/Makefile: Add tst-realloc to tests.
25275         * malloc/tst-realloc.c: New file.
25277 2013-09-09  Allan McRae  <allan@archlinux.org>
25279         [BZ #15844]
25280         * COPYING: Update from GNU website to fix FSF address.
25281         * COPYING.LIB: Likewise.
25283 2013-09-06  David S. Miller  <davem@davemloft.net>
25285         * po/zh_TW.po: Update Chinese (traditional) translation from
25286         translation project.
25288 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25289             Joseph Myers  <joseph@codesourcery.com>
25291         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25292         "localeinfo.h".
25293         (obstack_chunk_alloc): New macro.
25294         (obstack_chunk_free): Likewise.
25295         (record_offset): New function.
25296         (init_locale_data): Likewise.
25297         (align_locale_data): Likewise.
25298         (add_locale_empty): Likewise.
25299         (add_locale_raw_data): Likewise.
25300         (add_locale_raw_obstack): Likewise.
25301         (add_locale_string): Likewise.
25302         (add_locale_wstring): Likewise.
25303         (add_locale_uint32): Likewise.
25304         (add_locale_uint32_array): Likewise.
25305         (add_locale_char): Likewise.
25306         (start_locale_structure): Likewise.
25307         (end_locale_structure): Likewise.
25308         (start_locale_prelude): Likewise.
25309         (end_locale_prelude): Likewise.
25310         (write_locale_data): Take locale_file structure rather than an
25311         iovec.
25312         * locale/programs/locfile.h: Include "obstack.h".
25313         (struct locale_file): Change to store locale file contents instead
25314         of header.
25315         (init_locale_data): New prototype.
25316         (align_locale_data): Likewise.
25317         (add_locale_empty): Likewise.
25318         (add_locale_raw_data): Likewise.
25319         (add_locale_raw_obstack): Likewise.
25320         (add_locale_string): Likewise.
25321         (add_locale_wstring): Likewise.
25322         (add_locale_uint32): Likewise.
25323         (add_locale_uint32_array): Likewise.
25324         (add_locale_char): Likewise.
25325         (start_locale_structure): Likewise.
25326         (end_locale_structure): Likewise.
25327         (start_locale_prelude): Likewise.
25328         (end_locale_prelude): Likewise.
25329         (write_locale_data): Update prototype.
25330         * locale/programs/3level.h (struct TABLE): Remove result field.
25331         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25332         Use new locale_file interface.
25333         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25334         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25335         * locale/programs/ld-address.c (address_output): Use new
25336         locale_file interface.
25337         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25338         NO_ADD_LOCALE.
25339         (collate_finish): Don't call collseq_table_finalize.
25340         (collate_output): Use new locale_file interface.
25341         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25342         in file.
25343         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25344         (TABLE): Move defines earlier in file.
25345         (ELEMENT): Likewise.
25346         (DEFAULT): Likewise.
25347         (wctrans_table_add): Move macro and inline function earlier in
25348         file.
25349         (struct wctype_table): Move type earlier in file.
25350         (add_locale_wctype_table): New static prototype.
25351         (struct locale_ctype_t): Use logical types instead of struct iovec
25352         pointers for members.
25353         (ctype_output): Use new locale_file interface.
25354         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25355         new locale_file interface.
25356         (allocate_arrays): Update for use of new locale_file interface.
25357         * locale/programs/ld-identification.c (identification_output): Use
25358         new locale_file interface.
25359         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25360         * locale/programs/ld-messages.c (messages_output): Likewise.
25361         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25362         * locale/programs/ld-name.c (name_output): Likewise.
25363         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25364         * locale/programs/ld-paper.c (paper_output): Likewise.
25365         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25366         * locale/programs/ld-time.c (time_output): Likewise.
25368 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25370         * benchtests/Makefile: Add memrchr benchmark.
25371         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25372         benchmark as memrchr.
25373         * benchtests/bench-memrchr-ifunc.c: New file.
25374         * benchtests/bench-memrchr.c: New file.
25376 2013-09-06   Will Newton  <will.newton@linaro.org>
25378         * benchtests/Makefile (string-bench): Add memcpy.
25380 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25381             Cong Wang  <amwang@redhat.com>
25383         [BZ #15850]
25384         * sysdeps/unix/sysv/linux/bits/in.h
25385         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25386         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25387         before __USE_KERNEL_IPV6_DEFS uses.
25388         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25389         IPPROTO_BEETPH.
25390         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25391         sockaddr_in6, or ipv6_mreq.
25393 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25395         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25396         memory access for final bytes in some large inputs.
25397         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25399 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25401         * string/test-memrchr.c: New file.
25402         * string/test-memrchr-ifunc.c: New file.
25403         * string/Makefile: Add new memrchr testcase.
25405 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25407         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25408         fanotify_init returns EPERM.
25410 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25412         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25413         errors.
25414         (top level): Treat second token from macro or constant entries for
25415         allowed headers as allowed.
25416         * include/complex.h: Condition internal declarations on
25417         [!_ISOMAC].
25418         * include/fenv.h: Condition include of <stdbool.h> and internal
25419         declarations on [!_ISOMAC].
25421 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25423         [BZ #15923]
25424         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25426 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25428         * configure.in (--enable-versioning): Remove configure option.
25429         (libc_cv_asm_symver_directive): Remove configure test.
25430         (libc_cv_ld_version_script_option): Likewise.
25431         (VERSIONING): Remove variable and AC_SUBST.
25432         (DO_VERSIONING): Remove AC_DEFINE.
25433         * configure: Regenerated.
25434         * config.h.in (DO_VERSIONING): Remove macro.
25435         * Makerules [$(versioning) = yes]: Change conditionals to
25436         [$(build-shared) = yes].
25437         * config.make.in (versioning): Remove variable.
25438         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25439         [$(build-shared) = yes].
25440         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25441         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25442         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25443         [$(build-shared) = yes].
25444         * extra-lib.mk [$(versioning) = yes]: Likewise.
25445         * hurd/Makefile [$(versioning) = yes]: Likewise.
25446         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25447         [SHARED].
25448         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25449         [SHARED].
25450         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25451         [SHARED && !NO_HIDDEN].
25452         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25453         [SHARED].
25454         [SHARED && DO_VERSIONING]: Likewise..
25455         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25456         [$(build-shared) = yes].
25457         * manual/install.texi (--disable-versioning): Remove
25458         documentation.
25459         * INSTALL: Regenerated.
25460         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25461         to [SHARED].
25462         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25463         [$(build-shared) = yes].
25464         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25465         * sysdeps/i386/i686/multiarch/strstr-c.c
25466         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25467         [SHARED && !NO_HIDDEN].
25468         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25469         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25470         * sysdeps/powerpc/powerpc32/dl-machine.c
25471         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25472         * sysdeps/powerpc/powerpc32/sysdep.h
25473         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25474         to [SHARED && PIC && !NO_HIDDEN].
25475         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25476         conditional to [SHARED].
25478 2013-09-04   Will Newton  <will.newton@linaro.org>
25480         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25481         * benchtests/bench-string.h: Include bench-timing.h instead
25482         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25483         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25484         call to HP_TIMING_DIFF_INIT.
25485         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25486         instead of hp-timing.h macros.
25487         * benchtests/bench-memchr.c: Likewise.
25488         * benchtests/bench-memcmp.c: Likewise.
25489         * benchtests/bench-memcpy.c: Likewise.
25490         * benchtests/bench-memmem.c: Likewise.
25491         * benchtests/bench-memmove.c: Likewise.
25492         * benchtests/bench-memset.c: Likewise.
25493         * benchtests/bench-rawmemchr.c: Likewise.
25494         * benchtests/bench-strcasecmp.c: Likewise.
25495         * benchtests/bench-strcasestr.c: Likewise.
25496         * benchtests/bench-strcat.c: Likewise.
25497         * benchtests/bench-strchr.c: Likewise.
25498         * benchtests/bench-strcmp.c: Likewise.
25499         * benchtests/bench-strcpy.c: Likewise.
25500         * benchtests/bench-strcpy_chk.c: Likewise.
25501         * benchtests/bench-strlen.c: Likewise.
25502         * benchtests/bench-strncasecmp.c: Likewise.
25503         * benchtests/bench-strncat.c: Likewise.
25504         * benchtests/bench-strncmp.c: Likewise.
25505         * benchtests/bench-strncpy.c: Likewise.
25506         * benchtests/bench-strnlen.c: Likewise.
25507         * benchtests/bench-strpbrk.c: Likewise.
25508         * benchtests/bench-strrchr.c: Likewise.
25509         * benchtests/bench-strspn.c: Likewise.
25510         * benchtests/bench-strstr.c: Likewise.
25512 2013-09-04  Will Newton  <will.newton@linaro.org>
25514         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25516 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25518         [BZ #15427]
25519         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25520         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25521         * math/libm-test.inc (lgamma_test_data): Add more tests.
25522         * sysdeps/i386/fpu/libm-test-ulps: Update.
25523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25525 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25527         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25529         Add ifunc.
25530         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25531         Add strcmp-sse2-unaligned
25532         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25534 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25536         * Versions.def (libc): Add GLIBC_2.19.
25538 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25540         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25541         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25543 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25545         [BZ #14155]
25546         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25547         intermediate calculations in recurrence.
25548         (__ieee754_ynf): Likewise.
25549         * math/libm-test.inc (jn_test_data): Do not allow spurious
25550         underflow exception.  Add more tests.
25551         (yn_test_data): Add more tests.
25552         * sysdeps/i386/fpu/libm-test-ulps: Update.
25553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25555 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25557         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25559 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25561         * csu/init-first.c: Fix then/than typos.
25562         * locale/programs/ld-collate.c: Likewise.
25563         * locale/programs/linereader.h: Likewise.
25564         * manual/charset.texi: Likewise.
25565         * manual/filesys.texi: Likewise.
25566         * manual/stdio.texi: Likewise.
25567         * manual/string.texi: Likewise.
25568         * stdlib/fmtmsg.c: Likewise.
25569         * sysdeps/i386/stpncpy.S: Likewise.
25570         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25571         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25572         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25573         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25575 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25577         * elf/dl-open.c: Fix typos.
25578         * iconvdata/gbbig5.c: Likewise.
25579         * iconvdata/iso-2022-jp.c: Likewise.
25580         * iconv/gconv_int.h: Likewise.
25581         * iconv/loop.c: Likewise.
25582         * nis/rpcsvc/nis.h: Likewise.
25583         * resolv/ns_name.c: Likewise.
25584         * stdio-common/vfscanf.c: Likewise.
25585         * streams/stropts.h: Likewise.
25586         * sunrpc/rpc_thread.c: Likewise.
25587         * sysdeps/i386/strpbrk.S: Likewise.
25588         * sysdeps/ieee754/k_standard.c: Likewise.
25589         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25590         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25591         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25592         * sysdeps/mach/hurd/profil.c: Likewise.
25593         * sysdeps/s390/dl-procinfo.h: Likewise.
25594         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25595         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25596         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25597         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25598         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25600 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25602         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25605 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25607         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25608         aix specific files.
25609         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25610         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25611         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25612         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25613         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25614         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25615         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25616         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25618 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25619             Roland McGrath  <roland@hack.frob.com>
25621         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25622         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25624 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25626         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25627         __executable_start symbol instead of _start.
25629 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25631         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25632         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25633         Move macros to...
25634         * sysdeps/gnu/ldsodefs.h: ... this new file.
25636         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25637         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25638         instead of ELFOSABI_LINUX.
25640         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25641         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25642         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25643         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25644         Likewise.
25645         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25646         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25647         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25648         Likewise.
25649         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25650         (ibm_extended_long_double): Add ieee_nan member.
25651         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25652         (do_test): New function.
25654         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25655         TEST_TRUNC.
25656         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25657         functions, renamed from truncdfsf_test, trunctfsf_test,
25658         trunctfdf_test.
25659         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25660         functions.
25661         (do_test): Run all these.
25663 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25665         * argp/argp-help.c: Fix typos.
25666         * argp/argp-parse.c: Likewise.
25667         * debug/backtracesyms.c: Likewise.
25668         * elf/elf.h: Likewise.
25669         * malloc/malloc.c: Likewise.
25670         * nis/nis_print.c: Likewise.
25671         * resolv/res_comp.c: Likewise.
25672         * stdlib/stdlib.h: Likewise.
25673         * sunrpc/clnt_tcp.c: Likewise.
25674         * sunrpc/clnt_udp.c: Likewise.
25675         * sunrpc/clnt_unix.c: Likewise.
25676         * sysdeps/unix/bsd/ptsname.c: Likewise.
25677         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25678         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25680         Likewise.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25682         Likewise.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25684         Likewise.
25685         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25687 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25689         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25692 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25694         [BZ #15897]
25695         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25696         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25697         ($(objpfx)bug-dl-leaf): New rule.
25698         ($(objpfx)bug-dl-leaf.so): Likewise.
25699         ($(objpfx)bug-dl-leaf.out): Likewise.
25700         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25701         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25702         * dlfcn/bug-dl-leaf.c: New test.
25703         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25704         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25705         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25706         (dlclose): Likewise.
25707         (dlmopen): Likewise.
25709 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25711         * include/netdb.h [!_ISOMAC]:
25712         Don't include <tls.h>.
25713         (h_errno, __libc_h_errno): Move declaration and macros out of
25714         [_LIBC_REENTRANT].
25716         * include/resolv.h [_RESOLV_H_]:
25717         Don't include <tls.h>.
25718         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25719         * resolv/res_libc.c: Don't include <tls.h>.
25720         (_res): Use __attribute__ ((nocommon)) in place of
25721         __attribute__ ((section (".bss"))).
25723         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25724         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25726         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25728         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25729         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25731         * resolv/res_mkquery.c: Include <sys/time.h>.
25733         * inet/ifreq.c: Moved to ...
25734         * sysdeps/unix/ifreq.c: ... here.
25735         * inet/ifreq.c: New file, true stub version.
25737         * socket/sa_len.c: New file.
25738         * socket/Makefile (aux): Add it.
25739         * sysdeps/unix/sysv/linux/Makefile
25740         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25741         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25742         and #include <socket/sa_len.c>.
25743         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25744         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25746         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25747         * bits/socket.h: ... here.
25749         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25750         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25751         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25753 2013-08-27  Andreas Schwab  <schwab@suse.de>
25755         [BZ #15736]
25756         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25757         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25758         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25759         * string/test-strcasecmp.c (test_main): Run tests in several
25760         locales.
25761         * string/test-strncasecmp.c (test_main): Likewise.
25763         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25764         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25765         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25766         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25767         (__strncasecmp_ssse3) [PIC]: Likewise.
25769 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25771         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25773         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25774         instead of explicitly declaring xdecrypt.
25775         * nis/nss_nis/nis-publickey.c: Likewise.
25777 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25779         [BZ #15890]
25780         * nscd/aicache.c: Include res_hconf.h.
25781         (addhstaiX): Initialize res_hconf.
25783 2013-08-26  Andreas Schwab  <schwab@suse.de>
25785         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25786         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25788 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25790         * nscd/aicache.c (addhstaiX): Fix indentation.
25792 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25794         * configure.ac: Quote $build_pt_chown test.
25795         * configure: Regenerated.
25797 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25799         [BZ #15532]
25800         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25801         * math/s_cexpf.c (__cexpf): Likewise.
25802         * math/s_cexpl.c (__cexpl): Likewise.
25803         * math/libm-test.inc (cexp_test_data): Correct expected return
25804         value for NaN + i0.  Add another test.
25806 2013-08-22  David S. Miller  <davem@davemloft.net>
25808         * po/ca.po: Update Catalan translation from translation project.
25809         * po/uk.po: Add Ukrainian translations from translation project.
25811 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25813         [BZ #15797]
25814         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25815         is infinite, not alongside NaN test.
25816         * math/s_fdimf.c (__fdimf): Likewise.
25817         * math/s_fdiml.c (__fdiml): Likewise.
25818         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25819         errno is unchanged.
25821 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25823         * argp/argp-help.c: Fix typos.
25824         * crypt/speeds.c: Likewise.
25825         * csu/check_fds.c: Likewise.
25826         * elf/dl-load.c: Likewise.
25827         * elf/dl-open.c: Likewise.
25828         * elf/reldep3.c: Likewise.
25829         * elf/reldep.c: Likewise.
25830         * elf/sprof.c: Likewise.
25831         * iconv/iconv_charmap.c: Likewise.
25832         * iconv/skeleton.c: Likewise.
25833         * iconv/strtab.c: Likewise.
25834         * io/lockf64.c: Likewise.
25835         * libio/libioP.h: Likewise.
25836         * resolv/gai_notify.c: Likewise.
25837         * resolv/ns_name.c: Likewise.
25838         * resolv/ns_samedomain.c: Likewise.
25839         * resolv/res_send.c: Likewise.
25840         * stdlib/random.c: Likewise.
25841         * sunrpc/rpc/xdr.h: Likewise.
25842         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25843         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25844         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25845         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25846         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25847         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25848         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25849         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25850         * sysdeps/mach/hurd/check_fds.c: Likewise.
25851         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25852         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25853         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25854         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25855         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25856         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25857         * sysdeps/pthread/aio_notify.c: Likewise.
25858         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25859         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25860         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25862         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25864 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25866         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25867         version if bit_Slow_SSE4_2 is set.
25868         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25869         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25871 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25873         [BZ #15867]
25874         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25875         trampoline stack frame information.
25876         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25877         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25878         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25879         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25880         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25881         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25882         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25883         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25884         sa_flags value.
25885         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25886         interrupting a syscall and set with option SA_SIGINFO.
25888 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25890         [BZ #15531]
25891         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25892         argument is infinite.
25893         * math/s_cprojf.c (__cprojf): Likewise.
25894         * math/s_cprojl.c (__cprojl): Likewise.
25895         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25896         * math/libm-test.inc (cproj_test_data): Add more tests.
25898         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25900         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25901         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25902         size.  Use __ffs to determine corresponding shift.
25904 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25905             Roland McGrath  <roland@hack.frob.com>
25907         * Makefile (INSTALL): Remove trailing blank lines from output of
25908         makeinfo.
25910 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25912         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25913         Align 32 bit compat elf_greg to 8 bytes.
25915 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25917         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25919 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25921         * string/strcoll_l.c (coll_seq): New structure.
25922         (get_next_seq_cached): New function.
25923         (get_next_seq): New function.
25924         (do_compare): New function.
25925         (STRCOLL): Use GNU style definition.  Simplify implementation
25926         by using get_next_seq, get_next_seq_cached and do_compare.
25928 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25930         [BZ #14699]
25931         CVE-2013-4237
25932         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25933         member.
25934         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25935         member.
25936         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25937         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25938         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25939         conditional.
25940         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25941         GETDENTS_64BIT_ALIGNED.
25942         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25943         * manual/filesys.texi (Reading/Closing Directory): Document
25944         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25945         strongly.
25946         * manual/conf.texi (Limits for Files): Add portability note to
25947         NAME_MAX, PATH_MAX.
25948         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25950 2013-08-13  Andreas Schwab  <schwab@suse.de>
25952         [BZ #15749]
25953         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25954         of fabs.
25955         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25956         LDBL_MAX_EXP >= 16384]: Add tests for it.
25958 2013-08-12  David S. Miller  <davem@davemloft.net>
25960         * version.h (RELEASE): Set to "development".
25961         (VERSION): Set to "2.18.90".
25962         * NEWS: Add 2.19 section.
25964 2013-08-03  David S. Miller  <davem@davemloft.net>
25966         * po/ko.po: Update Korean translation from translation project.
25968 2013-08-01  David S. Miller  <davem@davemloft.net>
25970         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25971         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25972         Bilka.
25974 2013-07-30  David S. Miller  <davem@davemloft.net>
25976         * po/fr.po: Update French translation from translation project.
25978 2013-07-28  David S. Miller  <davem@davemloft.net>
25980         * po/cs.po: Update Czech translation from translation project.
25982         * po/sv.po: Update Swedish translation from translation project.
25984 2013-07-27  David S. Miller  <davem@davemloft.net>
25986         * po/eo.po: Update Esperanto translation from translation project.
25988         * po/vi.po: Update Vietnamese translation from translation project.
25990         * po/de.po: Update German translation from translation project.
25992 2013-07-26  David S. Miller  <davem@davemloft.net>
25994         * po/bg.po: Update Bulgarian translation from translation project.
25996         * po/nl.po: Update Dutch translation from translation project.
25997         * po/pl.po: Update Polish translation from translation project.
25998         * po/ru.po: Update Russian translation from translation project.
26000 2013-07-24  David S. Miller  <davem@davemloft.net>
26002         * po/libc.pot: Update.
26004 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26006         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26007         variable page size.
26008         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26009         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26010         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26012 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26014         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26016 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26017             Andreas Schwab  <schwab@suse.de>
26018             Roland McGrath  <roland@hack.frob.com>
26019             Joseph Myers  <joseph@codesourcery.com>
26020             Carlos O'Donell  <carlos@redhat.com>
26022         [BZ #15755]
26023         * config.h.in: Define HAVE_PT_CHOWN.
26024         * config.make.in (build-pt-chown): New variable.
26025         * configure.in (--enable-pt_chown): New configure option.
26026         * configure: Regenerate.
26027         * login/Makefile: Include Makeconfig.  Build pt_chown only if
26028         build-pt-chown is enabled.
26029         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26030         pt_chown to fix pty ownership.
26031         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26032         CLOSE_ALL_FDS.
26033         * manual/install.texi (Configuring and compiling): Mention
26034         --enable-pt_chown. Add @findex for grantpt.
26035         * INSTALL: Regenerate.
26037 2013-07-20  David S. Miller  <davem@davemloft.net>
26039         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26040         difference between 32-bit and 64-bit.
26042 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
26044         [BZ #15711]
26045         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26046         Avoid system header dependency with -ffreestanding.
26047         ($(objpfx)bits/syscall%d): Likewise.
26049 2013-07-13  David S. Miller  <davem@davemloft.net>
26051         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26052         underflows from atanl/atan2l due to bug 15319.
26053         (casinh_test_data): Likewise.
26055 2013-07-07  David S. Miller  <davem@davemloft.net>
26057         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26059 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
26061         * sysdeps/i386/fpu/libm-test-ulps: Update.
26062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26064 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26066         * configure.in (--enable-lock-elision): Fix message text.
26067         * INSTALL: Regenerate.
26068         * configure: Regenerate.
26070 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26074 2013-07-03  Andreas Jaeger  <aj@suse.de>
26076         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26077         define.
26078         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26079         (ptrace_peeksiginfo_args): Add.
26080         (__ptrace_peeksiginfo_flags): Add.
26081         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26082         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26083         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26085 2013-07-03  Allan McRae  <allan@archlinux.org>
26087         * sysdeps/i386/fpu/libm-test-ulps: Update.
26089 2013-07-02  David S. Miller  <davem@davemloft.net>
26091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26093 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
26095         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26097 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26099         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102 2013-07-02  Andi Kleen <ak@linux.intel.com>
26104         * config.h.in (ENABLE_LOCK_ELISION): Add.
26105         * configure.in (--enable-lock-elision): Add option.
26106         * manual/install.texi: Document --enable lock elision.
26107         * configure: Regenerate
26108         * INSTALL: Regenerate.
26110 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
26112         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26113         SSE4.2 strcasecmp for libc.a.
26114         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26116 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
26118         [BZ #13304]
26119         * soft-fp/op-common.h (_FP_FMA): New macro.
26120         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26121         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
26122         (_FP_MUL_MEAT_1_imm): ... here.
26123         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
26124         (_FP_MUL_MEAT_1_wide): ... here.
26125         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
26126         (_FP_MUL_MEAT_1_hard): ... here.
26127         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26128         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
26129         (_FP_MUL_MEAT_2_wide): ... here.
26130         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
26131         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26132         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26133         (_FP_MUL_MEAT_2_gmp): ... here.
26134         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26135         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26136         (_FP_MUL_MEAT_4_wide): ... here.
26137         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26138         (_FP_MUL_MEAT_4_gmp): ... here.
26139         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26140         (_FP_WFRACBITS_DW_S): Likewise.
26141         (_FP_WFRACXBITS_DW_S): Likewise.
26142         (_FP_HIGHBIT_DW_S): Likewise.
26143         (FP_FMA_S): Likewise.
26144         (_FP_FRAC_HIGH_DW_S): Likewise.
26145         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26146         (_FP_WFRACBITS_DW_D): Likewise.
26147         (_FP_WFRACXBITS_DW_D): Likewise.
26148         (_FP_HIGHBIT_DW_D): Likewise.
26149         (FP_FMA_D): Likewise.
26150         (_FP_FRAC_HIGH_DW_D): Likewise.
26151         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26152         (_FP_WFRACBITS_DW_E): Likewise.
26153         (_FP_WFRACXBITS_DW_E): Likewise.
26154         (_FP_HIGHBIT_DW_E): Likewise.
26155         (FP_FMA_E): Likewise.
26156         (_FP_FRAC_HIGH_DW_E): Likewise.
26157         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26158         (_FP_WFRACBITS_DW_Q): Likewise.
26159         (_FP_WFRACXBITS_DW_Q): Likewise.
26160         (_FP_HIGHBIT_DW_Q): Likewise.
26161         (FP_FMA_Q): Likewise.
26162         (_FP_FRAC_HIGH_DW_Q): Likewise.
26163         * soft-fp/fmasf4.c: New file.
26164         * soft-fp/fmadf4.c: Likewise.
26165         * soft-fp/fmatf4.c: Likewise.
26167 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26170         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26171         Silvermont.
26172         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26173         macro.
26174         (index_Slow_SSE4_2): Likewise.
26175         (index_Prefer_PMINUB_for_stringop): Likewise.
26176         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26177         bit_Slow_SSE4_2 is set.
26178         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26179         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26181 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26183         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26184         rtld_global._dl_hwcap2.
26185         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26186         POWER8.
26187         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26188         POWER8 feature descriptions defined in _dl_hwcap2.
26189         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26190         string handling for POWER8 feature bits.
26191         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26192         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26193         _dl_powerpc_cap_flags.
26194         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26195         * sysdeps/powerpc/rtld-global-offsets.sym
26196         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26197         _dl_hwcap2 in the rtld_global_ro structure.
26199 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26201         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26202         hardware capabilities in support of AT_HWCAP2.
26203         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26204         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26205         GLRO(dl_hwcap2).
26206         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26207         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26208         explicitly the unknown a_type display mechanism is used.
26209         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26210         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26211         struct member.
26212         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26213         to macro prototype for AT_HWCAP2 support.
26214         * sysdeps/i386/dl-procinfo.h: Likewise.
26215         * sysdeps/s390/dl-procinfo.h: Likewise.
26216         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26217         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26218         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26219         return -1 for unknown a_type display fallback.
26220         * sysdeps/sparc/dl-procinfo.h: Likewise.
26221         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26222         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26224 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26226         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26227         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26229 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26231         [BZ #12492]
26232         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26233         mprotect making __stack_prot writable.
26235 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26236             Joseph Myers  <joseph@codesourcery.com>
26238         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26239         as being properly aligned.
26241 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26243         * dlfcn/modstatic5.c: New file.
26244         * dlfcn/tststatic5.c: New file.
26245         * dlfcn/Makefile (tests): Add tststatic5.
26246         (tests-static): Likewise.
26247         (modules-names): Add modstatic5.
26248         (tststatic5-ENV): New variable.
26249         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26251         [BZ #15022]
26252         * elf/dl-support.c (_dl_main_map): New variable.
26253         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26254         (_dl_nns, _dl_load_adds): Set to 1.
26255         (_dl_initial_searchlist): Refer to _dl_main_map.
26256         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26257         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26258         call to _dl_get_origin.
26259         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26260         around call_map.
26261         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26262         * dlfcn/modstatic3.c: New file.
26263         * dlfcn/tststatic3.c: New file.
26264         * dlfcn/tststatic4.c: New file.
26265         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26266         (tests-static): Likewise.
26267         (modules-names): Add modstatic3.
26268         (tststatic3-ENV, tststatic4-ENV): New variables.
26269         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26270         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26272 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26274         * configure.in (CC): Require GCC version 4.4 or later.
26275         * configure: Regenerated.
26276         * manual/install.texi (Tools for Compilation): Update GCC version
26277         requirement.
26278         * INSTALL: Regenerated.
26280 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26282         [BZ #15674]
26283         * string/test-memcmp.c (check2): New.
26284         (main): Call check2.
26286         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26288 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26290         [BZ #15022]
26291         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26292         over to...
26293         (dl_open_worker) [!SHARED]: ... here.
26295 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26297         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26299 2013-06-25  Richard Henderson  <rth@redhat.com>
26301         * locale/programs/locarchive.c: Include <libc-internal.h>
26303 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26305         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26306         trailing whitespace removed.
26308 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26310         [BZ #10283]
26311         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26312         * locale/programs/locarchive.c: Include libc-mmap.h.
26313         (prepare_address_space): Take two new outputs (the mmap base and len).
26314         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26315         values.
26316         (create_archive): Declare new mmap base and len values for
26317         prepare_address_space, and store the result in ah.
26318         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26319         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26320         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26321         Declare new mmap base and len values for
26322         prepare_address_space, and store the result in new_ah.
26323         (open_archive): Declare new mmap base and len values for
26324         prepare_address_space, and store the result in ah.
26325         (close_archive): If ah->mmap_base is not NULL, use that and
26326         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26327         * sysdeps/generic/libc-mmap.h: New file.
26329 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26331         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26332         (ALIGN_UP): Likewise.
26333         (PTR_ALIGN_DOWN): Likewise.
26334         (PTR_ALIGN_UP): Likewise.
26336 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26338         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26339         entry mapped to PPC_PLATFORM_POWER8.
26340         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26341         POWER8.
26342         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26343         (_dl_string_platform): Add case for exporting platform position for
26344         POWER8.
26345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26346         search path to sysdeps/powerpc/powerpc32/power8 directory.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26348         search path to sysdeps/powerpc/powerpc64/power8 directory.
26349         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26350         power7 directories.
26351         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26352         power7 directories.
26354 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26356         * INSTALL: Regenerate.
26358         * nscd/connections.c (nscd_init): Fix comment.
26360 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26362         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26364         [BZ #15667]
26365         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26366         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26368 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26370         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26371         DL_DST_REQ_STATIC.
26372         (DL_DST_REQ_STATIC): Remove macro.
26374 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26376         [BZ #7006]
26377         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26378         with a shift of 0 bits.
26380 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26382         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26383         $(tststatic-ENV).
26385 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26387         [BZ #15655]
26388         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26390 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26392         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26393         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26394         accepts -fno-tree-loop-distribute-patterns.
26395         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26396         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26397         recursive call.
26398         * string/memset.c (memset): Likewise.
26399         * string/test-memmove.c (simple_memmove): Disable loop transformation
26400         to library calls.
26401         * string/test-memset.c (simple_memset): Likewise.
26402         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26403         * benchtests/bench-memset.c (simple_memset): Likewise.
26404         * configure: Regenerated.
26406 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26408         * math/test-misc.c (main): Ignore fesetround failure when failures
26409         of subsequent rounding tests would be ignored.
26411         [BZ #15654]
26412         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26413         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26414         * math/fegetenv.c (__fegetenv): Return 0.
26415         * math/fegetexcept.c (fegetexcept): Return 0.
26416         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26417         FE_TONEAREST.
26418         * math/feholdexcpt.c (feholdexcept): Return 0.
26419         * math/fesetenv.c (__fesetenv): Return 0.
26420         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26421         argument FE_TONEAREST.
26422         * math/feupdateenv.c (__feupdateenv): Return 0.
26423         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26425 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26427         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26428         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26429         ($(objpfx)rtld-%.os rules): Use them.
26431 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26433         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26434         fields.
26436 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26438         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26439         length of target pattern, then descending length of dependency pattern.
26440         * configure.in (AWK): Require gawk 3.1.2 or newer.
26441         * manual/install.texi (Tools for Compilation): Say that we do.
26442         * configure: Regenerated.
26444         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26445         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26446         * scripts/sysd-rules.awk: ... this new script.
26447         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26448         than a glob-style pattern.
26450 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26452         * math/test-misc.c (main): Do not treat incorrectly rounded
26453         conversions as failure unless ROUNDING_TESTS passes.
26455 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26457         [BZ #15631]
26458         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26459         restore exception state around main square root computation, then
26460         check for inexactness explicitly.
26462         * math/libm-test.inc (fma_test_data): Add another test.
26464 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26466         * manual/threads.texi (Non-POSIX Extensions): New document
26467         node.  Document pthread_getattr_default_np and
26468         pthread_setattr_default_np.
26470         * Versions.def (libpthread): Add GLIBC_2.18.
26471         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26473         Likewise.
26474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26475         Likewise.
26476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26477         Likewise.
26478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26479         Likewise.
26480         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26481         Likewise.
26482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26483         Likewise.
26484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26485         Likewise.
26486         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26487         Likewise.
26488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26489         Likewise.
26491 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26493         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26494         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26496 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26497             H.J. Lu  <hjl.tools@gmail.com>
26499         [BZ #15627]
26500         * sysdeps/x86_64/rtld-memset.c: Remove file.
26501         * sysdeps/x86_64/rtld-memset.S: New file.
26503 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26505         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26506         (test_in_one_mode): Take arguments for whether the rounding mode
26507         is supported for each floating-point type.
26508         (do_test): Pass new arguments to test_in_one_mode using
26509         ROUNDING_TESTS.
26511 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26513         * posix/tst-waitid.c (do_test): Distinguish different instances of
26514         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26515         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26516         before entering the kernel for waitpid.
26518 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26520         * NEWS: Fix note on clock function precision.  Text by Roland
26521         McGrath.
26523 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26525         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26526         it into place only when and if the sanity check passes.
26528 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26530         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26531         output for whether conversion result is exact.  Take argument
26532         indicating whether type is IBM long double.
26533         (round_for_all): Change need_exact field to ibm_ld.
26534         * stdlib/tst-strtod-round.c (struct exactness): New type.
26535         (struct test): Change bool ld_ok field to struct exactness exact.
26536         (TEST): Update all definitions for change to field.
26537         (tests): Regenerate array contents.
26538         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26539         field value.  Check for IBM long double here.
26540         (do_test): Update calls to test_in_one_mode.
26542 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26544         [BZ #12515]
26545         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26546         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26548 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26550         [BZ #15605]
26551         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26552         generated by the compiler on loop optimizations.
26553         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26554         general definitions.
26556 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26558         * math/bug-nextafter.c: Include <math-tests.h>.
26559         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26560         the relevant type.
26561         * math/bug-nexttoward.c: Include <math-tests.h>.
26562         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26563         the relevant type.
26564         * math/test-misc.c: Include <math-tests.h>.
26565         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26566         the relevant type.
26568 2013-06-12  Andreas Jaeger  <aj@suse.de>
26570         * po/ia.po: Update Interlingua translation from translation
26571         project.
26573 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26575         * include/fenv.h: Include stdbool.h.
26576         (struct rm_ctx): New structure.
26577         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26578         Define macro.
26579         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26580         (SET_RESTORE_ROUNDF): Likewise.
26581         (SET_RESTORE_ROUNDL): Likewise.
26582         (SET_RESTORE_ROUND_NOEX): Likewise.
26583         (SET_RESTORE_ROUND_NOEXF): Likewise.
26584         (SET_RESTORE_ROUND_NOEXL): Likewise.
26585         (SET_RESTORE_ROUND_53BIT): Likewise.
26586         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26587         (libc_feresetround_noexf_ctx): Likewise.
26588         (libc_feresetround_noexl_ctx): Likewise.
26589         (libc_feholdsetround_53bit_ctx): Likewise.
26590         (libc_feresetround_53bit_ctx): Likewise.
26591         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26592         (libc_feholdexcept_setround_sse_ctx): New function.
26593         (libc_fesetenv_sse_ctx): Likewise.
26594         (libc_feupdateenv_sse_ctx): Likewise.
26595         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26596         (libc_feholdexcept_setround_387_ctx): Likewise.
26597         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26598         (libc_feholdsetround_387_prec_ctx): Likewise.
26599         (libc_feholdsetround_387_ctx): Likewise.
26600         (libc_feholdsetround_387_53bit_ctx): Likewise.
26601         (libc_feholdsetround_sse_ctx): Likewise.
26602         (libc_feresetround_sse_ctx): Likewise.
26603         (libc_feresetround_387_ctx): Likewise.
26604         (libc_feupdateenv_387_ctx): Likewise.
26605         (libc_feholdexcept_setroundf_ctx): Define macro.
26606         (libc_fesetenvf_ctx): Likewise.
26607         (libc_feupdateenvf_ctx): Likewise.
26608         (libc_feholdsetroundf_ctx): Likewise.
26609         (libc_feresetroundf_ctx): Likewise.
26610         (libc_feholdexcept_setround_ctx): Likewise.
26611         (libc_fesetenv_ctx): Likewise.
26612         (libc_feupdateenv_ctx): Likewise.
26613         (libc_feholdsetround_ctx): Likewise.
26614         (libc_feresetround_ctx): Likewise.
26615         (libc_feholdexcept_setroundl_ctx): Likewise.
26616         (libc_feupdateenvl_ctx): Likewise.
26617         (libc_feholdsetroundl_ctx): Likewise.
26618         (libc_feresetroundl_ctx): Likewise.
26619         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26620         (libc_feresetround_53bit_ctx): Likewise.
26622 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26624         * locale/iso-639.def: Convert to UTF-8.
26626 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26628         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26629         (EXCEPTION_TESTS_double): Likewise.
26630         (EXCEPTION_TESTS_long_double): Likewise.
26631         (EXCEPTION_TESTS): Likewise.
26632         * math/libm-test.inc (test_exceptions): Only test exceptions if
26633         EXCEPTION_TESTS (FLOAT).
26635 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26637         * benchtests/Makefile (string-bench): Add strcpy_chk and
26638         stpcpy_chk.
26639         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26640         * benchtests/bench-stpcpy_chk.c: New file.
26641         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26642         * benchtests/bench-strcpy_chk.c: New file.
26643         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26644         code.
26645         (do_test): Likewise.
26647 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26649         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26650         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26651         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26652         with tabs where appropriate.
26653         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26654         dl-procinfo.h.
26655         [PPC_PLATFORM_PPC440]: Likewise.
26656         [PPC_PLATFORM_PPC464]: Likewise.
26657         [PPC_PLATFORM_PPC476]: Likewise.
26658         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26659         ppc464, and ppc476 platform strings merging from ports/
26660         dl-procinfo.h.
26662 2013-06-11  Andreas Schwab  <schwab@suse.de>
26664         [BZ #14991]
26665         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26666         (from_ucs4_idx): Regenerate.
26667         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26668         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26669         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26670         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26671         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26672         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26673         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26674         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26675         from FROM_LOOP and TO_LOOP specific macros.
26676         (BODY): Handle combining characters.
26677         * iconvdata/BIG5HKSCS.irreversible: Update.
26678         * iconvdata/BIG5HKSCS.precomposed: New file.
26679         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26680         characters.
26681         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26683 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26685         * include/sys/time.h: Fix indentation and add copyright header.
26687         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26688         (do_test): Likewise.
26689         * string/test-memchr.c (do_one_test): Likewise.
26690         (do_test): Likewise.
26691         * string/test-memcmp.c (do_one_test): Likewise.
26692         (do_test): Likewise.
26693         * string/test-memcpy.c (do_one_test): Likewise.
26694         (do_test): Likewise.
26695         * string/test-memmem.c (do_one_test): Likewise.
26696         (do_test): Likewise.
26697         (do_random_tests): Likewise.
26698         * string/test-memmove.c (do_one_test): Likewise.
26699         (do_test): Likewise.
26700         * string/test-memset.c (do_one_test): Likewise.
26701         (do_test): Likewise.
26702         * string/test-rawmemchr.c (do_one_test): Likewise.
26703         (do_test): Likewise.
26704         * string/test-strcasecmp.c (do_one_test): Likewise.
26705         (do_test): Likewise.
26706         * string/test-strcasestr.c (do_one_test): Likewise.
26707         (do_test): Likewise.
26708         * string/test-strcat.c (do_one_test): Likewise.
26709         (do_test): Likewise.
26710         * string/test-strchr.c (do_one_test): Likewise.
26711         (do_test): Likewise.
26712         * string/test-strcmp.c (do_one_test): Likewise.
26713         (do_test): Likewise.
26714         * string/test-strcpy.c (do_one_test): Likewise.
26715         (do_test): Likewise.
26716         * string/test-string.h: Likewise.
26717         (test_init): Likewise.
26718         * string/test-strlen.c (do_one_test): Likewise.
26719         (do_test): Likewise.
26720         * string/test-strncasecmp.c (do_one_test): Likewise.
26721         (do_test): Likewise.
26722         * string/test-strncat.c (do_one_test): Likewise.
26723         (do_test): Likewise.
26724         * string/test-strncmp.c (do_one_test): Likewise.
26725         (do_test_limit): Likewise.
26726         (do_test): Likewise.
26727         * string/test-strncpy.c (do_one_test): Likewise.
26728         (do_test): Likewise.
26729         * string/test-strnlen.c (do_one_test): Likewise.
26730         (do_test): Likewise.
26731         * string/test-strpbrk.c (do_one_test): Likewise.
26732         (do_test): Likewise.
26733         * string/test-strrchr.c (do_one_test): Likewise.
26734         (do_test): Likewise.
26735         * string/test-strspn.c (do_one_test): Likewise.
26736         (do_test): Likewise.
26737         * string/test-strstr.c (do_one_test): Likewise.
26738         (do_test): Likewise.
26740         * benchtests/Makefile (string-bench): Add string benchmarks.
26741         * benchtests/bench-bcopy-ifunc.c: New file.
26742         * benchtests/bench-bcopy.c: New file.
26743         * benchtests/bench-bzero-ifunc.c: New file.
26744         * benchtests/bench-bzero.c: New file.
26745         * benchtests/bench-memccpy-ifunc.c: New file.
26746         * benchtests/bench-memccpy.c: New file.
26747         * benchtests/bench-memchr-ifunc.c: New file.
26748         * benchtests/bench-memchr.c: New file.
26749         * benchtests/bench-memcmp-ifunc.c: New file.
26750         * benchtests/bench-memcmp.c: New file.
26751         * benchtests/bench-memmem-ifunc.c: New file.
26752         * benchtests/bench-memmem.c: New file.
26753         * benchtests/bench-memmove-ifunc.c: New file.
26754         * benchtests/bench-memmove.c: New file.
26755         * benchtests/bench-mempcpy-ifunc.c: New file.
26756         * benchtests/bench-mempcpy.c: New file.
26757         * benchtests/bench-memset-ifunc.c: New file.
26758         * benchtests/bench-memset.c: New file.
26759         * benchtests/bench-rawmemchr-ifunc.c: New file.
26760         * benchtests/bench-rawmemchr.c: New file.
26761         * benchtests/bench-stpcpy-ifunc.c: New file.
26762         * benchtests/bench-stpcpy.c: New file.
26763         * benchtests/bench-stpncpy-ifunc.c: New file.
26764         * benchtests/bench-stpncpy.c: New file.
26765         * benchtests/bench-strcasecmp-ifunc.c: New file.
26766         * benchtests/bench-strcasecmp.c: New file.
26767         * benchtests/bench-strcasestr-ifunc.c: New file.
26768         * benchtests/bench-strcasestr.c: New file.
26769         * benchtests/bench-strcat-ifunc.c: New file.
26770         * benchtests/bench-strcat.c: New file.
26771         * benchtests/bench-strchr-ifunc.c: New file.
26772         * benchtests/bench-strchr.c: New file.
26773         * benchtests/bench-strchrnul-ifunc.c: New file.
26774         * benchtests/bench-strchrnul.c: New file.
26775         * benchtests/bench-strcmp-ifunc.c: New file.
26776         * benchtests/bench-strcmp.c: New file.
26777         * benchtests/bench-strcpy-ifunc.c: New file.
26778         * benchtests/bench-strcpy.c: New file.
26779         * benchtests/bench-strcspn-ifunc.c: New file.
26780         * benchtests/bench-strcspn.c: New file.
26781         * benchtests/bench-strlen-ifunc.c: New file.
26782         * benchtests/bench-strlen.c: New file.
26783         * benchtests/bench-strncasecmp-ifunc.c: New file.
26784         * benchtests/bench-strncasecmp.c: New file.
26785         * benchtests/bench-strncat-ifunc.c: New file.
26786         * benchtests/bench-strncat.c: New file.
26787         * benchtests/bench-strncmp-ifunc.c: New file.
26788         * benchtests/bench-strncmp.c: New file.
26789         * benchtests/bench-strncpy-ifunc.c: New file.
26790         * benchtests/bench-strncpy.c: New file.
26791         * benchtests/bench-strnlen-ifunc.c: New file.
26792         * benchtests/bench-strnlen.c: New file.
26793         * benchtests/bench-strpbrk-ifunc.c: New file.
26794         * benchtests/bench-strpbrk.c: New file.
26795         * benchtests/bench-strrchr-ifunc.c: New file.
26796         * benchtests/bench-strrchr.c: New file.
26797         * benchtests/bench-strspn-ifunc.c: New file.
26798         * benchtests/bench-strspn.c: New file.
26799         * benchtests/bench-strstr-ifunc.c: New file.
26800         * benchtests/bench-strstr.c: New file.
26802         * benchtests/Makefile: Disable parallel execution of targets.
26803         (string-bench): Add memcpy.
26804         (benchset): New variable to store a list of benchmark sets.
26805         (bench-func): Renamed from bench.
26806         (bench-set): New target.
26807         (bench): Depend on bench-func and bench-set.
26808         * benchtests/README: Add section on benchmark sets.
26809         * benchtests/bench-memcpy-ifunc.c: New file.
26810         * benchtests/bench-memcpy.c: New file.
26811         * benchtests/bench-string.h: New file.
26813 2013-06-11  Andreas Schwab  <schwab@suse.de>
26815         [BZ #15577]
26816         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26817         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26818         values in the triple.
26819         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26820         terminator in the group key.
26822 2013-06-11  Andreas Jaeger  <aj@suse.de>
26824         * po/zh_TW.po: Update Chinese (traditional) translation from
26825         translation project.
26827 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26829         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26830         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26831         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26832         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26833         (clock_getcpuclockid): Likewise.
26834         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26835         Add weak_alias and libc_hidden_def.
26836         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26837         * rt/clock_gettime.c (clock_gettime): Rename to
26838         __clock_gettime.  Add weak_alias and libc_hidden_def.
26839         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26840         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26841         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26842         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26843         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26844         Likewise.
26845         * rt/clock_settime.c (clock_settime): Rename to
26846         __clock_settime.  Add weak_alias and libc_hidden_def.
26847         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26849 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26851         * mach/err_boot.sub: Remove trailing whitespace.
26852         * mach/err_ipc.sub: Likewise.
26853         * mach/err_mach.sub: Likewise.
26855         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26856         (ROUNDING_TESTS_double): Likewise.
26857         (ROUNDING_TESTS_long_double): Likewise.
26858         (ROUNDING_TESTS): Likewise.
26859         * math/libm-test.inc: Include <math-tests.h>.
26860         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26861         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26862         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26863         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26865 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26867         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26868         of assigning.
26870 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26872         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26873         otherwise empty TRANS lines.
26874         * sysdeps/gnu/errlist.c: Regenerated.
26876         * catgets/gencat.c (error_print): Use (void) in function
26877         definition.
26878         * crypt/crypt_util.c (__init_des): Likewise.
26879         * crypt/speeds.c (Stop): Likewise.
26880         (main): Likewise.
26881         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26882         * inet/ruserpass.c (token): Likewise.
26883         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26884         * intl/localealias.c (extend_alias_table): Likewise.
26885         * intl/plural-exp.c (init_germanic_plural): Likewise.
26886         * libio/fcloseall.c (__fcloseall): Likewise.
26887         * libio/genops.c (_IO_flush_all): Likewise.
26888         (_IO_flush_all_linebuffered): Likewise.
26889         (_IO_cleanup): Likewise.
26890         (_IO_iter_begin): Likewise.
26891         (_IO_iter_end): Likewise.
26892         (_IO_list_lock): Likewise.
26893         (_IO_list_unlock): Likewise.
26894         (_IO_list_resetlock): Likewise.
26895         * libio/getchar.c (getchar): Likewise.
26896         * libio/getchar_u.c (getchar_unlocked): Likewise.
26897         * libio/getwchar.c (getwchar): Likewise.
26898         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26899         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26900         * login/getpt.c (__getpt): Likewise.
26901         * login/tst-utmp.c (main): Likewise.
26902         * malloc/hooks.c (__malloc_check_init): Likewise.
26903         * malloc/malloc.c (__malloc_stats): Likewise.
26904         * malloc/mtrace.c (tr_break): Likewise.
26905         (mtrace): Likewise.
26906         (muntrace): Likewise.
26907         * misc/fstab.c (endfsent): Likewise.
26908         * misc/getclktck.c (__getclktck): Likewise.
26909         * misc/getdtsz.c (__getdtablesize): Likewise.
26910         * misc/gethostid.c (gethostid): Likewise.
26911         * misc/getpagesize.c (__getpagesize): Likewise.
26912         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26913         (__get_nprocs): Likewise.
26914         (__get_phys_pages): Likewise.
26915         (__get_avphys_pages): Likewise.
26916         * misc/getttyent.c (getttyent): Likewise.
26917         (setttyent): Likewise.
26918         (endttyent): Likewise.
26919         * misc/getusershell.c (getusershell): Likewise.
26920         (endusershell): Likewise.
26921         (setusershell): Likewise.
26922         (initshells): Likewise.
26923         * misc/hsearch.c (__hdestroy): Likewise.
26924         * misc/sync.c (sync): Likewise.
26925         * misc/syslog.c (closelog_internal): Likewise.
26926         (closelog): Likewise.
26927         * misc/ttyslot.c (ttyslot): Likewise.
26928         * misc/vhangup.c (vhangup): Likewise.
26929         * posix/fork.c (__fork): Likewise.
26930         * posix/getegid.c (__getegid): Likewise.
26931         * posix/geteuid.c (__geteuid): Likewise.
26932         * posix/getgid.c (__getgid): Likewise.
26933         * posix/getpid.c (__getpid): Likewise.
26934         * posix/getppid.c (__getppid): Likewise.
26935         * posix/getuid.c (__getuid): Likewise.
26936         * posix/pause.c (pause): Likewise.
26937         * posix/setpgrp.c (setpgrp): Likewise.
26938         * posix/setsid.c (__setsid): Likewise.
26939         * posix/test-vfork.c (noop): Likewise.
26940         * resolv/gethnamaddr.c (_endhtent): Likewise.
26941         (_gethtent): Likewise.
26942         (ht_endhostent): Likewise.
26943         (gethostent): Likewise.
26944         (dns_service): Likewise.
26945         * stdlib/drand48.c (drand48): Likewise.
26946         * stdlib/lrand48.c (lrand48): Likewise.
26947         * stdlib/mrand48.c (mrand48): Likewise.
26948         * stdlib/rand.c (rand): Likewise.
26949         * stdlib/random.c (__random): Likewise.
26950         * stdlib/setenv.c (clearenv): Likewise.
26951         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26952         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26953         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26954         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26955         (__get_nprocs): Likewise.
26956         (__get_phys_pages): Likewise.
26957         (__get_avphys_pages): Likewise.
26958         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26959         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26960         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26961         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26962         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26963         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26964         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26965         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26966         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26967         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26968         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26969         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26970         * sysdeps/posix/clock.c (clock): Likewise.
26971         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26972         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26973         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26974         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26975         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26976         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26977         (__get_nprocs_conf): Likewise.
26978         (__get_phys_pages): Likewise.
26979         (__get_avphys_pages): Likewise.
26980         * time/clock.c (clock): Likewise.
26981         * time/tzset.c (__tzname_max): Likewise.
26983 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26985         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26986         (__bswap_32): Do not use "register".
26987         * crypt/crypt.c (_ufc_doit_r): Likewise.
26988         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26989         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26990         * gmon/gmon.c (__monstartup): Likewise.
26991         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26992         * hurd/hurdmalloc.c (more_memory): Likewise.
26993         (malloc): Likewise.
26994         (free): Likewise.
26995         (realloc): Likewise.
26996         (malloc_fork_prepare): Likewise.
26997         (malloc_fork_parent): Likewise.
26998         (malloc_fork_child): Likewise.
26999         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27000         (_svcauth_des): Likewise.
27001         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27002         * inet/inet_net.c (inet_network): Likewise.
27003         * inet/inet_netof.c (inet_netof): Likewise.
27004         * inet/rcmd.c (__validuser2_sa): Likewise.
27005         * io/fts.c (fts_open): Likewise.
27006         (fts_load): Likewise.
27007         (fts_close): Likewise.
27008         (fts_read): Likewise.
27009         (fts_children): Likewise.
27010         (fts_build): Likewise.
27011         (fts_stat): Likewise.
27012         (fts_sort): Likewise.
27013         (fts_alloc): Likewise.
27014         (fts_lfree): Likewise.
27015         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27016         (_IO_file_xsgetn): Likewise.
27017         (_IO_file_xsgetn_mmap): Likewise.
27018         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27019         (_IO_cookie_write): Likewise.
27020         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27021         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27022         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27023         * malloc/obstack.c (_obstack_begin): Likewise.
27024         (_obstack_begin_1): Likewise.
27025         (_obstack_newchunk): Likewise.
27026         (_obstack_allocated_p): Likewise.
27027         (obstack_free): Likewise.
27028         (_obstack_memory_used): Likewise.
27029         * misc/getttyent.c (getttynam): Likewise.
27030         (getttyent): Likewise.
27031         (skip): Likewise.
27032         (value): Likewise.
27033         * misc/getusershell.c (initshells): Likewise.
27034         * misc/syslog.c (__vsyslog_chk): Likewise.
27035         * misc/ttyslot.c (ttyslot): Likewise.
27036         * nis/nis_hash.c (__nis_hash): Likewise.
27037         * posix/fnmatch_loop.c (FCT): Likewise.
27038         * posix/getconf.c (print_all): Likewise.
27039         (main): Likewise.
27040         * posix/getopt.c (exchange): Likewise.
27041         * posix/glob.c (globfree): Likewise.
27042         (prefix_array): Likewise.
27043         (__glob_pattern_type): Likewise.
27044         * resolv/arpa/nameser.h (NS_GET16): Likewise.
27045         (NS_GET32): Likewise.
27046         (NS_PUT16): Likewise.
27047         (NS_PUT32): Likewise.
27048         * resolv/gethnamaddr.c (getanswer): Likewise.
27049         (gethostbyname2): Likewise.
27050         (gethostbyaddr): Likewise.
27051         (_gethtent): Likewise.
27052         (_gethtbyname2): Likewise.
27053         (_gethtbyaddr): Likewise.
27054         * resolv/ns_print.c (dst_s_get_int16): Likewise.
27055         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27056         * resolv/res_init.c (__res_vinit): Likewise.
27057         (net_mask): Likewise.
27058         * resolv/res_mkquery.c (outchar): Likewise.
27059         (PRINT): Likewise.
27060         * stdio-common/printf_fp.c (outchar): Likewise.
27061         (PRINT): Likewise.
27062         * stdio-common/printf_fphex.c (outchar): Likewise.
27063         (PRINT): Likewise.
27064         * stdio-common/printf_size.c (outchar): Likewise.
27065         (PRINT): Likewise.
27066         * stdio-common/test_rdwr.c (main): Likewise.
27067         * stdio-common/tfformat.c (matches): Likewise.
27068         * stdio-common/vfprintf.c (outchar): Likewise.
27069         (printf_unknown): Likewise.
27070         (buffered_vfprintf): Likewise.
27071         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27072         * stdio-common/xbug.c (AppendToBuffer): Likewise.
27073         (ReadFile): Likewise.
27074         * stdlib/qsort.c (SWAP): Likewise.
27075         (_quicksort): Likewise.
27076         * stdlib/setenv.c (__add_to_environ): Likewise.
27077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27078         * stdlib/strtol_l.c (__strtol_l): Likewise.
27079         * stdlib/tst-strtod.c (main): Likewise.
27080         * stdlib/tst-strtol.c (main): Likewise.
27081         * stdlib/tst-strtoll.c (main): Likewise.
27082         * string/bits/string2.h (__strcmp_cc): Likewise.
27083         (__strcmp_cg): Likewise.
27084         (__strcspn_c1): Likewise.
27085         (__strcspn_c2): Likewise.
27086         (__strcspn_c3): Likewise.
27087         (__strspn_c1): Likewise.
27088         (__strspn_c2): Likewise.
27089         (__strspn_c3): Likewise.
27090         (__strsep_1c): Likewise.
27091         (__strsep_2c): Likewise.
27092         (__strsep_3c): Likewise.
27093         * string/memccpy.c (__memccpy): Likewise.
27094         * string/stpcpy.c (__stpcpy): Likewise.
27095         * string/strcmp.c (strcmp): Likewise.
27096         * string/strrchr.c (strrchr): Likewise.
27097         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27098         Likewise.
27099         * sysdeps/mach/hurd/getcwd.c
27100         (_hurd_canonicalize_directory_name_internal): Likewise.
27101         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27102         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27103         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27104         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27105         Likewise, in both definitions.
27106         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27107         definitions.
27108         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27109         64] (__bswap_64): Likewise.
27110         * time/test_time.c (main): Likewise.
27111         * time/tzfile.c (__tzfile_read): Likewise.
27112         (__tzfile_compute): Likewise.
27113         * time/tzset.c (__tzset_parse_tz): Likewise.
27114         (tzset_internal): Likewise.
27115         (compute_change): Likewise.
27116         * wcsmbs/wcscat.c (__wcscat): Likewise.
27117         * wcsmbs/wcschr.c (wcschr): Likewise.
27118         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27119         * wcsmbs/wcscspn.c (wcscspn): Likewise.
27120         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27121         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27122         * wcsmbs/wcsspn.c (wcsspn): Likewise.
27123         * wcsmbs/wcsstr.c (wcsstr): Likewise.
27124         * wcsmbs/wmemchr.c (wmemchr): Likewise.
27125         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27126         * wcsmbs/wmemset.c (wmemset): Likewise.
27128 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
27130         * scripts/config.guess: Update to version 2013-05-16.
27131         * scripts/config.sub: Update to version 2013-04-24.
27132         * scripts/install-sh: Update to version 2011-11-20.07.
27133         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27134         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27136 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27138         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27139         * elf/sln.c: Likewise.
27140         * hurd/hurd/ioctl.h: Likewise.
27141         * hurd/hurdmalloc.c: Likewise.
27142         * hurd/xattr.c: Likewise.
27143         * include/shlib-compat.h: Likewise.
27144         * inet/ruserpass.c: Likewise.
27145         * libio/iofgets_u.c: Likewise.
27146         * libio/iofgetws_u.c: Likewise.
27147         * locale/programs/ld-identification.c: Likewise.
27148         * locale/programs/ld-time.c: Likewise.
27149         * mach/msg-destroy.c: Likewise.
27150         * nss/nss_files/files-netgrp.c: Likewise.
27151         * resolv/res_data.c: Likewise.
27152         * soft-fp/op-1.h: Likewise.
27153         * soft-fp/op-2.h: Likewise.
27154         * soft-fp/op-4.h: Likewise.
27155         * soft-fp/op-common.h: Likewise.
27156         * stdio-common/printf_fphex.c: Likewise.
27157         * stdlib/strtod_l.c: Likewise.
27158         * sunrpc/rpc/clnt.h: Likewise.
27159         * sysdeps/generic/framestate.c: Likewise.
27160         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27161         * sysdeps/i386/bsd-setjmp.S: Likewise.
27162         * sysdeps/i386/__longjmp.S: Likewise.
27163         * sysdeps/i386/setjmp.S: Likewise.
27164         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27165         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27166         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27167         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27168         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27169         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27170         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27171         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27172         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27173         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27175         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27176         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27177         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27178         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27179         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27180         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27181         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27182         * sysdeps/ieee754/support.c: Likewise.
27183         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27184         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27185         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27186         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27187         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27188         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27189         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27190         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27191         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27192         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27193         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27194         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27195         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27196         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27197         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27198         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27199         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27202 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27204         * posix/transbug.c: Remove executable mode.
27206 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27208         * crypt/speeds.c: Remove trailing whitespace.
27209         * dlfcn/default.c: Likewise.
27210         * elf/ifuncdep2.c: Likewise.
27211         * elf/ifuncmain1.c: Likewise.
27212         * elf/ifuncmain1vis.c: Likewise.
27213         * elf/testobj.h: Likewise.
27214         * elf/tst-stackguard1.c: Likewise.
27215         * gmon/sys/gmon.h: Likewise.
27216         * hurd/hurdmsg.c: Likewise.
27217         * hurd/new-fd.c: Likewise.
27218         * hurd/ports-get.c: Likewise.
27219         * iconvdata/ibm1008_420.c: Likewise.
27220         * inet/tst-getni1.c: Likewise.
27221         * inet/tst-getni2.c: Likewise.
27222         * libio/ioungetc.c: Likewise.
27223         * libio/wfiledoalloc.c: Likewise.
27224         * manual/libm-err-tab.pl: Likewise.
27225         * math/w_dremf.c: Likewise.
27226         * misc/ftruncate.c: Likewise.
27227         * posix/bug-glob2.c: Likewise.
27228         * posix/tst-pcre.c: Likewise.
27229         * posix/wait4.c: Likewise.
27230         * resolv/README: Likewise.
27231         * resolv/res_debug.h: Likewise.
27232         * resolv/tst-inet_ntop.c: Likewise.
27233         * setjmp/bug269-setjmp.c: Likewise.
27234         * soft-fp/extended.h: Likewise.
27235         * soft-fp/op-1.h: Likewise.
27236         * soft-fp/op-2.h: Likewise.
27237         * soft-fp/op-4.h: Likewise.
27238         * soft-fp/op-8.h: Likewise.
27239         * soft-fp/testit.c: Likewise.
27240         * stdio-common/bug16.c: Likewise.
27241         * stdlib/random.c: Likewise.
27242         * sunrpc/rpcsvc/rquota.x: Likewise.
27243         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27244         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27245         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27246         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27247         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27248         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27249         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27250         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27251         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27252         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27253         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27254         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27255         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27256         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27257         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27258         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27259         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27260         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27261         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27262         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27263         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27264         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27265         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27266         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27267         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27268         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27270         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27271         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27272         * sysdeps/ieee754/s_lib_version.c: Likewise.
27273         * sysdeps/mach/hurd/check_fds.c: Likewise.
27274         * sysdeps/mach/hurd/getsockname.c: Likewise.
27275         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27276         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27277         * sysdeps/powerpc/bits/link.h: Likewise.
27278         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27279         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27280         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27281         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27282         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27283         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27284         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27285         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27286         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27287         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27288         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27289         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27290         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27291         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27292         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27293         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27294         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27295         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27296         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27298         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27299         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27300         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27301         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27302         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27303         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27304         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27305         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27306         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27307         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27308         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27309         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27310         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27311         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27312         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27313         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27314         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27315         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27316         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27317         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27318         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27319         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27320         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27321         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27322         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27323         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27324         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27325         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27326         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27327         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27328         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27330         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27331         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27332         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27333         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27334         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27335         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27336         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27337         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27338         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27339         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27340         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27341         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27342         * sysdeps/powerpc/sysdep.h: Likewise.
27343         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27344         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27345         * sysdeps/sh/dl-trampoline.S: Likewise.
27346         * sysdeps/sh/memset.S: Likewise.
27347         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27348         * sysdeps/sh/strlen.S: Likewise.
27349         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27350         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27351         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27352         * sysdeps/sparc/sparc32/rem.S: Likewise.
27353         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27354         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27355         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27356         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27357         * sysdeps/sparc/sparc32/urem.S: Likewise.
27358         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27359         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27360         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27361         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27362         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27363         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27364         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27365         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27366         * sysdeps/unix/bsd/times.c: Likewise.
27367         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27368         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27372         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27373         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27374         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27375         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27376         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27377         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27378         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27379         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27380         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27381         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27382         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27383         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27384         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27385         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27386         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27387         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27388         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27389         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27390         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27391         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27392         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27393         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27394         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27395         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27396         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27397         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27398         * sysdeps/x86_64/strcspn.S: Likewise.
27400 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27402         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27403         generated file.  Regenerate properly from gen-translit.pl.
27404         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27405         locale/C-translit.h.
27407 2013-06-05  Andreas Schwab  <schwab@suse.de>
27409         [BZ #15100]
27410         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27411         week as 6 instead of -1.
27412         * time/tst-strptime.c (day_tests): Add test case.
27414 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27416         * sysdeps/generic/math_private.h
27417         (libc_feholdexcept_setround_53bit): Replace with
27418         libc_feholdsetround_53bit.
27419         (libc_feupdateenv_53bit): Replace with
27420         libc_feresetround_53bit.
27421         (SET_RESTORE_ROUND_53BIT): Adjust.
27423 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         * string/test-strchrnul.c: Add copyright header.
27427         * posix/tst-getaddrinfo4.c: Increase test timeout.
27429 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27431         [BZ #15536]
27432         * math/libm-test.inc (MAX_EXP): Remove
27433         (MIN_EXP): Define.
27434         (ulp): Use MIN_EXP - MANT_DIG.
27435         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27437 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27439         * po/be.po: Revert last change.
27440         * po/zh_CN.po: Likewise.
27441         * po/header.pot: Likewise.
27443 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27445         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27446         link-libc-deps to empty as target-specific variable.
27447         * Makerules (link-libc-args): New variable.
27448         (libc-for-link): Likewise.
27449         (link-libc-deps): Likewise.
27450         (lib%.so): Depend on $(link-libc-deps).  Link with
27451         $(link-libc-args).
27452         (build-module): Link with $(link-libc-args).
27453         (build-module-asneeded): Likewise.
27454         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27455         list of objects.
27456         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27457         target-specific variable.
27458         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27459         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27460         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27461         libc.
27462         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27463         libc and ld.so.
27464         ($(objpfx)libpcprofile.so): Likewise.
27465         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27466         libc_nonshared.a.
27467         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27468         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27469         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27470         $(link-libc-deps).
27471         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27472         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27473         * login/Makefile ($(objpfx)libutil.so): Likewise.
27474         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27475         * math/Makefile ($(objpfx)libm.so): Likewise.
27476         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27477         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27478         variable instead of depending directly on libc.
27479         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27480         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27481         $(link-libc-deps).
27482         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27483         libc.
27484         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27485         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27486         ($(objpfx)libanl.so): Likewise.
27487         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27488         ld.so.
27489         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27490         $(link-libc-deps).
27491         * sysdeps/i386/fpu/Makefile: Remove file.
27492         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27493         ($(objpfx)libm.so): Remove dependency on ld.so.
27495 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27497         [BZ # 15553]
27498         * nis/yp_xdr.c (XDRMAXNAME): Define.
27499         (XDRMAXRECORD): Define.
27500         (xdr_domainname): Use XDRMAXNAME.
27501         (xdr_mapname): Likewise.
27502         (xdr_peername): Likewise.
27503         (xdr_keydat): Use XDRMAXRECORD.
27504         (xdr_valdat): Likewise.
27506 2013-05-30  Jeff Law  <law@redhat.com>
27508         [BZ #14256]
27509         * manual/errno.texi (ESTALE): Update to account for more than
27510         just NFS file systems.
27511         * sysdeps/gnu/errlist.c: Regenerated.
27513 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27515         [BZ #15465]
27516         * elf/Makefile (tests): Add tst-null-argv.
27517         (modules-names):  Add tst-null-argv-lib.
27518         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27519         (tst-null-argv-ENV): Set environment for tst-null-argv.
27520         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27521         (RTLD_PROGNAME): New macro.
27522         * elf/tst-null-argv.c: New test case.
27523         * elf/tst-null-argv-lib.c: Library for test case.
27524         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27525         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27526         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27527         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27528         * elf/dl-init.c (call_init): Likewise.
27529         (_dl_init): Likewise.
27530         * elf/dl-load.c (print_search_path): Likewise.
27531         (_dl_map_object): Likewise.
27532         * elf/dl-lookup.c (do_lookup_x): Likewise.
27533         (add_dependency): Likewise.
27534         (_dl_lookup_symbol_x): Likewise.
27535         (_dl_debug_bindings): Likewise.
27536         * elf/dl-open.c (_dl_show_scope): Likewise.
27537         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27538         * elf/dl-version.c (match_symbol): Likewise.
27539         (_dl_check_map_versions): Likewise.
27540         * elf/rtld.c (dl_main): Likewise.
27541         (print_unresolved): Use RTLD_PROGNAME.
27542         (print_missing_version): Likewise.
27543         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27544         (elf_machine_rela): Likewise.
27545         * sysdeps/powerpc/powerpc32/dl-machine.c
27546         (__process_machine_rela): Likewise.
27547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27548         Likewise.
27549         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27550         Likewise.
27551         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27552         Likewise.
27553         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27555         Likewise.
27556         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27557         Likewise.
27558         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27560 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27562         * po/be.po: Add descriptive title.
27563         * po/zh_CN.po: Likewise.
27564         * po/header.pot: Likewise.
27566 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27568         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27569         error message.
27570         (enlarge_archive): Likewise.
27572 2013-05-28  Ben North  <ben@redfrontdoor.org>
27574         * manual/arith.texi (frexp): It is the magnitude of the return
27575         value which lies in [0.5, 1), not the return value itself.
27577 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27581 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27583         * stdio-common/bug26.c (main): Correct fscanf template.
27585         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27586         declare _dl_skip_args.
27588         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27589         Don't declare.
27591         * manual/platform.texi: Add missing @end deftypefun.
27593 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27595         [BZ #15529]
27596         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27597         bit of mantissa of 2^16382.
27598         * math/libm-test.inc (hypot_test_data): Add more tests.
27600         * math/libm-test.inc: Add drem and pow10 to list of tested
27601         functions.
27602         (pow10_test): New function.
27603         (drem_test): Likewise.
27604         (drem_test_tonearest): Likewise.
27605         (drem_test_towardzero): Likewise.
27606         (drem_test_downward): Likewise.
27607         (drem_test_upward): Likewise.
27608         (main): Call the new functions.
27610         * math/libm-test.inc (finite_test_data): Remove.
27611         (finite_test): Run tests from isfinite_test_data.
27612         (gamma_test_data): Remove.
27613         (gamma_test): Run tests from lgamma_test_data.
27614         * sysdeps/i386/fpu/libm-test-ulps: Update.
27615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27617 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27619         * manual/platform.texi: Add PowerPC PPR function set documentation.
27620         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27621         implementation.
27623 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27625         * math/libm-test.inc (MAX_EXP): Define.
27626         (ULPDIFF): Define.
27627         (ulp): New function.
27628         (check_float_internal): Use ULPDIFF.
27629         (cpow_test): Disable failing test.
27630         (check_ulp): Test ulp() implemetnation.
27631         (main): Call check_ulp before starting tests.
27633 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27635         * math/gen-libm-test.pl (generate_testfile): Do not handle
27636         START_DATA and END_DATA.
27637         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27638         END_DATA.
27639         (acos_tonearest_test_data): Likewise.
27640         (acos_towardzero_test_data): Likewise.
27641         (acos_downward_test_data): Likewise.
27642         (acos_upward_test_data): Likewise.
27643         (acosh_test_data): Likewise.
27644         (asin_test_data): Likewise.
27645         (asin_tonearest_test_data): Likewise.
27646         (asin_towardzero_test_data): Likewise.
27647         (asin_downward_test_data): Likewise.
27648         (asin_upward_test_data): Likewise.
27649         (asinh_test_data): Likewise.
27650         (atan_test_data): Likewise.
27651         (atanh_test_data): Likewise.
27652         (atan2_test_data): Likewise.
27653         (cabs_test_data): Likewise.
27654         (cacos_test_data): Likewise.
27655         (cacosh_test_data): Likewise.
27656         (carg_test_data): Likewise.
27657         (casin_test_data): Likewise.
27658         (casinh_test_data): Likewise.
27659         (catan_test_data): Likewise.
27660         (catanh_test_data): Likewise.
27661         (cbrt_test_data): Likewise.
27662         (ccos_test_data): Likewise.
27663         (ccosh_test_data): Likewise.
27664         (ceil_test_data): Likewise.
27665         (cexp_test_data): Likewise.
27666         (cimag_test_data): Likewise.
27667         (clog_test_data): Likewise.
27668         (clog10_test_data): Likewise.
27669         (conj_test_data): Likewise.
27670         (copysign_test_data): Likewise.
27671         (cos_test_data): Likewise.
27672         (cos_tonearest_test_data): Likewise.
27673         (cos_towardzero_test_data): Likewise.
27674         (cos_downward_test_data): Likewise.
27675         (cos_upward_test_data): Likewise.
27676         (cosh_test_data): Likewise.
27677         (cosh_tonearest_test_data): Likewise.
27678         (cosh_towardzero_test_data): Likewise.
27679         (cosh_downward_test_data): Likewise.
27680         (cosh_upward_test_data): Likewise.
27681         (cpow_test_data): Likewise.
27682         (cproj_test_data): Likewise.
27683         (creal_test_data): Likewise.
27684         (csin_test_data): Likewise.
27685         (csinh_test_data): Likewise.
27686         (csqrt_test_data): Likewise.
27687         (ctan_test_data): Likewise.
27688         (ctan_tonearest_test_data): Likewise.
27689         (ctan_towardzero_test_data): Likewise.
27690         (ctan_downward_test_data): Likewise.
27691         (ctan_upward_test_data): Likewise.
27692         (ctanh_test_data): Likewise.
27693         (ctanh_tonearest_test_data): Likewise.
27694         (ctanh_towardzero_test_data): Likewise.
27695         (ctanh_downward_test_data): Likewise.
27696         (ctanh_upward_test_data): Likewise.
27697         (erf_test_data): Likewise.
27698         (erfc_test_data): Likewise.
27699         (exp_test_data): Likewise.
27700         (exp_tonearest_test_data): Likewise.
27701         (exp_towardzero_test_data): Likewise.
27702         (exp_downward_test_data): Likewise.
27703         (exp_upward_test_data): Likewise.
27704         (exp10_test_data): Likewise.
27705         (exp2_test_data): Likewise.
27706         (expm1_test_data): Likewise.
27707         (fabs_test_data): Likewise.
27708         (fdim_test_data): Likewise.
27709         (finite_test_data): Likewise.
27710         (floor_test_data): Likewise.
27711         (fma_test_data): Likewise.
27712         (fma_towardzero_test_data): Likewise.
27713         (fma_downward_test_data): Likewise.
27714         (fma_upward_test_data): Likewise.
27715         (fmax_test_data): Likewise.
27716         (fmin_test_data): Likewise.
27717         (fmod_test_data): Likewise.
27718         (fpclassify_test_data): Likewise.
27719         (frexp_test_data): Likewise.
27720         (gamma_test_data): Likewise.
27721         (hypot_test_data): Likewise.
27722         (ilogb_test_data): Likewise.
27723         (isfinite_test_data): Likewise.
27724         (isgreater_test_data): Likewise.
27725         (isgreaterequal_test_data): Likewise.
27726         (isinf_test_data): Likewise.
27727         (isless_test_data): Likewise.
27728         (islessequal_test_data): Likewise.
27729         (islessgreater_test_data): Likewise.
27730         (isnan_test_data): Likewise.
27731         (isnormal_test_data): Likewise.
27732         (issignaling_test_data): Likewise.
27733         (isunordered_test_data): Likewise.
27734         (j0_test_data): Likewise.
27735         (j1_test_data): Likewise.
27736         (jn_test_data): Likewise.
27737         (ldexp_test_data): Likewise.
27738         (lgamma_test_data): Likewise.
27739         (lrint_test_data): Likewise.
27740         (lrint_tonearest_test_data): Likewise.
27741         (lrint_towardzero_test_data): Likewise.
27742         (lrint_downward_test_data): Likewise.
27743         (lrint_upward_test_data): Likewise.
27744         (llrint_test_data): Likewise.
27745         (llrint_tonearest_test_data): Likewise.
27746         (llrint_towardzero_test_data): Likewise.
27747         (llrint_downward_test_data): Likewise.
27748         (llrint_upward_test_data): Likewise.
27749         (log_test_data): Likewise.
27750         (log10_test_data): Likewise.
27751         (log1p_test_data): Likewise.
27752         (log2_test_data): Likewise.
27753         (logb_test_data): Likewise.
27754         (logb_downward_test_data): Likewise.
27755         (lround_test_data): Likewise.
27756         (llround_test_data): Likewise.
27757         (modf_test_data): Likewise.
27758         (nearbyint_test_data): Likewise.
27759         (nextafter_test_data): Likewise.
27760         (nexttoward_test_data): Likewise.
27761         (pow_test_data): Likewise.
27762         (pow_tonearest_test_data): Likewise.
27763         (pow_towardzero_test_data): Likewise.
27764         (pow_downward_test_data): Likewise.
27765         (pow_upward_test_data): Likewise.
27766         (remainder_test_data): Likewise.
27767         (remainder_tonearest_test_data): Likewise.
27768         (remainder_towardzero_test_data): Likewise.
27769         (remainder_downward_test_data): Likewise.
27770         (remainder_upward_test_data): Likewise.
27771         (remquo_test_data): Likewise.
27772         (rint_test_data): Likewise.
27773         (rint_tonearest_test_data): Likewise.
27774         (rint_towardzero_test_data): Likewise.
27775         (rint_downward_test_data): Likewise.
27776         (rint_upward_test_data): Likewise.
27777         (round_test_data): Likewise.
27778         (scalb_test_data): Likewise.
27779         (scalbn_test_data): Likewise.
27780         (scalbln_test_data): Likewise.
27781         (signbit_test_data): Likewise.
27782         (sin_test_data): Likewise.
27783         (sin_tonearest_test_data): Likewise.
27784         (sin_towardzero_test_data): Likewise.
27785         (sin_downward_test_data): Likewise.
27786         (sin_upward_test_data): Likewise.
27787         (sincos_test_data): Likewise.
27788         (sinh_test_data): Likewise.
27789         (sinh_tonearest_test_data): Likewise.
27790         (sinh_towardzero_test_data): Likewise.
27791         (sinh_downward_test_data): Likewise.
27792         (sinh_upward_test_data): Likewise.
27793         (sqrt_test_data): Likewise.
27794         (tan_test_data): Likewise.
27795         (tan_tonearest_test_data): Likewise.
27796         (tan_towardzero_test_data): Likewise.
27797         (tan_downward_test_data): Likewise.
27798         (tan_upward_test_data): Likewise.
27799         (tanh_test_data): Likewise.
27800         (tgamma_test_data): Likewise.
27801         (trunc_test_data): Likewise.
27802         (y0_test_data): Likewise.
27803         (y1_test_data): Likewise.
27804         (yn_test_data): Likewise.
27805         (significand_test_data): Likewise.
27807         * math/gen-libm-test.pl (@functions): Remove variable.
27808         (generate_testfile): Don't handle START and END lines.
27809         * math/libm-test.inc (START): New macro.
27810         (END): Likewise.
27811         (END_COMPLEX): Likewise.
27812         (acos_test): Use END macro without arguments.
27813         (acos_test_tonearest): Likewise.
27814         (acos_test_towardzero): Likewise.
27815         (acos_test_downward): Likewise.
27816         (acos_test_upward): Likewise.
27817         (acosh_test): Likewise.
27818         (asin_test): Likewise.
27819         (asin_test_tonearest): Likewise.
27820         (asin_test_towardzero): Likewise.
27821         (asin_test_downward): Likewise.
27822         (asin_test_upward): Likewise.
27823         (asinh_test): Likewise.
27824         (atan_test): Likewise.
27825         (atanh_test): Likewise.
27826         (atan2_test): Likewise.
27827         (cabs_test): Likewise.
27828         (cacos_test): Use END_COMPLEX macro without arguments.
27829         (cacosh_test): Likewise.
27830         (carg_test): Use END macro without arguments.
27831         (casin_test): Use END_COMPLEX macro without arguments.
27832         (casinh_test): Likewise.
27833         (catan_test): Likewise.
27834         (catanh_test): Likewise.
27835         (cbrt_test): Use END macro without arguments.
27836         (ccos_test): Use END_COMPLEX macro without arguments.
27837         (ccosh_test): Likewise.
27838         (ceil_test): Use END macro without arguments.
27839         (cexp_test): Use END_COMPLEX macro without arguments.
27840         (cimag_test): Use END macro without arguments.
27841         (clog_test): Use END_COMPLEX macro without arguments.
27842         (clog10_test): Likewise.
27843         (conj_test): Likewise.
27844         (copysign_test): Use END macro without arguments.
27845         (cos_test): Likewise.
27846         (cos_test_tonearest): Likewise.
27847         (cos_test_towardzero): Likewise.
27848         (cos_test_downward): Likewise.
27849         (cos_test_upward): Likewise.
27850         (cosh_test): Likewise.
27851         (cosh_test_tonearest): Likewise.
27852         (cosh_test_towardzero): Likewise.
27853         (cosh_test_downward): Likewise.
27854         (cosh_test_upward): Likewise.
27855         (cpow_test): Use END_COMPLEX macro without arguments.
27856         (cproj_test): Likewise.
27857         (creal_test): Use END macro without arguments.
27858         (csin_test): Use END_COMPLEX macro without arguments.
27859         (csinh_test): Likewise.
27860         (csqrt_test): Likewise.
27861         (ctan_test): Likewise.
27862         (ctan_test_tonearest): Likewise.
27863         (ctan_test_towardzero): Likewise.
27864         (ctan_test_downward): Likewise.
27865         (ctan_test_upward): Likewise.
27866         (ctanh_test): Likewise.
27867         (ctanh_test_tonearest): Likewise.
27868         (ctanh_test_towardzero): Likewise.
27869         (ctanh_test_downward): Likewise.
27870         (ctanh_test_upward): Likewise.
27871         (erf_test): Use END macro without arguments.
27872         (erfc_test): Likewise.
27873         (exp_test): Likewise.
27874         (exp_test_tonearest): Likewise.
27875         (exp_test_towardzero): Likewise.
27876         (exp_test_downward): Likewise.
27877         (exp_test_upward): Likewise.
27878         (exp10_test): Likewise.
27879         (exp2_test): Likewise.
27880         (expm1_test): Likewise.
27881         (fabs_test): Likewise.
27882         (fdim_test): Likewise.
27883         (finite_test): Likewise.
27884         (floor_test): Likewise.
27885         (fma_test): Likewise.
27886         (fma_test_towardzero): Likewise.
27887         (fma_test_downward): Likewise.
27888         (fma_test_upward): Likewise.
27889         (fmax_test): Likewise.
27890         (fmin_test): Likewise.
27891         (fmod_test): Likewise.
27892         (fpclassify_test): Likewise.
27893         (frexp_test): Likewise.
27894         (gamma_test): Likewise.
27895         (hypot_test): Likewise.
27896         (ilogb_test): Likewise.
27897         (isfinite_test): Likewise.
27898         (isgreater_test): Likewise.
27899         (isgreaterequal_test): Likewise.
27900         (isinf_test): Likewise.
27901         (isless_test): Likewise.
27902         (islessequal_test): Likewise.
27903         (islessgreater_test): Likewise.
27904         (isnan_test): Likewise.
27905         (isnormal_test): Likewise.
27906         (issignaling_test): Likewise.
27907         (isunordered_test): Likewise.
27908         (j0_test): Likewise.
27909         (j1_test): Likewise.
27910         (jn_test): Likewise.
27911         (ldexp_test): Likewise.
27912         (lgamma_test): Likewise.
27913         (lrint_test): Likewise.
27914         (lrint_test_tonearest): Likewise.
27915         (lrint_test_towardzero): Likewise.
27916         (lrint_test_downward): Likewise.
27917         (lrint_test_upward): Likewise.
27918         (llrint_test): Likewise.
27919         (llrint_test_tonearest): Likewise.
27920         (llrint_test_towardzero): Likewise.
27921         (llrint_test_downward): Likewise.
27922         (llrint_test_upward): Likewise.
27923         (log_test): Likewise.
27924         (log10_test): Likewise.
27925         (log1p_test): Likewise.
27926         (log2_test): Likewise.
27927         (logb_test): Likewise.
27928         (logb_test_downward): Likewise.
27929         (lround_test): Likewise.
27930         (llround_test): Likewise.
27931         (modf_test): Likewise.
27932         (nearbyint_test): Likewise.
27933         (nextafter_test): Likewise.
27934         (nexttoward_test): Likewise.
27935         (pow_test): Likewise.
27936         (pow_test_tonearest): Likewise.
27937         (pow_test_towardzero): Likewise.
27938         (pow_test_downward): Likewise.
27939         (pow_test_upward): Likewise.
27940         (remainder_test): Likewise.
27941         (remainder_test_tonearest): Likewise.
27942         (remainder_test_towardzero): Likewise.
27943         (remainder_test_downward): Likewise.
27944         (remainder_test_upward): Likewise.
27945         (remquo_test): Likewise.
27946         (rint_test): Likewise.
27947         (rint_test_tonearest): Likewise.
27948         (rint_test_towardzero): Likewise.
27949         (rint_test_downward): Likewise.
27950         (rint_test_upward): Likewise.
27951         (round_test): Likewise.
27952         (scalb_test): Likewise.
27953         (scalbn_test): Likewise.
27954         (scalbln_test): Likewise.
27955         (signbit_test): Likewise.
27956         (sin_test): Likewise.
27957         (sin_test_tonearest): Likewise.
27958         (sin_test_towardzero): Likewise.
27959         (sin_test_downward): Likewise.
27960         (sin_test_upward): Likewise.
27961         (sincos_test): Likewise.
27962         (sinh_test): Likewise.
27963         (sinh_test_tonearest): Likewise.
27964         (sinh_test_towardzero): Likewise.
27965         (sinh_test_downward): Likewise.
27966         (sinh_test_upward): Likewise.
27967         (sqrt_test): Likewise.
27968         (tan_test): Likewise.
27969         (tan_test_tonearest): Likewise.
27970         (tan_test_towardzero): Likewise.
27971         (tan_test_downward): Likewise.
27972         (tan_test_upward): Likewise.
27973         (tanh_test): Likewise.
27974         (tgamma_test): Likewise.
27975         (trunc_test): Likewise.
27976         (y0_test): Likewise.
27977         (y1_test): Likewise.
27978         (yn_test): Likewise.
27979         (significand_test): Likewise.
27981 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27983         [BZ #15381]
27984         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27986 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27988         [BZ #14894]
27989         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27990         __ppc_mdoio and __ppc_mdoom.
27991         * manual/platform.texi: Document new functions __ppc_yield,
27992         __ppc_mdoio and __ppc_mdoom.
27994 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27996         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27997         (main): Mention "tls" pseudo-hwcap is legacy.
27998         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28000 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28002         * math/gen-libm-test.pl (parse_args): Output only string of
28003         arguments as text for test name, not full call or descriptions of
28004         tests for extra outputs.
28005         (generate_testfile): Do not pass function name to parse_args.
28006         Generate this_func variable from START.
28007         * math/libm-test.inc (struct test_f_f_data): Rename test_name
28008         field to arg_str.
28009         (struct test_ff_f_data): Likewise.
28010         (test_ff_f_data_nexttoward): Likewise.
28011         (struct test_fi_f_data): Likewise.
28012         (struct test_fl_f_data): Likewise.
28013         (struct test_if_f_data): Likewise.
28014         (struct test_fff_f_data): Likewise.
28015         (struct test_c_f_data): Likewise.
28016         (struct test_f_f1_data): Likewise.  Remove field extra_name.
28017         (struct test_fF_f1_data): Likewise.
28018         (struct test_ffI_f1_data): Likewise.
28019         (struct test_c_c_data): Rename test_name field to arg_str.
28020         (struct test_cc_c_data): Likewise.
28021         (struct test_f_i_data): Likewise.
28022         (struct test_ff_i_data): Likewise.
28023         (struct test_f_l_data): Likewise.
28024         (struct test_f_L_data): Likewise.
28025         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
28026         and extra2_name.
28027         (COMMON_TEST_SETUP): New macro.
28028         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28029         (COMMON_TEST_CLEANUP): Likewise.
28030         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28031         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
28032         macros.
28033         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28034         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
28035         macros.
28036         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28037         (RUN_TEST_fff_f): Take argument string.  Call new setup and
28038         cleanup macros.
28039         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28040         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
28041         macros.
28042         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28043         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
28044         macros.
28045         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28046         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
28047         cleanup macros.
28048         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28049         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
28050         cleanup macros.
28051         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28052         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
28053         cleanup macros.
28054         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28055         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
28056         macros.
28057         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28058         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
28059         macros.
28060         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28061         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
28062         macros.
28063         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28064         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
28065         cleanup macros.
28066         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28067         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
28068         cleanup macros.
28069         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28070         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
28071         macros.
28072         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28073         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
28074         cleanup macros.
28075         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28076         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
28077         macros.
28078         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28079         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
28080         macros.
28081         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28082         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
28083         cleanup macros.
28084         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28086 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
28088         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28089         to _sifields.sigfault.
28090         (si_addr_lsb): Define new macro.
28091         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28092         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28093         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28095 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
28097         [BZ #15441]
28098         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28099         returns -1.
28100         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28101         null return -1.
28102         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28103         loading the domain.
28105 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
28107         * math/gen-libm-test.pl (parse_args): Do not include expected
28108         result in test name.
28109         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28110         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28111         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28112         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28113         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28116 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28118         * benchtests/Makefile: Sort function entries.
28120         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28121         tanh, asinh, acosh, atanh.
28122         * benchtests/acos-inputs: New file.
28123         * benchtests/acosh-inputs: New file.
28124         * benchtests/asin-inputs: New file.
28125         * benchtests/asinh-inputs: New file.
28126         * benchtests/atanh-inputs: New file.
28127         * benchtests/cosh-inputs: New file.
28128         * benchtests/log-inputs: New file.
28129         * benchtests/sinh-inputs: New file.
28130         * benchtests/tanh-inputs: New file.
28132 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28134         [BZ #15339]
28135         * posix/tst-getaddrinfo4.c: New test.
28136         * posix/Makefile (tests): Add it.
28138 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28140         [BZ #15339]
28141         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28142         when no services were used.
28143         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28144         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28146 2013-05-21  Andreas Schwab  <schwab@suse.de>
28148         [BZ #15014]
28149         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28150         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28151         successful.
28152         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28153         redundant variable declarations and reallocation of buffer when
28154         parsing as IPv6 address.  Always set NSS status when called from
28155         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28156         buffer too small.  Correct computation of needed size.
28157         * nss/Makefile (tests): Add test-digits-dots.
28158         * nss/test-digits-dots.c: New test.
28160 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28162         * benchtests/Makefile: Remove instructions for adding
28163         benchmark tests.
28164         * benchtests/README: New file to explain how to execute and
28165         enhance the benchmark tests.
28167 2013-05-21  Andreas Schwab  <schwab@suse.de>
28169         [BZ #15493]
28170         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28171         * setjmp/tst-sigsetjmp.c: New test.
28173 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28175         * sysdeps/x86_64/memset.S (memset): New implementation.
28176         (__bzero): Likewise.
28177         (__memset_tail): New function.
28179 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28181         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28182         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28183         __memcpy_sse2_unaligned ifunc selection.
28184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28185         Add memcpy-sse2-unaligned.S.
28186         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28187         Add: __memcpy_sse2_unaligned.
28189 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28191         [BZ #15490]
28192         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28193         math_force_eval before restoring floating-point envrionment.
28194         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28195         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28196         Likewise.
28197         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28198         <math_private.h>.
28199         (__nearbyintl): Use math_force_eval before restoring
28200         floating-point environment.
28201         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28203         * math/gen-libm-test.pl (special_functions): Remove.
28204         (parse_args): Don't handle TEST_extra.  Handle functions with no
28205         return value.
28206         * math/libm-test.inc (struct test_sincos_data): Replace with
28207         struct test_fFF_11_data.
28208         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28209         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28210         (sincos_test_data): Change element type to struct
28211         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28212         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28213         RUN_TEST_LOOP_sincos.
28214         * math/README.libm-test: Don't mention special handling of
28215         individual functions.
28216         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28218         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28219         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28220         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28223         * math/gen-libm-test.pl (get_variable): Remove function.
28224         (parse_args): Don't show pointer parameters to call in test
28225         names.  Use "extra output N" in test names for extra outputs
28226         rather than naming variables.
28228 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28230         [BZ #15488]
28231         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28232         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28233         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28234         double tests.
28235         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28236         disable.
28237         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28238         check_long_double.
28240         * math/gen-libm-test.pl (@tests): Remove variable.
28241         ($count): Likewise.
28242         (new_test): Remove function.
28243         (show_exceptions): New function.
28244         (special_functions): Use show_exceptions instead of new_test.
28245         (parse_args): Likewise.
28246         (generate_testfile): Pass only function name in generated call to
28247         print_max_error or print_complex_max_error.
28248         (get_ulps): Do not handle complex tests specially.
28249         (output_test): Rename to ...
28250         (get_all_ulps_for_test): ... this.  Return a string rather than
28251         printing to a file.  Require ulps to be present.
28252         (output_ulps): Generate arrays rather than #defines.
28253         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28254         (struct ulp_data): New type.
28255         (BUILD_COMPLEX_ULP): Remove macro.
28256         (compare_ulp_data): New function.
28257         (find_ulps): Likewise.
28258         (find_test_ulps): Likewise.
28259         (find_function_ulps): Likewise.
28260         (find_complex_function_ulps): Likewise.
28261         (print_max_error): Determine allowed ulps using
28262         find_function_ulps.
28263         (print_complex_max_error): Determine allowed ulps using
28264         find_complex_function_ulps.
28265         (check_float_internal): Determine max ulps using find_test_ulps.
28266         (check_float): Do not take max_ulp parameter.  Update call to
28267         check_float_internal.
28268         (check_complex): Likewise.
28269         (check_int): Do not take max_ulp parameter.
28270         (check_long): Likewise.
28271         (check_bool): Likewise.
28272         (check_longlong): Likewise.
28273         (struct test_f_f_data): Remove max_ulp field.
28274         (struct test_ff_f_data): Likewise.
28275         (struct test_ff_f_data_nexttoward): Likewise.
28276         (struct test_fi_f_data): Likewise.
28277         (struct test_fl_f_data): Likewise.
28278         (struct test_if_f_data): Likewise.
28279         (struct test_fff_f_data): Likewise.
28280         (struct test_c_f_data): Likewise.
28281         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28282         (struct test_fF_f1_data): Likewise.
28283         (struct test_ffI_f1_data): Likewise.
28284         (struct test_c_c_data): Remove max_ulp field.
28285         (struct test_cc_c_data): Likewise.
28286         (struct test_f_i_data): Likewise.
28287         (struct test_ff_i_data): Likewise.
28288         (struct test_f_l_data): Likewise.
28289         (struct test_f_L_data): Likewise.
28290         (struct test_sincos_data): Likewise.
28291         (RUN_TEST_f_f): Do not handle ulps.
28292         (RUN_TEST_LOOP_f_f): Likewise.
28293         (RUN_TEST_2_f): Likewise.
28294         (RUN_TEST_LOOP_2_f): Likewise.
28295         (RUN_TEST_fff_f): Likewise.
28296         (RUN_TEST_LOOP_fff_f): Likewise.
28297         (RUN_TEST_c_f): Likewise.
28298         (RUN_TEST_LOOP_c_f): Likewise.
28299         (RUN_TEST_f_f1): Likewise.
28300         (RUN_TEST_LOOP_f_f1): Likewise.
28301         (RUN_TEST_fF_f1): Likewise.
28302         (RUN_TEST_LOOP_fF_f1): Likewise.
28303         (RUN_TEST_fI_f1): Likewise.
28304         (RUN_TEST_LOOP_fI_f1): Likewise.
28305         (RUN_TEST_ffI_f1): Likewise.
28306         (RUN_TEST_LOOP_ffI_f1): Likewise.
28307         (RUN_TEST_c_c): Likewise.
28308         (RUN_TEST_LOOP_c_c): Likewise.
28309         (RUN_TEST_cc_c): Likewise.
28310         (RUN_TEST_LOOP_cc_c): Likewise.
28311         (RUN_TEST_f_i): Likewise.
28312         (RUN_TEST_LOOP_f_i): Likewise.
28313         (RUN_TEST_f_i_tg): Likewise.
28314         (RUN_TEST_LOOP_f_i_tg): Likewise.
28315         (RUN_TEST_ff_i_tg): Likewise.
28316         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28317         (RUN_TEST_f_b): Likewise.
28318         (RUN_TEST_LOOP_f_b): Likewise.
28319         (RUN_TEST_f_b_tg): Likewise.
28320         (RUN_TEST_LOOP_f_b_tg): Likewise.
28321         (RUN_TEST_f_l): Likewise.
28322         (RUN_TEST_LOOP_f_l): Likewise.
28323         (RUN_TEST_f_L): Likewise.
28324         (RUN_TEST_LOOP_f_L): Likewise.
28325         (RUN_TEST_sincos): Likewise.
28326         (RUN_TEST_LOOP_sincos): Likewise.
28328 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28330         [BZ #15480]
28331         [BZ #15485]
28332         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28333         main case of finite arguments, set rounding mode to FE_TONEAREST
28334         and discard exceptions.
28335         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28336         exceptions.
28337         (remainder_tonearest_test_data): New variable.
28338         (remainder_test_tonearest): New function.
28339         (remainder_towardzero_test_data): New variable.
28340         (remainder_test_towardzero): New function.
28341         (remainder_downward_test_data): New variable.
28342         (remainder_test_downward): New function.
28343         (remainder_upward_test_data): New variable.
28344         (remainder_test_upward): New function.
28345         (main): Call the new test functions.
28347         * math/libm-test.inc (struct test_f_f1_data): Remove field
28348         extra_init.
28349         (struct test_fF_f1_data): Likewise.
28350         (struct test_ffI_f1_data): Likewise.
28351         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28352         based on value of EXTRA_EXPECTED.
28353         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28354         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28355         EXTRA_VAR based on value of EXTRA_EXPECTED.
28356         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28357         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28358         EXTRA_VAR based on value of EXTRA_EXPECTED.
28359         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28360         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28361         EXTRA_VAR based on value of EXTRA_EXPECTED.
28362         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28363         * math/gen-libm-test.pl (parse_args): Don't output initializers
28364         for extra output values.
28366         * math/libm-test.inc (check_int): Expect result to be exactly
28367         equal to expected value and do not handle ulps.
28368         (check_long): Likewise.
28369         (check_longlong): Likewise.
28371         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28372         exceptions.
28373         (cimag_test_data): Likewise.
28374         (conj_test_data): Likewise.
28375         (copysign_test_data): Likewise.
28376         (cproj_test_data): Likewise.
28377         (creal_test_data): Likewise.
28378         (fabs_test_data): Likewise.
28379         (fdim_test_data): Likewise.
28380         (finite_test_data): Likewise.
28381         (floor_test_data): Likewise.
28382         (fmax_test_data): Likewise.
28383         (fmin_test_data): Likewise.
28384         (fmod_test_data): Likewise.
28385         (fpclassify_test_data): Likewise.
28386         (frexp_test_data): Likewise.
28387         (ilogb_test_data): Likewise.
28388         (isfinite_test_data): Likewise.
28389         (isgreater_test_data): Likewise.
28390         (isgreaterequal_test_data): Likewise.
28391         (isinf_test_data): Likewise.
28392         (isless_test_data): Likewise.
28393         (islessequal_test_data): Likewise.
28394         (islessgreater_test_data): Likewise.
28395         (isnan_test_data): Likewise.
28396         (isnormal_test_data): Likewise.
28397         (issignaling_test_data): Likewise.
28398         (isunordered_test_data): Likewise.
28399         (ldexp_test_data): Likewise.
28400         (lrint_test_data): Likewise.
28401         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28402         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28403         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28404         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28405         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28406         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28407         test input.
28408         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28409         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28410         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28411         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28412         that test input.
28413         (lrint_downward_test_data): Test for "inexact" exceptions.
28414         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28415         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28416         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28417         test input.
28418         (lrint_upward_test_data): Test for "inexact" exceptions.
28419         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28420         test input.
28421         (llrint_test_data): Test for "inexact" exceptions.
28422         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28423         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28424         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28425         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28426         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28427         (llrint_downward_test_data): Test for "inexact" exceptions.
28428         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28429         (llrint_upward_test_data): Test for "inexact" exceptions.
28430         (logb_test_data): Likewise.
28431         (logb_downward_test_data): Likewise.
28432         (nextafter_test_data): Likewise.
28433         (nexttoward_test_data): Likewise.
28434         (remainder_test_data): Likewise.
28435         (remquo_test_data): Likewise.
28436         (scalbn_test_data): Likewise.
28437         (scalbln_test_data): Likewise.
28438         (signbit_test_data): Likewise.
28439         (sqrt_test_data): Likewise.
28440         (significand_test_data): Likewise.
28442 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28444         [BZ #15424]
28445         * benchtests/bench-modf.c (struct args): Mark arg0 as
28446         volatile.
28447         * scripts/bench.pl: Mark members of struct args as volatile.
28449 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28451         [BZ # 15497]
28452         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28453         negative infinity on POWER6 or lower.
28454         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28456 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28458         [BZ #15442]
28459         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28460         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28461         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28462         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28463         (_FP_SETQNAN): New macro.
28464         (_FP_SETQNAN_SEMIRAW): Likewise.
28465         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28466         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28467         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28468         (FP_EXTEND): Use _FP_FRAC_SNANP.
28469         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28470         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28471         into account.
28472         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28473         New macro.
28474         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28475         Likewise.
28477 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28479         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28480         with DIVIDE_BY_ZERO_EXCEPTION.
28481         (gamma_test_data): Likewise.
28482         (lgamma_test_data): Likewise.
28483         (log_test_data): Likewise.
28484         (log10_test_data): Likewise.
28485         (log2_test_data): Likewise.
28486         (tgamma_test_data): Likewise.
28488         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28489         (acos_test_tonearest): Likewise.
28490         (acos_test_towardzero): Likewise.
28491         (acos_test_downward): Likewise.
28492         (acos_test_upward): Likewise.
28493         (acosh_test): Likewise.
28494         (asin_test): Likewise.
28495         (asin_test_tonearest): Likewise.
28496         (asin_test_towardzero): Likewise.
28497         (asin_test_downward): Likewise.
28498         (asin_test_upward): Likewise.
28499         (asinh_test): Likewise.
28500         (atan_test): Likewise.
28501         (atanh_test): Likewise.
28502         (atan2_test): Likewise.
28503         (cabs_test): Likewise.
28504         (cacos_test): Likewise.
28505         (cacosh_test): Likewise.
28506         (casin_test): Likewise.
28507         (casinh_test): Likewise.
28508         (catan_test): Likewise.
28509         (catanh_test): Likewise.
28510         (cbrt_test): Likewise.
28511         (ccos_test): Likewise.
28512         (ccosh_test): Likewise.
28513         (cexp_test): Likewise.
28514         (clog_test): Likewise.
28515         (clog10_test): Likewise.
28516         (cos_test): Likewise.
28517         (cos_test_tonearest): Likewise.
28518         (cos_test_towardzero): Likewise.
28519         (cos_test_downward): Likewise.
28520         (cos_test_upward): Likewise.
28521         (cosh_test): Likewise.
28522         (cosh_test_tonearest): Likewise.
28523         (cosh_test_towardzero): Likewise.
28524         (cosh_test_downward): Likewise.
28525         (cosh_test_upward): Likewise.
28526         (cpow_test): Likewise.
28527         (csin_test): Likewise.
28528         (csinh_test): Likewise.
28529         (csqrt_test): Likewise.
28530         (ctan_test): Likewise.
28531         (ctan_test_tonearest): Likewise.
28532         (ctan_test_towardzero): Likewise.
28533         (ctan_test_downward): Likewise.
28534         (ctan_test_upward): Likewise.
28535         (ctanh_test): Likewise.
28536         (ctanh_test_tonearest): Likewise.
28537         (ctanh_test_towardzero): Likewise.
28538         (ctanh_test_downward): Likewise.
28539         (ctanh_test_upward): Likewise.
28540         (erf_test): Likewise.
28541         (erfc_test): Likewise.
28542         (exp_test): Likewise.
28543         (exp_test_tonearest): Likewise.
28544         (exp_test_towardzero): Likewise.
28545         (exp_test_downward): Likewise.
28546         (exp_test_upward): Likewise.
28547         (exp10_test): Likewise.
28548         (exp2_test): Likewise.
28549         (expm1_test): Likewise.
28550         (fmod_test): Likewise.
28551         (gamma_test): Likewise.
28552         (hypot_test): Likewise.
28553         (j0_test): Likewise.
28554         (j1_test): Likewise.
28555         (jn_test): Likewise.
28556         (lgamma_test): Likewise.
28557         (log_test): Likewise.
28558         (log10_test): Likewise.
28559         (log1p_test): Likewise.
28560         (log2_test): Likewise.
28561         (logb_test_downward): Likewise.
28562         (pow_test): Likewise.
28563         (pow_test_tonearest): Likewise.
28564         (pow_test_towardzero): Likewise.
28565         (pow_test_downward): Likewise.
28566         (pow_test_upward): Likewise.
28567         (remainder_test): Likewise.
28568         (remquo_test): Likewise.
28569         (sin_test): Likewise.
28570         (sin_test_tonearest): Likewise.
28571         (sin_test_towardzero): Likewise.
28572         (sin_test_downward): Likewise.
28573         (sin_test_upward): Likewise.
28574         (sincos_test): Likewise.
28575         (sinh_test): Likewise.
28576         (sinh_test_tonearest): Likewise.
28577         (sinh_test_towardzero): Likewise.
28578         (sinh_test_downward): Likewise.
28579         (sinh_test_upward): Likewise.
28580         (sqrt_test): Likewise.
28581         (tan_test): Likewise.
28582         (tan_test_tonearest): Likewise.
28583         (tan_test_towardzero): Likewise.
28584         (tan_test_downward): Likewise.
28585         (tan_test_upward): Likewise.
28586         (tanh_test): Likewise.
28587         (tgamma_test): Likewise.
28588         (y0_test): Likewise.
28589         (y1_test): Likewise.
28590         (yn_test): Likewise.
28592         * math/gen-libm-test.pl (adjust_arg): Remove function.
28593         (special_function): Remove argument $in_func.  Only handle
28594         generating output for tables of tests, not inside functions.
28595         (parse_args): Likewise.
28596         (generate_testfile): Remove variable $in_func.  Update call to
28597         parse_args.
28598         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28599         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28600         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28601         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28602         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28603         (MAX_VALUE_INIT): Rename macro to max_value.
28604         (MIN_VALUE_INIT): Rename macro to min_value.
28605         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28606         (plus_zero): Remove variable.
28607         (minus_zero): Likewise.
28608         (plus_infty): Likewise.
28609         (minus_infty): Likewise.
28610         (qnan_value): Likewise.
28611         (max_value): Likewise.
28612         (min_value): Likewise.
28613         (min_subnorm_value): Likewise.
28615 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28617         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28618         uint64_t or uint32_t usage.
28619         * crypt/sha256-block.c: Likewise.
28620         * crypt/sha256-crypt.c: Likewise.
28621         * crypt/sha256.c: Likewise.
28622         * crypt/sha512-block.c: Likewise.
28623         * crypt/sha512-crypt.c: Likewise.
28624         * crypt/sha512.c: Likewise.
28625         * debug/backtrace-tst.c: Likewise.
28626         * debug/pcprofiledump.c: Likewise.
28627         * elf/cache.c: Likewise.
28628         * elf/dl-cache.c: Likewise.
28629         * elf/dl-misc.c: Likewise.
28630         * elf/dl-profile.c: Likewise.
28631         * elf/dl-support.c: Likewise.
28632         * elf/ldconfig.c: Likewise.
28633         * elf/sprof.c: Likewise.
28634         * iconv/dummy-repertoire.c: Likewise.
28635         * iconv/iconv_charmap.c: Likewise.
28636         * iconv/skeleton.c: Likewise.
28637         * iconvdata/8bit-generic.c: Likewise.
28638         * iconvdata/cp737.h: Likewise.
28639         * iconvdata/cp775.h: Likewise.
28640         * iconvdata/ibm1008.h: Likewise.
28641         * iconvdata/ibm1025.h: Likewise.
28642         * iconvdata/ibm1046.h: Likewise.
28643         * iconvdata/ibm1097.h: Likewise.
28644         * iconvdata/ibm1112.h: Likewise.
28645         * iconvdata/ibm1122.h: Likewise.
28646         * iconvdata/ibm1123.h: Likewise.
28647         * iconvdata/ibm1124.h: Likewise.
28648         * iconvdata/ibm1129.h: Likewise.
28649         * iconvdata/ibm1130.h: Likewise.
28650         * iconvdata/ibm1132.h: Likewise.
28651         * iconvdata/ibm1133.h: Likewise.
28652         * iconvdata/ibm1137.h: Likewise.
28653         * iconvdata/ibm1140.h: Likewise.
28654         * iconvdata/ibm1141.h: Likewise.
28655         * iconvdata/ibm1142.h: Likewise.
28656         * iconvdata/ibm1143.h: Likewise.
28657         * iconvdata/ibm1144.h: Likewise.
28658         * iconvdata/ibm1145.h: Likewise.
28659         * iconvdata/ibm1146.h: Likewise.
28660         * iconvdata/ibm1147.h: Likewise.
28661         * iconvdata/ibm1148.h: Likewise.
28662         * iconvdata/ibm1149.h: Likewise.
28663         * iconvdata/ibm1153.h: Likewise.
28664         * iconvdata/ibm1154.h: Likewise.
28665         * iconvdata/ibm1155.h: Likewise.
28666         * iconvdata/ibm1156.h: Likewise.
28667         * iconvdata/ibm1157.h: Likewise.
28668         * iconvdata/ibm1158.h: Likewise.
28669         * iconvdata/ibm1160.h: Likewise.
28670         * iconvdata/ibm1161.h: Likewise.
28671         * iconvdata/ibm1162.h: Likewise.
28672         * iconvdata/ibm1163.h: Likewise.
28673         * iconvdata/ibm1164.h: Likewise.
28674         * iconvdata/ibm1166.h: Likewise.
28675         * iconvdata/ibm1167.h: Likewise.
28676         * iconvdata/ibm12712.h: Likewise.
28677         * iconvdata/ibm1390.h: Likewise.
28678         * iconvdata/ibm1399.h: Likewise.
28679         * iconvdata/ibm16804.h: Likewise.
28680         * iconvdata/ibm4517.h: Likewise.
28681         * iconvdata/ibm4899.h: Likewise.
28682         * iconvdata/ibm4909.h: Likewise.
28683         * iconvdata/ibm4971.h: Likewise.
28684         * iconvdata/ibm5347.h: Likewise.
28685         * iconvdata/ibm803.h: Likewise.
28686         * iconvdata/ibm856.h: Likewise.
28687         * iconvdata/ibm901.h: Likewise.
28688         * iconvdata/ibm902.h: Likewise.
28689         * iconvdata/ibm9030.h: Likewise.
28690         * iconvdata/ibm9066.h: Likewise.
28691         * iconvdata/ibm921.h: Likewise.
28692         * iconvdata/ibm922.h: Likewise.
28693         * iconvdata/ibm9448.h: Likewise.
28694         * iconvdata/isiri-3342.h: Likewise.
28695         * iconvdata/jis0201.h: Likewise.
28696         * include/link.h: Likewise.
28697         * include/netdb.h: Likewise.
28698         * inet/check_native.c: Likewise.
28699         * inet/check_pf.c: Likewise.
28700         * inet/getipv4sourcefilter.c: Likewise.
28701         * inet/getnameinfo.c: Likewise.
28702         * inet/getsourcefilter.c: Likewise.
28703         * inet/htonl.c: Likewise.
28704         * inet/setipv4sourcefilter.c: Likewise.
28705         * inet/setsourcefilter.c: Likewise.
28706         * inet/test-inet6_opt.c: Likewise.
28707         * inet/tst-network.c: Likewise.
28708         * locale/C-collate.c: Likewise.
28709         * locale/C-ctype.c: Likewise.
28710         * locale/C-time.c: Likewise.
28711         * locale/C-translit.h: Likewise.
28712         * locale/loadarchive.c: Likewise.
28713         * locale/programs/3level.h: Likewise.
28714         * locale/programs/charmap.c: Likewise.
28715         * locale/programs/charmap.h: Likewise.
28716         * locale/programs/ld-address.c: Likewise.
28717         * locale/programs/ld-collate.c: Likewise.
28718         * locale/programs/ld-ctype.c: Likewise.
28719         * locale/programs/ld-identification.c: Likewise.
28720         * locale/programs/ld-measurement.c: Likewise.
28721         * locale/programs/ld-messages.c: Likewise.
28722         * locale/programs/ld-monetary.c: Likewise.
28723         * locale/programs/ld-name.c: Likewise.
28724         * locale/programs/ld-numeric.c: Likewise.
28725         * locale/programs/ld-paper.c: Likewise.
28726         * locale/programs/ld-telephone.c: Likewise.
28727         * locale/programs/ld-time.c: Likewise.
28728         * locale/programs/linereader.c: Likewise.
28729         * locale/programs/locale.c: Likewise.
28730         * locale/programs/locarchive.c: Likewise.
28731         * locale/programs/locfile.h: Likewise.
28732         * locale/programs/repertoire.c: Likewise.
28733         * locale/programs/simple-hash.c: Likewise.
28734         * locale/programs/simple-hash.h: Likewise.
28735         * malloc/memusage.c: Likewise.
28736         * malloc/memusagestat.c: Likewise.
28737         * nis/nis_defaults.c: Likewise.
28738         * nis/nis_hash.c: Likewise.
28739         * nis/nis_print.c: Likewise.
28740         * nis/nis_xdr.c: Likewise.
28741         * nscd/connections.c: Likewise.
28742         * nscd/hstcache.c: Likewise.
28743         * nscd/nscd_gethst_r.c: Likewise.
28744         * nscd/nscd_getserv_r.c: Likewise.
28745         * nscd/nscd_helper.c: Likewise.
28746         * nscd/servicescache.c: Likewise.
28747         * nss/makedb.c: Likewise.
28748         * nss/nss_db/db-XXX.c: Likewise.
28749         * nss/nss_db/db-initgroups.c: Likewise.
28750         * nss/nss_db/db-netgrp.c: Likewise.
28751         * nss/nss_files/files-network.c: Likewise.
28752         * nss/nss_files/files-parse.c: Likewise.
28753         * posix/bug-regex5.c: Likewise.
28754         * posix/fnmatch_loop.c: Likewise.
28755         * posix/regcomp.c: Likewise.
28756         * posix/regexec.c: Likewise.
28757         * posix/tst-rfc3484-2.c: Likewise.
28758         * posix/tst-rfc3484-3.c: Likewise.
28759         * posix/tst-rfc3484.c: Likewise.
28760         * resolv/nss_dns/dns-canon.c: Likewise.
28761         * resolv/nss_dns/dns-network.c: Likewise.
28762         * resolv/res_init.c: Likewise.
28763         * resolv/res_mkquery.c: Likewise.
28764         * resolv/tst-aton.c: Likewise.
28765         * stdlib/cxa_atexit.c: Likewise.
28766         * stdlib/cxa_finalize.c: Likewise.
28767         * stdlib/gen-fpioconst.c: Likewise.
28768         * stdlib/strtol_l.c: Likewise.
28769         * string/tst-endian.c: Likewise.
28770         * sunrpc/auth_des.c: Likewise.
28771         * sunrpc/clnt_udp.c: Likewise.
28772         * sunrpc/rtime.c: Likewise.
28773         * sunrpc/svcauth_des.c: Likewise.
28774         * sunrpc/xdr.c: Likewise.
28775         * sunrpc/xdr_intXX_t.c: Likewise.
28776         * sunrpc/xdr_rec.c: Likewise.
28777         * sysdeps/generic/ldconfig.h: Likewise.
28778         * sysdeps/generic/ldsodefs.h: Likewise.
28779         * sysdeps/generic/memusage.h: Likewise.
28780         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28781         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28782         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28783         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28784         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28785         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28786         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28787         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28788         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28790         * sysdeps/posix/getaddrinfo.c: Likewise.
28791         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28792         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28793         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28794         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28795         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28796         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28797         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28798         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28799         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28800         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28801         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28802         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28803         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28804         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28805         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28806         * sysdeps/x86_64/dl-tls.h: Likewise.
28807         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28808         * time/alt_digit.c: Likewise.
28809         * time/era.c: Likewise.
28810         * wcsmbs/tst-c16c32-1.c: Likewise.
28812 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28814         * math/libm-test.inc (struct test_sincos_data): New type.
28815         (RUN_TEST_LOOP_sincos): New macro.
28816         (sincos_test_data): New variable.
28817         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28819 2013-05-16  Richard Henderson  <rth@redhat.com>
28821         * math/atest-exp2.c (LIMB64): New macro.
28822         (CONSTSZ): New macro.
28823         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28824         (hexdig): Move ...
28825         (print_mpn_fp): ... to function scope.
28826         (read_mpn_hex): Remove.
28827         (get_log2): Remove.
28828         (exp2_mpn): Use mp_log2.
28829         (main): Use mp_exp1.
28831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28833         * math/libm-test.inc: Remove comment about not testing "inexact"
28834         exceptions.
28835         (INEXACT_EXCEPTION): New macro.
28836         (NO_INEXACT_EXCEPTION): Likewise.
28837         (INVALID_EXCEPTION_OK): Update value.
28838         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28839         (OVERFLOW_EXCEPTION_OK): Likewise.
28840         (UNDERFLOW_EXCEPTION_OK): Likewise.
28841         (IGNORE_ZERO_INF_SIGN): Likewise.
28842         (ERRNO_UNCHANGED): Likewise.
28843         (ERRNO_EDOM): Likewise.
28844         (ERRNO_ERANGE): Likewise.
28845         (test_exceptions): Handle testing "inexact" exceptions.
28846         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28847         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28848         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28849         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28850         INEXACT_EXCEPTION.
28851         (rint_towardzero_test_data): Likewise.
28852         (rint_downward_test_data): Likewise.
28853         (rint_upward_test_data): Likewise.
28855         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28856         with OVERFLOW_EXCEPTION.
28857         (exp10_test_data): Likewise.
28858         (exp2_test_data): Likewise.
28859         (expm1_test_data): Likewise.
28860         (lgamma_test_data): Likewise.
28861         (pow_test_data): Likewise.
28862         (tgamma_test_data): Likewise.
28863         (yn_test_data): Remove duplicate test of overflow.
28865         * math/libm-test.inc (struct test_cc_c_data): New type.
28866         (RUN_TEST_LOOP_cc_c): New macro.
28867         (cpow_test_data): New variable.
28868         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28870         * math/libm-test.inc (struct test_f_L_data): New type.
28871         (RUN_TEST_LOOP_f_L): New macro.
28872         (llrint_test_data): New variable.
28873         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28874         (llrint_tonearest_test_data): New variable.
28875         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28876         (llrint_towardzero_test_data): New variable.
28877         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28878         (llrint_downward_test_data): New variable.
28879         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28880         (llrint_upward_test_data): New variable.
28881         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28882         (llround_test_data): New variable.
28883         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28885 2013-05-13  Peter Collingbourne  <pcc@google.com>
28887         * math/atest-exp2.c (get_log2): Remove const attribute.
28889 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28891         * math/libm-test.inc (struct test_f_l_data): New type.
28892         (RUN_TEST_LOOP_f_l): New macro.
28893         (lrint_test_data): New variable.
28894         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28895         (lrint_tonearest_test_data): New variable.
28896         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28897         (lrint_towardzero_test_data): New variable.
28898         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28899         (lrint_downward_test_data): New variable.
28900         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28901         (lrint_upward_test_data): New variable.
28902         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28903         (lround_test_data): New variable.
28904         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28906 2013-05-15  Peter Collingbourne  <pcc@google.com>
28908         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28909         (EXTRACT_WORDS64) Use where appropriate.
28910         (INSERT_WORDS64) Likewise.
28912         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28913         constraints with x constraints.
28914         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28916         * malloc/obstack.c (_obstack_compat): Add initializer.
28918 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28920         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28921         si_trapno and add si_addr_lsb to _sifields.sigfault.
28922         (si_trapno): Remove macro.
28923         (si_addr_lsb): Define new macro.
28924         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28926 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28928         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28929         instead of TEST_f_l.
28930         (llrint_test_tonearest): Likewise.
28931         (llrint_test_towardzero): Likewise.
28932         (llrint_test_downward): Likewise.
28933         (llrint_test_upward): Likewise.
28934         (llround_test): Likewise.
28936         * math/libm-test.inc (struct test_f_i_data): Add comment.
28937         (RUN_TEST_LOOP_f_b): New macro.
28938         (RUN_TEST_LOOP_f_b_tg): Likewise.
28939         (finite_test_data): New variable.
28940         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28941         (isfinite_test_data): New variable.
28942         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28943         (isinf_test_data): New variable.
28944         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28945         (isnan_test_data): New variable.
28946         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28947         (isnormal_test_data): New variable.
28948         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28949         (issignaling_test_data): New variable.
28950         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28951         (signbit_test_data): New variable.
28952         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28954         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28955         with INVALID_EXCEPTION.
28956         (acosh_test_data): Likewise.
28957         (asin_test_data): Likewise.
28958         (atanh_test_data): Likewise.
28959         (fmod_test_data): Likewise.
28960         (log_test_data): Likewise.
28961         (log10_test_data): Likewise.
28962         (log2_test_data): Likewise.
28963         (pow_test_data): Likewise.
28964         (sqrt_test_data): Likewise.
28965         (y0_test_data): Likewise.
28966         (y1_test_data): Likewise.
28967         (yn_test_data): Likewise.
28969         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28970         function contents.
28972         * math/libm-test.inc (struct test_ff_i_data): New type.
28973         (RUN_TEST_LOOP_ff_i_tg): New macro.
28974         (isgreater_test_data): New variable.
28975         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28976         (isgreaterequal_test_data): New variable.
28977         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28978         (isless_test_data): New variable.
28979         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28980         (islessequal_test_data): New variable.
28981         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28982         (islessgreater_test_data): New variable.
28983         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28984         (isunordered_test_data): New variable.
28985         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28987 2013-05-14  David S. Miller  <davem@davemloft.net>
28989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28991 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28993         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28995         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28996         extra_test to int.
28997         (struct test_f_i_data): Change type of max_ulp to int.
28999         * math/libm-test.inc (test_ffI_f1_data): New type.
29000         (RUN_TEST_LOOP_ffI_f1): New macro.
29001         (remquo_test_data): New variable.
29002         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29004         * setjmp/tst-setjmp-fp.c: New file.
29005         * setjmp/Makefile (tests): Add tst-setjmp-fp.
29006         (link-libm): New variable.
29007         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29009         * math/libm-test.inc (struct test_f_i_data): New type.
29010         (RUN_TEST_LOOP_f_i): New macro.
29011         (RUN_TEST_LOOP_f_i_tg): Likewise.
29012         (fpclassify_test_data): New variable.
29013         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29014         (ilogb_test_data): New variable.
29015         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29017         * math/libm-test.inc (scalbln_test): Correct function name in END
29018         call.
29020         * math/libm-test.inc (struct test_f_f1_data): Add comment.
29021         (RUN_TEST_LOOP_fI_f1): New macro.
29022         (frexp_test_data): New variable.
29023         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29025         * math/libm-test.inc (struct test_fF_f1_data): New type.
29026         (RUN_TEST_LOOP_fF_f1): New macro.
29027         (modf_test_data): New variable.
29028         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29030         * math/libm-test.inc (struct test_f_f1_data): New type.
29031         (RUN_TEST_LOOP_f_f1): New macro.
29032         (gamma_test_data): New variable.
29033         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29034         (lgamma_test_data): New variable.
29035         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29037 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
29039         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29040         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29041         (main): Comment "tls" pseudo-hwcap.
29043 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
29045         * math/libm-test.inc (struct test_fl_f_data): New type.
29046         (RUN_TEST_LOOP_fl_f): New variable.
29047         (scalbln_test_data): New variable.
29048         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29050         * math/libm-test.inc (struct test_fi_f_data): New type.
29051         (RUN_TEST_LOOP_fi_f): New macro.
29052         (ldexp_test_data): New variable.
29053         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29054         (scalbn_test_data): New variable.
29055         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29057         * math/libm-test.inc (struct test_c_f_data): New type.
29058         (RUN_TEST_LOOP_c_f): New macro.
29059         (cabs_test_data): New variable.
29060         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29061         (carg_test_data): New variable.
29062         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29063         (cimag_test_data): New variable.
29064         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29065         (creal_test_data): New variable.
29066         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29068         * math/libm-test.inc (struct test_if_f_data): New type.
29069         (RUN_TEST_LOOP_if_f): New macro.
29070         (jn_test_data): New variable.
29071         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29072         (yn_test_data): New variable.
29073         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29075         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29077 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29079         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29080         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29082 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29084         * benchtests/Makefile (CPPFLAGS-nonlib): Add
29085         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29086         (bench-deps): Add bench-timing.h.
29087         * benchtests-bench-skeleton.c: Include bench-timing.h.
29088         (main): Use TIMING_* macros instead of clock_gettime.
29089         * benchtests/bench-timing.h: New file.
29091         [BZ #14582]
29092         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29093         Renamed from _LIB_VERSION.
29094         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29096 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
29098         * math/libm-test.inc (struct test_fff_f_data): New type.
29099         (RUN_TEST_LOOP_fff_f): New macro.
29100         (fma_test_data): New variable.
29101         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29102         (fma_towardzero_test_data): New variable.
29103         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29104         (fma_downward_test_data): New variable.
29105         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29106         (fma_upward_test_data): New variable.
29107         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29109         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29110         (struct test_c_c_data): New type.
29111         (RUN_TEST_LOOP_c_c): New macro.
29112         (cacos_test_data): New variable.
29113         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29114         (cacosh_test_data): New variable.
29115         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29116         (casin_test_data): New variable.
29117         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29118         (casinh_test_data): New variable.
29119         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29120         (catan_test_data): New variable.
29121         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29122         (catanh_test_data): New variable.
29123         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29124         (ccos_test_data): New variable.
29125         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29126         (ccosh_test_data): New variable.
29127         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29128         (cexp_test_data): New variable.
29129         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29130         (clog_test_data): New variable.
29131         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29132         (clog10_test_data): New variable.
29133         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29134         (conj_test_data): New variable.
29135         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29136         (cproj_test_data): New variable.
29137         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29138         (csin_test_data): New variable.
29139         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29140         (csinh_test_data): New variable.
29141         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29142         (csqrt_test_data): New variable.
29143         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29144         (ctan_test_data): New variable.
29145         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29146         (ctan_tonearest_test_data): New variable.
29147         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29148         (ctan_towardzero_test_data): New variable.
29149         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29150         (ctan_downward_test_data): New variable.
29151         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29152         (ctan_upward_test_data): New variable.
29153         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29154         (ctanh_test_data): New variable.
29155         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29156         (ctanh_tonearest_test_data): New variable.
29157         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29158         (ctanh_towardzero_test_data): New variable.
29159         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29160         (ctanh_downward_test_data): New variable.
29161         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29162         (ctanh_upward_test_data): New variable.
29163         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29164         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29165         of BUILD_COMPLEX.
29167         * math/libm-test.inc (struct test_ff_f_data): New type.
29168         (struct test_ff_f_data_nexttoward): Likewise.
29169         (RUN_TEST_LOOP_2_f): New macro.
29170         (RUN_TEST_LOOP_ff_f): Likewise.
29171         (atan2_test_data): New variable.
29172         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29173         (copysign_test_data): New variable.
29174         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29175         (fdim_test_data): New variable.
29176         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29177         (fmax_test_data): New variable.
29178         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29179         (fmin_test_data): New variable.
29180         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29181         (fmod_test_data): New variable.
29182         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29183         (hypot_test_data): New variable.
29184         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29185         (nextafter_test_data): New variable.
29186         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29187         (nexttoward_test_data): New variable.
29188         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29189         (pow_test_data): New variable.
29190         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29191         (pow_tonearest_test_data): New variable.
29192         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29193         (pow_towardzero_test_data): New variable.
29194         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29195         (pow_downward_test_data): New variable.
29196         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29197         (pow_upward_test_data): New variable.
29198         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29199         (remainder_test_data): New variable.
29200         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29201         (scalb_test_data): New variable.
29202         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29203         * sysdeps/i386/fpu/libm-test-ulps: Update.
29205 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29207         * math/libm-test.inc (fma_test): Use max_value instead of local
29208         variable fltmax.
29209         (nextafter_test): Likewise.
29211         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29212         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29213         (acos_downward_test_data): New variable.
29214         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29215         (acos_upward_test_data): New variable.
29216         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29217         (acosh_test_data): New variable.
29218         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29219         (asin_test_data): New variable.
29220         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29221         (asin_tonearest_test_data): New variable.
29222         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29223         (asin_towardzero_test_data): New variable.
29224         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29225         (asin_downward_test_data): New variable.
29226         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29227         (asin_upward_test_data): New variable.
29228         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29229         (asinh_test_data): New variable.
29230         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29231         (atan_test_data): New variable.
29232         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29233         (atanh_test_data): New variable.
29234         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29235         (cbrt_test_data): New variable.
29236         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29237         (ceil_test_data): New variable.
29238         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29239         (cos_test_data): New variable.
29240         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29241         (cos_tonearest_test_data): New variable.
29242         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29243         (cos_towardzero_test_data): New variable.
29244         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29245         (cos_downward_test_data): New variable.
29246         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29247         (cos_upward_test_data): New variable.
29248         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29249         (cosh_test_data): New variable.
29250         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29251         (cosh_tonearest_test_data): New variable.
29252         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29253         (cosh_towardzero_test_data): New variable.
29254         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29255         (cosh_downward_test_data): New variable.
29256         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29257         (cosh_upward_test_data): New variable.
29258         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29259         (erf_test_data): New variable.
29260         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29261         (erfc_test_data): New variable.
29262         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29263         (exp_test_data): New variable.
29264         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29265         (exp_tonearest_test_data): New variable.
29266         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29267         (exp_towardzero_test_data): New variable.
29268         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29269         (exp_downward_test_data): New variable.
29270         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29271         (exp_upward_test_data): New variable.
29272         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29273         (exp10_test_data): New variable.
29274         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29275         (exp2_test_data): New variable.
29276         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29277         (expm1_test_data): New variable.
29278         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29279         (fabs_test_data): New variable.
29280         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29281         (floor_test_data): New variable.
29282         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29283         (j0_test_data): New variable.
29284         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29285         (j1_test_data): New variable.
29286         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29287         (log_test_data): New variable.
29288         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29289         (log10_test_data): New variable.
29290         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29291         (log1p_test_data): New variable.
29292         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29293         (log2_test_data): New variable.
29294         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29295         (logb_test_data): New variable.
29296         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29297         (logb_downward_test_data): New variable.
29298         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29299         (nearbyint_test_data): New variable.
29300         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29301         (rint_test_data): New variable.
29302         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29303         (rint_tonearest_test_data): New variable.
29304         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29305         (rint_towardzero_test_data): New variable.
29306         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29307         (rint_downward_test_data): New variable.
29308         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29309         (rint_upward_test_data): New variable.
29310         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29311         (round_test_data): New variable.
29312         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29313         (sin_test_data): New variable.
29314         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29315         (sin_tonearest_test_data): New variable.
29316         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29317         (sin_towardzero_test_data): New variable.
29318         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29319         (sin_downward_test_data): New variable.
29320         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29321         (sin_upward_test_data): New variable.
29322         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29323         (sinh_test_data): New variable.
29324         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29325         (sinh_tonearest_test_data): New variable.
29326         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29327         (sinh_towardzero_test_data): New variable.
29328         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29329         (sinh_downward_test_data): New variable.
29330         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29331         (sinh_upward_test_data): New variable.
29332         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29333         (sqrt_test_data): New variable.
29334         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29335         (tan_test_data): New variable.
29336         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29337         (tan_tonearest_test_data): New variable.
29338         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29339         (tan_towardzero_test_data): New variable.
29340         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29341         (tan_downward_test_data): New variable.
29342         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29343         (tan_upward_test_data): New variable.
29344         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29345         (tanh_test_data): New variable.
29346         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29347         (tgamma_test_data): New variable.
29348         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29349         (trunc_test_data): New variable.
29350         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29351         (y0_test_data): New variable.
29352         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29353         (y1_test_data): New variable.
29354         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29355         (significand_test_data): New variable.
29356         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29358 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29360         [BZ #12387]
29361         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29363 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29365         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29367 2013-05-10  Andreas Jaeger  <aj@suse.de>
29369         [BZ #15448]
29370         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29371         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29373 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29375         * math/gen-libm-test.pl (adjust_arg): New function.
29376         (special_functions): Handle generating output in both functions
29377         and arrays.
29378         (parse_args): Likewise.
29379         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29380         $in_func argument to parse_args.
29381         * math/libm-test.inc (struct test_f_f_data): New type.
29382         (IF_ROUND_INIT_): New macro.
29383         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29384         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29385         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29386         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29387         (ROUND_RESTORE_): Likewise.
29388         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29389         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29390         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29391         (ROUND_RESTORE_FE_UPWARD): Likewise.
29392         (RUN_TEST_LOOP_f_f): New macro.
29393         (acos_test_data): New variable.
29394         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29395         (acos_tonearest_test_data): New variable.
29396         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29398 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29400         * benchtests/bench-skeleton.c (startup): Fix coding style.
29402 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29404         [BZ #6809]
29405         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29406         negative infinity argument.
29407         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29408         negative infinity argument.
29409         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29410         negative infinity argument.
29411         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29412         domain errors.
29414 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29416         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29417         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29418         * iconv/iconv_prog.c (main): Likewise.
29419         * locale/programs/charmap-dir.c (charmap_readdir)
29420         (fopen_uncompressed): Likewise.
29421         * locale/programs/locfile.c (siblings_uncached)
29422         (write_locale_data): Use lstat64 instead of lstat.
29423         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29424         stat.
29426 2013-05-10  Andreas Jaeger  <aj@suse.de>
29428         [BZ #15395]
29429         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29430         localization.
29431         Include <locale.h>.
29433 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29435         * elf/dl-close.c (_dl_close_worker): Add comments.
29437 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29439         [BZ #15359]
29440         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29441         high part of pi/2.
29442         (__ieee754_rem_pio2l): Update comments.
29444         [BZ #15429]
29445         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29446         high part of pi/2.
29447         (__ieee754_rem_pio2l): Update comments.
29449         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29450         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29452         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29453         M_PI_4l.
29455         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29456         (M_PI_34_LOG10El): Likewise.
29457         (M_PI2_LOG10El): Likewise.
29458         (M_PI4_LOG10El): Likewise.
29459         (M_PI_LOG10El): Likewise.
29461 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29465 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29467         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29468         (MINUS_ZERO_INIT): Likewise.
29469         (PLUS_INFTY_INIT): Likewise.
29470         (MINUS_INFTY_INIT): Likewise.
29471         (QNAN_VALUE_INIT): Likewise.
29472         (MAX_VALUE_INIT): Likewise.
29473         (MIN_VALUE_INIT): Likewise.
29474         (MIN_SUBNORM_VALUE_INIT): Likewise.
29475         (plus_zero): Initialize with PLUS_ZERO_INIT.
29476         (minus_zero): Initialize with MINUS_ZERO_INIT.
29477         (plus_infty): Initialize with PLUS_INFTY_INIT.
29478         (minus_infty): Initialize with MINUS_INFTY_INIT.
29479         (qnan_value): Initialize with QNAN_VALUE_INIT.
29480         (max_value): Initialize with MAX_VALUE_INIT.
29481         (min_value): Initialize with MIN_VALUE_INIT.
29482         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29484         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29485         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29486         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29487         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29489         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29490         (RUN_TEST_2_f): Likewise.
29491         (RUN_TEST_ff_f): Likewise.
29492         (RUN_TEST_fi_f): Likewise.
29493         (RUN_TEST_fl_f): Likewise.
29494         (RUN_TEST_fff_f): Likewise.
29495         (RUN_TEST_c_f): Likewise.
29496         (RUN_TEST_f_f1): Likewise.
29497         (RUN_TEST_fF_f1): Likewise.
29498         (RUN_TEST_fI_f1): Likewise.
29499         (RUN_TEST_ffI_f1): Likewise.
29500         (RUN_TEST_c_c): Likewise.
29501         (RUN_TEST_cc_c): Likewise.
29502         (RUN_TEST_f_i): Likewise.
29503         (RUN_TEST_f_i_tg): Likewise.
29504         (RUN_TEST_ff_i_tg): Likewise.
29505         (RUN_TEST_f_b): Likewise.
29506         (RUN_TEST_f_b_tg): Likewise.
29507         (RUN_TEST_f_l): Likewise.
29508         (RUN_TEST_f_L): Likewise.
29509         (RUN_TEST_sincos): Likewise.
29510         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29511         whether to show exceptions.  Do not include ");\n" in return
29512         value.
29513         (special_functions): Output call to RUN_TEST_sincos instead of
29514         check_float calls.  Update calls to new_test.
29515         (parse_args): Output call to single RUN_TEST_* macro instead of
29516         check_* calls and other assignments.  Update calls to new_test.
29518         [BZ #2546]
29519         [BZ #2560]
29520         [BZ #5159]
29521         [BZ #15426]
29522         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29523         input to result for tgamma overflow.
29524         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29525         (gamma_coeff): New variable.
29526         (NCOEFF): New macro.
29527         (gamma_positive): New function.
29528         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29529         underflow here.  Use gamma_positive instead of exp (lgamma) for
29530         other arguments.
29531         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29532         (gamma_coeff): New variable.
29533         (NCOEFF): New macro.
29534         (gammaf_positive): New function.
29535         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29536         underflow here.  Use gamma_positive instead of exp (lgamma) for
29537         other arguments.
29538         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29539         (gamma_coeff): New variable.
29540         (NCOEFF): New macro.
29541         (gammal_positive): New function.
29542         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29543         underflow here.  Use gamma_positive instead of exp (lgamma) for
29544         other arguments.
29545         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29546         (gamma_coeff): New variable.
29547         (NCOEFF): New macro.
29548         (gammal_positive): New function.
29549         (__ieee754_gammal_r): Handle positive infinity, overflow and
29550         underflow here.  Handle NaN the same as positive infinity.  Remove
29551         check x < 0xffffffff for negative integers.  Use gamma_positive
29552         instead of exp (lgamma) for other arguments.
29553         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29554         (gamma_coeff): New variable.
29555         (NCOEFF): New macro.
29556         (gammal_positive): New function.
29557         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29558         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29559         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29560         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29561         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29562         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29563         * sysdeps/generic/math_private.h (__gamma_productf): New
29564         prototype.
29565         (__gamma_product): Likewise.
29566         (__gamma_productl): Likewise.
29567         * math/Makefile (libm-calls): Add gamma_product.
29568         * math/libm-test.inc (tgamma_test): Add more tests.
29569         * sysdeps/i386/fpu/libm-test-ulps: Update.
29570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29572 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29574         * benchtests/bench-skeleton.c (main): Preheat CPU.
29576 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29578         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29580 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29582         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29583         and _dl_skip_args_internal.
29585 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29587         * manual/message.texi (Message Translation): Talk about users.
29588         Message to key mapping impacts design.
29590 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29592         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29594         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29596         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29597         * sysdeps/wordsize-64/glob64.c: ... here.
29599         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29600         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29601         New macros.
29603         * debug/getlogin_r_chk.c: Moved to ...
29604         * login/getlogin_r_chk.c: ... here.
29605         * debug/Makefile (routines): Move getlogin_r_chk to ...
29606         * login/Makefile (routines): ... here.
29607         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29608         * login/Versions (libc: GLIBC_2.4): ... here.
29610         * io/poll.c (__poll): Renamed from poll.
29611         Add libc_hidden_def.
29612         (poll): Define as weak alias.
29614         * debug/ptsname_r_chk.c: Moved to ...
29615         * login/ptsname_r_chk.c: ... here.
29616         * debug/Makefile (routines): Move ptsname_r_chk to ...
29617         * login/Makefile (routines): ... here.
29618         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29619         * login/Versions (libc: GLIBC_2.4): ... here.
29621         * posix/getlogin.c: Moved to ...
29622         * login/getlogin.c: ... here.
29623         * posix/getlogin_r.c: Moved to ...
29624         * login/getlogin_r.c: ... here.
29625         * posix/getlogin_r.c: Moved to ...
29626         * login/getlogin_r.c: ... here.
29627         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29628         * login/Makefile (routines): ... here.
29629         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29630         * login/Versions (libc: GLIBC_2.0): ... here.
29632         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29633         (setrlimit): Define as weak alias.
29635         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29636         Call __ names for open, ftruncate, and close.
29637         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29638         (truncate): Define as weak alias.
29640 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29642         * math/gen-libm-test.pl (parse_args): Initialize x before each
29643         test of frexp, modf and remquo.
29645         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29646         test signgam value.
29648 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29650         [BZ #15418]
29651         [BZ #15419]
29652         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29653         internal tests.
29654         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29656 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29658         * elf/dl-writev.h: New file.
29659         * elf/dl-misc.c: Include it.
29660         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29661         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29663 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29665         * math/libm-test.inc (noXFails): Remove variable.
29666         (noXPasses): Likewise.
29667         (BUILD_COMPLEX_INT): Remove macro.
29668         (print_screen): Remove xfail argument.
29669         (print_screen_max_error): Likewise.
29670         (update_stats): Likewise.
29671         (print_max_error): Likewise.  Update calls to other affected
29672         functions.
29673         (print_complex_max_error): Likewise.
29674         (test_single_exception): Update calls to print_screen.
29675         (test_single_errno): Likewise.
29676         (check_float_internal): Remove xfail argument.  Update calls to
29677         other affected functions.
29678         (check_float): Likewise.
29679         (check_complex): Likewise.
29680         (check_int): Likewise.
29681         (check_long): Likewise.
29682         (check_bool): Likewise.
29683         (check_longlong): Likewise.
29684         (main): Don't print noXFails and noXPasses.
29685         * math/gen-libm-test.pl (top level): Don't mention expected
29686         failure handling in comment.
29687         (new_test): Don't handle expected failures.
29688         (parse_args): Don't mention expected failure handling in comment.
29689         (generate_testfile): Don't handle expected failures.
29690         (parse_ulps): Likewise.
29691         (print_ulps_file): Likewise.
29692         (get_failure): Remove function.
29693         (output_test): Don't handle expected failures.
29694         * make/README.libm-test: Don't mention expected failure handling.
29696         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29697         (minus_zero): Likewise.
29698         (plus_infty): Likewise.
29699         (minus_infty): Likewise.
29700         (qnan_value): Likewise.
29701         (max_value): Likewise.
29702         (min_value): Likewise.
29703         (min_subnorm_value): Likewise.
29704         (initialize): Do not initialize those variables dynamically.
29706 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29708         * io/open.c (__open_2): Moved to ...
29709         * io/open_2.c: ... this new file.
29710         * io/open64.c (__open64_2): Moved to ...
29711         * io/open64_2.c: ... this new file.
29712         * io/openat.c (__openat_2): Moved to ...
29713         * io/openat_2.c: ... this new file.
29714         * io/openat64.c (__openat64_2): Moved to ...
29715         * io/openat64_2.c: ... this new file.
29716         * io/Makefile (routines): Add them.
29717         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29718         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29719         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29720         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29721         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29722         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29723         (__openat64): Add hidden_ver.
29724         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29725         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29727         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29728         Separately conditionalize setting of GLRO(dl_sysinfo) so
29729         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29730         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29732 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29734         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29736         definition.
29737         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29738         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29739         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29740         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29741         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29743 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29745         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29746         test signgam value.
29748         * math/libm-test.inc (hypot_test): Do not use
29749         IGNORE_ZERO_INF_SIGN.
29751 2013-05-03  Andreas Jaeger  <aj@suse.de>
29753         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29754         Linux 3.9.
29755         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29756         (PF_MAX): Adjust for VSOCK change.
29758 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29760         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29762 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29764         [BZ #15264]
29765         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29766         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29767         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29769 2013-05-02  David S. Miller  <davem@davemloft.net>
29771         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29773 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29775         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29777 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29779         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29781 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29783         [BZ #14952]
29784         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29785         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29786         Use __attribute__ ((__gnu_inline__)).
29787         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29788         Don't use __attribute__ ((__gnu_inline__)).
29790 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29792         [BZ #15423]
29793         * math/s_catan.c (__catan): Handle small real or imaginary part of
29794         input specially to avoid spurious underflow.
29795         * math/s_catanf.c (__catanf): Likewise.
29796         * math/s_catanh.c (__catanh): Likewise.
29797         * math/s_catanhf.c (__catanhf): Likewise.
29798         * math/s_catanhl.c (__catanhl): Likewise.
29799         * math/s_catanl.c (__catanl): Likewise.
29800         * math/libm-test.inc (catan_test): Add more tests.
29801         (catanh_test): Likewise.
29802         * sysdeps/i386/fpu/libm-test-ulps: Update.
29803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29805 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29809 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29811         [BZ #15416]
29812         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29813         accurately for denominator in atan2.
29814         * math/s_catanf.c (__catanf): Likewise.
29815         * math/s_catanh.c (__catanh): Likewise.
29816         * math/s_catanhf.c (__catanhf): Likewise.
29817         * math/s_catanhl.c (__catanhl): Likewise.
29818         * math/s_catanl.c (__catanl): Likewise.
29819         * math/libm-test.inc (catan_test): Add more tests.
29820         (catanh_test): Likewise.
29821         * sysdeps/i386/fpu/libm-test-ulps: Update.
29822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29824 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29826         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29828         * benchtests/Makefile (bench): Remove slow benchmarks.
29829         * benchtests/atan-inputs: Add slow benchmark inputs.
29830         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29831         (BENCH_FUNC): Accept variant offset.
29832         (VARIANT): Define.
29833         * benchtests/bench-skeleton.c (main): Run benchmark for each
29834         variant.
29835         * benchtests/cos-inputs: Add slow benchmark inputs.
29836         * benchtests/exp-inputs: Likewise.
29837         * benchtests/pow-inputs: Likewise.
29838         * benchtests/sin-inputs: Likewise.
29839         * benchtests/slowatan-inputs: Remove.
29840         * benchtests/slowatan.c: Remove.
29841         * benchtests/slowcos-inputs: Remove.
29842         * benchtests/slowcos.c: Remove.
29843         * benchtests/slowexp-inputs: Remove.
29844         * benchtests/slowexp.c: Remove.
29845         * benchtests/slowpow-inputs: Remove.
29846         * benchtests/slowpow.c: Remove.
29847         * benchtests/slowsin-inputs: Remove.
29848         * benchtests/slowsin.c: Remove.
29849         * benchtests/slowtan-inputs: Remove.
29850         * benchtests/slowtan.c: Remove.
29851         * benchtests/tan-inputs: Add slow benchmark inputs.
29852         * scripts/bench.pl: Parse comments and directives.
29854         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29855         in CPPFLAGS.
29856         ($(objpfx)bench-%.c): Remove *-ITER.
29857         * benchtests/bench-modf.c: Remove definition of ITER.
29858         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29859         (main): Loop for DURATION seconds instead of fixed number of
29860         iterations.
29861         * scripts/bench.pl: Don't expect iterations in parameters.
29863 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29865         * io/fchdir.c (__fchdir): Renamed from fchdir.
29866         (fchdir): Define as weak alias.
29868 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29870         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29871         (ERRNO_EDOM): Likewise.
29872         (ERRNO_ERANGE): Likewise.
29873         (noErrnoTests): New variable.
29874         (init_max_error): Set errno to 0.
29875         (test_single_errno): New function.
29876         (test_errno): Likewise.
29877         (check_float_internal): Call test_errno.  Set errno to 0.
29878         (check_complex): Refer to errno tests in comment.
29879         (check_int): Call test_errno.  Set errno to 0.
29880         (check_long): Likewise.
29881         (check_bool): Likewise.
29882         (check_longlong): Likewise.
29883         (cos_test): Use ERRNO_* flags for errno tests instead of
29884         check_int.
29885         (expm1_test): Likewise.
29886         (fmod_test): Likewise.
29887         (ilogb_test): Likewise.
29888         (lgamma_test): Likewise.
29889         (pow_test): Likewise.
29890         (remainder_test): Likewise.
29891         (sin_test): Likewise.
29892         (tan_test): Likewise.
29893         (yn_test): Likewise.
29894         (initialize): Set errno to 0.
29895         (main): Print number of errno tests.
29896         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29898 2013-04-29  Andreas Jaeger  <aj@suse.de>
29900         [BZ #15084]
29901         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29902         and RES_USEVC.
29904         [BZ #15085]
29905         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29906         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29907         unimplemented.
29909         [BZ #15380]
29910         * stdlib/random.c (__initstate): Return NULL if
29911         __initstate fails.
29913         [BZ #15086]
29914         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29915         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29916         RES_SNGLKUPREOP.
29918 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29922 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29924         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29925         of individual tests.
29926         (casin_test): Likewise.
29927         (casinh_test): Likewise.
29929 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29931         [BZ #15409]
29932         * math/s_catan.c (__catan): Handle arguments with large real or
29933         imaginary part separately without squaring.
29934         * math/s_catanf.c (__catanf): Likewise.
29935         * math/s_catanh.c (__catanh): Likewise.
29936         * math/s_catanhf.c (__catanhf): Likewise.
29937         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29938         and redefine.
29939         (__catanhl): Handle arguments with large real or imaginary part
29940         separately without squaring.
29941         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29942         and redefine.
29943         (__catanl): Handle arguments with large real or imaginary part
29944         separately without squaring.
29945         * math/libm-test.inc (catan_test): Add more tests.
29946         (catanh_test): Likewise.
29947         * sysdeps/i386/fpu/libm-test-ulps: Update.
29948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29950 2013-04-27  Andreas Jaeger  <aj@suse.de>
29952         [BZ #15007]
29953         * stdlib/stdlib.h: Update guards for qecvt.
29954         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29955         <stdlib.h>.
29957 2013-04-27  Allan McRae  <allan@archlinux.org>
29959         * sysdeps/i386/fpu/libm-test-ulps: Update.
29961 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29963         [BZ #15406]
29964         * math/s_catan.c: Include <float.h>.
29965         (__catan): Ensure underflow exception occurs for underflowed
29966         result.
29967         * math/s_catanf.c: Include <float.h>.
29968         (__catanf): Ensure underflow exception occurs for underflowed
29969         result.
29970         * math/s_catanh.c: Include <float.h>.
29971         (__catanh): Ensure underflow exception occurs for underflowed
29972         result.
29973         * math/s_catanhf.c: Include <float.h>.
29974         (__catanhf): Ensure underflow exception occurs for underflowed
29975         result.
29976         * math/s_catanhl.c: Include <float.h>.
29977         (__catanhl): Ensure underflow exception occurs for underflowed
29978         result.
29979         * math/s_catanl.c: Include <float.h>.
29980         (__catanl): Ensure underflow exception occurs for underflowed
29981         result.
29982         * math/libm-test.inc (catan_test): Add more tests.
29983         (catanh_test): Likewise.
29985         [BZ #15405]
29986         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29987         underflowed result.
29988         * math/s_ccoshf.c (__ccoshf): Likewise.
29989         * math/s_ccoshl.c (__ccoshl): Likewise.
29990         * math/s_csin.c (__csin): Likewise.
29991         * math/s_csinf.c (__csinf): Likewise.
29992         * math/s_csinh.c (__csinh): Likewise.
29993         * math/s_csinhf.c (__csinhf): Likewise.
29994         * math/s_csinhl.c (__csinhl): Likewise.
29995         * math/s_csinl.c (__csinl): Likewise.
29996         * math/libm-test.inc (ccos_test): Add more tests.
29997         (ccosh_test): Likewise.
29998         (csin_test): Likewise.
29999         (csinh_test): Likewise.
30001 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30003         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30004         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30005         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30006         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30007         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30008         powerpc/power5+/fpu folders.
30009         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30012 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30014         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30016 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
30018         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30019         additions to variable.
30020         [$(config-machine) = x86_64] (modules-names): Likewise.
30021         ($(objpfx)tst-audit3): Remove dependency.
30022         ($(objpfx)tst-audit3.out): Likewise.
30023         ($(objpfx)tst-audit4): Likewise.
30024         ($(objpfx)tst-audit4.out): Likewise.
30025         ($(objpfx)tst-audit5): Likewise.
30026         ($(objpfx)tst-audit5.out): Likewise.
30027         ($(objpfx)tst-audit6): Likewise.
30028         ($(objpfx)tst-audit6.out): Likewise.
30029         ($(objpfx)tst-audit7): Likewise.
30030         ($(objpfx)tst-audit7.out): Likewise.
30031         (tst-audit3-ENV): Remove variable.
30032         (tst-audit4-ENV): Likewise.
30033         (tst-audit5-ENV): Likewise.
30034         (tst-audit6-ENV): Likewise.
30035         (tst-audit7-ENV): Likewise.
30036         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30037         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30038         addition to variable.
30039         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30040         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30041         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30042         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30043         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30044         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30045         tst-audit3, tst-audit4 and tst-audit5.
30046         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30047         tst-audit6 and tst-audit7.
30048         [$(subdir) = elf] (modules-names): Add audit modules for those
30049         tests.
30050         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30051         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30052         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30053         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30054         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30055         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30056         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30057         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30058         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30059         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30060         [$(subdir) = elf] (tst-audit3-ENV): New variable.
30061         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30062         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30063         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30064         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30065         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30066         Likewise.
30067         [$(subdir) = elf && $(config-cflags-avx) = yes]
30068         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30069         [$(subdir) = elf && $(config-cflags-avx) = yes]
30070         (CFLAGS-tst-auditmod4a.c): Likewise.
30071         [$(subdir) = elf && $(config-cflags-avx) = yes]
30072         (CFLAGS-tst-auditmod4b.c): Likewise.
30073         [$(subdir) = elf && $(config-cflags-avx) = yes]
30074         (CFLAGS-tst-auditmod6b.c): Likewise.
30075         [$(subdir) = elf && $(config-cflags-avx) = yes]
30076         (CFLAGS-tst-auditmod6c.c): Likewise.
30077         [$(subdir) = elf && $(config-cflags-avx) = yes]
30078         (CFLAGS-tst-auditmod7b.c): Likewise.
30079         * elf/tst-audit3.c: Move to ...
30080         * sysdeps/x86_64/tst-audit3.c: ... here.
30081         * elf/tst-audit4.c: Move to ...
30082         * sysdeps/x86_64/tst-audit4.c: ... here.
30083         * elf/tst-audit5.c: Move to ...
30084         * sysdeps/x86_64/tst-audit5.c: ... here.
30085         * elf/tst-audit6.c: Move to ...
30086         * sysdeps/x86_64/tst-audit6.c: ... here.
30087         * elf/tst-audit7.c: Move to ...
30088         * sysdeps/x86_64/tst-audit7.c: ... here.
30089         * elf/tst-auditmod3a.c: Move to ...
30090         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30091         * elf/tst-auditmod3b.c: Move to ...
30092         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30093         * elf/tst-auditmod4a.c: Move to ...
30094         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30095         * elf/tst-auditmod4b.c: Move to ...
30096         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30097         * elf/tst-auditmod5a.c: Move to ...
30098         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30099         * elf/tst-auditmod5b.c: Move to ...
30100         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30101         * elf/tst-auditmod6a.c: Move to ...
30102         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30103         * elf/tst-auditmod6b.c: Move to ...
30104         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30105         * elf/tst-auditmod6c.c: Move to ...
30106         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30107         * elf/tst-auditmod7a.c: Move to ...
30108         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30109         * elf/tst-auditmod7b.c: Move to ...
30110         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30112 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
30114         [BZ #15366]
30115         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30116         define unconditionally.
30117         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30118         define unconditionally.
30119         (INT8_C, INT16_C, etc.): Likewise.
30121 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
30123         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30124         __ehdr_start with hidden visibility.
30126         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30128 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
30130         * math/libm-test.inc (cos_test): Use accurate hex constants.
30131         (sincost_test): Likewise.
30133 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30135         * math/libm-test.inc (catan_test): Add more tests.
30136         (catanh_test): Likewise.
30138         * math/s_catanf.c (__catanf): Use suffixed floating-point
30139         constants.
30140         * math/s_catanhf.c (__catanhf): Likewise.
30141         * math/s_catanhl.c (__catanhl): Likewise.
30142         * math/s_catanl.c (__catanl): Likewise.
30144         [BZ #15394]
30145         * math/s_catan.c (__catan): Calculate imaginary part of result
30146         with log1p not log unless computing log of number close to 0.
30147         * math/s_catanf.c (__catanf): Likewise.
30148         * math/s_catanl.c (__catanl): Likewise.
30149         * math/s_catanh.c (__catanh): Calculate real part of result with
30150         log1p not log unless computing log of number close to 0.
30151         * math/s_catanhf.c (__catanhf): Likewise.
30152         * math/s_catanhl.c (__catanhl): Likewise.
30153         * math/libm-test.inc (catan_test): Add more tests.
30154         (catanh_test): Likewise.
30155         * sysdeps/i386/fpu/libm-test-ulps: Update.
30156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30158 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30160         * benchtests/Makefile: Mention files in which fast and slow
30161         paths of math functions are implemented.
30163 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30165         * sysdeps/posix/timespec_get.c: New file.
30167 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30169         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30170         POWER.
30171         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30172         for POWER.
30173         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30174         powerpc/power5/fpu folders.
30175         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30176         * benchtests/Makefile: Add modf testcase.
30177         * benchtests/bench-modf.c: New file: Benchmark test for mo
30179 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30181         [BZ #14888]
30182         * time/Makefile (tests): Add tst-strptime-whitespace.
30183         * time/strptime_l.c (get_number): Use ISSPACE.
30184         (__strptime_internal): Likewise.
30185         * time/tst-strptime-whitespace.c: New test case.
30187 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30189         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30190         member.
30191         (_nss_files_init): Set it here.
30193 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30195         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30196         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30197         unsigned.
30199 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30201         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30203 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30205         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30206         size just once.
30208 2013-04-21  David S. Miller  <davem@davemloft.net>
30210         * po/ru.po: Update Russion translation from translation project.
30212 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30214         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30215         and setfsgid.
30217 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30219         * configure.in: Remove i386 configure warning. Remove i386 case.
30220         * configure: Regenerate.
30221         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30222         Add example to error message.
30223         * sysdeps/i386/configure: Regenerate.
30225 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30227         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30228         slowtan.
30229         * benchtests/cos-inputs: New file.
30230         * benchtests/slowcos-inputs: New file.
30231         * benchtests/slowcos.c: New file.
30232         * benchtests/slowtan-inputs: New file.
30233         * benchtests/slowtan.c: New file.
30234         * benchtests/tan-inputs: New file.
30236 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30238         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30239         considered kosher.
30241 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30243         * benchtests/Makefile: Include cppflags-iterator.mk to add
30244         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30246         * Makefile.in (bench-clean): New target.
30247         * benchtests/Makefile (bench-clean): Likewise.
30249 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30251         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30253 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30255         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30257 2013-04-15  Andreas Schwab  <schwab@suse.de>
30259         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30260         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30261         * nscd/pwdcache.c (cache_addpw): Likewise.
30262         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30263         more than recsize.
30265 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30267         * benchtests/Makefile (bench): Write all output to
30268         bench-out.tmp together.
30270 2013-04-15  Andreas Schwab  <schwab@suse.de>
30272         * nscd/nscd.c (main): Don't fork again after closing files.
30274 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30276         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30278         * benchtests/Rules (bench-deps): Collect dependencies into a
30279         single variable.  Add Makefile to dependencies.
30280         ($(objpfx)bench-%.c): Depend on bench-deps.
30282 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30283             Xavier Roche  <roche+kml2@exalead.com>
30285         [BZ #15361]
30286         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30287         just that it's a file descriptor.
30288         * manual/llio.texi (Synchronizing AIO Operations): Update description
30289         for EBADF error from aio_fsync.
30291 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30293         * Rules (bench): Move target definition...
30294         * benchtests/Makefile: ... here.
30296 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30298         * math/libm-test.inc (cos_test): Fix PI/2 test.
30299         (sincos_test): Likewise.
30300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30301         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30303 2013-04-11  Andreas Schwab  <schwab@suse.de>
30305         [BZ #13988]
30306         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30307         accept exponent character only when digits were seen.
30308         * stdio-common/Makefile (tests): Add bug26.
30309         * stdio-common/bug26.c: New file.
30311         [BZ #14293]
30312         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30313         non-freeable.
30315 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30317         * Makeconfig (rtld-prefix): Define built linker prefix.
30318         * Rules (run-bench): Use it.
30319         * math/Makefile (run-regen-ulps): Likewise.
30321         * Rules (bench): Remove eval.
30323 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30324             Roland McGrath  <roland@hack.frob.com>
30325             Ondrej Bilka  <neleai@seznam.cz>
30327         [BZ #15346]
30328         * time/getdate.c: Include ctype.h and alloca.h.
30329         (__getdate_r): Trim leading and trailing spaces of input.
30330         * time/tst-getdate.c (tests): Add tests with leading and
30331         trailing spaces.
30333 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30335         [BZ #14280]
30336         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30337         when computing value.
30339 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30341         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30342         Use testrun.sh to run libm tests.
30344         [BZ #15309]
30345         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30347 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30349         [BZ #15264]
30350         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30352 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30354         * Makefile.in (regen-ulps): New target.
30355         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30356         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30357         [ifneq (no,$(PERL)] (regen-ulps): New target.
30358         [ifeq (no,$(PERL)] (regen-ulps): New target.
30359         * math/libm-test.inc (ulps_file_name): Define.
30360         (output_dir): New variable.
30361         (options): Add "output-dir" option.
30362         (parse_opt): Handle 'o' case.
30363         (main): If output_dir is non-NULL use it as a prefix
30364         otherwise use "".
30365         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30367 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30369         [BZ #10060, #10062]
30370         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30371         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30372         fail configure if __sync_val_compare_and_swap is not inlined.
30373         * sysdeps/i386/configure: Regenerate.
30374         * configure.in: Build for i686 when configured for i386.
30375         * configure: Regenerate.
30376         * README: Remove i386 reference.
30378 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30380         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30381         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30383 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30385         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30386         (lmsnanval): New variables.
30387         (F): Add conversion tests.
30388         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30389         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30391         * stdio-common/tstdiomisc.c (F): Properly collect individual
30392         tests' results.
30394         [BZ #14686, #15336]
30395         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30396         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30397         Instead, use input NaN values or generate a qNaN by arithmetic
30398         operation.  Also fix bugs to comply with the standard.
30399         * math/libm-test.inc (remainder_test): Add more tests.
30401         [BZ #15335, #15342]
30402         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30403         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30404         input NaN values or generate a qNaN by arithmetic operation.
30406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30407         unreachable code.
30409         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30410         definitions.
30412 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30414         [BZ #14478]
30415         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30416         underflowed result.
30417         * math/s_cexpf.c (__cexpf): Likewise.
30418         * math/s_cexpl.c (__cexpl): Likewise.
30419         * math/libm-test.inc (cexp_test): Add more tests.
30421 2013-04-03  Andreas Schwab  <schwab@suse.de>
30423         [BZ #15330]
30424         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30425         order arrays from heap if bigger than alloca cutoff.
30427 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30429         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30430         (SNAN_TESTS_double): Refer to GCC PR56831.
30431         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30432         GCC PR56828.
30434 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30436         * Rules (bench): Move bench.out after the run is complete.
30438         * Rules (bench): Echo currently running benchmark.
30440         * benchtests/Makefile (bench): Add atan and slowatan.
30441         * benchtests/atan-inputs: New file.
30442         * benchtests/slowatan-inputs: New file.
30443         * benchtests/slowatan.c: New file.
30445         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30447         its value.
30449         [BZ #15305]
30450         * sysdeps/unix/sysv/linux/kernel-features.h
30451         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30452         __ASSUME_XFS_RESTRICTED_CHOWN.
30453         * sysdeps/unix/sysv/linux/pathconf.c
30454         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30455         Save and restore errno.
30457 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30459         [BZ #15327]
30460         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30461         arguments using __kernel_casinh.
30462         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30463         arguments using __kernel_casinhf.
30464         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30465         arguments using __kernel_casinhl.
30466         * math/libm-test.inc (cacosh_test): Add more tests.
30467         * sysdeps/i386/fpu/libm-test-ulps: Update.
30468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30470 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30472         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30473         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30475         * bench/Makefile (bench): Add sin and slowsin.
30476         * benchtests/sin-inputs: New file.
30477         * benchtests/slowsin-inputs: New file.
30478         * benchtests/slowsin.c: New file.
30480         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30481         (bench): Add slowexp and slowpow.
30482         (exp-ITER): Increase iterations.
30483         (pow-ITER): Likewise.
30484         * benchtests/exp-inputs: Change input.
30485         * benchtests/pow-inputs: Likewise.
30486         * benchtests/slowexp-inputs: New file.
30487         * benchtests/slowexp.c: New file.
30488         * benchtests/slowpow-inputs: New file.
30489         * benchtests/slowpow.c: New file.
30491 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30493         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30494         instructions.
30495         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30496         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30497         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30498         * benchtests/Makefile: Add rint benchtest.
30499         * benchtests/rint-inputs: Input for rint benchtest.
30501 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30503         * Versions.def (libm): Add GLIBC_2.18.
30504         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30505         hidden libm prototypes.
30506         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30507         * math/Makefile (libm-calls): Add s_issignaling.
30508         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30509         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30510         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30511         declaration.
30512         * math/math.h [__USE_GNU] (issignaling): New macro.
30513         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30514         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30515         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30516         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30517         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30518         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30519         * manual/arith.texi (issignaling): New section.
30520         * manual/libm-err-tab.pl (@all_functions): Update comment.
30521         * math/gen-libm-test.pl (parse_args): Apply special handling for
30522         issignaling.
30523         * math/libm-test.inc (print_float, issignaling_test): New
30524         functions.
30525         (check_float_internal): Add issignaling checks.
30526         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30527         default definition.
30528         * sysdeps/powerpc/math-tests.h: New file.
30529         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30530         tests.
30531         * math/test-snan.c (TEST_FUNC): Likewise.
30533 2013-03-30  David S. Miller  <davem@davemloft.net>
30535         * po/de.po: Update from translation team.
30537 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30539         [BZ #10357]
30540         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30541         imaginary part less than 1.0 and real part less than 0.5
30542         specially.
30543         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30544         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30545         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30546         (cacos_test): Add more tests.
30547         (casin_test): Likewise.
30548         (casinh_test): Likewise.
30549         * sysdeps/i386/fpu/libm-test-ulps: Update.
30550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30552 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30554         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30555         ONE with its value.
30557         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30558         (__pow_mp): Replace ONE and MONE with their values.
30559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30560         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30561         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30562         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30563         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30564         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30566         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30568         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30569         (__pow_mp): Replace ZERO and MZERO with their values.
30570         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30571         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30572         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30574         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30575         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30576         (__sqr): Likewise.
30578         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30580         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30582 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30584         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30585         Declare with __attribute__ ((weak)).
30586         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30587         Call __call_tls_dtors only if it's not NULL.
30589 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30591         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30592         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30593         magic __ehdr_start linker symbol if it's defined.
30594         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30595         them up here if it was already done.
30597         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30598         (_dl_aux_init): Use const in cast when setting it.
30599         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30600         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30601         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30603         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30604         Declare them here.
30605         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30606         * csu/libc-tls.c: Nor here.
30607         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30609         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30610         (__libc_message): Never call vsyslog.
30612 2013-03-28  Alan Modra  <amodra@gmail.com>
30614         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30615         Define as empty.
30616         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30617         Likewise.
30619 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30621         [BZ #15214]
30622         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30623         underflow.
30624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30626 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30628         [BZ #15304]
30629         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30630         Don't add gid passed as argument.
30632         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30634 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30636         [BZ #15307]
30637         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30638         imaginary part between 1.0 and 1.5 and real part less than 0.5
30639         specially.
30640         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30641         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30642         * math/libm-test.inc (cacos_test): Add more tests.
30643         (casin_test): Likewise.
30644         (casinh_test): Likewise.
30645         * sysdeps/i386/fpu/libm-test-ulps: Update.
30646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30648 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30650         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30651         constants.
30652         (norm): Likewise.
30653         (denorm): Likewise.
30654         (__dbl_mp): Likewise.
30655         (add_magnitudes): Likewise.
30656         (sub_magnitudes): Likewise.
30657         (__add): Likewise.
30658         (__sub): Likewise.
30659         (__mul): Likewise.
30660         (__sqr): Likewise.
30661         (__inv): Likewise.
30662         (__dvd): Likewise.
30664         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30665         commented code.
30666         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30667         (__dubcos): Likewise.
30668         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30669         (__ieee754_acos): Likewise.
30670         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30671         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30672         (__exp1): Likewise.
30673         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30674         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30675         (log1): Likewise.
30676         (my_log2): Likewise.
30677         (checkint): Likewise.
30678         * sysdeps/ieee754/dbl-64/e_remainder.c
30679         (__ieee754_remainder): Likewise.
30680         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30682         (bsloww): Likewise.
30683         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30685         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30686         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30687         MANTISSA_STORE_T to store computations on mantissa.  Use
30688         macros for rounding and division.
30689         (denorm): Likewise.
30690         (__dbl_mp): Likewise.
30691         (add_magnitudes): Likewise.
30692         (sub_magnitudes): Likewise.
30693         (__mul): Likewise.
30694         (__sqr): Likewise.
30695         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30696         powers of two in terms of TWOPOW macro.
30697         (mp_no): Make type of mantissa as MANTISSA_T.
30698         [!RADIXI]: Define RADIXI.
30699         [!TWO52]: Define TWO52.
30700         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30702 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30704         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30705         llroundl symbol when building for PPC32.
30707 2013-03-24  Mark H Weaver  <mhw@netris.org>
30709         * manual/arith.texi (Normalization Functions): Fix prototypes for
30710         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30712 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30714         [BZ #13889]
30715         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30716         high value to check if expl overflow.
30717         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30718         to check for underflow and overflow.
30719         * math/libm-test.inc: Add exp test.
30721 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30723         [BZ #11120]
30724         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30725         with NOT_IN_libc.
30727 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30729         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30730         symbol.
30732 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30734         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30735         wrap blocks consisting of several statements.
30737         * sysdeps/generic/math-tests.h: New file.
30738         * sysdeps/i386/fpu/math-tests.h: Likewise.
30739         * math/test-snan.c: Include it.
30740         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30742 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30744         [BZ #15285]
30745         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30746         (__ieee754_j0l): Do not improve calculations using cos of twice
30747         input for inputs above LDBL_MAX / 2.0L.
30748         (__ieee754_y0l): Likewise.
30749         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30750         (__ieee754_j1l): Do not improve calculations using cos of twice
30751         input for inputs above LDBL_MAX / 2.0L.
30752         (__ieee754_y1l): Likewise.
30753         * math/libm-test.inc (j0_test): Add another test.
30754         (j1_test): Likewise.
30755         (y0_test): Likewise.
30756         (y1_test): Likewise.
30757         * sysdeps/i386/fpu/libm-test-ulps: Update.
30759 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30761         * Rules ($(objpfx)bench-%.c): Include code from a C source
30762         file.
30764 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30766         [BZ #15287]
30767         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30768         imaginary part 1.0 and real part less than 0.5 specially.
30769         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30770         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30771         * math/libm-test.inc (cacos_test): Add more tests.
30772         (casin_test): Likewise.
30773         (casinh_test): Likewise.
30774         * sysdeps/i386/fpu/libm-test-ulps: Update.
30775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30777 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30779         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30780         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30782 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30784         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30785         * config.make.in (config-cflags-sse4): Remove variable.
30786         (config-cflags-avx): Likewise.
30787         (config-cflags-sse2avx): Likewise.
30788         (config-cflags-novzeroupper): Likewise.
30789         (config-asflags-i686): Likewise.
30790         (have-mfma4): Likewise.
30791         (have-as-vis3): Likewise.
30792         (MIG): Likewise.
30793         * configure.in (MIG): Do not AC_SUBST.
30794         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30795         (libc_cv_cc_sse4): Do not AC_SUBST.
30796         (libc_cv_cc_avx): Likewise.
30797         (libc_cv_cc_sse2avx): Likewise.
30798         (libc_cv_cc_novzeroupper): Likewise.
30799         (libc_cv_cc_fma4): Likewise.
30800         (libc_cv_as_i686): Likewise.
30801         (libc_cv_sparc_as_vis3): Likewise.
30802         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30803         LIBC_CONFIG_VAR.
30804         (config-asflags-i686): Likewise.
30805         (config-cflags-avx): Likewise.
30806         (config-cflags-sse2avx): Likewise.
30807         (have-mfma4): Likewise.
30808         (config-cflags-novzeroupper): Likewise.
30809         * sysdeps/mach/configure.in (MIG): Likewise.
30810         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30811         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30812         LIBC_CONFIG_VAR.
30813         (config-cflags-avx): Likewise.
30814         (config-cflags-sse2avx): Likewise.
30815         (have-mfma4): Likewise.
30816         (config-cflags-novzeroupper): Likewise.
30817         * configure: Regenerated.
30818         * sysdeps/i386/configure: Likewise.
30819         * sysdeps/mach/configure: Likewise.
30820         * sysdeps/sparc/configure: Likewise.
30821         * sysdeps/x86_64/configure: Likewise.
30823 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30825         [BZ #14812]
30826         * locale/programs/localedef.c (options): Put N_ translation marker
30827         on argument names, not just descriptions.
30829 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30831         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30833 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30835         [BZ #14176]
30836         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30838 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30840         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30841         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30842         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30843         [!BEFORE_ABORT] (before_abort): New function.
30844         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30845         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30846         (writev_for_fatal): New function.
30847         (WRITEV_FOR_FATAL): New macro; call that.
30848         (backtrace_and_maps): New function.
30849         (BEFORE_ABORT): New macro; call that.
30850         (struct str_list): Type removed.
30851         (__libc_message, __libc_fatal): Functions removed.
30852         Include <sysdeps/posix/libc_fatal.c> instead.
30854 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30856         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30857         constants.
30858         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30859         double constants.
30861 2013-03-19  Andreas Schwab  <schwab@suse.de>
30863         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30864         * sysdeps/gnu/configure: Regenerate.
30866         * configure.in: Substitute libc_cv_rtlddir.
30867         * configure: Regenerate.
30868         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30869         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30870         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30871         * elf/Makefile (install-others, CFLAGS-interp.c)
30872         (ldso_install, common-ldd-rewrite): Likewise.
30873         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30874         $(inst_slibdir)/$(rtld-installed-name).
30875         * scripts/rellns-sh: Add -p option.
30876         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30877         for source.
30879 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30881         * manual/nptl.texi: Renamed to ...
30882         * manual/threads.texi: ... this.
30883         * manual/Makefile (chapters): Update.
30885 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30887         [BZ #14812]
30888         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30889         on argument names, not just descriptions.
30890         * malloc/memusagestat.c (options): Likewise.
30891         * nss/getent.c (options): Likewise.
30893 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30895         [BZ #14812]
30896         * iconv/iconv_prog.c (options): Put N_ translation marker
30897         on argument names, not just descriptions.
30898         * iconv/iconvconfig.c (options): Likewise.
30900 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30902         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30903         implementation which is faster on all x86_64 architectures.
30904         Tested on AMD, Intel Nehalem, SNB, IVB.
30905         * sysdeps/x86_64/strnlen.S: Likewise.
30907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30908         Remove all multiarch strlen and strnlen versions.
30909         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30910         Remove strlen and strnlen related parts.
30912         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30913         Inline strlen part.
30914         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30916         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30917         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30918         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30919         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30920         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30921         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30923 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30925         * manual/memory.texi (Malloc Tunable Parameters):
30926         Sort parameters alphabetically. Add comments for missing entries.
30928 2013-03-17  David S. Miller  <davem@davemloft.net>
30930         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30932 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30934         [BZ #15283]
30935         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30936         for arguments at most half maximum finite value.
30937         * math/libm-test.inc (j0_test): Add more tests.
30938         (j1_test): Likewise.
30939         (y0_test): Likewise.
30940         (y1_test): Likewise.
30941         * sysdeps/i386/fpu/libm-test-ulps: Update.
30942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30944         [BZ #14155]
30945         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30946         1 / x and functions P and Q for arguments above 0x1p256L.
30947         (__ieee754_y0l): Likewise.
30948         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30949         (__ieee754_y1l): Likewise.
30950         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30951         (j1_test): Likewise.
30952         (y0_test): Likewise.
30953         (y1_test): Likewise.
30955 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30957         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30958         variable.
30960 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30962         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30963         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30964         zero since it's initialized to EXEC_PAGESIZE.
30966         * sysdeps/unix/sysv/linux/ldsodefs.h
30967         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30968         * sysdeps/generic/ldsodefs.h: ... here.
30970 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30972         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30974         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30975         math/test-snan.c.
30976         * math/test-snan.c: Renamed from
30977         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30978         * math/Makefile (tests): Add test-snan.
30979         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30980         test-powerpc-snan.
30982         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30983         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30984         functions.
30985         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30986         __builtin_nan family of functions.
30987         * math/libm-test.inc (initialize): Initialize qnan_value with
30988         __builtin_nan family of functions.
30989         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30990         Remove variables.
30991         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30992         Remove functions.
30993         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30994         storage class.  Initialize qNaN_var and sNaN_var with
30995         __builtin_nan and __builtin_nans families of functions,
30996         respectively.
30998         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30999         (sqrt_test): Remove duplicate test with qNaN input.
31000         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31001         (round_test, signbit_test, significand_test): Note missing +/-Inf
31002         as well as qNaN tests.
31004         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31005         qNaN_var.  Fix a few strings, too.
31006         * math/libm-test.inc (nan_value): Rename to qnan_value.
31007         * math/gen-libm-test.pl (%beautify): Adjust to that.
31008         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31009         * math/test-misc.c (main): Likewise.
31010         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31011         to __qnan_bytes, and __qnan_union, respectively.
31012         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31013         Likewise.
31014         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31015         and lqnanval, respectively.
31016         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31017         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31018         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31019         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31021         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31022         * math/test-misc.c (main) [__x86_64__]: Enable test for long
31023         doubles.
31025         * math/test-misc.c (main): Fix copy'n'pastos.
31026         * misc/tst-efgcvt.c (special): Likewise.
31028         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31029         Remove declarations.
31031 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31033         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31034         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31035         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31036         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31038 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31040         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31041         macro to return vdso values correctly in IFUNC implementations.
31042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31043         Optimization by using IFUNC.
31045 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31046             Richard Henderson  <rth@redhat.com>
31047             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31049         * Makefile.in (bench): New target.
31050         * NEWS: Mention the benchmark framework.
31051         * Rules (bench): Likewise.
31052         (binaries-bench): Generate binaries for functions to
31053         benchmark.
31054         * benchtests/Makefile: New makefile for benchmark tests.
31055         * benchtests/bench-skeleton.c: New skeleton file for benchmark
31056         programs.
31057         * benchtests/exp-inputs: New input file for EXP function.
31058         * benchtests/pow-inputs: New input file for POW function.
31059         * scripts/bench.pl: New script to generate source files for
31060         benchmark programs.
31062 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31064         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31065         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31066         computations on mantissa.  Use macros for rounding and
31067         division.
31068         (denorm): Likewise.
31069         (__dbl_mp): Likewise.
31070         (add_magnitudes): Likewise.
31071         (sub_magnitudes): Likewise.
31072         (__mul): Likewise.
31073         (__sqr): Likewise.
31074         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
31075         powers of two in terms of TWOPOW macro.
31076         (mp_no): Make type of mantissa as MANTISSA_T.
31077         [!RADIXI]: Define RADIXI.
31078         [!TWO52]: Define TWO52.
31079         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31081         * manual/nptl.texi (cindex): Modify threads to pthreads.
31083 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
31085         * sysdeps/x86_64/preconfigure: Regenerated.
31087 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #14155]
31090         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31091         0x1p28 and above.
31092         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31093         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31094         0x1p28 and above.
31095         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31096         * math/libm-test.inc (j0_test): Do not allow one spurious
31097         underflow exception.
31098         (y1_test): Likewise.
31100 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31102         * manual/Makefile (chapters): Add nptl.
31103         * manual/debug.texi (Debugging Support): Add link to Threads
31104         chapter.
31105         * manual/nptl.texi: New file.
31107         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31109 2013-03-14  Petr Baudis  <pasky@ucw.cz>
31111         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31112         for non-NULL pointer before the memory validity test. Pointed
31113         out by Holger Brunck <holger.brunck@keymile.com>.
31115 2013-03-13  Andreas Schwab  <schwab@suse.de>
31117         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31118         instead of .os.
31120 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
31122         * timezone/zic.c: Update from tzcode 2013b.
31124 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
31126         * manual/install.texi (Configuring and compiling):
31127         Mention i686 and i586.
31128         * INSTALL: Regenerate.
31130 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31132         * sysdeps/init_array/elf-init.c: New file.
31133         * csu/elf-init.c
31134         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31135         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31137         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31138         __gmon_start__ as global, but as static with a .preinit_array pointer.
31139         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31140         * sysdeps/init_array/crti.S: New file, empty except for comments.
31141         * sysdeps/init_array/crtn.S: Likewise.
31143 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31145         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31146         definining bcopy.
31147         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31148         Remove Prefer_SSE_for_memop.
31149         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31150         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31151         HAS_PREFER_SSE_FOR_MEMOP.
31152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31153         memset-x86-64.
31154         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31155         Remove bzero, memset ifunc support.
31156         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31157         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31158         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31159         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31161 2013-03-11  Andreas Schwab  <schwab@suse.de>
31163         [BZ #15234]
31164         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31165         by SHLIB_COMPAT.
31166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31167         (GLIBC_2.16): Remove pthread_atfork.
31169 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31171         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31172         (ptestcases.h): Likewise.
31174 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31176         * Makeconfig ($(common-objpfx)config.status): Depend on
31177         sysdeps/*/preconfigure{,.in} too.
31179 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31181         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31182         (__free_hook): Use void * instead of __malloc_ptr_t.
31183         (__malloc_hook): Likewise.
31184         (__realloc_hook): Likewise.
31185         (__memalign_hook): Likewise.
31186         (__after_morecore_hook): Likewise.
31187         * malloc/arena.c (save_malloc_hook): Likewise.
31188         (save_free_hook): Likewise.
31189         * malloc/hooks.c (malloc_hook_ini): Likewise.
31190         (realloc_hook_ini): Likewise.
31191         (memalign_hook_ini): Likewise.
31192         * malloc/malloc.c (malloc_hook_ini): Likewise.
31193         (realloc_hook_ini): Likewise.
31194         (memalign_hook_ini): Likewise.
31195         (__free_hook): Likewise.
31196         (__malloc_hook): Likewise.
31197         (__realloc_hook): Likewise.
31198         (__memalign_hook): Likewise.
31199         (__libc_malloc): Likewise.
31200         (__libc_free): Likewise.
31201         (__libc_realloc): Likewise.
31202         (__libc_memalign): Likewise.
31203         (__libc_valloc): Likewise.
31204         (__libc_pvalloc): Likewise.
31205         (__libc_calloc): Likewise.
31206         (__posix_memalign): Likewise.
31207         * malloc/morecore.c (__sbrk): Likewise.
31208         (__default_morecore): Likewise.
31210         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31212         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31213         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31214         __malloc_ptrdiff_t.
31216         * malloc/malloc.h (__malloc_size_t): Remove macro.
31217         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31218         __malloc_size_t.
31219         (old_memalign_hook): Likewise.
31220         (old_realloc_hook): Likewise.
31221         (struct hdr): Likewise.
31222         (flood): Likewise.
31223         (mallochook): Likewise.
31224         (memalignhook): Likewise.
31225         (reallochook): Likewise.
31226         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31227         (tr_old_realloc_hook): Likewise.
31228         (tr_old_memalign_hook): Likewise.
31229         (tr_mallochook): Likewise.
31230         (tr_reallochook): Likewise.
31231         (tr_memalignhook): Likewise.
31233 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31235         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31236         default_ldbl_pack and using as default implementation.
31237         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31238         implementation.
31239         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31240         redundant definition.
31241         (ldbl_insert_mantissa): Likewise.
31242         (ldbl_canonicalize): Likewise.
31243         (ldbl_nearbyint): Likewise.
31244         (ldbl_pack): Rename to ldbl_pack_ppc.
31245         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31246         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31247         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31249 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31252         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31253         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31254         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31256         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31257         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31258         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31260 2013-03-07  Andreas Jaeger  <aj@suse.de>
31262         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31263         bits/mman-linux.h.
31265 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31267         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31268         Include mpa.h and declare __MPEXP.
31269         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31270         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31271         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31272         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31273         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31274         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31275         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31277         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31278         (__slowpow): Use long double EXPL and LOGL functions to
31279         compute POW.
31280         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31281         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31282         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31283         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31284         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31285         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31287         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31288         intermediate variable to calculate exponent.
31289         (__sqr): Likewise.
31290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31291         Likewise.
31292         (__sqr): Likewise.
31294         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31295         [!NO__SQR]: Define __sqr.
31296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31297         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31298         sysdeps/ieee754/dbl-64/mpa.c.
31299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31301         [BZ #12723]
31302         * posix/Makefile (tests): Add tst-pathconf.
31303         * posix/tst-pathconf.c: New test case.
31304         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31305         _PC_PIPE_BUF.
31306         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31308 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31310         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31312 2013-03-06  Andreas Jaeger  <aj@suse.de>
31314         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31315         definition via __MAP_ANONYMOUS.
31317         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31318         it's not part of Linux headers.
31320         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31321         (MAP_HUGE_MASK): Define.
31323         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31324         Define.
31325         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31326         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31327         Define.
31328         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31330         Define.
31331         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31332         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31333         Define.
31334         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31336         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31337         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31338         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31339         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31340         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31341         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31343         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31344         Handle f2fs.
31346         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31347         Handle f2fs and efivarfs.
31349         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31350         f2fs.
31352         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31353         (EFIVARFS_MAGIC): Add.
31354         (F2FS_LINK_MAX): Add.
31356 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31358         * stdio-common/vfprintf.c: Replace __builtin_expect with
31359         __glibc_unlikely.
31361 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31363         [BZ #13550]
31364         * sysdeps/generic/bp-sym.h: Remove file.
31365         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31367         <bp-sym.h> and <bp-asm.h>.
31368         (__longjmp): Don't use BP_SYM.
31369         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31370         and <bp-asm.h>.
31371         (memcpy): Don't use BP_SYM.
31372         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31373         <bp-sym.h> and <bp-asm.h>.
31374         (memcpy): Don't use BP_SYM.
31375         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31376         <bp-asm.h>.
31377         (memcpy): Don't use BP_SYM.
31378         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31379         <bp-asm.h>.
31380         (memset): Don't use BP_SYM.
31381         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31382         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31383         (__bzero): Don't use BP_SYM.
31384         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31385         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31386         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31387         <bp-sym.h> and <bp-asm.h>.
31388         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31389         pointers.
31390         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31391         <bp-sym.h> and <bp-asm.h>.
31392         (memcpy): Don't use BP_SYM.
31393         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31394         <bp-sym.h> and <bp-asm.h>.
31395         (memset): Don't use BP_SYM.
31396         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31397         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31398         (__bzero): Don't use BP_SYM.
31399         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31400         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31401         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31402         <bp-sym.h> and <bp-asm.h>.
31403         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31404         pointers.
31405         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31406         <bp-sym.h> and <bp-asm.h>.
31407         (memcpy): Don't use BP_SYM.
31408         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31409         <bp-sym.h> and <bp-asm.h>.
31410         (memset): Don't use BP_SYM.
31411         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31412         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31413         (__bzero): Don't use BP_SYM.
31414         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31415         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31416         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31417         <bp-sym.h> and <bp-asm.h>.
31418         (__memchr): Don't use BP_SYM.
31419         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31420         <bp-sym.h> and <bp-asm.h>.
31421         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31422         pointers.
31423         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31424         <bp-sym.h> and <bp-asm.h>.
31425         (memcpy): Don't use BP_SYM.
31426         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31427         <bp-sym.h> and <bp-asm.h>.
31428         (__mempcpy): Don't use BP_SYM.
31429         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31430         <bp-sym.h> and <bp-asm.h>.
31431         (__memrchr): Don't use BP_SYM.
31432         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31433         <bp-sym.h> and <bp-asm.h>.
31434         (memset): Don't use BP_SYM.
31435         (__bzero): Likewise.
31436         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31437         <bp-sym.h> and <bp-asm.h>.
31438         (__rawmemchr): Don't use BP_SYM.
31439         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31440         <bp-sym.h> and <bp-asm.h>.
31441         (__STRCMP): Don't use BP_SYM.
31442         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31443         <bp-sym.h> and <bp-asm.h>.
31444         (strchr): Don't use BP_SYM.
31445         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31446         <bp-sym.h> and <bp-asm.h>.
31447         (__strchrnul): Don't use BP_SYM.
31448         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31449         <bp-sym.h> and <bp-asm.h>.
31450         (strlen): Don't use BP_SYM.
31451         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31452         <bp-sym.h> and <bp-asm.h>.
31453         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31454         pointers.
31455         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31456         <bp-sym.h> and <bp-asm.h>.
31457         (__strnlen): Don't use BP_SYM.
31458         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31459         <bp-sym.h> and <bp-asm.h>.
31460         (__GI__setjmp): Don't use BP_SYM.
31461         (_setjmp): Likewise.
31462         (__sigsetjmp): Likewise.
31463         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31464         (L(start_addresses)): Don't use BP_SYM.
31465         (_start): Likewise.
31466         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31467         <bp-asm.h>.
31468         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31469         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31470         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31471         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31472         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31473         <bp-asm.h>.
31474         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31475         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31476         about bounded pointers.
31477         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31478         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31479         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31480         <bp-asm.h>.
31481         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31482         about bounded pointers.  Remove GKM FIXME comments.
31483         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31484         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31485         <bp-asm.h>.
31486         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31487         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31488         Remove GKM FIXME comments.
31489         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31490         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31491         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31492         <bp-asm.h>.
31493         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31494         about bounded pointers.  Remove GKM FIXME comment.
31495         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31496         and <bp-asm.h>.
31497         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31498         pointers.
31499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31500         <bp-sym.h> and <bp-asm.h>.
31501         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31503         <bp-sym.h> and <bp-asm.h>.
31504         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31505         comment.
31507 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31509         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31510         call free(NULL).
31512 2013-03-05  David S. Miller  <davem@davemloft.net>
31514         * po/es.po: Update from translation team.
31516 2013-03-05  Andreas Jaeger  <aj@suse.de>
31518         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31519         <bits/mman-linux.h>.
31520         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31521         is fine.
31522         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31523         <bits/mman-linux.h> to end of file.
31524         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31525         is fine.
31526         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31527         <bits/mman-linux.h> to end of file.
31528         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31529         is fine.
31530         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31531         <bits/mman-linux.h> to end of file.
31533         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31534         (MCL_CURRENT, MCL_FUTURE): Define here.
31536 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31538         [BZ #15232]
31539         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31540         attribute_hidden.
31541         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31543 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31545         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31546         fourth parameter needed for rt_sigprocmask syscall.
31547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31548         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31549         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31551         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31552         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31554 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31556         [BZ #13550]
31557         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31558         comment about bounded pointers.
31559         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31560         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31562 2013-03-04  Andreas Jaeger  <aj@suse.de>
31564         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31565         common definitions.
31567         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31568         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31569         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31570         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31571         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31574 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31576         [BZ #15055]
31577         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31578         __ieee754_sqrl instead of __sqrl.
31580 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31582         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31583         * sysdeps/powerpc/fpu_control.h: ... here.
31584         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31585         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31586         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31587         * sysdeps/powerpc/bits/mathinline.h: ... here.
31589 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31591         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31592         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31593         to just [NEED_DL_SYSINFO_DSO].
31594         * elf/dl-support.c: Likewise.
31595         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31596         * elf/rtld.c (dl_main): Likewise.
31597         * elf/setup-vdso.h (setup_vdso): Likewise.
31598         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31599         * sysdeps/unix/sysv/linux/dl-sysdep.c
31600         (_dl_discover_osversion): Likewise.
31602 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31604         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31605         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31607 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31609         * NEWS: Mention libm performance improvements and non-x86 PI
31610         futex support.
31612         * csu/libc-start.c (__pthread_initialize_minimal): Change
31613         function arguments.
31614         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31616 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31618         [BZ #13550]
31619         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31620         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31621         <bp-sym.h> and <bp-asm.h>.
31622         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31623         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31624         and <bp-asm.h>.
31625         (memcpy): Don't use BP_SYM.
31626         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31627         <bp-asm.h>.
31628         (__mpn_add_n): Don't use BP_SYM.
31629         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31630         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31631         and <bp-asm.h>.
31632         (__mpn_addmul_1): Don't use BP_SYM.
31633         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31634         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31635         <bp-sym.h>.
31636         (_setjmp): Don't use BP_SYM.
31637         (__novmx_setjmp): Likewise.
31638         (__GI__setjmp): Likewise.
31639         (__vmx_setjmp): Likewise.
31640         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31641         <bp-sym.h>.
31642         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31643         (__bzero): Don't use BP_SYM.
31644         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31645         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31646         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31647         <bp-sym.h> and <bp-asm.h>.
31648         (memcpy): Don't use BP_SYM.
31649         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31650         <bp-sym.h> and <bp-asm.h>.
31651         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31653         <bp-sym.h> and <bp-asm.h>.
31654         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31655         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31656         <bp-asm.h>.
31657         (__mpn_lshift): Don't use BP_SYM.
31658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31659         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31660         <bp-asm.h>.
31661         (memset): Don't use BP_SYM.
31662         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31663         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31664         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31665         <bp-asm.h>.
31666         (__mpn_mul_1): Don't use BP_SYM.
31667         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31669         <bp-sym.h> and <bp-asm.h>.
31670         (memcmp): Don't use BP_SYM.
31671         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31672         <bp-sym.h> and <bp-asm.h>.
31673         (memcpy): Don't use BP_SYM.
31674         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31675         <bp-sym.h> and <bp-asm.h>.
31676         (memset): Don't use BP_SYM.
31677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31678         <bp-sym.h> and <bp-asm.h>.
31679         (strncmp): Don't use BP_SYM.
31680         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31681         <bp-sym.h> and <bp-asm.h>.
31682         (memcpy): Don't use BP_SYM.
31683         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31684         <bp-sym.h> and <bp-asm.h>.
31685         (memset): Don't use BP_SYM.
31686         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31687         <bp-sym.h> and <bp-asm.h>.
31688         (__memchr): Don't use BP_SYM.
31689         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31690         <bp-sym.h> and <bp-asm.h>.
31691         (memcmp): Don't use BP_SYM.
31692         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31693         <bp-sym.h> and <bp-asm.h>.
31694         (memcpy): Don't use BP_SYM.
31695         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31696         <bp-sym.h> and <bp-asm.h>.
31697         (__mempcpy): Don't use BP_SYM.
31698         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31699         <bp-sym.h> and <bp-asm.h>.
31700         (__memrchr): Don't use BP_SYM.
31701         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31702         <bp-sym.h> and <bp-asm.h>.
31703         (memset): Don't use BP_SYM.
31704         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31705         <bp-sym.h> and <bp-asm.h>.
31706         (__rawmemchr): Don't use BP_SYM.
31707         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31708         <bp-sym.h> and <bp-asm.h>.
31709         (__STRCMP): Don't use BP_SYM.
31710         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31711         <bp-sym.h> and <bp-asm.h>.
31712         (strchr): Don't use BP_SYM.
31713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31714         <bp-sym.h> and <bp-asm.h>.
31715         (__strchrnul): Don't use BP_SYM.
31716         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31717         <bp-sym.h> and <bp-asm.h>.
31718         (strlen): Don't use BP_SYM.
31719         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31720         <bp-sym.h> and <bp-asm.h>.
31721         (strncmp): Don't use BP_SYM.
31722         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31723         <bp-sym.h> and <bp-asm.h>.
31724         (__strnlen): Don't use BP_SYM.
31725         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31726         <bp-asm.h>.
31727         (__mpn_rshift): Don't use BP_SYM.
31728         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31729         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31730         <bp-sym.h> and <bp-asm.h>.
31731         (__sigsetjmp): Don't use BP_SYM.
31732         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31733         (L(start_addresses)): Don't use BP_SYM.
31734         (_start): Likewise.
31735         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31736         <bp-asm.h>.
31737         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31738         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31739         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31740         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31741         <bp-asm.h>.
31742         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31743         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31744         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31745         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31746         <bp-asm.h>.
31747         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31748         comments.
31749         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31750         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31751         <bp-asm.h>.
31752         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31753         FIXME comments.
31754         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31755         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31756         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31757         <bp-asm.h>.
31758         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31759         comment.
31760         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31761         and <bp-asm.h>.
31762         (strncmp): Don't use BP_SYM,
31763         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31764         <bp-asm.h>.
31765         (__mpn_sub_n): Don't use BP_SYM.
31766         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31767         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31768         and <bp-asm.h>.
31769         (__mpn_submul_1): Don't use BP_SYM.
31770         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31772         <bp-sym.h> and <bp-asm.h>.
31773         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31775         <bp-sym.h> and <bp-asm.h>.
31776         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31777         comment.
31779 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31781         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31782         Use ZK to minimize writes to Z.
31783         (sub_magnitudes): Simplify code a bit.
31784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31785         Use ZK to minimize writes to Z.
31786         (sub_magnitudes): Simplify code a bit.
31788 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31790         * csu/gmon-start.c: Add special exception to license text.
31792 2013-02-27  Richard Henderson  <rth@redhat.com>
31794         * scripts/config.guess: Update from config.git.
31795         * scripts/config.sub: Likewise.
31797 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31799         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31801         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31803         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31805         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31807         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31809 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31811         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31812         [$(build-shared = yes].
31814 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31816         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31817         (__mul): Reduce iterations for calculating mantissa.
31819         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31820         MPTWO.
31821         (__mpranred): Likewise.
31823         [BZ #15160]
31824         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31825         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31827 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31829         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31830         Define __attribute__.
31832 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31834         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31835         unused.
31836         * posix/regex_internal.h (__attribute): Remove.
31837         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31838         (re_string_context_at): Likewise.
31839         (bitset_not): Use __attribute__ and mark function as possibly
31840         unused.
31841         (bitset_merge): Likewise.
31842         (bitset_mask): Likewise.
31843         (re_string_char_size_at): Likewise.
31844         (re_string_wchar_at): Likewise.
31845         (re_string_elem_size_at): Likewise.
31847 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31849         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31850         code.
31851         (cc32): Likewise.
31853         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31854         (__acr): Likewise.
31855         (__cpy): Likewise.
31856         (norm): Likewise.
31857         (denorm): Likewise.
31858         (__dbl_mp): Likewise.
31859         (add_magnitudes): Likewise.
31860         (sub_magnitudes): Likewise.
31861         (__mul): Likewise.
31862         (__inv): Likewise.
31864         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31865         style.
31867         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31868         style.
31870         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31871         code.
31873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31874         up changes with default code.
31875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31876         Likewise.
31878 2013-02-24  Allan McRae  <allan@archlinux.org>
31880         * manual/socket.texi (The Internet Namespace): Order menu items
31881         to match that in the file.
31883         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31884         node listing of the info page menu.
31886 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31888         [BZ #13550]
31889         * sysdeps/i386/bp-asm.h: Remove file.
31890         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31891         (PARMS): Do not use macros from bp-asm.h.
31892         (S1): Likewise.
31893         (S2): Likewise.
31894         (SIZE): Likewise.
31895         (__mpn_add_n): Do not use BP_SYM
31896         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31897         "bp-asm.h".
31898         (PARMS): Do not use macros from bp-asm.h.
31899         (S1): Likewise.
31900         (SIZE): Likewise.
31901         (__mpn_addmul_1): Do not use BP_SYM
31902         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31903         "bp-asm.h".
31904         (PARMS): Do not use macros from bp-asm.h.
31905         (SIGMSK): Likewise.
31906         (_setjmp): Likewise.  Do not use BP_SYM.
31907         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31908         "bp-asm.h".
31909         (PARMS): Do not use macros from bp-asm.h.
31910         (SIGMSK): Likewise.
31911         (setjmp): Likewise.  Do not use BP_SYM.
31912         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31913         "bp-asm.h".
31914         (PARMS): Do not use macros from bp-asm.h.
31915         (__frexp): Do not use BP_SYM.
31916         (frexp): Likewise.
31917         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31918         "bp-asm.h".
31919         (PARMS): Do not use macros from bp-asm.h.
31920         (__frexpf): Do not use BP_SYM.
31921         (frexpf): Likewise.
31922         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31923         "bp-asm.h".
31924         (PARMS): Do not use macros from bp-asm.h.
31925         (__frexpl): Do not use BP_SYM.
31926         (frexpl): Likewise.
31927         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31928         "bp-asm.h".
31929         (PARMS): Do not use macros from bp-asm.h.
31930         (__remquo): Do not use BP_SYM.
31931         (remquo): Likewise.
31932         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31933         "bp-asm.h".
31934         (PARMS): Do not use macros from bp-asm.h.
31935         (__remquof): Do not use BP_SYM.
31936         (remquof): Likewise.
31937         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31938         "bp-asm.h".
31939         (PARMS): Do not use macros from bp-asm.h.
31940         (__remquol): Do not use BP_SYM.
31941         (remquol): Likewise.
31942         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31943         "bp-asm.h".
31944         (PARMS): Do not use macros from bp-asm.h.
31945         (DEST): Likewise.
31946         (SRC): Likewise.
31947         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31948         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31949         "bp-asm.h".
31950         (PARMS): Do not use macros from bp-asm.h.
31951         (strlen): Do not use BP_SYM.
31952         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31953         "bp-asm.h".
31954         (PARMS): Do not use macros from bp-asm.h.
31955         (S1): Likewise.
31956         (S2): Likewise.
31957         (SIZE): Likewise.
31958         (__mpn_add_n): Do not use BP_SYM.
31959         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31960         "bp-asm.h".
31961         (PARMS): Do not use macros from bp-asm.h.
31962         (S1): Likewise.
31963         (SIZE): Likewise.
31964         (__mpn_addmul_1): Do not use BP_SYM.
31965         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31966         weak_alias.
31967         (bzero): Likewise.
31968         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31969         "bp-asm.h".
31970         (PARMS): Do not use macros from bp-asm.h.
31971         (S): Likewise.
31972         (SIZE): Likewise.
31973         (__mpn_lshift): Do not use BP_SYM.
31974         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31975         "bp-asm.h".
31976         (PARMS): Do not use macros from bp-asm.h.
31977         (DEST): Likewise.
31978         (SRC): Likewise.
31979         (LEN): Likewise.
31980         (memcpy): Likewise.  Do not use BP_SYM.
31981         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31982         libc_hidden_def and weak_alias.
31983         (mempcpy): Do not use BP_SYM in weak_alias.
31984         * sysdeps/i386/i586/memset.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         (LEN): Likewise.
31989         [!BZERO_P] (CHR): Likewise.
31990         (memset): Likewise.  Do not use BP_SYM.
31991         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31992         "bp-asm.h".
31993         (PARMS): Do not use macros from bp-asm.h.
31994         (S1): Likewise.
31995         (SIZE): Likewise.
31996         (__mpn_mul_1): Do not use BP_SYM.
31997         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31998         "bp-asm.h".
31999         (PARMS): Do not use macros from bp-asm.h.
32000         (S): Likewise.
32001         (SIZE): Likewise.
32002         (__mpn_rshift): Do not use BP_SYM.
32003         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32004         "bp-asm.h".
32005         (PARMS): Do not use macros from bp-asm.h.
32006         (STR): Likewise.
32007         (CHR): Likewise.
32008         (strchr): Likewise.  Do not use BP_SYM.
32009         (index): Do not use BP_SYM in weak_alias.
32010         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32011         "bp-asm.h".
32012         (PARMS): Do not use macros from bp-asm.h.
32013         (DEST): Likewise.
32014         (SRC): Likewise.
32015         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
32016         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32017         "bp-asm.h".
32018         (PARMS): Do not use macros from bp-asm.h.
32019         (strlen): Do not use BP_SYM.
32020         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32021         "bp-asm.h".
32022         (PARMS): Do not use macros from bp-asm.h.
32023         (S1): Likewise.
32024         (S2): Likewise.
32025         (SIZE): Likewise.
32026         (__mpn_sub_n): Do not use BP_SYM.
32027         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32028         "bp-asm.h".
32029         (PARMS): Do not use macros from bp-asm.h.
32030         (S1): Likewise.
32031         (SIZE): Likewise.
32032         (__mpn_submul_1): Do not use BP_SYM.
32033         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
32038         (SIZE): Likewise.
32039         (__mpn_add_n): Do not use BP_SYM.
32040         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32041         weak_alias.
32042         (bzero): Likewise.
32043         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32044         "bp-asm.h".
32045         (PARMS): Do not use macros from bp-asm.h.
32046         (BLK2): Likewise.
32047         (LEN): Likewise.
32048         (memcmp): Do not use BP_SYM.
32049         (bcmp): Do not use BP_SYM in weak_alias.
32050         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32051         "bp-asm.h".
32052         (PARMS): Do not use macros from bp-asm.h.
32053         (DEST): Likewise.
32054         (SRC): Likewise.
32055         (LEN): Likewise.
32056         (memcpy): Likewise.  Do not use BP_SYM.
32057         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32058         "bp-asm.h".
32059         (PARMS): Do not use macros from bp-asm.h.
32060         (DEST): Likewise.
32061         (SRC): Likewise.
32062         (LEN): Likewise.
32063         (memmove): Likewise.  Do not use BP_SYM.
32064         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32065         "bp-asm.h".
32066         (PARMS): Do not use macros from bp-asm.h.
32067         (DEST): Likewise.
32068         (SRC): Likewise.
32069         (LEN): Likewise.
32070         (__mempcpy): Likewise.  Do not use BP_SYM.
32071         (mempcpy): Do not use BP_SYM in weak_alias.
32072         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32073         "bp-asm.h".
32074         (PARMS): Do not use macros from bp-asm.h.
32075         (DEST): Likewise.
32076         (LEN): Likewise.
32077         [!BZERO_P] (CHR): Likewise.
32078         (memset): Likewise.  Do not use BP_SYM.
32079         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32080         "bp-asm.h".
32081         (PARMS): Do not use macros from bp-asm.h.
32082         (STR2): Likewise.
32083         (strcmp): Do not use BP_SYM.
32084         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32085         "bp-asm.h".
32086         (PARMS): Do not use macros from bp-asm.h.
32087         (STR): Likewise.
32088         (DELIM): Likewise.
32089         [USE_AS_STRTOK_R] (SAVE): Likewise.
32090         (FUNCTION): Likewise.  Do not use BP_SYM.
32091         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32092         aliases.
32093         (strtok_r): Likewise.
32094         (__GI___strtok_r): Likewise.
32095         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32096         (PARMS): Do not use macros from bp-asm.h.
32097         (S): Likewise.
32098         (SIZE): Likewise.
32099         (__mpn_lshift): Do not use BP_SYM.
32100         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32101         (PARMS): Do not use macros from bp-asm.h.
32102         (STR): Likewise.
32103         (CHR): Likewise.
32104         (__memchr): Do not use BP_SYM.
32105         (memchr): Do not use BP_SYM in weak_alias.
32106         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32107         (PARMS): Do not use macros from bp-asm.h.
32108         (BLK2): Likewise.
32109         (LEN): Likewise.
32110         (memcmp): Do not use BP_SYM.
32111         (bcmp): Do not use BP_SYM in weak_alias.
32112         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32113         (PARMS): Do not use macros from bp-asm.h.
32114         (S1): Likewise.
32115         (SIZE): Likewise.
32116         (__mpn_mul_1): Do not use BP_SYM.
32117         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32118         "bp-asm.h".
32119         (PARMS): Do not use macros from bp-asm.h.
32120         (STR): Likewise.
32121         (CHR): Likewise.
32122         (__rawmemchr): Do not use BP_SYM.
32123         (rawmemchr): Do not use BP_SYM in weak_alias.
32124         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32125         (PARMS): Do not use macros from bp-asm.h.
32126         (S): Likewise.
32127         (SIZE): Likewise.
32128         (__mpn_rshift): Do not use BP_SYM.
32129         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32130         (PARMS): Do not use macros from bp-asm.h.
32131         (SIGMSK): Likewise.
32132         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32133         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32134         (_start): Do not use BP_SYM.
32135         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32136         (PARMS): Do not use macros from bp-asm.h.
32137         (DEST): Likewise.
32138         (SRC): Likewise.
32139         (__stpcpy): Likewise.  Do not use BP_SYM.
32140         (stpcpy): Do not use BP_SYM in weak_alias.
32141         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32142         "bp-asm.h".
32143         (PARMS): Do not use macros from bp-asm.h.
32144         (DEST): Likewise.
32145         (SRC): Likewise.
32146         (LEN): Likewise.
32147         (__stpncpy): Likewise.  Do not use BP_SYM.
32148         (stpncpy): Do not use BP_SYM in weak_alias.
32149         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32150         (PARMS): Do not use macros from bp-asm.h.
32151         (STR): Likewise.
32152         (CHR): Likewise.
32153         (strchr): Likewise.  Do not use BP_SYM.
32154         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32155         "bp-asm.h".
32156         (PARMS): Do not use macros from bp-asm.h.
32157         (STR): Likewise.
32158         (CHR): Likewise.
32159         (__strchrnul): Likewise.  Do not use BP_SYM.
32160         (strchrnul): Do not use BP_SYM in weak_alias.
32161         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32162         "bp-asm.h".
32163         (PARMS): Do not use macros from bp-asm.h.
32164         (STOP): Likewise.
32165         (strcspn): Do not use BP_SYM.
32166         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32167         "bp-asm.h".
32168         (PARMS): Do not use macros from bp-asm.h.
32169         (STR): Likewise.
32170         (STOP): Likewise.
32171         (strpbrk): Likewise.  Do not use BP_SYM.
32172         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32173         "bp-asm.h".
32174         (PARMS): Do not use macros from bp-asm.h.
32175         (STR): Likewise.
32176         (CHR): Likewise.
32177         (strrchr): Likewise.  Do not use BP_SYM.
32178         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32179         (PARMS): Do not use macros from bp-asm.h.
32180         (SKIP): Likewise.
32181         (strspn): Do not use BP_SYM.
32182         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32183         (PARMS): Do not use macros from bp-asm.h.
32184         (STR): Likewise.
32185         (DELIM): Likewise.
32186         (SAVE): Likewise.
32187         (FUNCTION): Likewise.  Do not use BP_SYM.
32188         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32189         aliases.
32190         (strtok_r): Likewise.
32191         (__GI___strtok_r): Likewise.
32192         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32193         (PARMS): Do not use macros from bp-asm.h.
32194         (S1): Likewise.
32195         (S2): Likewise.
32196         (SIZE): Likewise.
32197         (__mpn_sub_n): Do not use BP_SYM.
32198         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32199         "bp-asm.h".
32200         (PARMS): Do not use macros from bp-asm.h.
32201         (S1): Likewise.
32202         (SIZE): Likewise.
32203         (__mpn_submul_1): Do not use BP_SYM.
32204         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32205         <bp-sym.h>.
32206         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32207         and <bp-asm.h>.
32208         (PARMS): Do not use macros from bp-asm.h.
32209         (FLAGS): Likewise.
32210         (PTID): Likewise.
32211         (TLS): Likewise.
32212         (CTID): Likewise.
32213         (__clone): Do not use BP_SYM.
32214         (clone): Do not use BP_SYM in weak_alias.
32215         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32216         and <bp-asm.h>.
32217         (PARMS): Do not use macros from bp-asm.h.
32218         (LEN): Likewise.
32219         (__mmap64): Do not use BP_SYM.
32220         (mmap64): Do not use BP_SYM in weak_alias.
32221         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32222         <bp-sym.h> and <bp-asm.h>.
32223         (PARMS): Do not use macros from bp-asm.h.
32224         (__posix_fadvise64_l64): Do not use BP_SYM.
32225         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32226         (PARMS): Do not use macros from bp-asm.h.
32227         (NSOPS): Likewise.
32228         (semtimedop): Do not use BP_SYM.
32229         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32230         and <bp-asm.h>.
32232 2013-02-21  Allan McRae  <allan@archlinux.org>
32234         * manual/message.texi (Charset conversion in gettext):
32235         Move @end statement to beginning of line.
32237 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32240         static.
32241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32242         Likewise.
32244         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32245         (denorm): Likewise.
32246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32249 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32251         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32252         tail-call to the resolved function if pltexit isn't needed.
32254 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32257         or Y being zero as being unlikely.
32258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32259         Likewise.
32261 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32263         * manual/nss.texi (System Databases and Name Service Switch):
32264         Remove frobnicate @pxref.
32266 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32268         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32269         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32271 2013-02-20  Petr Machata  <pmachata@redhat.com>
32273         * elf/elf.h (R_ARM_TARGET1): New macro.
32274         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32275         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32276         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32277         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32278         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32279         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32280         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32281         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32282         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32283         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32284         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32285         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32286         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32287         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32288         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32289         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32290         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32291         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32292         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32293         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32294         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32295         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32296         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32297         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32298         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32299         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32300         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32301         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32302         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32303         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32304         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32305         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32306         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32307         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32308         (R_ARM_THM_GOT_BREL12): Likewise.
32309         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32310         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32311         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32312         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32313         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32314         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32315         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32316         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32317         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32319 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32321         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32322         __attribute_used__ to __attribute__ ((unused)).
32324 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32326         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32327         powerpc mpa.c.
32328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32329         comment formatting.
32330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32332 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32334         [BZ #13550]
32335         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32336         Remove macro.
32337         (ENTER): Remove both macro definitions.
32338         (LEAVE): Likewise.
32339         (CHECK_BOUNDS_LOW): Likewise.
32340         (CHECK_BOUNDS_HIGH): Likewise.
32341         (CHECK_BOUNDS_BOTH): Likewise.
32342         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32343         (RETURN_BOUNDED_POINTER): Likewise.
32344         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32345         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32346         (POP_ERRNO_LOCATION_RETURN): Likewise.
32347         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32348         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32349         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32350         macros.
32351         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32352         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32353         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32354         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32355         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32356         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32357         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32358         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32359         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32360         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32361         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32362         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32363         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32364         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32365         removed macros.
32366         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32367         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32368         macros.
32369         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32370         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32371         * sysdeps/i386/i586/memset.S (memset): Likewise.
32372         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32373         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32374         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32375         macros.
32376         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32377         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32378         Change uses of L(2) to L(out).
32379         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32380         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32381         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32382         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32383         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32384         removed macros.
32385         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32386         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32387         macros.
32388         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32389         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32390         (RETURN): Do not use macro LEAVE.
32391         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32392         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32393         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32394         * sysdeps/i386/i686/memset.S (memset): Likewise.
32395         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32396         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32397         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32398         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32399         Likewise.
32400         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32401         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32402         L(1_2) and L(1_3) into L(1).
32403         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32404         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32405         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32406         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32407         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32408         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32409         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32411         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32412         macros.
32413         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32414         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32415         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32416         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32417         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32418         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32419         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32420         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32421         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32422         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32423         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32424         * sysdeps/i386/strspn.S (strspn): Likewise.
32425         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32426         conditional code.
32427         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32428         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32429         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32430         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32431         L(1_3) into L(1_1).
32432         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32433         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32434         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32435         macros.
32436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32438 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32440         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32441         macro.
32443 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32445         * math/atest-exp.c (exp_mpn): Remove ROUND.
32446         * math/atest-exp2.c (exp_mpn): Likewise.
32447         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32449         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32450         * stdlib/tst-tls-atexit-lib.c: Likewise.
32451         * stdlib/tst-tls-atexit.c: Likewise.
32453 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32455         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32456         and __attribute_alloc_size__.
32458 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32460         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32461         __attribute_alloc_size__.
32462         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32463         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32465 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32467         * include/programs/xmalloc.h: New file.
32468         * catgets/gencat.c: Include it.
32469         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32470         * elf/pldd.c: Likewise.
32471         * iconv/iconv_charmap.c: Likewise.
32472         * iconv/iconvconfig.c: Likewise.
32473         * iconv/strtab.c: Likewise.
32474         * locale/programs/locale.c: Likewise.
32475         * locale/programs/localedef.h: Likewise.
32476         * locale/programs/simple-hash.c: Likewise.
32477         * nscd/nscd.h: Likewise.
32478         * nss/makedb.c: Likewise.
32479         * sysdeps/generic/ldconfig.h: Likewise.
32481 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32483         * Versions.def: Add GLIBC_2.18.
32484         * include/link.h (struct link_map): New member l_tls_dtor_count.
32485         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32486         (__call_tls_dtors): Likewise.
32487         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32488         __cxa_thread_atexit_impl.
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32490         Likewise.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32492         Likewise.
32493         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32494         Likewise.
32495         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32496         Likewise.
32497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32499         Likewise.
32500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32501         Likewise.
32502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32504         Likewise.
32505         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32506         (tests): Add test case tst-tls-atexit.
32507         (modules-names): Add shared library for tst-tls-atexit.
32508         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32509         (GLIBC_PRIVATE): Add __call_tls_dtors.
32510         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32511         for libstdc++.
32512         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32513         * stdlib/tst-tls-atexit.c: New test case.
32514         * stdlib/tst-tls-atexit-lib.c: New test case.
32516         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32518         * elf/Versions (ld): Add _dl_find_dso_for_object.
32519         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32520         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32521         (dl_open_worker): Use _dl_find_dso_for_object.
32522         * elf/dl-sym.c (do_sym): Likewise.
32523         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32525 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32527         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32528         Syntactic changes only.
32529         (_dl_runtime_profile): Do a tail-call to the resolved function.
32531 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32533         [BZ #13550]
32534         * sysdeps/x86_64/bp-asm.h: Remove file.
32535         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32536         <bp-sym.h> and <bp-asm.h>.
32537         (__clone): Do not use BP_SYM.
32538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32539         <bp-sym.h> and <bp-asm.h>.
32540         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32541         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32542         "bp-asm.h".
32543         (_setjmp): Do not use BP_SYM.
32544         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32545         "bp-asm.h".
32546         (setjmp): Do not use BP_SYM.
32547         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32548         libc_hidden_def.
32549         (mempcpy): Do not use BP_SYM in weak_alias.
32550         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32551         "bp-asm.h".
32552         (strchr): Do not use BP_SYM.
32553         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32554         "bp-asm.h".
32555         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32556         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32557         (_start): Do not use BP_SYM.
32558         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32559         "bp-asm.h".
32560         (strcat): Do not use BP_SYM.
32561         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32562         "bp-asm.h".
32563         (STRCMP): Do not use BP_SYM.
32564         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32565         "bp-asm.h".
32566         (STRCPY): Do not use BP_SYM.
32567         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32568         "bp-asm.h".
32569         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32570         "bp-asm.h".
32571         (FUNCTION): Do not use BP_SYM.
32572         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32573         weak_alias.
32574         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32576 2013-02-17  Andreas Jaeger  <aj@suse.de>
32578         * time/Versions: Sort entries.
32579         * string/Versions: Likewise.
32580         * resolv/Versions: Likewise.
32581         * posix/Versions: Likewise.
32582         * iconv/Versions: Likewise.
32583         * elf/Versions: Likewise.
32584         * wcsmbs/Versions: Likewise.
32586 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32588         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32589         loop termination condition.
32591         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32592         variable to calculate EZ.
32593         (__sqr): Likewise.
32595         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32596         the lower precision input.
32598 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32600         [BZ #13550]
32601         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32602         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32603         (run-via-rtld-prefix): Do not handle %-bp tests.
32604         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32605         (all-object-suffixes): Remove .ob.
32606         (bppfx): Remove variable.
32607         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32608         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32609         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32610         [$(build-bounded) = yes] (libtype.ob): Likewise.
32611         * Makerules (elide-routines.ob): Remove variable.
32612         (do-tests-clean): Do not handle *-bp.out.
32613         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32614         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32615         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32616         (tests): Do not include $(tests-bp.out).
32617         (xtests): Do not include $(xtests-bp.out).
32618         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32619         [$(build-bounded) = yes] ($(addprefix
32620         $(objpfx),$(binaries-bounded))): Remove rule.
32621         ($(objpfx)%-bp.out): Remove rule.
32622         * config.make.in (build-bounded): Remove variable.
32623         * crypt/Makefile [$(build-bounded) = yes]
32624         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32625         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32626         append to variable.
32627         [$(build-bounded) = yes] (install-lib): Likewise.
32628         [$(build-bounded) = yes] (generated): Likewise.
32629         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32630         Remove rule.
32631         * intl/Makefile [$(build-bounded) = yes]
32632         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32633         * math/Makefile [$(build-bounded) = yes]
32634         ($(tests:%=$(objpfx)%-bp): Likewise.
32635         * misc/Makefile [$(build-bounded) = yes]
32636         ($(objpfx)tst-tsearch-bp): Likewise.
32637         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32638         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32639         Remove dependency.
32640         * string/Makefile (o-objects.ob): Remove variable.
32641         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32642         (CFLAGS-.ob): Remove variable.
32643         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32644         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32645         both definitions of variable.
32646         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32647         (ASFLAGS-.ob): Remove variable.
32649 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32651         [BZ #13550]
32652         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32653         Remove __BOUNDED_POINTERS__ from condition.
32654         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32655         * string/bits/string2.h [!__NO_STRING_INLINES &&
32656         !__BOUNDED_POINTERS__]: Likewise.
32657         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32658         Likewise.
32659         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32660         Remove conditional code.
32661         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32662         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32663         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32664         condition.
32666         [BZ #13550]
32667         * csu/libc-start.c: Do not include <bp-sym.h>.
32668         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32669         * elf/dl-open.c: Do not include <bp-sym.h>.
32670         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32671         * math/fegetenv.c: Do not include <bp-sym.h>.
32672         (fegetenv): Do not use BP_SYM in versioned symbols.
32673         * nptl/sysdeps/pthread/bits/libc-lockP.h
32674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32675         <bp-sym.h>.
32676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32677         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32679         (__pthread_mutex_destroy): Likewise.
32680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32681         (__pthread_mutex_lock): Likewise.
32682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32683         (__pthread_mutex_trylock): Likewise.
32684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32685         (__pthread_mutex_unlock): Likewise.
32686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32687         (__pthread_mutexattr_init): Likewise.
32688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32689         (__pthread_mutexattr_destroy): Likewise.
32690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32691         (__pthread_mutexattr_settype): Likewise.
32692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32693         (__pthread_rwlock_init): Likewise.
32694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32695         (__pthread_rwlock_destroy): Likewise.
32696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32697         (__pthread_rwlock_rdlock): Likewise.
32698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32699         (__pthread_rwlock_tryrdlock): Likewise.
32700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32701         (__pthread_rwlock_wrlock): Likewise.
32702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32703         (__pthread_rwlock_trywrlock): Likewise.
32704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32705         (__pthread_rwlock_unlock): Likewise.
32706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32707         (__pthread_key_create): Likewise.
32708         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32709         (__pthread_setspecific): Likewise.
32710         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32711         (__pthread_getspecific): Likewise.
32712         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32713         Likewise.
32714         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32715         (_pthread_cleanup_push_defer): Likewise.
32716         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32717         (_pthread_cleanup_pop_restore): Likewise.
32718         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32719         (pthread_setcancelstate): Likewise.
32720         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32721         <bp-sym.h>.
32722         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32723         (memchr): Do not use BP_SYM in weak_alias.
32724         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32725         (fegetenv): Do not use BP_SYM in versioned symbols.
32726         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32727         (fesetenv): Do not use BP_SYM in versioned symbols.
32728         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32729         (feupdateenv): Do not use BP_SYM in versioned symbols.
32730         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32731         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32732         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32733         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32734         (open64): Do not use BP_SYM in weak_alias.
32735         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32736         (fegetenv): Do not use BP_SYM in versioned symbols.
32737         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32738         (fesetenv): Do not use BP_SYM in versioned symbols.
32739         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32740         (feupdateenv): Do not use BP_SYM in versioned symbols.
32741         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32742         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32743         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32744         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32745         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32746         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32747         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32748         <bp-sym.h>.
32749         (__libc_start_main): Do not use BP_SYM.
32751 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32754         redundant return line.
32755         (norm): Likewise.
32756         (denorm): Likewise.
32757         (dbl_mp): Likewise.
32758         (sub_magnitudes): Likewise.
32759         (__add): Likewise.
32760         (__sub): Likewise.
32761         (__mul): Likewise.
32762         (__inv): Likewise.
32763         (__dvd): Likewise.
32764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32765         (norm): Likewise.
32766         (denorm): Likewise.
32767         (dbl_mp): Likewise.
32768         (sub_magnitudes): Likewise.
32769         (__add): Likewise.
32770         (__sub): Likewise.
32771         (__mul): Likewise.
32772         (__inv): Likewise.
32773         (__dvd): Likewise.
32775         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32776         instead of __mul.
32777         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32778         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32779         (cc32): Likewise.
32781         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32782         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32783         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32784         of __mul for squares.
32785         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32786         function
32787         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32788         Likewise.
32789         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32792 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32794         [BZ #13550]
32795         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32796         code.
32797         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32798         prototype or function definition.  Rename ubp_* variables and
32799         parameters.  Remove argv definitions conditional on
32800         [__BOUNDED_POINTERS__].
32801         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32802         * elf/dl-runtime.c (_dl_fixup): Likewise.
32803         * include/set-hooks.h (RUN_HOOK): Likewise.
32804         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32805         definition.
32806         * string/strcpy.c (strcpy): Do not use __unbounded.
32807         * sysdeps/generic/frame.h (struct layout): Likewise.
32808         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32809         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32810         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32811         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32812         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32813         (__backtrace): Likewise.
32814         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32815         use __ptrvalue.
32816         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32817         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32818         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32819         Likewise.
32820         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32821         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32823         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32824         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32825         Do not use __unbounded.
32826         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32827         Rename __unboundedrlimits parameter to rlimits in prototype.
32828         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32829         Do not use __unbounded.
32830         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32831         not use __ptrvalue.
32832         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32833         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32834         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32835         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32836         __ptrvalue or __unbounded.
32837         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32838         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32839         use __unbounded.
32840         (__new_msgctl): Do not use __ptrvalue.
32841         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32842         __unbounded.
32843         (__libc_msgrcv): Do not use __ptrvalue.
32844         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32845         startup_info): Do not use __unbounded.
32846         (__libc_start_main): Likewise.  Rename ubp_* variables and
32847         parameters.  Remove argv definitions conditional on
32848         [__BOUNDED_POINTERS__].
32849         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32850         __ptrvalue.
32851         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32852         use __unbounded.
32853         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32854         or __ptrvalue.
32855         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32856         use __unbounded.
32857         (__new_shmctl): Do not use __ptrvalue.
32858         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32859         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32860         Likewise.
32861         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32862         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32863         (__libc_sigaction): Likewise.
32864         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32865         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32866         Likewise.
32867         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32869 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32871         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32873         * string/mempcpy.c: Implement by calling memcpy.
32875 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32879         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32880         evaluation.
32882         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32883         values in the mantissa.
32885         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32886         minimize writes to Z.
32887         (sub_magnitudes): Simplify code a bit.
32889 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32891         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32892         from the message.  The linker prefixes all warnings with that already.
32894 2013-02-12  Andreas Schwab  <schwab@suse.de>
32896         [BZ #15078]
32897         * posix/regexec.c (extend_buffers): Add parameter min_len.
32898         (check_matching): Pass minimum needed length.
32899         (clean_state_log_if_needed): Likewise.
32900         (get_subexp): Likewise.
32901         * posix/Makefile (tests): Add bug-regex34.
32902         (bug-regex34-ENV): Define.
32903         * posix/bug-regex34.c: New file.
32905         [BZ #11561]
32906         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32907         elements compare against the byte sequence of it, not its name.
32908         * posix/Makefile (tests): Add bug-regex35.
32909         (bug-regex35-ENV): Define.
32910         * posix/bug-regex35.c: New file.
32912 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32914         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32915         comment.
32916         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32917         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32918         (CHECK_EOL): Add undef.
32920 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32922         * bits/stdlib-bsearch.h: New file.
32923         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32924         * stdlib/stdlib.h: Likewise.
32926 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32928         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32929         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32930         declaration.
32931         * manual/search.texi (Array Search Function): Add missing const in
32932         lfind prototype.
32933         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32934         declaration to use rlim_t.
32935         (Basic Scheduling Functions): Remove erroneous const from
32936         sched_getparam prototype.  Remove erroneous * from
32937         sched_get_priority_max and sched_get_priority_min prototypes.
32938         (Resource Usage): Fix summary @comment on vtimes to refer to
32939         sys/vtimes.h rather than vtimes.h.
32940         Add missing *s in vtimes prototype.
32941         (Limits on Resources): Fix ulimit prototype to return long int.
32942         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32943         prototypes to use long int rather than double.
32944         (BSD Random): Fix initstate and setstate to use char *, not void *.
32945         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32946         prototype to make second argument 'struct aiocb64 *const[]'.
32947         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32948         (Status of AIO Operations): Remove erroneous const in aio_return and
32949         aio_return64 prototypes.
32950         (Synchronizing I/O): Fix sync prototype to return void.
32951         * manual/startup.texi (Suboptions): Remove an erroneous const in
32952         getsubopt prototype.
32953         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32954         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32955         use size_t rather than int.
32956         (Scanning All Users): Likewise for getpwent_r.
32957         (Setting Groups): Add missing const to setgroups prototype.
32958         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32959         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32960         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32961         'const void *' rather than 'const char *'.
32962         (Host Address Functions): Likewise for inet_ntop.
32963         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32964         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32965         ssize_t for return value.
32966         (Sending Data): Likewise for send, sendto, sendmsg.
32967         (Socket Option Functions): Add a missing const in setsockopt prototype.
32968         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32969         use wchar_t for the argument.
32970         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32971         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32972         take no arguments.
32973         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32974         double/float/long double for second argument.
32975         Fix return types of significand, significandf, significandl.
32976         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32977         argument in fchmod prototype.
32978         (File Owner): Use uid_t and gid_t in fchown prototype.
32979         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32980         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32981         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32982         use 'const struct dirent **' as argument types to CMP function pointer
32983         argument.
32984         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32985         (File Times): Fix summary magic @comment for struct utimbuf and utime
32986         to refer to utime.h, not time.h.
32987         * manual/string.texi (Argz Functions): Add missing const in
32988         argz_extract and argz_next prototypes.
32989         (Finding Tokens in a String): Likewise for basename.
32990         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32991         (Copying and Concatenation): Fix typo in wmemmove prototype.
32992         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32993         (Signal Stack): Remove erroneous const in sigstack prototype.
32994         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32995         prototype.
32996         (Simple Calendar Time): Likewise for stime.
32997         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32998         prototype.
32999         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33000         say sys/sysctl.h instead.
33001         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33002         and vsyslog prototypes.
33004 2013-02-11  Tom de Vries  <tom@codesourcery.com>
33006         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33007         Remove.
33009 2013-02-11  Roland McGrath  <roland@hack.frob.com>
33011         * misc/sys/mman.h: Fix typo in mremap comment.
33013 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33015         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33016         the '\0' terminator.
33018 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33020         [BZ #13550]
33021         * debug/segfault.c: Don't include <bp-checks.h>.
33022         * sysdeps/generic/bp-checks.h: Remove file.
33023         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33024         (__GETDENTS): Don't use CHECK_N.
33025         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33026         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33027         (__getgroups): Don't use CHECK_N.
33028         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33029         (setgroups): Don't use CHECK_N.
33030         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33031         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33032         (__libc_msgrcv): Don't use CHECK_N.
33033         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33034         (__libc_msgsnd): Don't use CHECK_N.
33035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33036         <bp-checks.h>.
33037         (__libc_pread): Don't use CHECK_N.
33038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33039         include <bp-checks.h>.
33040         (__libc_pread64): Don't use CHECK_N.
33041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33042         include <bp-checks.h>.
33043         (__libc_pwrite): Don't use CHECK_N.
33044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33045         include <bp-checks.h>.
33046         (__libc_pwrite64): Don't use CHECK_N.
33047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33048         <bp-checks.h>.
33049         (__libc_pread): Don't use CHECK_N.
33050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33051         include <bp-checks.h>.
33052         (__libc_pread64): Don't use CHECK_N.
33053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33054         include <bp-checks.h>.
33055         (__libc_pwrite): Don't use CHECK_N.
33056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33057         include <bp-checks.h>.
33058         (__libc_pwrite64): Don't use CHECK_N.
33059         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33060         (do_pread): Don't use CHECK_N.
33061         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33062         (do_pread64): Don't use CHECK_N.
33063         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33064         (do_pwrite): Don't use CHECK_N.
33065         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33066         (do_pwrite64): Don't use CHECK_N.
33067         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33068         (__libc_readv): Don't use CHECK_N.
33069         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33070         (semop): Don't use CHECK_N.
33071         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33072         <bp-checks.h>.
33073         (semtimedop): Don't use CHECK_N.
33074         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33075         (__libc_pread): Don't use CHECK_N.
33076         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33077         <bp-checks.h>.
33078         (__libc_pread64): Don't use CHECK_N.
33079         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33080         <bp-checks.h>.
33081         (__libc_pwrite): Don't use CHECK_N.
33082         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33083         <bp-checks.h>.
33084         (__libc_pwrite64): Don't use CHECK_N.
33085         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33086         <bp-checks.h>.
33087         (__libc_msgrcv): Don't use CHECK_N.
33088         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33089         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
33090         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33091         (__libc_writev): Don't use CHECK_N.
33093 2013-02-08  Roland McGrath  <roland@hack.frob.com>
33095         * string/strcpy.c: Removed unused variable.
33097         * Makeconfig (+sysdep-includes): Define with := rather than =.
33098         Use an existing include/ subdir of each sysdeps dir before it.
33100 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33102         * nscd/connection.c (register_traced_file): Comment function.
33103         [HAVE_INOTIFY] (union __inev): Define.
33104         [HAVE_INOTIFY] (inotify_check_files): New function.
33105         [HAVE_INOTIFY] (clear_db_cache): Likewise.
33106         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33107         clear_db_cache.
33108         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33110 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33112         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33113         loaded if not already and that a failure is permanent.
33115 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
33117         [BZ #15006]
33118         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33119         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33121 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
33123         [BZ #13550]
33124         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33125         (CHECK_1_NULL_OK): Likewise.
33126         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33127         (__fxstat): Do not use CHECK_1.
33128         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33129         <bp-checks.h>.
33130         (___fxstat64): Do not use CHECK_1.
33131         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33132         <bp-checks.h>.
33133         (__fxstatat): Do not use CHECK_1.
33134         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33135         <bp-checks.h>.
33136         (__fxstatat64): Do not use CHECK_1.
33137         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33138         <bp-checks.h>.
33139         (__fxstat): Do not use CHECK_1.
33140         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33141         <bp-checks.h>.
33142         (__fxstatat): Do not use CHECK_1.
33143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33144         <bp-checks.h>.
33145         (__getresgid): Do not use CHECK_1.
33146         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33147         <bp-checks.h>.
33148         (__getresuid): Do not use CHECK_1.
33149         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33150         <bp-checks.h>.
33151         (__lxstat): Do not use CHECK_1.
33152         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33153         <bp-checks.h>.
33154         (__old_msgctl): Do not use CHECK_1.
33155         (__new_msgctl): Likewise.
33156         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33157         <bp-checks.h>.
33158         (__new_setrlimit): Do not use CHECK_1.
33159         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33160         <bp-checks.h>.
33161         (__old_shmctl): Do not use CHECK_1.
33162         (__new_shmctl): Likewise.
33163         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33164         <bp-checks.h>.
33165         (__xstat): Do not use CHECK_1.
33166         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33167         (__lxstat): Do not use CHECK_1.
33168         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33169         <bp-checks.h>.
33170         (___lxstat64): Do not use CHECK_1.
33171         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33172         (__old_msgctl): Do not use CHECK_1.
33173         (__new_msgctl): Likewise.
33174         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33175         <bp-checks.h>.
33176         (__gettimeofday): Do not use CHECK_1.
33177         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33178         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33179         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33180         <bp-checks.h>.
33181         (__gettimeofday): Do not use CHECK_1.
33182         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33183         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33184         (__new_shmctl): Do not use CHECK_1.
33185         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33186         <bp-checks.h>.
33187         (do_sigtimedwait): Do not use CHECK_1.
33188         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33189         <bp-checks.h>.
33190         (do_sigwaitinfo): Do not use CHECK_1.
33191         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33192         <bp-checks.h>.
33193         (msgctl): Do not use CHECK_1.
33194         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33195         <bp-checks.h>.
33196         (shmctl): Do not use CHECK_1.
33197         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33198         (ustat): Do not use CHECK_1.
33199         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33200         <bp-checks.h>.
33201         (__fxstat): Do not use CHECK_1.
33202         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33203         <bp-checks.h>.
33204         (__fxstatat): Do not use CHECK_1.
33205         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33206         <bp-checks.h>.
33207         (__lxstat): Do not use CHECK_1.
33208         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33209         <bp-checks.h>.
33210         (__xstat): Do not use CHECK_1.
33211         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33212         (__xstat): Do not use CHECK_1.
33213         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33214         (___xstat64): Do not use CHECK_1.
33216         [BZ #13550]
33217         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33218         definitions.
33219         (CHECK_BOUNDS_HIGH): Likewise.
33220         * string/strcpy.c: Do not include <bp-checks.h>.
33221         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33223 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33225         * nscd/nscd-client.h (__nscd_drop_map_ref):
33226         Add __attribute__ ((unused)).
33227         * nis/nss-nisplus.h (niserr2nss): Likewise.
33229         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33230         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33232         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33233         Remove inline keyword.
33234         * include/rounding-mode.h (round_away): Likewise.
33235         * libio/wfileops.c (adjust_wide_data): Likewise.
33236         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33237         (__m128i_strloadu_tolower): Likewise.
33238         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33239         (__m128i_strloadu_tolower): Likewise.
33240         * time/mktime.c (ydhms_diff): Likewise.
33241         * locale/elem-hash.h (elem_hash): Likewise.
33242         * locale/setlocale.c (setdata): Likewise.
33243         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33244         (re_string_wchar_at): Likewise.
33245         (bitset_not, bitset_merge, bitset_mask): Likewise.
33246         [!(__GNUC__ > 3)] (inline): Remove macro.
33247         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33248         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33249         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33250         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33251         * string/memcmp.c (memcmp_bytes): Likewise.
33252         * locale/programs/locarchive.c (compute_hashval): Likewise.
33253         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33254         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33255         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33256         * nss/getent.c (print_rpc, print_protocols): Likewise.
33257         (print_passwd, print_group, print_aliases): Likewise.
33258         * nis/nss-nisplus.h (niserr2nss): Likewise.
33259         * nscd/connections.c (restart_p): Likewise.
33260         Change return type to bool.
33262 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33264         * Makeconfig (all-Depend-files): Add existing
33265         $(sorted-subdirs:=/Depend) files.
33266         (all-subdirs): Remove nss.
33267         * sysdeps/unix/inet/Subdirs: Add it here instead.
33268         * hesiod/Depend: New file.
33270         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33271         instead of calling alloca.
33273         * io/lseek.c (__lseek): Rename to __libc_lseek.
33274         Define __lseek as an alias.
33276         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33278 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33280         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33281         else clause and remove check for non-standard endianness.
33283 2013-02-04  David S. Miller  <davem@davemloft.net>
33285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33287 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33289         [BZ #13550]
33290         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33291         (__ubp_memchr): Remove prototype.
33292         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33293         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33294         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33295         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33296         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33297         Remove alias.
33298         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33299         (__ubp_memchr): Likewise.
33300         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33301         (__ubp_memchr): Likewise.
33302         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33303         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33304         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33305         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33306         CHECK_STRING.
33307         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33308         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33309         (__getcwd): Do not use CHECK_STRING.
33310         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33311         <bp-checks.h>.
33312         (__real_chown): Do not use CHECK_STRING.
33313         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33314         <bp-checks.h>.
33315         (fchownat): Do not use CHECK_STRING.
33316         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33317         CHECK_STRING.
33318         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33319         <bp-checks.h>.
33320         (__lchown): Do not use CHECK_STRING.
33321         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33322         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33323         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33324         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33326         include <bp-checks.h>.
33327         (truncate64): Do not use CHECK_STRING.
33328         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33329         <bp-checks.h>.
33330         (__real_chown): Do not use CHECK_STRING.
33331         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33332         <bp-checks.h>.
33333         (__lchown): Do not use CHECK_STRING.
33334         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33335         <bp-checks.h>.
33336         (__chown): Do not use CHECK_STRING.
33337         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33338         <bp-checks.h>.
33339         (truncate64): Do not use CHECK_STRING.
33340         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33341         Likewise.
33342         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33343         (__xmknod): Do not use CHECK_STRING.
33344         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33345         <bp-checks.h>.
33346         (__xmknodat): Do not use CHECK_STRING.
33347         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33348         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33350 2013-02-04  Andreas Schwab  <schwab@suse.de>
33352         [BZ #14142]
33353         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33354         * include/netdb.h: Likewise for h_errno.
33355         * elf/tst-stackguard1.c: Include <tls.h>.
33357 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33359         * elf/link.h (struct link_map): Extend the l_addr comment.
33360         * include/link.h (struct link_map): Likewise.
33362 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33364         [BZ #13550]
33365         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33366         (BOUNDED_1): Remove macro.
33367         * debug/backtrace.c: Don't include <bp-checks.h>.
33368         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33369         (__backtrace): Likewise.
33370         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33371         <bp-checks.h>.
33372         (__backtrace): Don't use BOUNDED_1.
33373         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33374         <bp-checks.h>.
33375         (__backtrace): Don't use BOUNDED_1.
33376         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33377         (__backtrace): Don't use BOUNDED_1.
33378         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33379         (shmat): Don't use BOUNDED_N.
33381 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33383         [BZ #13550]
33384         * sysdeps/generic/bp-start.h: Remove file.
33385         * csu/libc-start.c: Don't include <bp-start.h>.
33386         (LIBC_START_MAIN): Set up __environ directly instead of using
33387         INIT_ARGV_and_ENVIRON.
33388         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33389         <bp-start.h>.
33391         [BZ #13550]
33392         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33393         definitions.
33394         (CHECK_FCNTL): Likewise.
33395         (CHECK_N_PAGES): Likewise.
33397         [BZ #13550]
33398         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33399         definitions.
33400         (CHECK_SIGSET_NULL_OK): Likewise.
33401         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33402         <bp-checks.h>.
33403         (sigpending): Don't use CHECK_SIGSET.
33404         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33405         <bp-checks.h>.
33406         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33407         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33408         <bp-checks.h>.
33409         (do_sigsuspend): Don't use CHECK_SIGSET.
33410         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33411         use CHECK_SIGSET.
33412         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33413         (do_sigwait): Don't use CHECK_SIGSET.
33414         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33415         use CHECK_SIGSET.
33416         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33417         include <bp-checks.h>.
33418         (sigpending): Don't use CHECK_SIGSET.
33419         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33420         include <bp-checks.h>.
33421         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33422         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33423         <bp-checks.h>.
33424         (sigpending): Don't use CHECK_SIGSET.
33425         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33426         <bp-checks.h>.
33427         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33429         [BZ #13550]
33430         * sysdeps/generic/bp-semctl.h: Remove file.
33431         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33432         <bp-checks.h> and <bp-semctl.h>.
33433         (__old_semctl): Don't use CHECK_SEMCTL.
33434         (__new_semctl): Likewise.
33435         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33436         and <bp-semctl.h>.
33437         (__old_semctl): Don't use CHECK_SEMCTL.
33438         (__new_semctl): Likewise.
33439         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33440         <bp-checks.h> and <bp-semctl.h>.
33441         (__old_semctl): Don't use CHECK_SEMCTL.
33442         (__new_semctl): Likewise.
33443         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33444         <bp-checks.h> and <bp-semctl.h>.
33445         (semctl): Don't use CHECK_SEMCTL.
33447         [BZ #13550]
33448         * Makerules (elide-bp-thunks): Remove variable.
33449         (elide-routines.oS): Don't use $(elide-bp-thunks).
33450         (elide-routines.os): Likewise.
33451         (elide-routines.o): Likewise.
33452         (elide-routines.op): Likewise.
33453         (elide-routines.og): Likewise.
33454         (objects): Don't use $(bp-thunks).
33455         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33456         include.
33457         (common-generated): Do not add s-proto-bp.d.
33458         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33459         (int): Likewise.
33460         (typ): Likewise.
33461         Do not generate makefile rules for bounded-pointer thunks.
33462         * sysdeps/generic/bp-thunks.h: Remove file.
33463         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33464         * sysdeps/unix/s-proto-bp.S: Likewise.
33466         [BZ #15062]
33467         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33468         parts of result separately when argument is not close to line from
33469         -i to i and one part of argument is small.
33470         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33471         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33472         * math/libm-test.inc (cacos_test): Add more tests.
33473         (casin_test): Likewise.
33474         (casinh_test): Likewise.
33475         * sysdeps/i386/fpu/libm-test-ulps: Update.
33476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33478 2013-01-31  David S. Miller  <davem@davemloft.net>
33480         * po/de.po: Update from translation team.
33482 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33484         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33486 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33488         * configure.in (_AC_PROG_CC_C89): New definition.
33489         * configure: Regenerate.
33491         * configure.in (AC_PROG_CPP): New definition.
33492         * configure: Regenerate.
33494 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33496         * debug/tst-backtrace.h: New file.
33497         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33498         (ret): Remove variable.
33499         (x): Likewise.
33500         (FAIL): Remove macro.
33501         (NO_INLINE): Likewise.
33502         (fn1): Use match function instead of strstr.
33503         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33504         (ret): Remove variable.
33505         (x): Likewise.
33506         (FAIL): Remove macro.
33507         (NO_INLINE): Likewise.
33508         (fn): Use match function instead of strstr.
33509         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33510         (ret): Remove variable.
33511         (x): Likewise.
33512         (FAIL): Remove macro.
33513         (NO_INLINE): Likewise.
33514         (handle_signal): Use match function instead of strstr.
33515         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33516         (ret): Remove variable.
33517         (x): Likewise.
33518         (FAIL): Remove macro.
33519         (NO_INLINE): Likewise.
33520         (handle_signal): Use match function instead of strstr.
33522 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33524         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33526 2013-01-23  David S. Miller  <davem@davemloft.net>
33528         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33529         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33530         argument of CAS if possible.
33531         * sysdeps/sparc/sparc64/bits/atomic.h
33532         (__arch_compare_and_exchange_val_32_acq): Likewise.
33533         (__arch_compare_and_exchange_val_64_acq): Likewise.
33535 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33537         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33538         * sysdeps/posix/ulimit.c: ... this.
33539         Include <limits.h>.
33540         * sysdeps/unix/bsd/ulimit.c: Remove file.
33542 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33544         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33545         (LDFLAGS-tst-array5): Likewise.
33547 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33549         [BZ #15036]
33550         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33551         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33552         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33553         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33555 2013-01-21  David S. Miller  <davem@davemloft.net>
33557         * sysdeps/sparc/backtrace.c: New file.
33558         * sysdeps/sparc/sparc32/backtrace.h: New file.
33559         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33560         * sysdeps/sparc/sparc64/backtrace.h: New file.
33561         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33562         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33563         -funwind-tables.
33565 2013-01-21  Andreas Schwab  <schwab@suse.de>
33567         [BZ #15020]
33568         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33569         closed its stdout.
33571 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33574         "mpa2.h".
33575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33577 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33578             Mark Mitchell  <mark@codesourcery.com>
33579             Tom de Vries  <tom@codesourcery.com>
33580             Paul Pluzhnikov  <ppluzhnikov@google.com>
33582         * debug/tst-backtrace2.c: New file.
33583         * debug/tst-backtrace3.c: Likewise.
33584         * debug/tst-backtrace4.c: Likewise.
33585         * debug/tst-backtrace5.c: Likewise.
33586         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33587         (CFLAGS-tst-backtrace3.c): Likewise.
33588         (CFLAGS-tst-backtrace4.c): Likewise.
33589         (CFLAGS-tst-backtrace5.c): Likewise.
33590         (LDFLAGS-tst-backtrace2): Likewise.
33591         (LDFLAGS-tst-backtrace3): Likewise.
33592         (LDFLAGS-tst-backtrace4): Likewise.
33593         (LDFLAGS-tst-backtrace5): Likewise.
33594         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33595         tst-backtrace4 and tst-backtrace5.
33597 2013-01-18  Anton Blanchard  <anton@samba.org>
33598             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33600         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33601         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33602         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33603         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33605         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33606         "+r" and remove output regs list as redundant.  Add explicit inline
33607         asm to specify register of return val to work around compiler codegen
33608         bug.  Remove (int) cast on return value.  Add return type parameter to
33609         use in macro so that this macro does not truncate return value for
33610         64-bit values.
33611         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33612         pass to INTERNAL_VSYSCALL_NCS.
33613         (INLINE_VSYSCALL): Add 'long int' as return type to
33614         INTERNAL_VSYSCALL_NCS macro invocation.
33615         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33616         INTERNAL_VSYSCALL_NCS macro invocation.
33617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33619 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33621         [BZ #14496]
33622         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33623         Fix application of SIMD FP exception mask.
33625         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33626         mp_no from a power of two.
33627         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33628         __mpexp_twomm1.  Use __pow_mp.
33630         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33631         multiplication.
33633 2013-01-17  David S. Miller  <davem@davemloft.net>
33635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33637 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33639         [BZ #15023]
33640         * include/complex.h: Condition contents on [!_COMPLEX_H].
33641         (__kernel_casinhf): New prototype.
33642         (__kernel_casinh): Likewise.
33643         (__kernel_casinhl): Likewise.
33644         * math/Makefile (libm_calls): Add k_casinh.
33645         * math/k_casinh.c: New file.
33646         * math/k_casinhf.c: Likewise.
33647         * math/k_casinhl.c: Likewise.
33648         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33649         finite nonzero arguments.
33650         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33651         finite nonzero arguments.
33652         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33653         finite nonzero arguments.
33654         * math/s_casinh.c: Do not include <float.h>.
33655         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33656         * math/s_casinhf.c: Do not include <float.h>.
33657         (__casinhf): Move code for finite nonzero arguments to
33658         k_casinhf.c.
33659         * math/s_casinhl.c: Do not include <float.h>.
33660         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33661         redefine.
33662         (__casinhl): Move code for finite nonzero arguments to
33663         k_casinhl.c.
33664         * math/libm-test.inc (cacos_test): Add more tests.
33665         * sysdeps/i386/fpu/libm-test-ulps: Update.
33666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33668 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33670         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33671         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33672         [!HAVE_MREMAP]: Remove [defined linux] case.
33673         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33675 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33677         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33679 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33681         * elf/elf.h (R_386_SIZE32): New relocation.
33682         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33683         R_386_SIZE32.
33684         (elf_machine_rela): Likewise.
33685         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33686         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33688 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33690         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33691         (FP_FAST_FMA): Do not define.
33692         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33693         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33694         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33695         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33696         !_SOFT_FLOAT]: Likewise.
33697         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33698         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33699         value.
33700         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33701         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33702         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33703         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33704         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33705         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33706         file.
33708 2013-01-16  Andreas Schwab  <schwab@suse.de>
33710         [BZ #14327]
33711         * include/stdlib.h (__mktemp): Add declaration.
33712         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33713         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33715 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33717         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33718         definitions.
33719         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33720         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33721         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33722         definitions here.
33723         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33724         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33725         definitions.
33726         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33727         and ONE.
33728         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33729         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33730         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33731         definitions.
33732         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33733         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33734         definitions.
33735         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33737         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33739 2013-01-15  David S. Miller  <davem@davemloft.net>
33741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33742         trunc{,f} to libm-sysdep_routes.
33743         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33745         file.
33746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33748         file.
33749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33750         file.
33751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33753         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33754         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33755         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33756         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33757         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33758         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33761         nearbyint{,f} to libm-sysdep_routes.
33762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33764         New file.
33765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33766         file.
33767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33768         New file.
33769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33770         file.
33771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33773         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33774         file.
33775         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33776         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33777         file.
33778         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33779         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33780         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33782         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33783         libc_feholdexcept and libc_fesetenv.
33785 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33787         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33789 2013-01-14  David S. Miller  <davem@davemloft.net>
33791         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33792         (SPARC_ASM_VIS2_IFUNC): Likewise.
33793         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33795         use of 'siam' instruction.
33796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33797         Likewise.
33798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33799         Likewise.
33800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33801         Likewise.
33802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33807         file.
33808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33809         file.
33810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33811         file.
33812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33813         file.
33814         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33815         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33819         new VIS2 routines.
33820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33823         Likewise.
33824         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33825         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33826         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33827         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33829         routines to libm-sysdep_routines.
33830         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33833         fdim/fdimf to libm-sysdep_routines.
33834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33835         file.
33836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33838         file.
33839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33842         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33843         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33844         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33845         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33847 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33849         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33850         to optimize copies.
33852         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33853         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33854         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33857         local variable MPTWO.
33858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33859         Likewise.
33861 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33863         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33864         GLOB_NOESCAPE.
33866 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33868         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33870 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33872         * manual/pattern.texi (glob_t): Document gl_flags.
33873         (glob64_t): Likewise.
33875 2013-01-11  David S. Miller  <davem@davemloft.net>
33877         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33878         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33879         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33880         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33881         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33882         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33883         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33884         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33885         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33886         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33887         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33888         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33889         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33891         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33892         sparc V9 rather than using V8 code.
33893         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33894         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33896         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33897         Move to...
33898         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33899         Here.
33901 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33903         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33904         not in the main loop.
33905         * configure: Regenerated.
33907 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33909         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33910         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33911         to just #else.
33912         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33913         [!__GLIBC_HAVE_LONG_LONG] case.
33914         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33915         condition to just #else.
33916         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33917         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33918         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33919         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33920         unconditional.
33921         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33922         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33923         #elif condition to just #else.
33924         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33925         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33926         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33927         #elif condition to just #else.
33929 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33931         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33932         (EF_MIPS_ARCH_64): Fix value.
33933         (EF_MIPS_ARCH_32R2): New.
33934         (EF_MIPS_ARCH_64R2): New.
33936 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33938         * Makeconfig (+link-pie-before-libc): New.
33939         (+link-pie-after-libc): Likewise.
33940         (+link-pie-tests): Likewise.
33941         (+link-pie): Rewritten.
33942         (link-before-libc): Remove $(config-LDFLAGS).
33943         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33944         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33945         (config-LDFLAGS): Renamed to ...
33946         (rtld-LDFLAGS): This.
33947         (rtld-tests-LDFLAGS): New macro.
33948         (link-libc-rpath-link): Likewise.
33949         (link-libc-tests-rpath-link): Likewise.
33950         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33951         (link-libc): Prepand $(link-libc-rpath-link).
33952         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33953         (test-program-prefix): New macro.
33954         (test-via-rtld-prefix): Likewise.
33955         (test-program-cmd): Likewise.
33956         (host-test-program-cmd): Likewise.
33957         * Makefile ($(common-objpfx)testrun.sh): Replace
33958         $(run-program-prefix) with $(test-program-prefix).
33959         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33960         $(rtld-LDFLAGS).
33961         ($(common-objpfx)shlib.lds): Likewise.
33962         (build-module-helper): Likewise.
33963         ($(common-objpfx)format.lds): Likewise.
33964         * Rules (binaries-pie-tests): New.
33965         (binaries-pie-notests): Likewise.
33966         (binaries-pie): Rewritten.
33967         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33968         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33969         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33970         (make-test-out): Replace $(host-built-program-cmd) with
33971         $(host-test-program-cmd).
33972         * config.make.in (build-hardcoded-path-in-tests): New variable.
33973         * configure.in (--enable-hardcoded-path-in-tests): New configure
33974         option.
33975         (hardcoded_path_in_tests): New AC_SUBST.
33976         * configure: Regenerated.
33977         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33978         $(built-program-cmd) with $(test-program-cmd).
33979         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33980         (test_program_cmd): This.
33981         * elf/Makefile ($(objpfx)order.out): Run test with
33982         $(test-program-prefix).
33983         ($(objpfx)order2.out): Likewise.
33984         ($(objpfx)tst-initorder.out): Likewise.
33985         ($(objpfx)tst-initorder2.out): Likewise.
33986         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33987         $(test-program-cmd).
33988         ($(objpfx)tst-array1-static.out): Likewise.
33989         ($(objpfx)tst-array2.out): Likewise.
33990         ($(objpfx)tst-array3.out): Likewise.
33991         ($(objpfx)tst-array4.out): Likewise.
33992         ($(objpfx)tst-array5.out): Likewise.
33993         ($(objpfx)tst-array5-static.out): Likewise.
33994         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33995         $(test-program-cmd).
33996         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33997         $(run-program-prefix) with $(test-program-prefix).
33998         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33999         (test_program_prefix): This.
34000         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34001         $(run-program-prefix) with $(test-program-prefix).
34002         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34003         (test_program_prefix): This.
34004         * iconvdata/tst-tables.sh: Likewise.
34005         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34006         $(run-program-prefix) with $(test-program-prefix).
34007         ($(objpfx)tst-translit.out): Likewise.
34008         ($(objpfx)tst-gettext2.out): Likewise.
34009         ($(objpfx)tst-gettext4.out): Likewise.
34010         ($(objpfx)tst-gettext6.out): Likewise.
34011         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34012         (test_program_prefix): This.
34013         * intl/tst-gettext2.sh: Likewise.
34014         * intl/tst-gettext4.sh  Likewise.
34015         * intl/tst-gettext6.sh: Likewise.
34016         * intl/tst-translit.sh: Likewise.
34017         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34018         with $(test-program-cmd).
34019         * libio/Makefile ($(objpfx)test-freopen.out): Replace
34020         $(run-program-prefix) with $(test-program-prefix).
34021         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34022         (test_program_prefix): This.
34023         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34024         $(run-program-prefix) with $(test-program-prefix).
34025         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34026         (test_program_prefix): This.
34027         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34028         * posix/Makefile ($(objpfx)globtest.out): Replace
34029         $(run-via-rtld-prefix) and $(test-wrapper) with
34030         $(test-program-prefix) and $(test-via-rtld-prefix).
34031         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34032         $(test-program-prefix).
34033         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34034         $(host-test-program-cmd).
34035         (tst-spawn-ARGS): Likewise.
34036         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34037         $(test-program-prefix).
34038         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34039         (test_via_rtld_prefix): This.
34040         (test_wrapper): Renamed to ...
34041         (test_program_prefix): This.
34042         (run_program_prefix): Replaced by test_program_prefix.
34043         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34044         (test_program_prefix): This.
34045         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34046         with $(host-test-program-cmd).
34047         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34048         $(run-program-prefix) with $(test-program-prefix).
34049         ($(objpfx)tst-printf.out): Likewise.
34050         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34051         $(test-program-cmd).
34052         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34053         (test_program_prefix): This.
34054         * stdio-common/tst-unbputc.sh: Likewise.
34055         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34056         $(run-program-prefix) with $(test-program-prefix).
34057         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34058         (test_program_prefix): This.
34059         * string/Makefile ($(objpfx)tst-svc.out):  Replace
34060         $(built-program-cmd) with $(test-program-cmd).
34062 2013-01-11  Andreas Jaeger  <aj@suse.de>
34064         [BZ #15003]
34065         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34066         value. Sync with Linux 3.7.
34068 2013-01-10  David S. Miller  <davem@davemloft.net>
34070         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34071         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34072         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34074 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34076         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34077         never set.
34078         * configure: Regenerated.
34080 2013-01-10  David S. Miller  <davem@davemloft.net>
34082         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34083         sparc V9 rather than using V8 code.
34084         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34085         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34087 2013-01-10  Roland McGrath  <roland@hack.frob.com>
34089         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34090         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34091         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34092         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34093         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34094         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34095         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34096         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34097         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34098         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34099         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34100         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34101         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34102         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34103         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34104         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34105         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34106         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34107         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34108         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34109         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34110         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34111         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34112         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34113         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34114         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34115         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34117 2013-01-10  David S. Miller  <davem@davemloft.net>
34119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34121 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34123         * posix/Makefile (tests-static): New variable.
34124         (tests): Add $(tests-static).
34125         (tst-exec-static-ARGS): New variable.
34126         (tst-spawn-static-ARGS): Likewise.
34127         * posix/tst-exec-static.c: New file.
34128         * posix/tst-spawn-static.c: Likewise.
34129         * posix/tst-exec.c: Support run directly.
34130         * posix/tst-spawn.c: Likewise.
34132 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34134         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34135         long.
34136         * math/bits/mathcalls.h (llrint): Likewise.
34137         (llround): Likewise.
34138         * stdlib/stdlib.h (struct drand48_data): Likewise.
34139         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34140         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34141         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34142         Likewise.
34143         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34144         Likewise.
34145         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34146         (elf_greg_t): Likewise.
34147         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34148         (__jmp_buf): Likewise.
34149         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34150         definitions.
34151         (llrint): Likewise, for all definitions.
34152         (llrintl): Likewise.
34154         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34155         Remove [__GNUC__] condition.
34156         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34157         condition to just [__USE_ISOC99].
34158         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34160 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34162         [BZ #14200]
34163         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34164         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34165         defined.
34166         (_POSIX_V6_ILP32_OFF32): Likewise.
34167         (_XBS5_ILP32_OFF32): Likewise.
34168         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34169         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34171 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34173         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34175         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34176         doubles __mpexp_twomm1.  Adjust usage.
34177         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34178         Remove.
34180 2013-01-10  Andreas Schwab  <schwab@suse.de>
34182         [BZ #14964]
34183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34184         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34186 2013-01-09  David S. Miller  <davem@davemloft.net>
34188         [BZ #15003]
34189         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34190         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34191         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34192         (TCP_FASTOPEN): Define.
34193         (tcp_repair_opt): New structure.
34194         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34195         enum values.
34196         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34197         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34198         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34199         (tcp_cookie_transactions): New structure.
34201 2013-01-09  Anton Blanchard  <anton@samba.org>
34203         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34204         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34205         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34206         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34208 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34210         * include/features.h (__USE_ANSI): Remove.
34212 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34214         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34216         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34218 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34220         * sysdeps/s390/fpu/libm-test-ulps: Update.
34222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34224         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34225         (__acr): Likewise.
34226         (__cpy): Likewise.
34227         (norm): Likewise.
34228         (denorm): Likewise.
34229         (__mp_dbl): Likewise.
34230         (__dbl_mp): Likewise.
34231         (add_magnitudes): Likewise.
34232         (sub_magnitudes): Likewise.
34233         (__add): Likewise.
34234         (__sub): Likewise.
34235         (__mul): Likewise.
34236         (__inv): Likewise.
34237         (__dvd): Likewise.
34238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34239         (__acr): Likewise.
34240         (__cpy): Likewise.
34241         (norm): Likewise.
34242         (denorm): Likewise.
34243         (__mp_dbl): Likewise.
34244         (__dbl_mp): Likewise.
34245         (add_magnitudes): Likewise.
34246         (sub_magnitudes): Likewise.
34247         (__add): Likewise.
34248         (__sub): Likewise.
34249         (__mul): Likewise.
34250         (__inv): Likewise.
34251         (__dvd): Likewise.
34252         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34253         (__acr): Likewise.
34254         (__cpy): Likewise.
34255         (norm): Likewise.
34256         (denorm): Likewise.
34257         (__mp_dbl): Likewise.
34258         (__dbl_mp): Likewise.
34259         (add_magnitudes): Likewise.
34260         (sub_magnitudes): Likewise.
34261         (__add): Likewise.
34262         (__sub): Likewise.
34263         (__mul): Likewise.
34264         (__inv): Likewise.
34265         (__dvd): Likewise.
34267 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34269         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34270         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34271         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34272         2 && __USE_EXTERN_INLINES]: Likewise.
34274 2013-01-08  Andreas Jaeger  <aj@suse.de>
34276         [BZ# 14985]
34277         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34278         Remove.
34279         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34280         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34282 2013-01-07  Anton Blanchard  <anton@samba.org>
34284         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34285         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34286         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34287         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34288         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34289         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34290         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34291         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34292         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34293         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34294         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34295         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34296         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34297         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34298         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34299         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34300         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34301         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34302         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34303         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34304         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34305         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34307         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34308         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34309         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34310         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34311         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34313         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34314         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34316         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34317         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34318         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34319         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34320         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34321         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34322         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34323         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34324         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34325         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34326         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34328 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34330         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34331         (__MALLOC_PMT): Likewise.
34332         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34333         [__GNUC__], only on [_LIBC].
34334         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34335         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34336         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34337         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34338         forward declaration.
34339         (realloc_hook_ini): Likewise.
34340         (memalign_hook_ini): Likewise.
34341         (__libc_memalign): Do not use __MALLOC_PMT in variable
34342         declaration.
34343         (__libc_valloc): Likewise.
34344         (__libc_pvalloc): Likewise.
34345         (__libc_calloc): Likewise.
34346         (__posix_memalign): Likewise.
34348         [BZ #14996]
34349         * math/s_casinh.c: Include <float.h>.
34350         (__casinh): Do not do computation with squaring and square root
34351         for large arguments.
34352         * math/s_casinhf.c: Include <float.h>.
34353         (__casinhf): Do not do computation with squaring and square root
34354         for large arguments.
34355         * math/s_casinhl.c: Include <float.h>.
34356         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34357         (__casinhl): Do not do computation with squaring and square root
34358         for large arguments.
34359         * math/libm-test.inc (casin_test): Add more tests.
34360         (casinh_test): Likewise.
34361         * sysdeps/i386/fpu/libm-test-ulps: Update.
34362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34364 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34366         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34367         (__x86_64_raw_data_cache_size): Likewise.
34368         (__x86_64_data_cache_size_half): Likewise.
34369         (__x86_64_raw_data_cache_size_half): Likewise.
34370         (__x86_64_shared_cache_size): Likewise.
34371         (__x86_64_raw_shared_cache_size): Likewise.
34372         (__x86_64_shared_cache_size_half): Likewise.
34373         (__x86_64_raw_shared_cache_size_half): Likewise.
34374         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34375         to ...
34376         (__x86_data_cache_size): This.
34377         (__x86_64_raw_data_cache_size): Renamed to ...
34378         (__x86_raw_data_cache_size): This.
34379         (__x86_64_data_cache_size_half): Renamed to ...
34380         (__x86_data_cache_size_half): This.
34381         (__x86_64_raw_data_cache_size_half): Renamed to ...
34382         (__x86_raw_data_cache_size_half): This.
34383         (__x86_64_shared_cache_size): Renamed to ...
34384         (__x86_shared_cache_size): This.
34385         (__x86_64_raw_shared_cache_size): Renamed to ...
34386         (__x86_raw_shared_cache_size): This.
34387         (__x86_64_shared_cache_size_half): Renamed to ...
34388         (__x86_shared_cache_size_half): This.
34389         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34390         (__x86_raw_shared_cache_size_half): This.
34391         * sysdeps/x86_64/memcpy.S: Updated.
34392         * sysdeps/x86_64/memset.S: Likewise.
34393         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34394         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34395         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34397 2013-01-04  David S. Miller  <davem@davemloft.net>
34399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34401 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34403         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34404         1 to avoid redefinition warning.
34405         (__USE_GNU): Don't define.
34406         (init_signaling_nan): Protoize.
34408         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34410 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34412         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34413         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34414         (__cpymn): Likewise.
34415         (norm): Remove commented code.
34416         (denorm): Likewise.
34417         (__mp_dbl): Likewise.
34418         (__inv): Likewise.
34419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34420         (__cpymn): Likewise.
34421         (norm): Remove commented code.
34422         (denorm): Likewise.
34423         (__mp_dbl): Likewise.
34424         (__inv): Likewise.
34426         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34427         mp_no value for 1.0 and 2.0.
34428         (norm): Use RADIXI instead of radixi.d.
34429         (denorm): Likewise.
34430         (__mul): Use 0.0 instead of zero.d.
34431         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34432         mp_no value for 1.0 and 2.0.
34433         (norm): Use RADIXI instead of radixi.d.
34434         (denorm): Likewise.
34435         (__mul): Use 0.0 instead of zero.d.
34437 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34439         [BZ #14994]
34440         * math/s_casinh.c (__casinh): Reduce finite argument to first
34441         quadrant then set signs of results at the end.
34442         * math/s_casinhf.c (__casinhf): Likewise.
34443         * math/s_casinhl.c (__casinhl): Likewise.
34444         * math/libm-test.inc (casin_test): Add more tests.
34445         (casinh_test): Likewise.
34446         * sysdeps/i386/fpu/libm-test-ulps: Update.
34447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34449 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34451         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34453         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34455         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34456         declarations.
34457         (denorm): Likewise.
34458         (__mp_dbl): Likewise.
34459         (__inv): Likewise.
34461         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34462         and adjust the header comment.
34464         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34465         variable name from declaration.
34467 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34470         Initialize COMMON_CPUID_INDEX_7 element.
34471         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34472         (CPUID_RTM): Likewise.
34473         (HAS_RTM): Likewise.
34474         (COMMON_CPUID_INDEX_7): New enum.
34476 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34478         [BZ #14981]
34479         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34480         size is zero, record memory as freed.
34482 2013-01-03  Andreas Jaeger  <aj@suse.de>
34484         * po/ia.po: Add new Interlingua translation.
34486 2012-01-03  Allan McRae  <allan@archlinux.org>
34488         * locale/programs/localedef.c: Fix description of '--posix' flag.
34490 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34492         * NEWS: Update dates in second copyright notice.
34493         * README: Update copyright dates in example.
34494         * manual/libc.texinfo: Update copyright dates.
34495         * scripts/test-installation.pl: Update copyright date in --version
34496         output.
34498         * hurd/ctty-input.c: Fix copyright notice formatting.
34499         * hurd/ctty-output.c: Likewise.
34500         * hurd/dtable.c: Likewise.
34501         * hurd/hurd-raise.c: Likewise.
34502         * hurd/hurdprio.c: Likewise.
34503         * hurd/msgportdemux.c: Likewise.
34504         * misc/sys/file.h: Likewise.
34505         * misc/sys/ioctl.h: Likewise.
34506         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34507         * sysdeps/mach/hurd/chdir.c: Likewise.
34508         * sysdeps/mach/hurd/fchdir.c: Likewise.
34509         * sysdeps/mach/hurd/rename.c: Likewise.
34510         * sysdeps/mach/hurd/rmdir.c: Likewise.
34511         * sysdeps/mach/hurd/seekdir.c: Likewise.
34512         * sysdeps/mach/hurd/setsid.c: Likewise.
34513         * sysdeps/posix/wait3.c: Likewise.
34515         * All files with FSF copyright notices: Update copyright dates
34516         using scripts/update-copyrights.
34517         * intl/plural.c: Regenerated.
34518         * locale/programs/charmap-kw.h: Likewise.
34519         * locale/programs/locfile-kw.h: Likewise.
34521 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34523         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34524         four values.
34526         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34527         calculation loop and add branch prediction.
34529         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34530         check access beyond bounds of m1np.
34532         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34533         MPTWO.
34534         (__inv): Remove local variable MPTWO to use the global
34535         constant.
34536         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34537         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34538         variable MPTWO.
34539         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34540         MP3HALFS static const.
34542 2013-01-01  David S. Miller  <davem@davemloft.net>
34544         * po/ca.po: Update from translation team.
34546 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34548         * scripts/update-copyrights: New file.
34549         * Makeconfig: Reformat copyright notice.
34550         * ctype/ctype.h: Likewise.
34551         * debug/swprintf_chk.c: Likewise.
34552         * elf/dl-cache.c: Likewise.
34553         * elf/dl-debug.c: Likewise.
34554         * elf/dl-object.c: Likewise.
34555         * grp/initgroups.c: Likewise.
34556         * hurd/Makefile: Likewise.
34557         * hurd/hurd/signal.h: Likewise.
34558         * hurd/hurdfault.c: Likewise.
34559         * hurd/hurdioctl.c: Likewise.
34560         * hurd/hurdlookup.c: Likewise.
34561         * hurd/intr-msg.c: Likewise.
34562         * iconv/gconv_open.c: Likewise.
34563         * libio/swprintf.c: Likewise.
34564         * locale/lc-ctype.c: Likewise.
34565         * locale/nl_langinfo.c: Likewise.
34566         * mach/Machrules: Likewise.
34567         * mach/Makefile: Likewise.
34568         * malloc/obstack.h: Likewise.
34569         * manual/Makefile: Likewise.
34570         * manual/tsort.awk: Likewise.
34571         * misc/bits/stab.def: Likewise.
34572         * nis/nis_print_group_entry.c: Likewise.
34573         * nis/nis_table.c: Likewise.
34574         * nis/nss_compat/compat-pwd.c: Likewise.
34575         * nis/nss_compat/compat-spwd.c: Likewise.
34576         * po/Makefile: Likewise.
34577         * posix/fnmatch.c: Likewise.
34578         * posix/regex.h: Likewise.
34579         * resolv/Makefile: Likewise.
34580         * resolv/nss_dns/dns-network.c: Likewise.
34581         * resolv/res_hconf.c: Likewise.
34582         * scripts/gen-sorted.awk: Likewise.
34583         * soft-fp/soft-fp.h: Likewise.
34584         * stdio-common/printf.h: Likewise.
34585         * stdlib/monetary.h: Likewise.
34586         * stdlib/random.c: Likewise.
34587         * stdlib/random_r.c: Likewise.
34588         * sysdeps/generic/Makefile: Likewise.
34589         * sysdeps/gnu/Makefile: Likewise.
34590         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34591         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34592         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34593         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34594         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34596         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34597         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34598         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34599         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34600         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34601         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34602         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34603         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34604         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34605         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34606         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34607         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34608         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34609         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34610         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34611         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34612         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34613         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34614         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34615         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34616         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34618         * sysdeps/mach/hurd/errnos.awk: Likewise.
34619         * sysdeps/mach/hurd/fork.c: Likewise.
34620         * sysdeps/mach/hurd/getcwd.c: Likewise.
34621         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34622         * sysdeps/mach/hurd/mmap.c: Likewise.
34623         * sysdeps/mach/hurd/utimes.c: Likewise.
34624         * sysdeps/mach/hurd/xmknod.c: Likewise.
34625         * sysdeps/posix/profil.c: Likewise.
34626         * sysdeps/posix/readdir_r.c: Likewise.
34627         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34628         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34629         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34630         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34632         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34633         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34634         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34636         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34637         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34638         * sysdeps/pthread/lio_listio.c: Likewise.
34639         * sysdeps/sparc/dl-procinfo.h: Likewise.
34640         * sysdeps/unix/i386/sysdep.S: Likewise.
34641         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34642         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34643         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34644         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34646         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34647         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34648         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34649         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34650         * sysdeps/wordsize-32/divdi3.c: Likewise.
34651         * time/sys/time.h: Likewise.
34652         * wcsmbs/Makefile: Likewise.
34654 2013-01-01  David S. Miller  <davem@davemloft.net>
34656         * po/fr.po: Update from translation team.
34658         * catgets/gencat.c: Update copyright year.
34659         * csu/version.c: Likewise.
34660         * debug/catchsegv.sh: Likewise.
34661         * debug/pcprofiledump.c: Likewise.
34662         * debug/xtrace.sh: Likewise.
34663         * elf/ldconfig.c: Likewise.
34664         * elf/ldd.bash.in: Likewise.
34665         * elf/pldd.c: Likewise.
34666         * elf/sotruss.ksh: Likewise.
34667         * elf/sprof.c: Likewise.
34668         * iconv/iconv_prog.c: Likewise.
34669         * iconv/iconvconfig.c: Likewise.
34670         * locale/programs/locale.c: Likewise.
34671         * locale/programs/localedef.c: Likewise.
34672         * login/programs/pt_chown.c: Likewise.
34673         * malloc/memusage.sh: Likewise.
34674         * malloc/memusagestat.c: Likewise.
34675         * malloc/mtrace.pl: Likewise.
34676         * nscd/nscd.c: Likewise.
34677         * nss/getent.c: Likewise.
34678         * nss/makedb.c: Likewise.
34679         * posix/getconf.c: Likewise.
34681 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34683         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34684         numbers.
34686 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34688         * math/bits/mathcalls.h (modf): Use __nonnull.
34690 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34692         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34693         (split): Use macro CN instead of the bare value.
34694         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34695         could be used.
34696         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34697         instead of the bare value.
34698         (power1): Likewise.
34700 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34703         __ATAN_TWOM.
34704         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34706         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34707         their values.
34708         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34709         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34710         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34711         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34713 2012-12-28  Andreas Jaeger  <aj@suse.de>
34715         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34716         values are from Linux 3.7.
34718         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34719         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34721 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34723         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34724         TRUE case.
34726         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34727         (norm): Likewise.
34728         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34729         variables with preprocessor constants.
34730         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34731         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34732         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34734 2012-12-27  Bruno Haible  <bruno@clisp.org>
34736         [BZ #14317]
34737         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34738         only if needed.
34740 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34743         and use variable directly.
34744         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34746         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34747         MPONE.
34748         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34749         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34750         variable MPONE.
34751         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34752         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34753         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34754         include directive.  Remove local variable MPONE.
34755         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34756         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34757         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34759 2012-12-25  David S. Miller  <davem@davemloft.net>
34761         * version.h (RELEASE): Set to "development".
34762         (VERSION): Set to "2.17.90".
34763         * NEWS: Add 2.18 section.
34765 2012-12-21  David S. Miller  <davem@davemloft.net>
34767         * po/hr.po: Update from translation team.
34769 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34771         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34773 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34775         * NEWS:  Mention new memcpy for MIPS.
34777 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34779         * manual/contrib.texi (Contributors): Spelling correction.
34781 2012-12-15  David S. Miller  <davem@davemloft.net>
34783         * po/ru.po: Update from translation team.
34785 2012-12-13  David S. Miller  <davem@davemloft.net>
34787         * NEWS: Mention IFUNC testsuite enhancements.
34789         * po/pl.po: Update from translation team.
34790         * po/bg.po: Likewise.
34792         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34793         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34795 2012-12-11  David S. Miller  <davem@davemloft.net>
34797         * po/sv.po: Update from translation team.
34799         * po/vi.po: Update from translation team.
34801         * po/cs.po: Update from translation team.
34803         * po/de.po: Update from translation team.
34804         * po/eo.po: Likewise.
34805         * po/nl.po: Likewise.
34807 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34809         [BZ #14246]
34810         * manual/argp.texi (Argp Helper Functions): Move node to follow
34811         Argp Parsing State.
34813         [BZ #14872]
34814         * manual/conf.texi (Limits on File System Capacity): Mention if
34815         terminating null is included in the max size.
34817 2012-12-10  Andreas Jaeger  <aj@suse.de>
34819         * po/cs.po: Update from translation team.
34821 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34823         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34824         void pointer and cast to uintptr_t.
34825         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34826         path.
34827         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34828         * sysdeps/s390/s390-64/memset.S: Likewise.
34830 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34832         [BZ #14833]
34833         * menual/message.texi (Message Translation): Fix typos.
34834         (Helper programs for gettext): Likewise.
34836 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34838         [BZ #14898]
34839         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34840         Change to -1.
34842 2012-12-07  David S. Miller  <davem@davemloft.net>
34844         * po/libc.pot: Update.
34846 2012-12-07  Richard Henderson  <rth@redhat.com>
34848         [BZ #10114]
34849         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34850         normal/normal case to before the switch.
34851         (_FP_DIV): Likewise.
34853 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34854             Mike Frysinger  <vapier@gentoo.org>
34856         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34857         check for __NR_fadvise64_64.
34859 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34861         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34862         0, not just to plain "0" as a statement.
34863         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34864         with cw.
34866 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34868         * NEWS: Use sourceware.org in Bugzilla URL.
34870 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34873         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34875         * stdio-common/tst-put-error.c (do_test): Add newline to the
34876         padded test to ensure flush.
34878 2012-12-05  Jeff Law  <law@redhat.com>
34880         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34882 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34884         * README: Don't refer to ports add-on as distributed separately.
34885         Mention AArch64 in list of systems supported in the ports add-on.
34887         * LICENSES: Add more non-FSF copyright and license notices.
34889         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34890         ((unused)).
34892         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34894         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34895         10000 as width of padded output.
34897 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34899         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34901         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34902         variable LX with __attribute__ ((unused)).
34903         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34904         Likewise.
34905         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34908         with __attribute__ ((unused)).
34910 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34912         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34914 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34916         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34917         (CFLAGS-nldbl-acos.c): New variable.
34918         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34919         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34920         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34921         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34922         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34923         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34924         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34925         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34926         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34927         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34928         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34929         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34930         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34931         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34932         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34933         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34934         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34935         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34936         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34937         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34938         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34939         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34940         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34941         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34942         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34943         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34944         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34945         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34946         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34947         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34948         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34949         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34950         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34951         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34952         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34953         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34954         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34955         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34956         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34957         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34958         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34959         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34960         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34961         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34962         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34963         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34964         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34965         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34966         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34967         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34968         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34969         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34970         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34971         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34972         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34973         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34974         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34975         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34976         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34977         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34978         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34979         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34980         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34981         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34982         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34983         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34984         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34985         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34986         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34987         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34988         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34989         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34990         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34991         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34992         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34993         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34994         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34995         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34996         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34997         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34998         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34999         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35000         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35001         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35002         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35003         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35004         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35005         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35006         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35007         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35008         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35009         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35010         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35011         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35012         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35013         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35014         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35017         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35019         [BZ #14914]
35020         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35021         whole low double instead of just low 47 bits when splitting values
35022         into two parts.
35024 2012-12-03  Allan McRae  <allan@archlinux.org>
35026         * manual/stdio.texi (Predefined Printf Handlers): Remove
35027         @hsep and @vsep usage.
35029 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
35031         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35032         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35034 2012-12-03  Jeff Law  <law@redhat.com>
35036         * time/sys/time.h (settimeofday): Do not mark TV argument
35037         as __nonnull.
35039 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
35041         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35042         when currently writing and seek to current position when not.
35043         * libio/Makefile (tests): Remove bug-fclose1.
35044         * libio/bug-fclose1.c: Delete.
35046 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
35048         * manual/arith.texi (feenableexcept): Fix typo.
35049         (fedisableexcept): Likewise.
35051 2012-11-30  Roland McGrath  <roland@hack.frob.com>
35053         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35054         second, differently-typed declaration, rather than a cast.
35056 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35058         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35059         * include/rpc/svc.h: ... here.
35061 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
35063         [BZ #13013]
35064         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35065         depending n and resplen2 to catch cases where answer
35066         equals answerp2.
35068 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
35070         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35071         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35073 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
35075         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35077 2012-11-29  Roland McGrath  <roland@hack.frob.com>
35079         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35081 2012-11-28  Jeff Law  <law@redhat.com>
35083         [BZ #13761]
35084         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35085         dataset_temporary.  Track alloca usage into alloca_used.
35086         If dataset is large allocate and release it via malloc/free.
35088 2012-06-04  Florian Weimer  <fweimer@redhat.com>
35090         [BZ #14197]
35091         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35093 2012-11-28  David S. Miller  <davem@davemloft.net>
35095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35097 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35099         [BZ #14803]
35100         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35101         of pi/2 rounded to nearest to 64 bits.
35102         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35103         nearest to 64 bits.
35104         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35105         bits.
35107 2012-11-28  Jeff Law <law@redhat.com>
35108             Martin Osvald <mosvald@redhat.com>
35110         [BZ #14889]
35111         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35112         * sunrpc/svc.c: Include time.h.
35113         (__svc_accept_failed): New function.
35114         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35115         any reason other than EINTR, call __svc_accept_failed.
35116         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35117         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35119 2012-11-28  Andreas Schwab  <schwab@suse.de>
35121         * scripts/abilist.awk: Also handle indirect functions in .opd
35122         section.
35124 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
35126         [BZ #13881]
35127         * sysdeps/x86/fpu/powl_helper.c: New file.
35128         * sysdeps/x86/fpu/Makefile: Likewise.
35129         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35130         (p3): New object.
35131         (__ieee754_powl): Use __powl_helper for finite arguments except
35132         integer exponents below 8.
35133         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35134         (p3): New object.
35135         (__ieee754_powl): Use __powl_helper for finite arguments except
35136         integer exponents below 8.
35137         * math/libm-test.inc (pow_test): Add more tests and enable some
35138         previously disabled tests.
35139         * sysdeps/i386/fpu/libm-test-ulps: Update.
35140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35142 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35143             Carlos O'Donell  <carlos_odonell@mentor.com>
35145         * nss/makedb.c (is_prime): Assert that input is odd and greater
35146         than 4.  Note that fact in a comment too.
35147         (next_prime): Add 4 to input.
35149 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35151         [BZ #11741]
35152         * libio/Makefile (tests): Add test case tst-fwrite-error.
35153         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35154         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35155         * libio/tst-fwrite-error.c: New test case.
35157 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35159         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35160         before casting to void *.
35161         * include/libc-internal.h (__pointer_type): New macro.
35162         (__integer_if_pointer_type_sub): Likewise.
35163         (__integer_if_pointer_type): Likewise.
35164         (cast_to_integer): Likewise.
35165         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35166         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35167         before casting to atomic64_t.
35168         (atomic_exchange_acq): Likewise.
35169         (__arch_exchange_and_add_body): Likewise.
35170         (__arch_add_body): Likewise.
35171         (atomic_add_negative): Likewise.
35172         (atomic_add_zero): Likewise.
35174 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35176         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35177         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35178         (add_fdes): Likewise.
35179         (linear_search_fdes): Likewise.
35180         (binary_search_unencoded_fdes): Likewise.
35182 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35184         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35186 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35188         * configure.in: Autodetect C++ header directories.
35189         * configure: Regenerated.
35191 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35193         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35195 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35197         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35199 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35201         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35202         LDBL_MANT_DIG == 106]: Disable some tests.
35203         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35204         Likewise.
35205         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35206         Likewise.
35208         [BZ #14871]
35209         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35210         input for small inputs.  Return +/- pi/2 for large inputs.
35211         * math/libm-test.inc (atan_test): Add more tests.
35213         * sysdeps/generic/unwind-dw2-fde-glibc.c
35214         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35215         __attribute__ ((unused)).
35217         [BZ #14645]
35218         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35219         x * y if x and y are nonzero and z is zero.
35221         [BZ #14811]
35222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35223         nonzero exponents with absolute value below 0x1p-117 to +/-
35224         0x1p-117.
35226         [BZ #14869]
35227         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35228         up arguments below 2**-450, not just those below 2**-500.
35229         * math/libm-test.inc (hypot_test): Add another test.
35231         [BZ #14868]
35232         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35233         Return a+b for ratio over 2**120, not 2**60.
35234         * math/libm-test.inc (hypot_test): Add another test.
35236         * math/libm-test.inc (clog_test): Use
35237         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35238         (clog10_test): Likewise.
35240         [BZ #6778]
35241         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35243 2012-11-22  Andreas Schwab  <schwab@suse.de>
35245         * sysdeps/i386/fpu/libm-test-ulps: Update.
35247 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35249         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35250         printf output with newline.
35252 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35254         [BZ #14865]
35255         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35256         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35257         -z nodlopen, -z initfirst and -z execstack support.
35258         * configure: Regenerated.
35260         * elf/elf.h (DF_1_NODIRECT): New macro.
35261         (DF_1_IGNMULDEF): Likewise.
35262         (DF_1_NOKSYMS): Likewise.
35263         (DF_1_NOHDR): Likewise.
35264         (DF_1_EDITED): Likewise.
35265         (DF_1_NORELOC): Likewise.
35266         (DF_1_SYMINTPOSE): Likewise.
35267         (DF_1_GLOBAUDIT): Likewise.
35268         (DF_1_SINGLETON): Likewise.
35269         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35270         DT_1_SUPPORTED_MASK bits.
35271         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35273 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35275         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35277 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35279         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35280         macro.
35282         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35283         (sendmmsg): Move declarations...
35284         * socket/sys/socket.h: ... here.
35285         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35286         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35287         include it from...
35288         * socket/recvmmsg.c: ... this new file.
35289         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35290         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35291         definition of __sendmmsg hidden.
35292         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35293         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35294         Move ENOSYS stub into and include it from...
35295         * socket/sendmmsg.c: ... this new file.
35296         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35297         (sysdep_routines): Move recvmmsg and sendmmsg...
35298         * socket/Makefile (routines): ... here.
35299         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35300         (GLIBC_PRIVATE): Add __sendmmsg.
35301         * include/sys/socket.h (__sendmmsg): Add declarations.
35302         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35303         sendmmsg.
35305 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35307         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35308         variable I1 with __attribute__ ((unused)).
35309         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35311 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35313         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35314         DUMMY variables with __attribute__ ((unused)).
35316         * bits/byteswap.h: Include <bits/types.h>.
35317         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35319 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35321         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35322         string_t.  Do not manually set errno.
35323         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35324         length with __strnlen.  Make sure to both set errno and return it on
35325         failure.
35327 2012-11-19  David S. Miller  <davem@davemloft.net>
35329         With help from Joseph Myers.
35330         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35331         very large arguments properly.
35332         * math/libm-test.inc (atan_test): New tests.
35333         (atan2_test): New tests.
35334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35337 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35339         [BZ #14856]
35340         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35341         Define to 3.
35343         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35344         [POSIX] (EADDRNOTAVAIL): Likewise.
35345         [POSIX] (EAFNOSUPPORT): Likewise.
35346         [POSIX] (EALREADY): Likewise.
35347         [POSIX] (ECONNABORTED): Likewise.
35348         [POSIX] (ECONNREFUSED): Likewise.
35349         [POSIX] (ECONNRESET): Likewise.
35350         [POSIX] (EDESTADDRREQ): Likewise.
35351         [POSIX] (EDQUOT): Likewise.
35352         [POSIX] (EHOSTUNREACH): Likewise.
35353         [POSIX] (EIDRM): Likewise.
35354         [POSIX] (EISCONN): Likewise.
35355         [POSIX] (ELOOP): Likewise.
35356         [POSIX] (EMULTIHOP): Likewise.
35357         [POSIX] (ENETDOWN): Likewise.
35358         [POSIX] (ENETUNREACH): Likewise.
35359         [POSIX] (ENOBUFS): Likewise.
35360         [POSIX] (ENODATA): Likewise.
35361         [POSIX] (ENOLINK): Likewise.
35362         [POSIX] (ENOMSG): Likewise.
35363         [POSIX] (ENOPROTOOPT): Likewise.
35364         [POSIX] (ENOSR): Likewise.
35365         [POSIX] (ENOSTR): Likewise.
35366         [POSIX] (ENOTCONN): Likewise.
35367         [POSIX] (ENOTSOCK): Likewise.
35368         [POSIX] (EOPNOTSUPP): Likewise.
35369         [POSIX] (EOVERFLOW): Likewise.
35370         [POSIX] (EPROTO): Likewise.
35371         [POSIX] (EPROTONOSUPPORT): Likewise.
35372         [POSIX] (EPROTOTYPE): Likewise.
35373         [POSIX] (ESTALE): Likewise.
35374         [POSIX] (ETIME): Likewise.
35375         [POSIX] (ETXTBSY): Likewise.
35376         [POSIX] (EWOULDBLOCK): Likewise.
35377         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35378         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35379         [POSIX] (SEEK_CUR): Likewise.
35380         [POSIX] (SEEK_END): Likewise.
35381         [POSIX || UNIX98] (mode_t): Do not require.
35382         [POSIX] (off_t): Likewise.
35383         [POSIX] (pid_t): Likewise.
35384         [POSIX] (sys/stat.h): Do not allow header.
35385         [POSIX] (unistd.h): Likewise.
35386         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35387         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35388         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35389         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35390         require.
35391         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35392         sigevent): Specify elements.
35393         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35394         entry.
35395         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35396         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35398         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35399         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35400         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35401         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35402         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35403         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35404         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35405         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35406         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35407         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35408         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35409         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35410         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35411         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35412         Likewise.
35413         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35414         Likewise.
35415         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35416         Likewise.
35417         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35418         Likewise.
35419         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35420         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35421         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35422         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35423         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35424         Specify lower bound on value.
35425         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35426         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35427         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35428         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35429         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35430         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35431         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35432         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35433         value.
35434         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35435         as optional.
35436         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35437         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35438         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35439         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35440         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35441         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35442         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35443         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35444         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35445         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35446         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35447         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35448         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35449         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35450         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35451         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35452         entry.
35453         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35454         optional.
35455         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35456         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35457         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35458         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35459         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35460         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35461         Likewise.
35462         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35463         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35464         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35465         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35466         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35467         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35468         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35469         as optional.
35470         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35471         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35472         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35473         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35474         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35475         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35476         specify as optional.
35477         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35478         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35479         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35480         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35481         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35482         [XPG3] (NL_LANGMAX): Likewise.
35483         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35484         [POSIX || XPG3] (NL_NMAX): Likewise.
35485         [POSIX || XPG3] (NL_SETMAX): Likewise.
35486         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35487         [XPG3] (NZERO): Likewise.
35488         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35489         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35490         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35491         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35492         (REG_ERANGE): Expect.
35493         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35494         optional-constant.
35495         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35496         Use (void) in prototype.
35497         [POSIX] (*_t): Allow.
35498         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35499         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35500         (WRDE_BADVAL): Expect.
35502         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35503         expect.
35504         [XPG3 || XPG4] (O_RSYNC): Likewise.
35505         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35506         Likewise.
35507         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35508         [XPG3 || XPG4] (sigqueue): Likewise.
35509         [XPG3 || XPG4] (sigtimedwait): Likewise.
35510         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35511         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35512         [XPG3 || XPG4] (vsnprintf): Likewise.
35513         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35514         Likewise.
35515         [XPG3 || XPG4] (blksize_t): Likewise.
35516         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35517         Likewise.
35518         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35519         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35520         [XPG3 || XPG4] (struct itimerspec): Likewise.
35521         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35522         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35523         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35524         [XPG3 || XPG4] (clockid_t): Likewise.
35525         [XPG3 || XPG4] (timer_t): Likewise.
35526         [XPG3 || XPG4] (clock_getres): Likewise.
35527         [XPG3 || XPG4] (clock_gettime): Likewise.
35528         [XPG3 || XPG4] (clock_settime): Likewise.
35529         [XPG3 || XPG4] (nanosleep): Likewise.
35530         [XPG3 || XPG4] (timer_create): Likewise.
35531         [XPG3 || XPG4] (timer_delete): Likewise.
35532         [XPG3 || XPG4] (timer_gettime): Likewise.
35533         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35534         [XPG3 || XPG4] (timer_settime): Likewise.
35535         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35536         [XPG3 || XPG4] (getlogin_r): Likewise.
35537         [XPG3 || XPG4] (pread): Likewise.
35538         [XPG3 || XPG4] (pthread_atfork): Likewise.
35539         [XPG3 || XPG4] (pwrite): Likewise.
35541         [BZ #14835]
35542         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35543         <bits/siginfo.h>.
35545 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35547         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35548         finalizing MALLSTREAM.
35550         * sysdeps/mach/hurd/syncfs.c: New file.
35552 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35554         [BZ #14719]
35555         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35556         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35557         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35558         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35559         (_nss_dns_gethostbyname4_r): Likewise.
35560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35561         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35563 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35565         [BZ #13763]
35566         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35568 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35570         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35571         * elf/cache.c (print_entry): Print ",AArch64" for
35572         FLAG_AARCH64_LIB64
35574         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35575         * elf/cache.c (print_entry): Print ",hard-float" for
35576         FLAG_ARM_LIBHF.
35578 2012-11-18  David S. Miller  <davem@davemloft.net>
35580         With help from Joseph Myers.
35581         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35582         cutoff to 2**-13.
35583         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35584         cutoff to 2**-25.
35585         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35586         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35587         small.
35588         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35589         * math/libm-test.inc (y0_test): New tests.
35590         (y1_test): New tests.
35591         * sysdeps/i386/fpu/libm-test-ulps: Update.
35592         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35595 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35597         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35598         64-bit targets.
35599         * configure: Regenerated.
35601 2012-11-17  David S. Miller  <davem@davemloft.net>
35603         [BZ #14811]
35604         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35605         nonzero exponents with absolute value below 0x1p-128 to +/-
35606         0x1p-128.
35608 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35610         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35612         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35614         * posix/getconf-speclist.c: New file.
35615         * posix/posix-envs.def: Likewise.
35616         * posix/confstr.c (START_ENV_GROUP): New macro.
35617         (END_ENV_GROUP): Likewise.
35618         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35619         (KNOWN_PRESENT_ENV_STRING): Likewise.
35620         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35621         (UNKNOWN_ENVIRONMENT): Likewise.
35622         (confstr): Include posix-envs.def instead of handling
35623         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35624         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35625         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35626         (END_ENV_GROUP): Likewise.
35627         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35628         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35629         (UNKNOWN_ENVIRONMENT): Likewise.
35630         (__sysconf): Include posix-envs.def instead of handling associated
35631         cases directly here.
35632         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35633         preprocessing getconf-speclist.c rather than running getconf or
35634         generating empty file.
35636 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35638         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35640 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35642         [BZ #14672]
35643         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35645 2012-11-16  David S. Miller  <davem@davemloft.net>
35647         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35648         smaller than LDBL_EPSILON/2.0L, just return xm1.
35650 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35652         * elf/tst-array1.c (init): Set constructor priority to 1000.
35653         (fini): Set destructor priority to 1000.
35654         * elf/tst-array2dep.c: Likewise.
35656 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35658         [BZ #11741]
35659         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35660         (_IO_new_file_xsputn): Also return EOF if none of the input
35661         data was written when overflow failed.
35662         * libio/iopadn.c (_IO_padn): Likewise.
35663         * libio/iowpadn.c (_IO_wpadn): Likewise.
35664         * stdio-common/tst-put-error.c: Add copyright notice.
35665         (do_test): Add case for printing padded string.
35666         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35667         _IO_padn returned error.
35668         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35669         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35670         return EOF.
35672 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35674         * libio/libioP.h: Add comment note that the references to C++
35675         bits are now obsolete.
35677 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35679         * math/libm-test.inc (check_complex): Use asprintf.
35681 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35683         * debug/pcprofiledump.c (print_version): Update copyright year.
35684         * malloc/memusagestat.c (print_version): Likewise.
35686 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35688         [BZ #14831]
35689         * elf/Makefile (tests): Add tst-audit8.
35690         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35691         ($(objpfx)tst-audit8.out): New target.
35692         (tst-audit8-ENV): New variable.
35693         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35694         audit if l_reloc_result is NULL.
35695         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35696         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35697         * elf/tst-audit8.c: New file.
35699 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35701         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35702         * misc/Makefile (CFLAGS-select.c): Define.
35703         * posix/Makefile (CFLAGS-pause.c): Define.
35705 2012-11-13  David S. Miller  <davem@davemloft.net>
35707         * crypt/Makefile: Move test targets after toplevel Rules
35708         inclusion.  Grab any necessary sysdep routines when linking.
35709         * crypt/md5.c (md5_process_block): Remove define, we will always
35710         name it __md5_process_block.
35711         (md5_finish_ctx): Update md5_process_block call.
35712         (md5_stream): Likewise.
35713         (md5_process_bytes): Likewise.
35714         (md5_process_block): Rename to __md5_process_block and move to ...
35715         * crypt/md5-block.c: ... here.
35716         * crypt/sha256.c (sha256_process_block): Move to ...
35717         * crypt/sha256-block.c: ... here.
35718         * crypt/sha512.c (sha512_process_block): Move to ...
35719         * crypt/sha512-block.c: ... here.
35720         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35721         path.
35722         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35723         * sysdeps/sparc/sparc64/multiarch/Makefile
35724         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35725         crypt subdir.
35726         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35727         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35728         multiarch changes.
35729         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35730         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35731         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35732         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35733         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35734         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35735         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35736         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35737         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35738         file.
35739         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35740         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35741         file.
35742         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35744 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35746         * timezone/tzselect.ksh: Update from tzcode git revision
35747         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35748         * timezone/zdump.c: Likewise.
35749         * timezone/zic.c: Likewise.
35750         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35751         in TZVERSION setting, not $(PKGVERSION).
35752         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35753         REPORT_BUGS_TO settings.
35755         [BZ #14838]
35756         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35757         macro.
35759 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35761         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35762         detection to immediately after _FP_ROUND().
35763         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35764         bits are 0.
35766 2012-11-11  David S. Miller  <davem@davemloft.net>
35768         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35769         inttypes.h
35770         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35771         __close rather than their public counterparts.
35773 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35775         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35776         file.
35777         [UNIX98] (sem_timedwait): Do not expect.
35778         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35779         [XPG4 || UNIX98] (sockatmark): Do not expect.
35780         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35781         (clock_getcpuclockid): Do not expect.
35782         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35783         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35784         Do not expect.
35785         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35786         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35787         [UNIX98] (vwscanf): Likewise.
35788         [UNIX98] (vswscanf): Likewise.
35790 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35792         * timezone/version.h: Remove file.
35793         * timezone/README: Do not refer to version.h.
35794         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35795         $(objpfx)version.h.
35796         ($(objpfx)zdump.o): Likewise.
35797         ($(objpfx)version.h): New target.
35799         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35800         2012i.
35801         * timezone/README: Don't mention modification to tzselect.ksh.
35802         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35803         work on unmodified tzselect.ksh.  Substitute version numbers in
35804         tzselect.ksh.
35806         * Makefile (format-me): Remove.
35807         (INSTALL): Adjust indentation.  Use commands directly instead of
35808         using $(format-me).
35810         * aclocal.m4 (ACX_PKGVERSION): New macro.
35811         (ACX_BUGURL): Likewise.
35812         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35813         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35814         (REPORT_BUGS_TO): Likewise.
35815         * configure: Regenerated.
35816         * config.h.in (PKGVERSION): New macro.
35817         (REPORT_BUGS_TO): Likewise.
35818         * config.make.in (PKGVERSION): New variable.
35819         (PKGVERSION_TEXI): Likewise.
35820         (REPORT_BUGS_TO): Likewise.
35821         (REPORT_BUGS_TEXI): Likewise.
35822         * Makefile (format-me): Use -I$(common-objpfx)manual.
35823         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35824         ($(common-objpfx)manual/%): New target.
35825         (manual/%): Remove target.
35826         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35827         (print_version): Use PKGVERSION.
35828         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35829         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35830         and REPORT_BUGS_TO.
35831         ($(objpfx)xtrace): Likewise.
35832         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35833         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35834         (print_version): Use PKGVERSION.
35835         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35836         (do_version): Use PKGVERSION.
35837         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35838         REPORT_BUGS_TO.
35839         (common-ldd-rewrite): Likewise.
35840         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35841         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35842         (print_version): Use PKGVERSION.
35843         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35844         * elf/pldd.c (argp_program_bug_address): Remove variable.
35845         (more_help): New function.
35846         (argp): Use more_help.
35847         (print_version): Use PKGVERSION.
35848         * elf/sln.c (main): Use PKGVERSION.
35849         (usage): Use REPORT_BUGS_TO.
35850         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35851         (top level): Use PKGVERSION.
35852         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35853         (print_version): Use PKGVERSION.
35854         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35855         (print_version): Use PKGVERSION.
35856         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35857         (print_version): Use PKGVERSION.
35858         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35859         (print_version): Use PKGVERSION.
35860         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35861         (print_version): Use PKGVERSION.
35862         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35863         (print_version): Use PKGVERSION.
35864         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35865         and BUGURL.
35866         ($(objpfx)memusage): Likewise.
35867         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35868         (do_version): Use PKGVERSION.
35869         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35870         (print_version): Use PKGVERSION.
35871         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35872         ($PKGVERSION): New variable.
35873         ($REPORT_BUGS_TO): Likewise.
35874         (usage): Use $REPORT_BUGS_TO.
35875         (top level): Use $PKGVERSION.
35876         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35877         ($(objpfx)pkgvers.texi): New rule.
35878         ($(objpfx)stamp-pkgvers): Likewise.
35879         * manual/install.texi: Include pkgvers.texi.
35880         (--with-pkgversion): Document new configure option.
35881         (--with-bugurl): Likewise.
35882         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35883         than necessarily for this particular distribution.  Use
35884         REPORT_BUGS_TO for where to report bugs.
35885         * INSTALL: Regenerated.
35886         * manual/libc.texinfo: Include pkgvers.texi.
35887         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35888         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35889         (print_version): Use PKGVERSION.
35890         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35891         (print_version): Use PKGVERSION.
35892         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35893         (print_version): Use PKGVERSION.
35894         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35895         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35896         macro.
35897         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35898         (print_version): Use PKGVERSION.
35899         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35900         (print_version): Use PKGVERSION.
35901         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35902         and PKGVERSION.
35904         * timezone/checktab.awk: Update from tzcode 2012i.
35905         * timezone/ialloc.c: Likewise.
35906         * timezone/private.h: Likewise.
35907         * timezone/scheck.c: Likewise.
35908         * timezone/tzfile.h: Likewise.
35909         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35910         (TZVERSION): Hardcode tzcode version number.
35911         * timezone/zdump.c: Update from tzcode 2012i.
35912         * timezone/zic.c: Likewise.
35913         * timezone/version.h: New file.
35914         * timezone/README: Describe version.h.  Update upstream location.
35916         [BZ #14824]
35917         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35918         (mktemp): Enable declaration.
35919         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35921         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35923         Likewise.
35924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35925         Likewise.
35926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35927         Likewise.
35928         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35929         Likewise.
35930         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35931         Likewise.
35932         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35933         Likewise.
35935         [BZ #14821]
35936         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35937         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35938         for copies of such integer values.
35939         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35940         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35942 2012-11-09  Andreas Jaeger  <aj@suse.de>
35944         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35945         definitions and declarations that are provided by
35946         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35948 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35950         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35951         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35952         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35953         definition.
35955 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35957         * elf/elf.h: Update comment before AArch64 relocations.
35959 2012-11-07  David S. Miller  <davem@davemloft.net>
35961         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35962         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35963         (__start_context): Declare.
35964         (__makecontext_ret): Delete.
35965         (__makecontext): Hook up __start_context instead of
35966         __makecontext_ret.
35967         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35968         (sysdep_routines): Add __start_context when in stdlib.
35970 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35972         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35973         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35974         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35975         hardcoded "nm".
35976         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35977         (READELF): New variable.  Use it instead of hardcoded "readelf".
35979 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35981         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35982         * sysdeps/x86/Makefile: Here.
35983         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35984         * sysdeps/x86/tst-xmmymm.sh: This.
35986 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35988         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35989         expectations.
35990         [UNIX98] (pthread_barrier_t): Do not expect.
35991         [UNIX98] (pthread_barrierattr_t): Likewise.
35992         [UNIX98] (pthread_spinlock_t): Likewise.
35993         [UNIX98] (pthread_barrier_destroy): Likewise.
35994         [UNIX98] (pthread_barrier_init): Likewise.
35995         [UNIX98] (pthread_barrier_wait): Likewise.
35996         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35997         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35998         [UNIX98] (pthread_barrierattr_init): Likewise.
35999         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36000         [UNIX98] (pthread_getcpuclockid): Likewise.
36001         [UNIX98] (pthread_mutex_timedlock): Likewise.
36002         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36003         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36004         [UNIX98] (pthread_sigmask): Likewise.
36005         [UNIX98] (pthread_spin_destroy): Likewise.
36006         [UNIX98] (pthread_spin_init): Likewise.
36007         [UNIX98] (pthread_spin_lock): Likewise.
36008         [UNIX98] (pthread_spin_trylock): Likewise.
36009         [UNIX98] (pthread_spin_unlock): Likewise.
36010         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36011         Do not expect.
36012         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36013         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36014         [XPG3 || XPG4] (pthread_cond_t): Likewise.
36015         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36016         [XPG3 || XPG4] (pthread_key_t): Likewise.
36017         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36018         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36019         [XPG3 || XPG4] (pthread_once_t): Likewise.
36020         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36021         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36022         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36023         [XPG3 || XPG4] (pthread_t): Likewise.
36025         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36026         not expect.
36027         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36029         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36030         Change function return type to int.
36032         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36033         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36034         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36035         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36036         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36037         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36038         [!POSIX] (posix_madvise): Likewise.
36039         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36040         && !UNIX98].
36041         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36042         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36043         (mode_t): Likewise.
36044         (posix_mem_offset): Likewise.
36045         (posix_typed_mem_get_info): Likewise.
36046         (posix_typed_mem_open): Likewise.
36048         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36049         Change condition to [XOPEN2K8].
36051         * conform/conformtest.pl: Preprocess allow-header data with -x c
36052         instead of from stdin.
36053         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36054         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36055         [C99-based standards] (cerfc): Likewise.
36056         [C99-based standards] (cexp2): Likewise.
36057         [C99-based standards] (cexpm1): Likewise.
36058         [C99-based standards] (clog10): Likewise.
36059         [C99-based standards] (clog1p): Likewise.
36060         [C99-based standards] (clog2): Likewise.
36061         [C99-based standards] (clgamma): Likewise.
36062         [C99-based standards] (ctgamma): Likewise.
36063         [C99-based standards] (cerff): Likewise.
36064         [C99-based standards] (cerfcf): Likewise.
36065         [C99-based standards] (cexp2f): Likewise.
36066         [C99-based standards] (cexpm1f): Likewise.
36067         [C99-based standards] (clog10f): Likewise.
36068         [C99-based standards] (clog1pf): Likewise.
36069         [C99-based standards] (clog2f): Likewise.
36070         [C99-based standards] (clgammaf): Likewise.
36071         [C99-based standards] (ctgammaf): Likewise.
36072         [C99-based standards] (cerfl): Likewise.
36073         [C99-based standards] (cerfcl): Likewise.
36074         [C99-based standards] (cexp2l): Likewise.
36075         [C99-based standards] (cexpm1l): Likewise.
36076         [C99-based standards] (clog10l): Likewise.
36077         [C99-based standards] (clog1pl): Likewise.
36078         [C99-based standards] (clog2l): Likewise.
36079         [C99-based standards] (clgammal): Likewise.
36080         [C99-based standards] (ctgammal): Likewise.
36081         * conform/data/inttypes.h-data [C99-based standards]: Include
36082         stdint.h-data.  Remove all expectations for stdint.h contents.
36083         [C99-based standards] (PRI*): Do not allow.
36084         [C99-based standards] (SCN*): Likewise.
36085         [C99-based standards] (*_t): Likewise.
36086         [C99-based-standards] (PRId8): Expect macro.
36087         [C99-based-standards] (PRIi8): Likewise.
36088         [C99-based-standards] (PRIo8): Likewise.
36089         [C99-based-standards] (PRIu8): Likewise.
36090         [C99-based-standards] (PRIx8): Likewise.
36091         [C99-based-standards] (PRIX8): Likewise.
36092         [C99-based-standards] (SCNd8): Likewise.
36093         [C99-based-standards] (SCNi8): Likewise.
36094         [C99-based-standards] (SCNo8): Likewise.
36095         [C99-based-standards] (SCNu8): Likewise.
36096         [C99-based-standards] (SCNx8): Likewise.
36097         [C99-based-standards] (PRIdLEAST8): Likewise.
36098         [C99-based-standards] (PRIiLEAST8): Likewise.
36099         [C99-based-standards] (PRIoLEAST8): Likewise.
36100         [C99-based-standards] (PRIuLEAST8): Likewise.
36101         [C99-based-standards] (PRIxLEAST8): Likewise.
36102         [C99-based-standards] (PRIXLEAST8): Likewise.
36103         [C99-based-standards] (SCNdLEAST8): Likewise.
36104         [C99-based-standards] (SCNiLEAST8): Likewise.
36105         [C99-based-standards] (SCNoLEAST8): Likewise.
36106         [C99-based-standards] (SCNuLEAST8): Likewise.
36107         [C99-based-standards] (SCNxLEAST8): Likewise.
36108         [C99-based-standards] (PRIdFAST8): Likewise.
36109         [C99-based-standards] (PRIiFAST8): Likewise.
36110         [C99-based-standards] (PRIoFAST8): Likewise.
36111         [C99-based-standards] (PRIuFAST8): Likewise.
36112         [C99-based-standards] (PRIxFAST8): Likewise.
36113         [C99-based-standards] (PRIXFAST8): Likewise.
36114         [C99-based-standards] (SCNdFAST8): Likewise.
36115         [C99-based-standards] (SCNiFAST8): Likewise.
36116         [C99-based-standards] (SCNoFAST8): Likewise.
36117         [C99-based-standards] (SCNuFAST8): Likewise.
36118         [C99-based-standards] (SCNxFAST8): Likewise.
36119         [C99-based-standards] (PRId16): Likewise.
36120         [C99-based-standards] (PRIi16): Likewise.
36121         [C99-based-standards] (PRIo16): Likewise.
36122         [C99-based-standards] (PRIu16): Likewise.
36123         [C99-based-standards] (PRIx16): Likewise.
36124         [C99-based-standards] (PRIX16): Likewise.
36125         [C99-based-standards] (SCNd16): Likewise.
36126         [C99-based-standards] (SCNi16): Likewise.
36127         [C99-based-standards] (SCNo16): Likewise.
36128         [C99-based-standards] (SCNu16): Likewise.
36129         [C99-based-standards] (SCNx16): Likewise.
36130         [C99-based-standards] (PRIdLEAST16): Likewise.
36131         [C99-based-standards] (PRIiLEAST16): Likewise.
36132         [C99-based-standards] (PRIoLEAST16): Likewise.
36133         [C99-based-standards] (PRIuLEAST16): Likewise.
36134         [C99-based-standards] (PRIxLEAST16): Likewise.
36135         [C99-based-standards] (PRIXLEAST16): Likewise.
36136         [C99-based-standards] (SCNdLEAST16): Likewise.
36137         [C99-based-standards] (SCNiLEAST16): Likewise.
36138         [C99-based-standards] (SCNoLEAST16): Likewise.
36139         [C99-based-standards] (SCNuLEAST16): Likewise.
36140         [C99-based-standards] (SCNxLEAST16): Likewise.
36141         [C99-based-standards] (PRIdFAST16): Likewise.
36142         [C99-based-standards] (PRIiFAST16): Likewise.
36143         [C99-based-standards] (PRIoFAST16): Likewise.
36144         [C99-based-standards] (PRIuFAST16): Likewise.
36145         [C99-based-standards] (PRIxFAST16): Likewise.
36146         [C99-based-standards] (PRIXFAST16): Likewise.
36147         [C99-based-standards] (SCNdFAST16): Likewise.
36148         [C99-based-standards] (SCNiFAST16): Likewise.
36149         [C99-based-standards] (SCNoFAST16): Likewise.
36150         [C99-based-standards] (SCNuFAST16): Likewise.
36151         [C99-based-standards] (SCNxFAST16): Likewise.
36152         [C99-based-standards] (PRId32): Likewise.
36153         [C99-based-standards] (PRIi32): Likewise.
36154         [C99-based-standards] (PRIo32): Likewise.
36155         [C99-based-standards] (PRIu32): Likewise.
36156         [C99-based-standards] (PRIx32): Likewise.
36157         [C99-based-standards] (PRIX32): Likewise.
36158         [C99-based-standards] (SCNd32): Likewise.
36159         [C99-based-standards] (SCNi32): Likewise.
36160         [C99-based-standards] (SCNo32): Likewise.
36161         [C99-based-standards] (SCNu32): Likewise.
36162         [C99-based-standards] (SCNx32): Likewise.
36163         [C99-based-standards] (PRIdLEAST32): Likewise.
36164         [C99-based-standards] (PRIiLEAST32): Likewise.
36165         [C99-based-standards] (PRIoLEAST32): Likewise.
36166         [C99-based-standards] (PRIuLEAST32): Likewise.
36167         [C99-based-standards] (PRIxLEAST32): Likewise.
36168         [C99-based-standards] (PRIXLEAST32): Likewise.
36169         [C99-based-standards] (SCNdLEAST32): Likewise.
36170         [C99-based-standards] (SCNiLEAST32): Likewise.
36171         [C99-based-standards] (SCNoLEAST32): Likewise.
36172         [C99-based-standards] (SCNuLEAST32): Likewise.
36173         [C99-based-standards] (SCNxLEAST32): Likewise.
36174         [C99-based-standards] (PRIdFAST32): Likewise.
36175         [C99-based-standards] (PRIiFAST32): Likewise.
36176         [C99-based-standards] (PRIoFAST32): Likewise.
36177         [C99-based-standards] (PRIuFAST32): Likewise.
36178         [C99-based-standards] (PRIxFAST32): Likewise.
36179         [C99-based-standards] (PRIXFAST32): Likewise.
36180         [C99-based-standards] (SCNdFAST32): Likewise.
36181         [C99-based-standards] (SCNiFAST32): Likewise.
36182         [C99-based-standards] (SCNoFAST32): Likewise.
36183         [C99-based-standards] (SCNuFAST32): Likewise.
36184         [C99-based-standards] (SCNxFAST32): Likewise.
36185         [C99-based-standards] (PRId64): Likewise.
36186         [C99-based-standards] (PRIi64): Likewise.
36187         [C99-based-standards] (PRIo64): Likewise.
36188         [C99-based-standards] (PRIu64): Likewise.
36189         [C99-based-standards] (PRIx64): Likewise.
36190         [C99-based-standards] (PRIX64): Likewise.
36191         [C99-based-standards] (SCNd64): Likewise.
36192         [C99-based-standards] (SCNi64): Likewise.
36193         [C99-based-standards] (SCNo64): Likewise.
36194         [C99-based-standards] (SCNu64): Likewise.
36195         [C99-based-standards] (SCNx64): Likewise.
36196         [C99-based-standards] (PRIdLEAST64): Likewise.
36197         [C99-based-standards] (PRIiLEAST64): Likewise.
36198         [C99-based-standards] (PRIoLEAST64): Likewise.
36199         [C99-based-standards] (PRIuLEAST64): Likewise.
36200         [C99-based-standards] (PRIxLEAST64): Likewise.
36201         [C99-based-standards] (PRIXLEAST64): Likewise.
36202         [C99-based-standards] (SCNdLEAST64): Likewise.
36203         [C99-based-standards] (SCNiLEAST64): Likewise.
36204         [C99-based-standards] (SCNoLEAST64): Likewise.
36205         [C99-based-standards] (SCNuLEAST64): Likewise.
36206         [C99-based-standards] (SCNxLEAST64): Likewise.
36207         [C99-based-standards] (PRIdFAST64): Likewise.
36208         [C99-based-standards] (PRIiFAST64): Likewise.
36209         [C99-based-standards] (PRIoFAST64): Likewise.
36210         [C99-based-standards] (PRIuFAST64): Likewise.
36211         [C99-based-standards] (PRIxFAST64): Likewise.
36212         [C99-based-standards] (PRIXFAST64): Likewise.
36213         [C99-based-standards] (SCNdFAST64): Likewise.
36214         [C99-based-standards] (SCNiFAST64): Likewise.
36215         [C99-based-standards] (SCNoFAST64): Likewise.
36216         [C99-based-standards] (SCNuFAST64): Likewise.
36217         [C99-based-standards] (SCNxFAST64): Likewise.
36218         [C99-based-standards] (PRIdMAX): Likewise.
36219         [C99-based-standards] (PRIiMAX): Likewise.
36220         [C99-based-standards] (PRIoMAX): Likewise.
36221         [C99-based-standards] (PRIuMAX): Likewise.
36222         [C99-based-standards] (PRIxMAX): Likewise.
36223         [C99-based-standards] (PRIXMAX): Likewise.
36224         [C99-based-standards] (SCNdMAX): Likewise.
36225         [C99-based-standards] (SCNiMAX): Likewise.
36226         [C99-based-standards] (SCNoMAX): Likewise.
36227         [C99-based-standards] (SCNuMAX): Likewise.
36228         [C99-based-standards] (SCNxMAX): Likewise.
36229         [C99-based-standards] (PRIdPTR): Likewise.
36230         [C99-based-standards] (PRIiPTR): Likewise.
36231         [C99-based-standards] (PRIoPTR): Likewise.
36232         [C99-based-standards] (PRIuPTR): Likewise.
36233         [C99-based-standards] (PRIxPTR): Likewise.
36234         [C99-based-standards] (PRIXPTR): Likewise.
36235         [C99-based-standards] (SCNdPTR): Likewise.
36236         [C99-based-standards] (SCNiPTR): Likewise.
36237         [C99-based-standards] (SCNoPTR): Likewise.
36238         [C99-based-standards] (SCNuPTR): Likewise.
36239         [C99-based-standards] (SCNxPTR): Likewise.
36240         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36241         allow.
36242         * conform/data/stdint.h-data: Update comments to clarify
36243         requirements.
36244         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36245         type.
36246         [C99-based standards] (INT8_MAX): Likewise.
36247         [C99-based standards] (INT16_MIN): Likewise.
36248         [C99-based standards] (INT16_MAX): Likewise.
36249         [C99-based standards] (INT32_MIN): Likewise.
36250         [C99-based standards] (INT32_MAX): Likewise.
36251         [C99-based standards] (INT64_MIN): Likewise.
36252         [C99-based standards] (INT64_MAX): Likewise.
36253         [C99-based standards] (UINT8_MAX): Likewise.
36254         [C99-based standards] (UINT16_MAX): Likewise.
36255         [C99-based standards] (UINT32_MAX): Likewise.
36256         [C99-based standards] (UINT64_MAX): Likewise.
36257         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36258         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36259         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36260         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36261         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36262         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36263         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36264         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36265         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36266         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36267         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36268         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36269         [C99-based standards] (INT_FAST8_MIN): Likewise.
36270         [C99-based standards] (INT_FAST8_MAX): Likewise.
36271         [C99-based standards] (INT_FAST16_MIN): Likewise.
36272         [C99-based standards] (INT_FAST16_MAX): Likewise.
36273         [C99-based standards] (INT_FAST32_MIN): Likewise.
36274         [C99-based standards] (INT_FAST32_MAX): Likewise.
36275         [C99-based standards] (INT_FAST64_MIN): Likewise.
36276         [C99-based standards] (INT_FAST64_MAX): Likewise.
36277         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36278         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36279         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36280         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36281         [C99-based standards] (INTPTR_MIN): Likewise.
36282         [C99-based standards] (INTPTR_MAX): Likewise.
36283         [C99-based standards] (UINTPTR_MAX): Likewise.
36284         [C99-based standards] (INTMAX_MIN): Likewise.
36285         [C99-based standards] (INTMAX_MAX): Likewise.
36286         [C99-based standards] (UINTMAX_MAX): Likewise.
36287         [C99-based standards] (PTRDIFF_MIN): Likewise.
36288         [C99-based standards] (PTRDIFF_MAX): Likewise.
36289         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36290         [C99-based standards] (SIZE_MAX): Likewise.
36291         [C99-based standards] (WCHAR_MAX): Likewise.
36292         [C99-based standards] (WINT_MAX): Likewise.
36293         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36294         constraint on value.
36295         [C99-based standards] (WCHAR_MIN): Likewise.
36296         [C99-based standards] (WINT_MIN): Likewise.
36297         [C99-based standards] (*_t): Allow.
36298         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36299         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36300         Include math.h-data and complex.h-data.  Remove all expectations
36301         of math.h and complex.h contents.
36302         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36303         at end of line.
36304         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36305         (struct tm): Expect tag.
36306         [C99-based-standards] (wcstof): Expect function.
36307         [C99-based-standards] (wcstold): Likewise.
36308         [C99-based-standards] (wcstoll): Likewise.
36309         [C99-based-standards] (wcstoull): Likewise.
36310         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36311         macro-int-constant.  Specify type.
36312         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36313         constraint on value.
36314         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36315         Specify type.
36316         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36317         Specify value.
36318         [ISO C standards]: Do not allow headers.
36319         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36320         wcs[abcdefghijklmnopqrstuvwxyz]*.
36321         [ISO C standards] (*_t): Do not allow.
36322         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36323         Expect function.
36324         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36325         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36326         Specify type.
36327         [ISO C standards]: Do not allow headers.
36328         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36329         is[abcdefghijklmnopqrstuvwxyz]*.
36330         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36331         to[abcdefghijklmnopqrstuvwxyz]*.
36332         [ISO C standards] (*_t): Do not allow.
36333         * conform/data/stdalign.h-data: New file.
36334         * conform/data/stdbool.h-data: Likewise.
36335         * conform/data/stdnoreturn.h-data: Likewise.
36337 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36339         [BZ #14815]
36340         * manual/filesys.texi (Directory Entries): Typo fix.
36341         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36343 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36345         * elf/elf.h (EM_AARCH64): New macro.
36346         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36347         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36348         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36349         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36350         (R_AARCH64_TLSDESC): Likewise.
36351         (NT_ARM_TLS): Likewise.
36352         (NT_ARM_HW_BREAK): Likewise.
36353         (NT_ARM_HW_WATCH): Likewise.
36355 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36357         [BZ #14811]
36358         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36359         (__ieee754_powl): Saturate nonzero exponents with absolute value
36360         below 0x1p-79 to +/- 0x1p-79.
36361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36362         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36363         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36364         nonzero exponents with absolute value below 0x1p-32 to +/-
36365         0x1p-32.
36366         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36367         (__ieee754_powl): Saturate nonzero exponents with absolute value
36368         below 0x1p-79 to +/- 0x1p-79.
36369         * math/libm-test.inc (pow_test): Add more tests.
36371 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36373         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36374         _dl_s390_cap_flags with kernel. Increase string length.
36375         (_dl_s390_platforms): Add z196 and zEC12.
36377 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36379         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36380         Change XOPEN21K to XOPEN2K.
36382 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36384         * string/memmove.c: Use memcpy when possible.
36386 2012-11-06  Andreas Jaeger  <aj@suse.de>
36388         * po/eo.po: Update from translation team.
36390 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #14793]
36393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36394         exponent and small x and y exponents, scale x or y up.  Increase
36395         by 2 the exponent used in scaling up.
36396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36397         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36398         * math/libm-test.inc (fma_test): Add more tests.
36399         (fma_test_towardzero): Likewise.
36400         (fma_test_downward): Likewise.
36401         (fma_test_upward): Likewise.
36403 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36405         [BZ #14805]
36406         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36407         fenv_t *.
36409         [BZ #14801]
36410         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36411         namespace for names of struct fields.
36412         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36413         fenv_t fields.
36414         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36415         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36417 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36419         [BZ #3665]
36420         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36422 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36424         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36425         PTR_DEMANGLE.
36427         [BZ #5246]
36428         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36429         PTR_DEMANGLE.
36431 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36433         [BZ #14797]
36434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36435         definitely overflow as x * y not x * y + z.
36436         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36437         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36438         * math/libm-test.inc (fma_test): Add more tests.
36439         (fma_test_towardzero): Likewise.
36440         (fma_test_downward): Likewise.
36441         (fma_test_upward): Likewise.
36443 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36445         [BZ #157]
36447         * include/stub-tag.h: Remove file.
36448         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36449         '#include' of it.
36450         * manual/maint.texi (Porting): Don't reference it.
36451         * Makerules ($(objpfx)stubs): Likewise.
36452         * dirent/closedir.c: Don't include <stub-tag.h>.
36453         * dirent/dirfd.c: Likewise.
36454         * dirent/fdopendir.c: Likewise.
36455         * dirent/getdents.c: Likewise.
36456         * dirent/getdents64.c: Likewise.
36457         * dirent/opendir.c: Likewise.
36458         * dirent/readdir.c: Likewise.
36459         * dirent/readdir64.c: Likewise.
36460         * dirent/readdir64_r.c: Likewise.
36461         * dirent/readdir_r.c: Likewise.
36462         * dirent/rewinddir.c: Likewise.
36463         * dirent/seekdir.c: Likewise.
36464         * dirent/telldir.c: Likewise.
36465         * gmon/profil.c: Likewise.
36466         * grp/setgroups.c: Likewise.
36467         * inet/if_index.c: Likewise.
36468         * io/access.c: Likewise.
36469         * io/chdir.c: Likewise.
36470         * io/chmod.c: Likewise.
36471         * io/chown.c: Likewise.
36472         * io/close.c: Likewise.
36473         * io/dup.c: Likewise.
36474         * io/dup2.c: Likewise.
36475         * io/dup3.c: Likewise.
36476         * io/euidaccess.c: Likewise.
36477         * io/faccessat.c: Likewise.
36478         * io/fchdir.c: Likewise.
36479         * io/fchmod.c: Likewise.
36480         * io/fchmodat.c: Likewise.
36481         * io/fchown.c: Likewise.
36482         * io/fchownat.c: Likewise.
36483         * io/fcntl.c: Likewise.
36484         * io/flock.c: Likewise.
36485         * io/fstatfs.c: Likewise.
36486         * io/fstatfs64.c: Likewise.
36487         * io/fstatvfs.c: Likewise.
36488         * io/fstatvfs64.c: Likewise.
36489         * io/futimens.c: Likewise.
36490         * io/fxstat.c: Likewise.
36491         * io/fxstat64.c: Likewise.
36492         * io/fxstatat.c: Likewise.
36493         * io/fxstatat64.c: Likewise.
36494         * io/getcwd.c: Likewise.
36495         * io/isatty.c: Likewise.
36496         * io/lchmod.c: Likewise.
36497         * io/lchown.c: Likewise.
36498         * io/link.c: Likewise.
36499         * io/linkat.c: Likewise.
36500         * io/lseek.c: Likewise.
36501         * io/lseek64.c: Likewise.
36502         * io/lxstat64.c: Likewise.
36503         * io/mkdir.c: Likewise.
36504         * io/mkdirat.c: Likewise.
36505         * io/mkfifo.c: Likewise.
36506         * io/mkfifoat.c: Likewise.
36507         * io/open.c: Likewise.
36508         * io/open64.c: Likewise.
36509         * io/openat.c: Likewise.
36510         * io/openat64.c: Likewise.
36511         * io/pipe.c: Likewise.
36512         * io/pipe2.c: Likewise.
36513         * io/poll.c: Likewise.
36514         * io/posix_fadvise.c: Likewise.
36515         * io/posix_fadvise64.c: Likewise.
36516         * io/posix_fallocate.c: Likewise.
36517         * io/posix_fallocate64.c: Likewise.
36518         * io/read.c: Likewise.
36519         * io/readlink.c: Likewise.
36520         * io/readlinkat.c: Likewise.
36521         * io/rmdir.c: Likewise.
36522         * io/sendfile.c: Likewise.
36523         * io/sendfile64.c: Likewise.
36524         * io/statfs.c: Likewise.
36525         * io/statfs64.c: Likewise.
36526         * io/statvfs.c: Likewise.
36527         * io/statvfs64.c: Likewise.
36528         * io/symlink.c: Likewise.
36529         * io/symlinkat.c: Likewise.
36530         * io/ttyname.c: Likewise.
36531         * io/ttyname_r.c: Likewise.
36532         * io/umask.c: Likewise.
36533         * io/unlink.c: Likewise.
36534         * io/unlinkat.c: Likewise.
36535         * io/utime.c: Likewise.
36536         * io/utimensat.c: Likewise.
36537         * io/write.c: Likewise.
36538         * io/xmknod.c: Likewise.
36539         * io/xmknodat.c: Likewise.
36540         * io/xstat.c: Likewise.
36541         * io/xstat64.c: Likewise.
36542         * login/getpt.c: Likewise.
36543         * login/grantpt.c: Likewise.
36544         * login/unlockpt.c: Likewise.
36545         * math/e_acoshl.c: Likewise.
36546         * math/e_acosl.c: Likewise.
36547         * math/e_asinl.c: Likewise.
36548         * math/e_atan2l.c: Likewise.
36549         * math/e_atanhl.c: Likewise.
36550         * math/e_coshl.c: Likewise.
36551         * math/e_expl.c: Likewise.
36552         * math/e_fmodl.c: Likewise.
36553         * math/e_gammal_r.c: Likewise.
36554         * math/e_hypotl.c: Likewise.
36555         * math/e_j0l.c: Likewise.
36556         * math/e_j1l.c: Likewise.
36557         * math/e_jnl.c: Likewise.
36558         * math/e_lgammal_r.c: Likewise.
36559         * math/e_log10l.c: Likewise.
36560         * math/e_log2l.c: Likewise.
36561         * math/e_logl.c: Likewise.
36562         * math/e_powl.c: Likewise.
36563         * math/e_rem_pio2l.c: Likewise.
36564         * math/e_sinhl.c: Likewise.
36565         * math/e_sqrtl.c: Likewise.
36566         * math/fclrexcpt.c: Likewise.
36567         * math/fedisblxcpt.c: Likewise.
36568         * math/feenablxcpt.c: Likewise.
36569         * math/fegetenv.c: Likewise.
36570         * math/fegetexcept.c: Likewise.
36571         * math/fegetround.c: Likewise.
36572         * math/feholdexcpt.c: Likewise.
36573         * math/fesetenv.c: Likewise.
36574         * math/fesetround.c: Likewise.
36575         * math/feupdateenv.c: Likewise.
36576         * math/fgetexcptflg.c: Likewise.
36577         * math/fraiseexcpt.c: Likewise.
36578         * math/fsetexcptflg.c: Likewise.
36579         * math/ftestexcept.c: Likewise.
36580         * math/k_cosl.c: Likewise.
36581         * math/k_rem_pio2l.c: Likewise.
36582         * math/k_sinl.c: Likewise.
36583         * math/k_tanl.c: Likewise.
36584         * math/s_asinhl.c: Likewise.
36585         * math/s_atanl.c: Likewise.
36586         * math/s_cbrtl.c: Likewise.
36587         * math/s_erfl.c: Likewise.
36588         * math/s_expm1l.c: Likewise.
36589         * math/s_log1pl.c: Likewise.
36590         * math/s_tanhl.c: Likewise.
36591         * misc/acct.c: Likewise.
36592         * misc/brk.c: Likewise.
36593         * misc/chflags.c: Likewise.
36594         * misc/chroot.c: Likewise.
36595         * misc/fchflags.c: Likewise.
36596         * misc/fgetxattr.c: Likewise.
36597         * misc/flistxattr.c: Likewise.
36598         * misc/fremovexattr.c: Likewise.
36599         * misc/fsetxattr.c: Likewise.
36600         * misc/fsync.c: Likewise.
36601         * misc/ftruncate.c: Likewise.
36602         * misc/futimes.c: Likewise.
36603         * misc/futimesat.c: Likewise.
36604         * misc/getdomain.c: Likewise.
36605         * misc/getdtsz.c: Likewise.
36606         * misc/gethostid.c: Likewise.
36607         * misc/gethostname.c: Likewise.
36608         * misc/getloadavg.c: Likewise.
36609         * misc/getpagesize.c: Likewise.
36610         * misc/getsysstats.c: Likewise.
36611         * misc/getxattr.c: Likewise.
36612         * misc/gtty.c: Likewise.
36613         * misc/ioctl.c: Likewise.
36614         * misc/lgetxattr.c: Likewise.
36615         * misc/listxattr.c: Likewise.
36616         * misc/llistxattr.c: Likewise.
36617         * misc/lremovexattr.c: Likewise.
36618         * misc/lsetxattr.c: Likewise.
36619         * misc/lutimes.c: Likewise.
36620         * misc/madvise.c: Likewise.
36621         * misc/mincore.c: Likewise.
36622         * misc/mlock.c: Likewise.
36623         * misc/mlockall.c: Likewise.
36624         * misc/mmap.c: Likewise.
36625         * misc/mprotect.c: Likewise.
36626         * misc/msync.c: Likewise.
36627         * misc/munlock.c: Likewise.
36628         * misc/munlockall.c: Likewise.
36629         * misc/munmap.c: Likewise.
36630         * misc/preadv.c: Likewise.
36631         * misc/preadv64.c: Likewise.
36632         * misc/ptrace.c: Likewise.
36633         * misc/pwritev.c: Likewise.
36634         * misc/pwritev64.c: Likewise.
36635         * misc/readv.c: Likewise.
36636         * misc/reboot.c: Likewise.
36637         * misc/remap_file_pages.c: Likewise.
36638         * misc/removexattr.c: Likewise.
36639         * misc/revoke.c: Likewise.
36640         * misc/select.c: Likewise.
36641         * misc/setdomain.c: Likewise.
36642         * misc/setegid.c: Likewise.
36643         * misc/seteuid.c: Likewise.
36644         * misc/sethostid.c: Likewise.
36645         * misc/sethostname.c: Likewise.
36646         * misc/setregid.c: Likewise.
36647         * misc/setreuid.c: Likewise.
36648         * misc/setxattr.c: Likewise.
36649         * misc/sstk.c: Likewise.
36650         * misc/stty.c: Likewise.
36651         * misc/swapoff.c: Likewise.
36652         * misc/swapon.c: Likewise.
36653         * misc/sync.c: Likewise.
36654         * misc/syncfs.c: Likewise.
36655         * misc/syscall.c: Likewise.
36656         * misc/truncate.c: Likewise.
36657         * misc/ualarm.c: Likewise.
36658         * misc/usleep.c: Likewise.
36659         * misc/ustat.c: Likewise.
36660         * misc/utimes.c: Likewise.
36661         * misc/vhangup.c: Likewise.
36662         * misc/writev.c: Likewise.
36663         * posix/_exit.c: Likewise.
36664         * posix/alarm.c: Likewise.
36665         * posix/execve.c: Likewise.
36666         * posix/fexecve.c: Likewise.
36667         * posix/fork.c: Likewise.
36668         * posix/fpathconf.c: Likewise.
36669         * posix/getaddrinfo.c: Likewise.
36670         * posix/getegid.c: Likewise.
36671         * posix/geteuid.c: Likewise.
36672         * posix/getgid.c: Likewise.
36673         * posix/getgroups.c: Likewise.
36674         * posix/getlogin.c: Likewise.
36675         * posix/getlogin_r.c: Likewise.
36676         * posix/getpgid.c: Likewise.
36677         * posix/getpid.c: Likewise.
36678         * posix/getppid.c: Likewise.
36679         * posix/getresgid.c: Likewise.
36680         * posix/getresuid.c: Likewise.
36681         * posix/getsid.c: Likewise.
36682         * posix/getuid.c: Likewise.
36683         * posix/glob64.c: Likewise.
36684         * posix/nanosleep.c: Likewise.
36685         * posix/pathconf.c: Likewise.
36686         * posix/pause.c: Likewise.
36687         * posix/posix_madvise.c: Likewise.
36688         * posix/pread.c: Likewise.
36689         * posix/pread64.c: Likewise.
36690         * posix/pwrite.c: Likewise.
36691         * posix/pwrite64.c: Likewise.
36692         * posix/sched_getaffinity.c: Likewise.
36693         * posix/sched_getp.c: Likewise.
36694         * posix/sched_gets.c: Likewise.
36695         * posix/sched_primax.c: Likewise.
36696         * posix/sched_primin.c: Likewise.
36697         * posix/sched_rr_gi.c: Likewise.
36698         * posix/sched_setaffinity.c: Likewise.
36699         * posix/sched_setp.c: Likewise.
36700         * posix/sched_sets.c: Likewise.
36701         * posix/sched_yield.c: Likewise.
36702         * posix/setgid.c: Likewise.
36703         * posix/setlogin.c: Likewise.
36704         * posix/setpgid.c: Likewise.
36705         * posix/setresgid.c: Likewise.
36706         * posix/setresuid.c: Likewise.
36707         * posix/setsid.c: Likewise.
36708         * posix/setuid.c: Likewise.
36709         * posix/sleep.c: Likewise.
36710         * posix/spawni.c: Likewise.
36711         * posix/sysconf.c: Likewise.
36712         * posix/times.c: Likewise.
36713         * posix/wait.c: Likewise.
36714         * posix/wait3.c: Likewise.
36715         * posix/wait4.c: Likewise.
36716         * posix/waitpid.c: Likewise.
36717         * resolv/gai_sigqueue.c: Likewise.
36718         * resource/getpriority.c: Likewise.
36719         * resource/getrlimit.c: Likewise.
36720         * resource/getrusage.c: Likewise.
36721         * resource/nice.c: Likewise.
36722         * resource/setpriority.c: Likewise.
36723         * resource/setrlimit.c: Likewise.
36724         * resource/ulimit.c: Likewise.
36725         * rt/aio_cancel.c: Likewise.
36726         * rt/aio_fsync.c: Likewise.
36727         * rt/aio_read.c: Likewise.
36728         * rt/aio_sigqueue.c: Likewise.
36729         * rt/aio_suspend.c: Likewise.
36730         * rt/aio_write.c: Likewise.
36731         * rt/clock_getres.c: Likewise.
36732         * rt/clock_gettime.c: Likewise.
36733         * rt/clock_nanosleep.c: Likewise.
36734         * rt/clock_settime.c: Likewise.
36735         * rt/lio_listio.c: Likewise.
36736         * rt/mq_close.c: Likewise.
36737         * rt/mq_getattr.c: Likewise.
36738         * rt/mq_notify.c: Likewise.
36739         * rt/mq_open.c: Likewise.
36740         * rt/mq_receive.c: Likewise.
36741         * rt/mq_send.c: Likewise.
36742         * rt/mq_setattr.c: Likewise.
36743         * rt/mq_timedreceive.c: Likewise.
36744         * rt/mq_timedsend.c: Likewise.
36745         * rt/mq_unlink.c: Likewise.
36746         * rt/shm_open.c: Likewise.
36747         * rt/shm_unlink.c: Likewise.
36748         * rt/timer_create.c: Likewise.
36749         * rt/timer_delete.c: Likewise.
36750         * rt/timer_getoverr.c: Likewise.
36751         * rt/timer_gettime.c: Likewise.
36752         * rt/timer_settime.c: Likewise.
36753         * setjmp/__longjmp.c: Likewise.
36754         * setjmp/setjmp.c: Likewise.
36755         * signal/kill.c: Likewise.
36756         * signal/killpg.c: Likewise.
36757         * signal/raise.c: Likewise.
36758         * signal/sigaction.c: Likewise.
36759         * signal/sigaltstack.c: Likewise.
36760         * signal/sigblock.c: Likewise.
36761         * signal/sigignore.c: Likewise.
36762         * signal/sigintr.c: Likewise.
36763         * signal/signal.c: Likewise.
36764         * signal/sigpause.c: Likewise.
36765         * signal/sigpending.c: Likewise.
36766         * signal/sigqueue.c: Likewise.
36767         * signal/sigreturn.c: Likewise.
36768         * signal/sigset.c: Likewise.
36769         * signal/sigsetmask.c: Likewise.
36770         * signal/sigstack.c: Likewise.
36771         * signal/sigsuspend.c: Likewise.
36772         * signal/sigtimedwait.c: Likewise.
36773         * signal/sigvec.c: Likewise.
36774         * signal/sigwait.c: Likewise.
36775         * signal/sigwaitinfo.c: Likewise.
36776         * signal/sysv_signal.c: Likewise.
36777         * socket/accept.c: Likewise.
36778         * socket/accept4.c: Likewise.
36779         * socket/bind.c: Likewise.
36780         * socket/connect.c: Likewise.
36781         * socket/getpeername.c: Likewise.
36782         * socket/getsockname.c: Likewise.
36783         * socket/getsockopt.c: Likewise.
36784         * socket/isfdtype.c: Likewise.
36785         * socket/listen.c: Likewise.
36786         * socket/recv.c: Likewise.
36787         * socket/recvfrom.c: Likewise.
36788         * socket/recvmsg.c: Likewise.
36789         * socket/send.c: Likewise.
36790         * socket/sendmsg.c: Likewise.
36791         * socket/sendto.c: Likewise.
36792         * socket/setsockopt.c: Likewise.
36793         * socket/shutdown.c: Likewise.
36794         * socket/sockatmark.c: Likewise.
36795         * socket/socket.c: Likewise.
36796         * socket/socketpair.c: Likewise.
36797         * stdio-common/ctermid.c: Likewise.
36798         * stdio-common/cuserid.c: Likewise.
36799         * stdio-common/remove.c: Likewise.
36800         * stdio-common/rename.c: Likewise.
36801         * stdio-common/renameat.c: Likewise.
36802         * stdio-common/tempname.c: Likewise.
36803         * stdlib/getcontext.c: Likewise.
36804         * stdlib/makecontext.c: Likewise.
36805         * stdlib/setcontext.c: Likewise.
36806         * stdlib/swapcontext.c: Likewise.
36807         * stdlib/system.c: Likewise.
36808         * streams/fattach.c: Likewise.
36809         * streams/fdetach.c: Likewise.
36810         * streams/getmsg.c: Likewise.
36811         * streams/getpmsg.c: Likewise.
36812         * streams/putmsg.c: Likewise.
36813         * streams/putpmsg.c: Likewise.
36814         * sysdeps/unix/bsd/getpt.c: Likewise.
36815         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36816         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36817         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36819         Likewise.
36820         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36821         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36822         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36823         * sysvipc/msgctl.c: Likewise.
36824         * sysvipc/msgget.c: Likewise.
36825         * sysvipc/msgrcv.c: Likewise.
36826         * sysvipc/msgsnd.c: Likewise.
36827         * sysvipc/semctl.c: Likewise.
36828         * sysvipc/semget.c: Likewise.
36829         * sysvipc/semop.c: Likewise.
36830         * sysvipc/semtimedop.c: Likewise.
36831         * sysvipc/shmat.c: Likewise.
36832         * sysvipc/shmctl.c: Likewise.
36833         * sysvipc/shmdt.c: Likewise.
36834         * sysvipc/shmget.c: Likewise.
36835         * termios/tcdrain.c: Likewise.
36836         * termios/tcflow.c: Likewise.
36837         * termios/tcflush.c: Likewise.
36838         * termios/tcgetattr.c: Likewise.
36839         * termios/tcgetpgrp.c: Likewise.
36840         * termios/tcsendbrk.c: Likewise.
36841         * termios/tcsetattr.c: Likewise.
36842         * termios/tcsetpgrp.c: Likewise.
36843         * time/adjtime.c: Likewise.
36844         * time/clock.c: Likewise.
36845         * time/getitimer.c: Likewise.
36846         * time/gettimeofday.c: Likewise.
36847         * time/setitimer.c: Likewise.
36848         * time/settimeofday.c: Likewise.
36849         * time/stime.c: Likewise.
36850         * time/time.c: Likewise.
36852 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36854         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36855         /usr/old/bin.
36857         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36858         instead of spaces.
36859         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36861 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36863         [BZ #14796]
36864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36865         FE_TONEAREST before applying Dekker multiplication and Knuth
36866         addition.  Clear inexact exceptions and check for exact zero
36867         results afterwards.
36868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36869         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36871         * math/libm-test.inc (fma_test): Add more tests.
36872         (fma_test_towardzero): Likewise.
36873         (fma_test_downward): Likewise.
36874         (fma_test_upward): Likewise.
36875         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36876         function.
36877         (libc_fesetround): New macro.
36878         (libc_fesetroundf): Likewise.
36879         (libc_fesetroundl): Likewise.
36880         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36881         function.
36882         (libc_fesetround_387): Likewise.
36883         (libc_fesetroundf): New macro.
36884         (libc_fesetround): Likewise.
36885         (libc_fesetroundl): Likewise.
36886         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36887         function.
36888         (libc_fesetroundf): New macro.
36889         (libc_fesetround): Likewise.
36890         (libc_fesetroundl): Likewise.
36891         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36892         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36893         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36894         libm_hidden_ver.
36895         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36896         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36897         libm_hidden_def.
36898         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36899         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36900         libm_hidden_ver.
36901         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36902         libm_hidden_def.
36904         [BZ #3439]
36905         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36906         integer constant usable in #if and use that to give value to enum
36907         constant.
36908         (FE_DIVBYZERO): Likewise.
36909         (FE_UNDERFLOW): Likewise.
36910         (FE_OVERFLOW): Likewise.
36911         (FE_INVALID): Likewise.
36912         (FE_INVALID_SNAN): Likewise.
36913         (FE_INVALID_ISI): Likewise.
36914         (FE_INVALID_IDI): Likewise.
36915         (FE_INVALID_ZDZ): Likewise.
36916         (FE_INVALID_IMZ): Likewise.
36917         (FE_INVALID_COMPARE): Likewise.
36918         (FE_INVALID_SOFTWARE): Likewise.
36919         (FE_INVALID_SQRT): Likewise.
36920         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36921         (FE_TONEAREST): Likewise.
36922         (FE_TOWARDZERO): Likewise.
36923         (FE_UPWARD): Likewise.
36924         (FE_DOWNWARD): Likewise.
36925         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36926         (FE_DIVBYZERO): Likewise.
36927         (FE_OVERFLOW): Likewise.
36928         (FE_UNDERFLOW): Likewise.
36929         (FE_INEXACT): Likewise.
36930         (FE_TONEAREST): Likewise.
36931         (FE_DOWNWARD): Likewise.
36932         (FE_UPWARD): Likewise.
36933         (FE_TOWARDZERO): Likewise.
36934         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36935         (FE_UNDERFLOW): Likewise.
36936         (FE_OVERFLOW): Likewise.
36937         (FE_DIVBYZERO): Likewise.
36938         (FE_INVALID): Likewise.
36939         (FE_TONEAREST): Likewise.
36940         (FE_TOWARDZERO): Likewise.
36941         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36942         (FE_OVERFLOW): Likewise.
36943         (FE_UNDERFLOW): Likewise.
36944         (FE_DIVBYZERO): Likewise.
36945         (FE_INEXACT): Likewise.
36946         (FE_TONEAREST): Likewise.
36947         (FE_TOWARDZERO): Likewise.
36948         (FE_UPWARD): Likewise.
36949         (FE_DOWNWARD): Likewise.
36950         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36951         (FE_DIVBYZERO): Likewise.
36952         (FE_OVERFLOW): Likewise.
36953         (FE_UNDERFLOW): Likewise.
36954         (FE_INEXACT): Likewise.
36955         (FE_TONEAREST): Likewise.
36956         (FE_DOWNWARD): Likewise.
36957         (FE_UPWARD): Likewise.
36958         (FE_TOWARDZERO): Likewise.
36960 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36962         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36964 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36966         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36967         commands.  Quote $PWD.
36968         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36969         -x" by "export".
36970         (remove_newlines): Remove.
36972 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36974         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36975         * stdlib/stdlib.h (atof): Moved to ...
36976         * include/bits/stdlib-float.h: Here.  New file.
36977         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36978         * stdlib/bits/stdlib-float.h: New file.
36979         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36980         -mno-sse -mno-mmx.
36981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36982         <xmmintrin.h>.
36984 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36986         * conform/conformtest.pl (@headers): Add fenv.h.
36987         * conform/data/fenv.h-data: New file.
36988         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36989         include of <math/fenv.h>.
36991         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36992         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36993         && !UNIX98].  Enables tests for XOPEN2K8.
36994         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36995         POSIX2008]: Likewise.
36997         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36998         (struct rusage): Do not expect type or its members.
37000         [BZ #3439]
37001         * math/math.h (FP_NAN): Define macro to integer constant usable in
37002         #if and use that to give value to enum constant.
37003         (FP_INFINITE): Likewise.
37004         (FP_ZERO): Likewise.
37005         (FP_SUBNORMAL): Likewise.
37006         (FP_NORMAL): Likewise.
37008 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
37010         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37011         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37012         arguments.
37014 2012-11-02  Roland McGrath  <roland@hack.frob.com>
37016         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37017         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37018         autoconf-time if not.
37019         * configure.in: Remove AC_PREREQ.
37021 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37023         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37024         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37025         of the internal implementation.
37027 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
37029         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37030         except include of <misc/sys/syslog.h>.
37032 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37035         function returns with a NULL context exit with zero.
37037 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37039         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37041 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
37043         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37044         (run_program_cmd): This.
37045         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37046         (tst_langinfo): New variable.  Use it.
37048 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
37050         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37051         floating point opcodes.
37053 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37055         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37056         variable.
37058         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37060         * sysdeps/mach/hurd/powerpc: Remove directory.
37061         * sysdeps/mach/powerpc: Likewise.
37063 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
37065         * scripts/check-local-headers.sh: Ignore c++ headers.
37067 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37069         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37070         __libc_cleanup_region_start argument.
37072 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
37074         [BZ #14784]
37075         [BZ #14785]
37076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37077         x * y using scaling, not as x * y + z.
37078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37080         * math/libm-test.inc (fma_test): Add more tests.
37081         (fma_test_towardzero): Likewise.
37082         (fma_test_downward): Likewise.
37083         (fma_test_upward): Likewise.
37085 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
37087         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37089 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37091         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37092         New variable.
37094 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
37096         * rt/tst-shm.c (worker): Correct checking for mmap failure.
37098 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37101         Fix sort order.
37102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37103         Likewise.
37105 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37108         Fix the order of the list for glibc 2.17.
37109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37110         Likewise.
37112 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
37114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37116 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
37118         [BZ #14610]
37119         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37120         for low part of x being zero before using __atanl (y).
37121         * math/libm-test.inc (atan2_test): Add another test.
37123         * manual/install.texi (Configuring and compiling): Document
37124         general use of test-wrapper and test-wrapper-env.
37125         * INSTALL: Regenerated.
37127         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37128         (__fma): Do not extract and scale down low bits on after-rounding
37129         systems when result rounded to normal precision would have normal
37130         exponent.
37131         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37132         (__fmal): Do not extract and scale down low bits on after-rounding
37133         systems when result rounded to normal precision would have normal
37134         exponent.
37135         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37136         (__fmal): Do not extract and scale down low bits on after-rounding
37137         systems when result rounded to normal precision would have normal
37138         exponent.
37139         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37140         macro.
37141         (fma_test): Add more tests.
37142         (fma_test_towardzero): Likewise.
37143         (fma_test_downward): Likewise.
37144         (fma_test_upward): Likewise.
37146 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37148         * sysdeps/i386/tininess.h: Renamed to ...
37149         * sysdeps/x86/tininess.h: This.
37150         * sysdeps/x86_64/tininess.h: Removed.
37152 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37154         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37155         input.  Use $(build-program-cmd).
37156         ($(objpfx)tst-array1-static.out): Likewise.
37157         ($(objpfx)tst-array2.out): Likewise.
37158         ($(objpfx)tst-array3.out): Likewise.
37159         ($(objpfx)tst-array4.out): Likewise.
37160         ($(objpfx)tst-array5.out): Likewise.
37161         ($(objpfx)tst-array5-static.out): Likewise.
37163 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37165         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37166         if defined.
37168         * nss/nsswitch.h (nss_interface_function): Provide new
37169         macro for use with NSS functions.
37170         * grp/initgroups.c: Use new macro.
37171         * nss/getXXbyYY.c: Likewise.
37172         * nss/getXXbyYY_r.c: Likewise.
37173         * nss/getXXent.c: Likewise.
37174         * nss/getXXent_r.c: Likewise.
37175         * sysdeps/posix/getaddrinfo.c: Likewise.
37177 2012-10-30  Andreas Jaeger  <aj@suse.de>
37179         * po/ru.po: Update Russion translation from translation project.
37181 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37183         [BZ #14152]
37184         [BZ #14783]
37185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37186         result and shift together with sticky bit instead of replicating
37187         round-to-nearest rounding.
37188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37190         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37191         missing underflow exceptions.
37192         (fma_test_towardzero): Add more tests.
37193         (fma_test_downward): Likewise.
37194         (fma_test_upward): Likewise.
37196         [BZ #14047]
37197         * sysdeps/generic/tininess.h: New file.
37198         * sysdeps/i386/tininess.h: Likewise.
37199         * sysdeps/sh/tininess.h: Likewise.
37200         * sysdeps/x86_64/tininess.h: Likewise.
37201         * stdlib/tst-strtod-underflow.c: Likewise.
37202         * stdlib/tst-tininess.c: Likewise.
37203         * stdlib/strtod_l.c: Include <tininess.h>.
37204         (round_and_return): Do not set errno for exact underflow cases.
37205         Force an underflow exception when setting errno for underflow.
37206         Determine underflow based on rounding to normal precision if
37207         TININESS_AFTER_ROUNDING.
37208         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37209         ERANGE for exact underflow cases.
37210         * stdlib/Makefile (tests): Add tst-tininess and
37211         tst-strtod-underflow.
37212         ($(objpfx)tst-tininess): Use $(link-libm).
37213         ($(objpfx)tst-strtod-underflow): Likewise.
37215 2012-10-30  Andreas Jaeger  <aj@suse.de>
37217         [BZ#14767]
37218         * elf/Makefile (tests): Remove conditional for have-initfini-array
37219         since this is now always required and the variable does not exist
37220         anymore.
37221         (tests-static): Likewise.
37222         (modules-names): Likewise.
37224         * po/eo.po: Add Esperanto translation from translation project.
37226         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37227         merged with constructor/destructor.
37228         (init_array): Likewise.
37229         * elf/tst-array2dep.c (fini_array): Likewise.
37230         (init_array): Likewise.
37232 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37234         * manual/message.texi: Delete @cartouche tags.
37236 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37238         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37239         EOPNOTSUPP.
37240         * sysdeps/mach/hurd/fsync.c: Likewise.
37242         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37243         [_POSIX_REALTIME_SIGNALS]: Change condition to
37244         [_POSIX_REALTIME_SIGNALS > 0].
37246 2012-10-27  Andreas Jaeger  <aj@suse.de>
37248         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37249         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37251         [__WORDSIZE != 64]: Likewise.
37253 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37255         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37256         *  iconvdata/tst-tables.sh: Likewise.
37258 2012-10-25  David S. Miller  <davem@davemloft.net>
37260         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37261         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37262         of strtoull.
37264         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37265         ifunc-impl-list.c
37266         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37267         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37268         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37269         file.
37271 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37273         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37274         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37275         __getdirentries.
37277 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37278             Jim Blandy  <jimb@codesourcery.com>
37280         * scripts/cross-test-ssh.sh: New file.
37281         * manual/install.texi (Configuring and compiling): Document use of
37282         cross-test-ssh.sh.
37283         * INSTALL: Regenerated.
37285 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37287         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37288         EOPNOTSUPP.
37290 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37292         * Makeconfig (run-program-prefix): Fix comment.
37294 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37295             Jim Blandy  <jimb@codesourcery.com>
37297         * Makeconfig (test-wrapper): New variable,
37298         (test-wrapper-env): Likewise.
37299         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37300         (run-built-tests): Define to yes.
37301         (run-program-prefix): Use $(test-wrapper).
37302         (built-program-cmd): Likewise.
37303         * Rules (make-test-out): Use $(test-wrapper-env) and
37304         $(host-built-program-cmd).
37305         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37306         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37307         tst-pathopt.sh.
37308         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37309         $(test-wrapper-env) to tst-rtld-load-self.sh.
37310         ($(objpfx)order2.out): Use $(test-wrapper).
37311         ($(objpfx)tst-initorder.out): Likewise.
37312         ($(objpfx)tst-initorder2.out): Likewise.
37313         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37314         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37315         (test_wrapper_env): New variable.  Use it to run ld.so.
37316         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37317         Use it to run ld.so.
37318         (test_wrapper_env): Likewise.
37319         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37320         $(test-wrapper) to run-iconv-test.sh.
37321         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37322         (ICONV): Use $test_wrapper.
37323         * posix/Makefile ($(objpfx)globtest.out): Pass
37324         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37325         globtest.sh, not $(run-program-prefix).
37326         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37327         (test_wrapper): Likewise.
37328         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37329         set together with run_via_rtld_prefix.
37330         (run_program_prefix): Define in terms of test_wrapper and
37331         run_via_rtld_prefix.
37333 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37335         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37336         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37337         Targets removed.
37339         [BZ #14743]
37340         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37341         Declare __clock_getres, __clock_gettime, __clock_settime,
37342         __clock_nanosleep, and __clock_getcpuclockid.
37343         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37344         Remove librt_hidden_def (clock_gettime).
37345         * sysdeps/unix/clock_gettime.c: Likewise.
37346         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37347         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37348         * rt/clock_getres.c: Define __clock_getres as an alias.
37349         * sysdeps/posix/clock_getres.c: Likewise.
37350         * rt/clock_settime.c: Define __clock_settime as an alias.
37351         * sysdeps/unix/clock_settime.c: Likewise.
37352         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37353         * sysdeps/unix/clock_nanosleep.c: Likewise.
37354         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37355         * rt/clock-compat.c: New file.
37356         * rt/Makefile (librt-routines): Add clock-compat and move
37357         $(clock-routines) to ...
37358         (routines): ... here, new variable.
37359         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37360         Don't add get_clockfreq here.
37361         * rt/Versions (libc: GLIBC_2.17): New version set.
37362         Add clock_* symbols here.
37363         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37364         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37365         (GLIBC_2.17): Add clock_* symbols.
37366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37370         Likewise.
37371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37372         Likewise.
37373         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37375         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37376         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37377         * NEWS: Mention the move.
37379         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37380         Use __open, __read, __close rather than their public counterparts.
37381         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37382         (__get_clockfreq_via_cpuinfo): Likewise.
37383         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37384         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37386         * config.h.in (HAVE_IFUNC): New #undef.
37387         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37388         was successful.
37389         * configure: Regenerated.
37391 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37393         * configure.in: Move READELF check to start of file.
37394         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37395         libc_cv_asm_gnu_indirect_function in the process.
37396         * configure: Regenerated.
37398 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37400         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37401         send the output to /dev/null.
37402         (libc_cv_cc_with_libunwind): Likewise.
37403         (libc_cv_as_noexecstack): Likewise.
37404         * configure: Regenerate.
37406 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37408         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37410         * posix/globtest.sh (TMPDIR): Do not set.
37411         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37412         (testout): Likewise.
37414 2012-10-24  Andreas Jaeger  <aj@suse.de>
37416         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37417         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37418         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37419         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37420         posix_fadvise64, posix_fallocate64.
37422         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37423         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37424         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37425         Likewise.
37426         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37427         Likewise.
37428         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37430         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37431         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37432         <bits/fcntl-linux.h>.
37433         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37436         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37437         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37438         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37439         [__WORDSIZE != 64]: Likewise.
37441 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37443         * Makeconfig (run-built-tests): New variable.
37444         * Rules [$(cross-compiling) = yes]: Change condition to
37445         [$(run-built-tests) = no].
37446         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37447         to [$(run-built-tests) = yes].
37448         * elf/Makefile [$(cross-compiling) = no]: Likewise
37449         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37450         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37451         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37452         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37453         * io/Makefile [$(cross-compiling) = no]: Likewise.
37454         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37455         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37456         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37457         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37458         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37459         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37460         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37461         * string/Makefile [$(cross-compiling) = no]: Likewise.
37463         * posix/Makefile ($(objpfx)globtest.out): Pass
37464         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37465         $(rtld-installed-name).
37466         * posix/globtest.sh (elf_objpfx): Remove variable.
37467         (rtld_installed_name): Likewise.
37468         (library_path): Likewise.
37469         (run_program_prefix): New variable.  Use for running globtest
37470         binary.
37472 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37473             Joseph Myers  <joseph@codesourcery.com>
37475         * Makeconfig (host-built-program-cmd): New variable.
37476         * elf/Makefile (tst-stackguard1-ARGS): Use
37477         $(host-built-program-cmd).
37478         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37479         (tst-spawn-ARGS): Likewise.
37480         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37482 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37483             Jim Blandy  <jimb@codesourcery.com>
37485         * Makeconfig (run-via-rtld-prefix): New variable.
37486         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37487         (built-program-cmd): Likewise.
37489 2012-10-22  Andreas Jaeger  <aj@suse.de>
37491         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37492         __O_RSYNC if it exists, otherwise to O_SYNC.
37494 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37495             Joseph Myers  <joseph@codesourcery.com>
37497         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37498         /dev/null.
37499         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37500         from /dev/null
37501         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37502         /dev/null.
37504 2012-10-22  Andreas Jaeger  <aj@suse.de>
37506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37507         Define always.
37508         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37510         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37511         bits/fcntl-linux.h.
37513         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37514         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37516         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37517         to __O_LARGEFILE.
37518         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37519         to __O_LARGEFILE.
37521 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37522             Joseph Myers  <joseph@codesourcery.com>
37524         * config.make.in (NM): New variable.
37526 2012-10-21  Andreas Jaeger  <aj@suse.de>
37528         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37529         definitions and declarations that are provided by
37530         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37532 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37534         [BZ #14683]
37535         * elf/Makefile (tests-static): Add tst-leaks1-static.
37536         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37537         ($(objpfx)tst-leaks1-static): New rule.
37538         ($(objpfx)tst-leaks1-static-mem): Likewise.
37539         (tst-leaks1-static-ENV): New macro.
37540         * elf/dl-open.c (dl_open_worker): Check the main application
37541         only if SHARED is defined.
37542         * elf/tst-leaks1-static.c: New file.
37544 2012-10-20  Andreas Jaeger  <aj@suse.de>
37546         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37547         generic values for Linux.
37548         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37549         and declarations that are provided by <bits/fcntl-linux.h> and
37550         include <bits/fcntl-linux.h>.
37551         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37554 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37556         * io/fcntl.h: Move include of <bits/types.h> to the top and
37557         include it unconditionally.
37559 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37561         * wcsmbs/Makefile (tests-ifunc): New variable.
37562         (tests): Add $(tests-ifunc).
37563         * wcsmbs/test-wcschr-ifunc.c: New file.
37564         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37565         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37566         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37567         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37568         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37570         * string/Makefile (tests-ifunc): New variable.
37571         (tests): Add $(tests-ifunc).
37572         * string/test-memccpy.c (TEST_NAME): New macro.
37573         * string/test-memchr.c (TEST_NAME): Likewise.
37574         * string/test-memcmp.c (TEST_NAME): Likewise.
37575         * string/test-memcpy.c (TEST_NAME): Likewise.
37576         * string/test-memmem.c (TEST_NAME): Likewise.
37577         * string/test-memmove.c (TEST_NAME): Likewise.
37578         * string/test-memset.c (TEST_NAME): Likewise.
37579         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37580         * string/test-stpcpy.c (TEST_NAME): Likewise.
37581         * string/test-stpncpy.c (TEST_NAME): Likewise.
37582         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37583         * string/test-strcasestr.c (TEST_NAME): Likewise.
37584         * string/test-strcat.c (TEST_NAME): Likewise.
37585         * string/test-strchr.c (TEST_NAME): Likewise.
37586         * string/test-strcmp.c(TEST_NAME): Likewise.
37587         * string/test-strcpy.c (TEST_NAME): Likewise.
37588         * string/test-strcspn.c (TEST_NAME): Likewise.
37589         * string/test-strlen.c (TEST_NAME): Likewise.
37590         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37591         * string/test-strncmp.c (TEST_NAME): Likewise.
37592         * string/test-strncpy.c (TEST_NAME): Likewise.
37593         * string/test-strnlen.c (TEST_NAME): Likewise.
37594         * string/test-strpbrk.c (TEST_NAME): Likewise.
37595         * string/test-strrchr.c (TEST_NAME): Likewise.
37596         * string/test-strspn.c (TEST_NAME): Likewise.
37597         * string/test-strstr.c (TEST_NAME): Likewise.
37598         * string/test-bcopy-ifunc.c: New file.
37599         * string/test-bzero-ifunc.c: Likewise.
37600         * string/test-memccpy-ifunc.c: Likewise.
37601         * string/test-memchr-ifunc.c: Likewise.
37602         * string/test-memcmp-ifunc.c: Likewise.
37603         * string/test-memcpy-ifunc.c: Likewise.
37604         * string/test-memmem-ifunc.c: Likewise.
37605         * string/test-memmove-ifunc.c: Likewise.
37606         * string/test-mempcpy-ifunc.c: Likewise.
37607         * string/test-memset-ifunc.c: Likewise.
37608         * string/test-rawmemchr-ifunc.c: Likewise.
37609         * string/test-stpcpy-ifunc.c: Likewise.
37610         * string/test-stpncpy-ifunc.c: Likewise.
37611         * string/test-strcasecmp-ifunc.c: Likewise.
37612         * string/test-strcasestr-ifunc.c: Likewise.
37613         * string/test-strcat-ifunc.c: Likewise.
37614         * string/test-strchr-ifunc.c: Likewise.
37615         * string/test-strchrnul-ifunc.c: Likewise.
37616         * string/test-strcmp-ifunc.c: Likewise.
37617         * string/test-strcpy-ifunc.c: Likewise.
37618         * string/test-strcspn-ifunc.c: Likewise.
37619         * string/test-strlen-ifunc.c: Likewise.
37620         * string/test-strncasecmp-ifunc.c: Likewise.
37621         * string/test-strncat-ifunc.c: Likewise.
37622         * string/test-strncmp-ifunc.c: Likewise.
37623         * string/test-strncpy-ifunc.c: Likewise.
37624         * string/test-strnlen-ifunc.c: Likewise.
37625         * string/test-strpbrk-ifunc.c: Likewise.
37626         * string/test-strrchr-ifunc.c: Likewise.
37627         * string/test-strspn-ifunc.c: Likewise.
37628         * string/test-strstr-ifunc.c: Likewise.
37630         * debug/Makefile (tests-ifunc): New variable.
37631         (tests): Add $(tests-ifunc).
37632         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37633         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37634         * debug/test-stpcpy_chk-ifunc.c: New file.
37635         * debug/test-strcpy_chk-ifunc.c: Likewise.
37637 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37639         [BZ #13601]
37640         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37641         header is not read in.
37643 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37645         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37646         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37647         directly.  Pass built executable to script as
37648         $(built-program-cmd).
37649         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37650         $testprogram without using LD_LIBRARY_PATH and $ldso.
37652         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37653         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37654         $(rtld-installed-name).
37655         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37656         (rtld_installed_name): Likewise.
37657         (library_path): Likewise.
37658         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37659         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37660         $(run-program-prefix) to tst-tables.sh.
37661         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37662         it to run tst-table-from and tst-table-to.
37663         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37664         Pass it to tst-table.sh.
37665         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37666         $(run-program-prefix) to tst-gettext.sh.
37667         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37668         tst-translit.sh.
37669         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37670         tst-gettext2.sh.
37671         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37672         to run tst-gettext.
37673         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37674         to run tst-gettext2.
37675         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37676         to run tst-translit.
37677         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37678         $(run-program-prefix) to tst-mtrace.sh.
37679         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37680         to run tst-mtrace.
37681         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37682         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37683         $(rtld-installed-name).
37684         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37685         (rtld_installed_name): Likewise.
37686         (run_program_prefix): New variable.  Use it to run wordexp-test.
37688         * Makeconfig (ARCH): Remove all definitions.
37689         (machine): Likewise.
37690         [ARCH]: Remove conditional code.
37691         [!objdir]: Give error.
37692         [!objdir] (objpfx): Remove.
37693         [!objdir] (common-objpfx): Likewise.
37694         [!objdir] (common-objdir): Likewise.
37695         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37696         AC_CONFIG_FILES call.
37697         * configure: Regenerated.
37699         [BZ #13888]
37700         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37701         or TMPDIR.
37702         (testout): Likewise.
37704         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37705         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37706         $(rtld-installed-name).
37707         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37708         (rtld_installed_name): Likwise.
37709         (runit): Remove function.
37710         (run_getconf): New variable,  Use it for running getconf binary.
37712 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37714         [BZ #14716]
37715         * string/test-memmem.c (check_result): New function.
37716         (do_one_test): Use it.
37717         (check1): New function.
37718         (test_main): Use it.
37720 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37722         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37724 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37726         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37727         (_G_LSEEK64): Likewise.
37728         (_G_MMAP64): Likewise.
37729         (_G_FSTAT64): Likewise.
37730         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37731         (_G_LSEEK64): Likewise.
37732         (_G_MMAP64): Likewise.
37733         (_G_FSTAT64): Likewise.
37734         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37735         unconditional.  Call __mmap64 directly.
37736         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37737         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37738         __lseek64 directly.
37739         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37740         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37741         __mmap64 directly.
37742         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37743         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37744         __lseek64 directly.
37745         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37746         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37747         __lseek64 directly.
37748         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37749         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37750         __lseek64 directly.
37751         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37752         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37753         __fxstat64 directly.
37754         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37755         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37756         unconditional.
37757         (freopen64) [!_G_OPEN64]: Remove conditional code.
37758         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37759         unconditional.
37760         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37761         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37762         unconditional.
37763         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37764         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37765         unconditional.
37766         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37767         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37768         unconditional.
37769         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37770         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37771         unconditional.
37772         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37773         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37774         unconditional.
37775         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37776         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37777         unconditional.
37778         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37780 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37782         [BZ #12140]
37783         * manual/memory.texi (Malloc Tunable Parameters): Add note
37784         about free list pointers overwriting some perturb bytes.
37785         Wording suggested by Roland McGrath.
37787 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37789         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37790         (lgamma_test): Likewise.
37791         (tgamma_test): Likewise.
37793 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37795         [BZ #14700]
37796         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37797         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37799 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37801         * NEWS: Mention BZ #14716.
37802         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37803         when removing AVAILABLE1_USES_J macro.
37805 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37807         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37808         (__bswap_64): __uint64_t for unsigned 64-bit int.
37810 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37812         * include/string.h (memmem): Declare libc hidden alias.
37813         * string/memmem.c (memmem): Define libc hidden alias.
37814         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37815         __read, __close instead of open, read, close.
37817 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37820         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37821         global and hidden.
37822         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37823         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37824         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37825         Likewise.
37826         (__rawmemchr_sse2): Likewise.
37827         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37828         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37829         (__strchr_sse2): Likewise.
37830         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37831         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37832         (__strcasecmp_sse2): Likewise.
37833         (__strncasecmp_sse2): Likewise.
37834         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37835         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37836         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37837         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37838         (__strrchr_sse2): Likewise.
37839         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37840         ifunc-impl-list.c.
37841         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37842         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37843         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37844         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37845         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37846         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37847         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37848         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37849         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37850         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37851         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37852         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37853         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37854         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37855         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37856         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37857         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37858         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37859         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37860         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37861         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37862         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37863         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37864         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37865         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37866         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37867         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37868         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37869         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37870         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37872         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37873         global and hidden.
37874         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37875         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37876         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37877         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37878         Likewise.
37879         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37880         Likewise.
37881         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37882         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37883         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37884         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37885         ifunc-impl-list.c.
37886         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37887         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37888         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37889         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37890         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37891         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37892         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37893         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37894         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37895         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37896         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37897         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37898         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37899         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37900         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37901         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37902         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37903         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37904         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37905         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37907         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37908         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37909         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37910         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37911         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37912         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37913         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37914         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37915         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37916         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37917         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37918         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37919         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37920         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37921         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37922         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37923         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37924         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37925         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37926         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37928         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37929         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37930         * include/ifunc-impl-list.h: New file.
37931         * misc/ifunc-impl-list.c: Likewise.
37932         * misc/Makefile (routines): Add ifunc-impl-list.
37933         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37934         * string/test-string.h: Include <ifunc-impl-list.h>.
37935         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37936         TEST_NAME]: New variables.
37937         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37938         are defined.
37939         (test_init): Call __libc_ifunc_impl_list to initialize
37940         func_list if TEST_IFUNC and TEST_NAME are defined.
37942         * string/Makefile (strop-tests): Add bcopy and bzero.
37943         * string/test-bcopy.c: New file.
37944         * string/test-bzero.c: Likewise.
37945         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37946         defined.
37947         * string/test-memset.c: Support bzero test if TEST_BZERO is
37948         defined.
37949         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37950         __libc_memmove.
37951         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37952         __libc_memset.
37953         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37954         of memset.
37956 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37958         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37959         * configure: Regenerated.
37961         * Makeconfig (+link-static-before-libc): Don't include
37962         $(link-static-libc).
37964         * libio/libio.h (_IO_pos_t): Remove.
37966 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37968         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37969         McGrath.
37971 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37973         * crypt/crypt-entry.c: Include fips-private.h.
37974         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37975         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37976         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37977         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37979 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37981         * crypt/crypt-private.h: Include stdbool.h.
37982         (_ufc_setup_salt_r): Return bool.
37983         * crypt/crypt-entry.c: Include errno.h.
37984         (__crypt_r): Return NULL with EINVAL for bad salt.
37985         * crypt/crypt_util.c (bad_for_salt): New.
37986         (_ufc_setup_salt_r): Check that salt is long enough and within
37987         the specified alphabet.
37988         * crypt/badsalttest.c: New file.
37989         * crypt/Makefile (tests): Add it.
37990         ($(objpfx)badsalttest): New.
37992 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37994         * NEWS: Add entry for BZ #14602.
37996 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37998         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37999         type-generic.
38000         * math/libm-test.inc: Update comment listing what functions and
38001         macros are tested.
38002         (isgreater_test): New function.
38003         (isgreaterequal_test): Likewise.
38004         (isless_test): Likewise.
38005         (islessequal_test): Likewise.
38006         (islessgreater_test): Likewise.
38007         (isunordered_test): Likewise.
38008         (main): Call the new functions.
38010 2012-10-09  Roland McGrath  <roland@hack.frob.com>
38012         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38013         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38014         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38015         * sysdeps/i386/configure: Regenerated.
38016         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38017         * sysdeps/mach/configure: Regenerated.
38018         * sysdeps/mach/hurd/configure: Regenerated.
38019         * sysdeps/powerpc/configure: Regenerated.
38020         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38021         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38022         * sysdeps/s390/s390-32/configure: Regenerated.
38023         * sysdeps/s390/s390-64/configure: Regenerated.
38024         * sysdeps/sh/configure: Regenerated.
38025         * sysdeps/sparc/configure: Regenerated.
38026         * sysdeps/unix/sysv/linux/configure: Regenerated.
38027         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38028         * sysdeps/x86_64/configure: Regenerated.
38030         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38031         defined.  Don't check if MAP is NULL.
38033 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
38035         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38036         (_G_stat64): Likewise.
38037         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38038         (_G_stat64): Likewise.
38039         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38040         instead of struct _G_stat64.
38041         * libio/fileops.c (mmap_remap_check): Likewise.
38042         (decide_maybe_mmap): Likewise.
38043         (_IO_new_file_seekoff): Likewise.
38044         (_IO_file_stat): Likewise.
38045         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38046         _G_off64_t.
38047         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38048         instead of struct _G_stat64.
38049         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38051 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
38053         [BZ #14602]
38054         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38055         Replace with ...
38056         (CHECK_EOL): New macro.
38057         (two_way_short_needle): Check beginning of haystack for EOL.  Use
38058         CHECK_EOL.
38059         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38060         Replace with CHECK_EOL.
38061         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38062         Replace with CHECK_EOL.
38064 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
38066         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38067         type-generic.
38068         * math/libm-test.inc: Update comment listing what functions and
38069         macros are tested.
38070         (finite_test): New function.
38071         (isinf_test): Likewise.
38072         (isnan_test): Likewise.
38073         (fpclassify_test): Test subnormal input.
38074         (isfinite_test): Likewise.
38075         (isnormal_test): Likewise.
38076         (main): Call the new functions.
38078 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
38080         [BZ #14660]
38081         * Makerules (%.dynsym): Force C locale when running
38082         $(OBJDUMP) --dynamic-syms.
38084 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
38086         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38087         <stdint.h>.
38089 2012-10-06  David S. Miller  <davem@davemloft.net>
38091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38092         upper 32-bits of the length value in %o2 since we use branch-on-register
38093         tests which consider the entire 64-bit register.
38095 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
38097         * string/test-strstr.c (check2): Add a test for page boundary.
38099 2012-10-05  David S. Miller  <davem@davemloft.net>
38101         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38102         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38103         file.
38104         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38105         sysdep_routines.
38106         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38107         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38108         and bzero when HWCAP_SPARC_CRYPTO is present.
38110 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
38112         [BZ #14602]
38113         * string/test-strstr.c (check2): New function.
38114         (test_main): Call check2.
38116         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38117         and bug-strchr1.
38118         * string/bug-strcasestr1.c (do_test): Moved to ...
38119         * string/test-strcasestr.c (check1): Here.  New function.
38120         (do_one_test): Break out result checking code into ...
38121         (check_result): This.  New function.
38122         (do_one_test): Call check_result.
38123         (test_main): Call check1.
38124         * string/bug-strchr1.c (do_test): Moved to ...
38125         * string/test-strchr.c (check1): Here.  New function.
38126         (do_one_test): Break out result checking code into ...
38127         (check_result): This.  New function.
38128         (do_one_test): Call check_result.
38129         (test_main): Call check1.
38130         * string/bug-strstr1.c (main): Moved to ...
38131         * string/test-strstr.c (check1): Here.  New function.
38132         (do_one_test): Break out result checking code into ...
38133         (check_result): This.  New function.
38134         (do_one_test): Call check_result.
38135         (test_main): Call check1.
38136         * string/bug-strcasestr1.c: Removed.
38137         * string/bug-strchr1.c: Likewise.
38138         * string/bug-strstr1.c: Likewise.
38140         * elf/Makefile (dl-routines): Add hwcaps.
38141         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38142         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38143         (_dl_important_hwcaps): Moved to ...
38144         * elf/dl-hwcaps.c: Here.  New file.
38145         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38147         [BZ #14557]
38148         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38149         if IS_IN_rtld isn't defined.
38151         * elf/dl-support.c (_dl_sysinfo_map): New.
38152         Include "get-dynamic-info.h" and "setup-vdso.h".
38153         (_dl_non_dynamic_init): Call setup_vdso.
38154         * elf/dynamic-link.h: Don't include <assert.h>.
38155         (elf_get_dynamic_info): Moved to ...
38156         * elf/get-dynamic-info.h: Here.  New file.
38157         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38158         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38159         * elf/setup-vdso.h: Here.  New file.
38160         * elf/rtld.c: Include "setup-vdso.h".
38161         (dl_main): Call setup_vdso.
38163 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38165         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38166         creal in comment listing functions tested.  List finite, isinf,
38167         isnan, isless, islessequal, isgreater, isgreaterequal,
38168         islessgreater, isunordered, lgamma_r and pow10 as functions and
38169         macros not tested.  Mention which functions not tested are aliases
38170         for other functions.  Fix typo.  Note that signs of NaNs are not
38171         tested.
38173         * scripts/config.guess: Update from config.git.
38174         * scripts/config.sub: Likewise.
38176 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38178         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38179         * misc/madvise.c (madvise): Renamed to __madvise.
38180         Make madvise a weak alias.
38181         * include/sys/mman.h: Declare __madvise.
38182         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38183         * sysdeps/unix/syscalls.list
38184         (madvise): Make __madvise the strong name, and madvise a weak alias.
38185         * sysdeps/unix/sysv/linux/syscalls.list
38186         (madvise, mmap): Remove redundant entries.
38187         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38188         * malloc/malloc.c (mtrim): Likewise.
38189         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38191 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38193         * sysdeps/mach/hurd/dl-cache.c: File removed.
38194         * config.h.in (USE_LDCONFIG): New #undef.
38195         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38196         * configure: Regenerated.
38197         * elf/Makefile (dl-routines): Add dl-cache only under
38198         [$(use-ldconfig) = yes].
38199         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38200         cache on [USE_LDCONFIG].
38201         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38202         [USE_LDCONFIG].
38203         * elf/rtld.c (dl_main): Likewise.
38205 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38207         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38208         _SC_LEVEL4_CACHE_LINESIZE.
38210 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38212         * sysdeps/unix/bsd/confstr.h: File removed.
38214 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38216         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38217         sys/sdt-config.h.
38219 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38221         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38222         Make 'mapoff' field ElfW(Off) rather than off_t.
38224 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38226         * nscd/Makefile: Remove nscd-cflags and all its users.
38227         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38228         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38230         [BZ #10631]
38231         * malloc.c (malloc_printerr): Clarify error message.
38233 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38235         [BZ #14648]
38236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38237         Set bit_FMA_Usable if FMA is supported.
38238         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38239         macro.
38240         (bit_FMA4_Usable): Updated.
38241         (index_FMA_Usable): New macro.
38242         (CPUID_FMA): Likewise
38243         (HAS_FMA): Defined with bit_FMA_Usable.
38245 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38247         * bits/types.h (__swblk_t): Type removed.
38248         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38249         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38251         (__SWBLK_T_TYPE): Likewise.
38252         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38253         (__SWBLK_T_TYPE): Likewise.
38254         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38255         (__SWBLK_T_TYPE): Likewise.
38256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38257         (__SWBLK_T_TYPE): Likewise.
38259 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38260             Honza Horak <hhorak@redhat.com>
38262         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38263         (xdr_mapname): Use YPMAXMAP as maxsize.
38264         (xdr_peername): Use YPMAXPEER as maxsize.
38265         (xdr_keydat): Use YPAXRECORD as maxsize.
38266         (xdr_valdat): Use YPMAXRECORD as maxsize.
38268 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38270         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38272         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38273         * csu/init-first.c: ... here.
38274         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38275         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38276         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38277         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38278         * sysdeps/i386/init-first.c: File removed.
38279         * sysdeps/sh/init-first.c: File removed.
38281 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38283         [BZ #14645]
38284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38285         if x * y might underflow to zero and z is zero.
38286         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38287         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38288         * math/libm-test.inc (min_subnorm_value): New variable.
38289         (fma_test): Add more tests.
38290         (fma_test_towardzero): Likewise.
38291         (fma_test_downward): Likewise
38292         (fma_test_upward): Likewise.
38293         (initialize): Set min_subnorm_value.
38295 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38297         [BZ #14638]
38298         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38299         0 + 0.
38300         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38301         mode for addition resulting in exact zero.
38302         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38303         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38304         exact 0 + 0.
38305         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38306         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38307         * math/libm-test.inc (fma_test): Add more tests.
38308         (fma_test_towardzero): New function.
38309         (fma_test_downward): Likewise.
38310         (fma_test_upward): Likewise.
38311         (main): Call the new functions.
38313 2012-09-28  David S. Miller  <davem@davemloft.net>
38315         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38317 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38319         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38320         instead of SIGALRM.
38322         * sysdeps/gnu/_G_config.h: Moved to ...
38323         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38324         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38325         * sysdeps/generic/_G_config.h: ... here.
38327         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38329         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38331         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38332         Conditionalize target on [libnss_test1.so-version].
38334         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38336         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38337         (elfobjdir): Move out of conditionals.
38339         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38340         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38341         (__nss_lookup_function): Conditionalize label remove_from_tree on
38342         [!DO_STATIC_NSS || SHARED], matching its only use.
38344 2012-09-28  David S. Miller  <davem@davemloft.net>
38346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38347         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38348         file.
38349         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38350         sysdep_routines.
38351         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38352         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38353         when HWCAP_SPARC_CRYPTO is present.
38355 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38357         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38359 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38361         [BZ #6530]
38362         * stdio-common/vfprintf.c (process_string_arg): Revert
38363         2000-07-22 change.
38365 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38367         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38368         for testcase.
38369         * stdio-common/tst-sprintf.c: Include <locale.h>
38370         (main): Test sprintf's handling of incomplete multibyte
38371         characters.
38373 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38375         * elf/dl-runtime.c (VERSYMIDX): Removed.
38376         * elf/dl-version.c (VERSYMIDX): Likewise.
38377         * elf/do-rel.h (VERSYMIDX): Likewise.
38378         (VALIDX): Likewise.
38379         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38380         * elf/rtld.c (VALIDX): Likewise.
38381         (ADDRIDX): Likewise.
38382         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38383         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38384         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38385         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38386         (VALIDX): Likewise.
38387         (ADDRIDX): Likewise.
38389 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38391         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38393 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38395         [BZ #11438]
38396         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38397         to global scope.
38398         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38399         addresses are in the same scope as 192.0.2/24.
38400         * posix/gai.conf: Document new scope table defaults.
38402 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38404         [BZ #5298]
38405         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38406         for ftell.  Compute offsets from write pointers instead.
38407         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38409 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38411         [BZ #14543]
38412         * libio/Makefile (tests): New test case tst-fseek.
38413         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38414         combination works in wide mode.
38415         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38416         state when the external buffer state changes.
38418 2012-09-27  David S. Miller  <davem@davemloft.net>
38420         [BZ #14376]
38421         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38422         pass reloc->r_addend in as the 'high' argument to
38423         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38427 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38429         * rt/tst-aio2.c: Include <pthread.h>.
38430         * rt/tst-aio3.c: Likewise.
38432 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38434         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38436 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38438         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38439         contents on [SHARED].
38441 2012-09-26  Marek Polacek  <polacek@redhat.com>
38443         [BZ #14530]
38444         [BZ #13741]
38445         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38446         for C++ and GCC <4.3 as well as for non GCC compilers.
38448 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38450         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38452 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38454         * Makefile.in (all, install): Declare with .PHONY.
38455         Reported by Michael Hope <michael.hope@linaro.org>.
38457 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38459         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38460         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38461         system header.
38462         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38463         Likewise.
38464         (sydep_routines): Add the new and the internal functions.
38465         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38466         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38468         (GLIBC_2.17): Add the new function.
38469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38470         (GLIBC_2.17): Likewise.
38471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38472         (GLIBC_2.17): Likewise.
38473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38474         (GLIBC_2.17): Likewise.
38475         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38477 2012-09-25  Alan Modra  <amodra@gmail.com>
38479         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38480         Add release barrier before setting once_control to say
38481         initialisation is done.  Add hints on lwarx.  Use macro in
38482         place of isync.
38483         (clear_once_control): Add release barrier.
38485 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38487         [BZ #13629]
38488         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38489         specially.
38490         * math/s_clog10.c (__clog10): Likewise.
38491         * math/s_clog10f.c (__clog10f): Likewise.
38492         * math/s_clog10l.c (__clog10l): Likewise.
38493         * math/s_clogf.c (__clogf): Likewise.
38494         * math/s_clogl.c (__clogl): Likewise.
38495         * math/Makefile (libm-calls): Add x2y2m1.
38496         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38497         (__x2y2m1): Likewise.
38498         (__x2y2m1l): Likewise.
38499         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38500         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38501         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38502         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38503         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38504         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38505         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38506         * sysdeps/i386/fpu/libm-test-ulps: Update.
38507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38509         [BZ #14621]
38510         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38511         int as type of variable DEPTH.
38512         (glob): Use size_t instead of int as type of variables NEWCOUNT
38513         and OLD_PATHC.
38515 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38517         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38518         Add s_sincosf-sse2.
38519         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38520         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38521         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38522         macros for using routine as __sincosf_ia32.
38523         Use macro for function declaration and weak_alias.
38524         * sysdeps/i386/fpu/libm-test-ulps: Update.
38526         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38527         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38529         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38530         subnormal argument.
38531         * math/s_cexpf.c (__cexpf): Likewise.
38532         * math/s_csinf.c (__csinf): Likewise.
38533         * math/s_csinhf.c (__csinhf): Likewise.
38534         * math/s_ctanf.c (__ctanf): Likewise.
38535         * math/s_ctanhf.c (__ctanhf): Likewise.
38536         * math/s_ccosh.c (__ccoshf): Likewise.
38537         * math/s_cexp.c (__cexpl): Likewise.
38538         * math/s_csin.c (__csin): Likewise.
38539         * math/s_csinh.c (__csinh): Likewise.
38540         * math/s_ctan.c (__ctan): Likewise.
38541         * math/s_ctanh.c (ctanh): Likewise.
38542         * math/s_ccoshl.c (__ccoshl): Likewise.
38543         * math/s_cexpl.c (__cexpl): Likewise.
38544         * math/s_csinl.c (__csinl): Likewise.
38545         * math/s_csinhl.c (__csinhl): Likewise.
38546         * math/s_ctanl.c (__ctanl): Likewise.
38547         * math/s_ctanhl.c (__ctanhl): Likewise.
38549 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38551         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38552         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38553         (_IO_off_t): Define to __off_t, not _G_off_t.
38554         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38555         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38556         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38557         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38558         type of __dummy and __dummy2 fields.
38559         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38560         (_G_ssize_t): Likewise.
38561         (_G_off_t): Likewise.
38562         (_G_pid_t): Likewise.
38563         (_G_uid_t): Likewise.
38564         (_G_wchar_t): Likewise.
38565         (_G_wint_t): Likewise.
38566         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38567         (_G_ssize_t): Likewise.
38568         (_G_off_t): Likewise.
38569         (_G_pid_t): Likewise.
38570         (_G_uid_t): Likewise.
38571         (_G_wchar_t): Likewise.
38572         (_G_wint_t): Likewise.
38573         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38574         (_G_ssize_t): Likewise.
38575         (_G_off_t): Likewise.
38576         (_G_pid_t): Likewise.
38577         (_G_uid_t): Likewise.
38578         (_G_wchar_t): Likewise.
38579         (_G_wint_t): Likewise.
38581 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38583         * malloc/arena.c: Include malloc-sysdep.h.
38584         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38585         is sufficient to shrink the heap or an unmap is needed.
38586         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38587         new function check_may_shrink_heap.
38588         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38589         new function check_may_shrink_heap.
38591 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38593         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38594         comments.
38596 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38598         * catgets/test-gencat.sh: Add "set -e".
38599         * elf/tst-pathopt.sh: Likewise.
38600         * grp/tst_fgetgrent.sh: Likewise.
38601         * iconvdata/run-iconv-test.sh: Likewise.
38602         * intl/tst-gettext.sh: Likewise.
38603         * intl/tst-gettext2.sh: Likewise.
38604         * intl/tst-gettext4.sh: Likewise.
38605         * intl/tst-gettext6.sh: Likewise.
38606         * intl/tst-translit.sh: Likewise.
38607         * io/ftwtest-sh: Likewise.
38608         * libio/test-freopen.sh: Likewise.
38609         * malloc/tst-mtrace.sh: Likewise.
38610         * posix/globtest.sh: Likewise.
38611         * posix/tst-getconf.sh: Likewise.
38612         * posix/wordexp-tst.sh: Likewise.
38613         * stdio-common/tst-printf.sh: Likewise.
38614         * stdio-common/tst-unbputc.sh: Likewise.
38615         * stdlib/tst-fmtmsg.sh: Likewise.
38616         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38617         * catgets/Makefile: Do not specify -e option when running
38618         testsuite shell scripts.
38619         * elf/Makefile: Likewise.
38620         * grp/Makefile: Likewise.
38621         * iconvdata/Makefile: Likewise.
38622         * intl/Makefile: Likewise.
38623         * io/Makefile: Likewise.
38624         * libio/Makefile: Likewise.
38625         * malloc/Makefile: Likewise.
38626         * posix/Makefile: Likewise.
38627         * stdio-common/Makefile: Likewise.
38628         * stdlib/Makefile: Likewise.
38629         * sysdeps/x86_64/Makefile: Likewise.
38631         * io/ftwtest-sh: Add copyright header.
38632         * posix/globtest.sh: Likewise.
38633         * posix/tst-getconf.sh: Likewise.
38634         * posix/wordexp-tst.sh: Likewise.
38635         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38637 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38639         [BZ #13679]
38640         * Makeconfig (+link): Defined as $(+link-static) if
38641         $(build-shared) isn't yes.
38642         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38643         isn't yes.
38644         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38646         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38648         [BZ #14562]
38649         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38650         new chunk size with MALLOC_ALIGN_MASK.
38652 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38654         [BZ #5044]
38655         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38656         <rounding-mode.h>.
38657         (__printf_fphex): Determine rounding using get_rounding_mode and
38658         round_away.
38659         * stdio-common/tst-printf-round.c (struct hex_test): New
38660         structure.
38661         (hex_tests): New variable.
38662         (test_hex_in_one_mode): New function.
38663         (do_test): Also run tests for hex float output.
38665 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38667         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38668         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38669         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38670         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38671         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38672         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38673         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38674         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38676 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38678         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38679         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38680         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38681         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38683 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38685         [BZ #14579]
38686         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38687         mode only.
38688         * elf/tst-rtld-load-self.sh: New test.
38689         * elf/Makefile: Run it.
38691 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38693         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38694         (tst-writev-ENV): Remove.
38695         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38697 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38699         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38701 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38703         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38704         unconditional.
38705         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38706         Likewise.
38707         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38708         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38709         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38710         Likewise.
38712 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38714         [BZ #14587]
38715         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38716         * config.make.in (have-cpp-asm-debuginfo): Removed.
38717         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38718         * configure: Regenerated.
38720 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38722         [BZ #5044]
38723         * stdio-common/printf_fp.c: Include <stdbool.h> and
38724         <rounding-mode.h>.
38725         (___printf_fp): Determine rounding using get_rounding_mode and
38726         round_away.
38727         * stdio-common/tst-printf-round.c: New file.
38728         * stdio-common/Makefile (tests): Add tst-printf-round.
38729         (link-libm): New variable.
38730         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38732 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38734         [BZ #14576]
38735         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38736         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38737         Likewise.
38738         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38739         Likewise.
38741 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38743         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38744         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38745         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38746         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38748 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38750         [BZ #14518]
38751         * include/rounding-mode.h: New file.
38752         * sysdeps/generic/get-rounding-mode.h: Likewise.
38753         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38754         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38755         (MAX_VALUE): New macro.
38756         (MIN_VALUE): Likewise.
38757         (overflow_value): New function.
38758         (underflow_value): Likewise.
38759         (round_and_return): Use overflow_value and underflow_value to
38760         determine return values in overflow and underflow cases.  Use
38761         round_away to determine rounding depending on rounding mode.
38762         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38763         determine return values in overflow and underflow cases.
38764         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38765         (struct test_results): New structure.
38766         (struct test): Use struct test_results to store expected results
38767         for all rounding modes.
38768         (TEST): Include expected results for all rounding modes.
38769         (test_in_one_mode): New function.
38770         (do_test): Use test_in_one_mode to compute and check results.
38771         Check results for all rounding modes.
38772         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38773         $(link-libm).
38775 2012-12-09  Allan McRae  <allan@archlinux.org>
38777         * sysdeps/i386/fpu/libm-test-ulps: Update
38779 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38781         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38782         (_G_int32_t): Likewise.
38783         (_G_uint16_t): Likewise.
38784         (_G_uint32_t): Likewise.
38785         (_G_HAVE_BOOL): Likewise.
38786         (_G_HAVE_ATEXIT): Likewise.
38787         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38788         (_G_HAVE_IO_FILE_OPEN): Likewise.
38789         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38790         (_G_int32_t): Likewise.
38791         (_G_uint16_t): Likewise.
38792         (_G_uint32_t): Likewise.
38793         (_G_HAVE_BOOL): Likewise.
38794         (_G_HAVE_ATEXIT): Likewise.
38795         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38796         (_G_HAVE_IO_FILE_OPEN): Likewise.
38797         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38798         (_G_int32_t): Likewise.
38799         (_G_uint16_t): Likewise.
38800         (_G_uint32_t): Likewise.
38801         (_G_HAVE_BOOL): Likewise.
38802         (_G_HAVE_ATEXIT): Likewise.
38803         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38804         (_G_HAVE_IO_FILE_OPEN): Likewise.
38806 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38808         * csu/libc-tls.c: Update copyright years.
38810 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38812         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38813         [!_G_USING_THUNKS]: Remove conditional code.
38814         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38815         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38817         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38818         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38819         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38820         (_G_VTABLE_LABEL_PREFIX): Likewise.
38821         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38822         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38823         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38824         (_G_VTABLE_LABEL_PREFIX): Likewise.
38825         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38826         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38827         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38828         (_G_VTABLE_LABEL_PREFIX): Likewise.
38829         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38831 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38833         * libio/Makefile: Include ../Makeconfig before tests.
38834         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38835         only if $(build-shared) is yes.
38837         * iconv/gconv_db.c: Update copyright years.
38839 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38841         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38842         unwind info if defined PIC. Fix special cases description.
38843         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38845         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38846         DP_HI_MASK entry.
38847         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38849 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38851         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38853         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38854         is NULL.
38856         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38857         (LDLIBS-tst-chk4): This.
38858         (LDFLAGS-tst-chk5): Renamed to ...
38859         (LDLIBS-tst-chk5): This.
38860         (LDFLAGS-tst-chk6): Renamed to ...
38861         (LDLIBS-tst-chk6): This.
38862         (LDFLAGS-tst-lfschk4): Renamed to ...
38863         (LDLIBS-tst-lfschk4): This.
38864         (LDFLAGS-tst-lfschk5): Renamed to ...
38865         (LDLIBS-tst-lfschk5): This.
38866         (LDFLAGS-tst-lfschk6): Renamed to ...
38867         (LDLIBS-tst-lfschk6): This.
38869         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38870         on $(common-objpfx)soversions.mk.
38872 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38874         [BZ #10014]
38875         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38876         example host name.
38878 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38880         * malloc/arena.c (arena_get_retry): New function that gets
38881         another arena for the caller to try its request on.
38882         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38883         current arena cannot fulfill the request.
38884         (__libc_memalign): Likewise.
38885         (__libc_memalign): Likewise.
38886         (__libc_pvalloc): Likewise.
38887         (__libc_calloc): Likewise.
38889 2012-09-05  John Tobey  <john.tobey@gmail.com>
38891         [BZ #13542]
38892         * manual/arith.texi (Operations on Complex): Fix description
38893         of carg branch cut.
38895 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38897         [BZ #10014]
38898         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38899         host name.
38901         [BZ #10038]
38902         * manual/memory.texi (Memory): Make order of menu items match
38903         order of sections.
38905 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38907         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38908         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38909         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38911 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38913         * csu/libc-tls.c (static_dtv): Renamed to ...
38914         (_dl_static_dtv): This.  Make it global.
38915         (_dl_initial_dtv): Removed.
38916         (__libc_setup_tls): Updated.
38917         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38918         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38919         DL_INITIAL_DTV.
38921 2012-09-06  Petr Machata  <pmachata@redhat.com>
38923         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38924         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38925         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38926         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38928 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38930         [BZ #14545]
38931         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38932         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38933         freeing dtv[-1].
38935 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38937         [BZ #14544]
38938         * Makeconfig (link-static-before-libc): Replace $(+prector)
38939         with $(+prectorT).
38940         (link-static-after-libc): Replace $(+postctor) with
38941         $(+postctorT).
38942         (link-bounded): Replace $(+prector)/$(+postctor) with
38943         $(+prectorT)/$(+postctorT).
38944         (+prectorT): New macro.
38945         (+postctorT): Likewise.
38947 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38949         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38950         (round_str): Handle values above the maximum for IBM long double
38951         as inexact.
38952         * stdlib/tst-strtod-round.c (tests): Regenerated.
38954 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38956         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38957         assembler flag.
38958         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38959         zarch_nohighgprs around the zarch optimized routines.
38960         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38961         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38962         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38963         for zarch.
38965 2012-09-05  David S. Miller  <davem@davemloft.net>
38967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38969         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38970         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38971         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38972         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38973         entries.
38975 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38977         * malloc/arena.c: Fold copyright years.
38978         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38980 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38982         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38984 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38986         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38988 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38990         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38991         change internal state upon failure.
38993 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38995         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38996         * malloc/memusage.c (mmap): Likewise.
38997         (mmap64, mremap): Likewise.  Adjust name in comment.
38999 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39001         * libio/fileops.c: Fix typos in comments.
39002         * libio/oldfileops.c: Likewise.
39003         * libio/wfileops.c: Likewise.
39005 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39007         [BZ #1349]
39008         * malloc/Makefile (tests): Add tst-malloc-usable test case.
39009         (tst-malloc-usable-ENV): Set environment for test case.
39010         * malloc/hooks.c (malloc_check_get_size): New function to get
39011         requested size.
39012         * malloc/malloc.c (musable): Use malloc_check_get_size.
39013         * malloc/tst-malloc-usable.c: New test case.
39015 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39017         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39019 2012-09-05  Allan McRae  <allan@archlinux.org>
39021         [BZ #13966]
39022         * configure.in (CXX_SYSINCLUDES): Use compiler output to
39023         determine header location.
39024         * configure: Regenerated.
39026 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
39028         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39029         float format.
39030         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
39031         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39032         format.
39033         (test): Regenerate.
39035 2012-09-04  David S. Miller  <davem@davemloft.net>
39037         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39038         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39039         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39041 2012-09-04  Florian Weimer  <fweimer@redhat.com>
39043         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39044         failures.
39046         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39048 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
39050         [BZ #9914]
39051         * libio/iogetdelim.c: Include <limits.h>.
39052         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39053         + len + 1 would overflow.
39055 2012-09-03  Andreas Jaeger  <aj@suse.de>
39057         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39058         * sysdeps/i386/fpu/libm-test-ulps: Update.
39060 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39062         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39063         Add s_sinf-sse2, s_conf-sse2.
39065         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39066         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39067         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39068         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39070         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39071         for using routine as __sinf_ia32.
39072         Use macro for function declaration and weak_alias.
39073         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39074         for using routine as __cosf_ia32.
39075         Use macro for function declaration and weak_alias.
39077         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39078         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39080         * sysdeps/x86_64/fpu/s_sinf.S: New file.
39081         * sysdeps/x86_64/fpu/s_cosf.S: New file.
39082         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39084         * math/libm-test.inc (cos_test): Add more test cases.
39085         (sin_test): Likewise.
39086         (sincos_test): Likewise.
39088 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39090         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39091         (IFUNC_RESOLVE): Make pointers to the specialized implementations
39092         hidden.
39093         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39095 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
39097         [BZ #14538]
39098         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39099         first element of the GOT.
39100         (elf_machine_load_address): Return the difference between
39101         the runtime address of _DYNAMIC and elf_machine_dynamic ().
39103 2012-09-01  Allan McRae  <allan@archlinux.org>
39105         [BZ #13412]
39106         * configure.in (AWK): Require gawk version 3.0 or later.
39107         * configure: Regenerated.
39109 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
39111         * sysdeps/unix/sysv/linux/kernel-features.h
39112         (__ASSUME_POSIX_CPU_TIMERS): Remove.
39113         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39114         [__NR_clock_getres]: Make code unconditional.
39115         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39116         (clock_getcpuclockid): Remove code left unreachable by removal of
39117         conditionals.
39118         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39119         code unconditional.
39120         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39121         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39122         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39123         Make code unconditional.
39124         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39125         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39126         * sysdeps/unix/sysv/linux/clock_settime.c
39127         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39128         conditional code.
39129         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39130         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39132 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39134         [BZ #14476]
39135         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39136         scripts/test-installation.pl.
39138         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39139         and $ld_so_version if it is set.
39141 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39143         [BZ #14516]
39144         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39145         failure if reading from procfs failed.
39146         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39148 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39150         * sysdeps/unix/sysv/linux/kernel-features.h
39151         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39152         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39153         Remove conditional code.
39154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39155         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39156         Remove conditional code.
39157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39158         * sysdeps/unix/sysv/linux/i386/fxstat.c
39159         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39161         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39162         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39164         * sysdeps/unix/sysv/linux/i386/lxstat.c
39165         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39167         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39168         Remove conditional code.
39169         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39170         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39171         Remove conditional code.
39172         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39173         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39174         <kernel-features.h>.
39175         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39176         Remove.
39177         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39178         Remove conditional code.
39179         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39180         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39181         Remove conditional.
39183 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39185         [BZ #5400]
39186         * NEWS: Add fixed bug number.
39188 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39190         [BZ #14519]
39191         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39192         underflowing exponent in case of negative sign.
39193         * stdlib/tst-strtod-round-data: Add more tests.
39194         * stdlib/tst-strtod-round.c (tests): Regenerated.
39196         [BZ #3479]
39197         * stdlib/strtod_l.c (NDIG): Remove.
39198         (HEXNDIG): Likewise.
39199         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39200         smallest representable value.
39201         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39202         lie within an exact representation of 1/2 ulp of the result.
39203         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39204         unconditionally.
39205         (TENS_P9_IDX): Define unconditionally.
39206         (TENS_P9_SIZE): Likewise.
39207         (TENS_P10_IDX): Likewise.
39208         (TENS_P10_SIZE): Likewise.
39209         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39210         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39211         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39212         entries for 10^2^13 and 10^2^14.
39213         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39214         (TENS_P13_IDX): Define.
39215         (TENS_P13_SIZE): Likewise.
39216         (TENS_P14_IDX): Likewise.
39217         (TENS_P14_SIZE): Likewise.
39218         (_fpioconst_pow10): Change array size to
39219         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39220         unconditional.
39221         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39222         1024]: Add entries for 10^2^13 and 10^2^14.
39223         [LAST_POW10 > _LAST_POW10]: Remove #error.
39224         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39225         (_fpioconst_pow10): Change array size to
39226         FPIOCONST_POW10_ARRAY_SIZE.
39227         * stdlib/gen-fpioconst.c: New file.
39228         * stdlib/gen-tst-strtod-round.c: Likewise.
39229         * stdlib/tst-strtod-round-data: Likewise.
39230         * stdlib/tst-strtod-round.c: Likewise.
39231         * stdlib/Makefile (tests): Add tst-strtod-round.
39233         [BZ #14459]
39234         * stdlib/strtod_l.c: Include <stdint.h>.
39235         (NDEBUG): Do not define.
39236         (round_and_return): Change EXPONENT parameter to type intmax_t.
39237         Rearrange calculations to avoid internal overflow possibilities.
39238         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39239         Rearrange calculations to avoid internal overflow possibilities.
39240         Assert that number fits inside MPNSIZE limbs.
39241         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39242         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39243         calculations and add assertions to avoid internal overflow
39244         possibilities.  Add casts to avoid signed/unsigned operations.
39245         * stdlib/tst-strtod-overflow.c: New file.
39246         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39248 2012-08-25  Marek Polacek  <polacek@redhat.com>
39250         * time/time.h: Fix some typos in comments.
39252 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39254         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39255         * posix/tst-rfc3484-2.c: Likewise.
39256         * posix/tst-rfc3484-3.c: Likewise.
39258 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39260         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39261         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39263 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39265         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39266         #include of fxstatat64.c.
39268 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39270         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39271         * shadow/getspent_r.c: Likewise.
39272         * shadow/getspnam.c: Likewise.
39273         * shadow/getspnam_r.c: Likewise.
39274         * gshadow/getsgent.c: Likewise.
39275         * gshadow/getsgent_r.c: Likewise.
39276         * gshadow/getsgnam.c: Likewise.
39277         * gshadow/getsgnam_r.c: Likewise.
39278         * inet/getnetbyad.c: Likewise.
39279         * inet/getnetbyad_r.c: Likewise.
39280         * inet/getnetbynm.c: Likewise.
39281         * inet/getnetbynm_r.c: Likewise.
39282         * inet/getnetent.c: Likewise.
39283         * inet/getnetent_r.c: Likewise.
39284         * inet/getproto.c: Likewise.
39285         * inet/getproto_r.c: Likewise.
39286         * inet/getprtent.c: Likewise.
39287         * inet/getprtent_r.c: Likewise.
39288         * inet/getprtname.c: Likewise.
39289         * inet/getprtname_r.c: Likewise.
39290         * inet/getrpcbyname.c: Likewise.
39291         * inet/getrpcbyname_r.c: Likewise.
39292         * inet/getrpcbynumber.c: Likewise.
39293         * inet/getrpcbynumber_r.c: Likewise.
39294         * inet/getrpcent.c: Likewise.
39295         * inet/getrpcent_r.c: Likewise.
39296         * inet/getaliasent.c: Likewise.
39297         * inet/getaliasent_r.c: Likewise.
39298         * inet/getaliasname.c: Likewise.
39299         * inet/getaliasname_r.c: Likewise.
39300         * nscd/getgrgid_r.c: Likewise.
39301         * nscd/getgrnam_r.c: Likewise.
39302         * nscd/gethstbyad_r.c: Likewise.
39303         * nscd/gethstbynm3_r.c: Likewise.
39304         * nscd/getpwnam_r.c: Likewise.
39305         * nscd/getpwuid_r.c: Likewise.
39306         * nscd/getsrvbynm_r.c: Likewise.
39307         * nscd/getsrvbypt_r.c: Likewise.
39308         * nscd/gai.c: Likewise.
39310         * configure.in (build_nscd): New substituted variable, set
39311         by --disable-build-nscd and defaults to $use_nscd.
39312         * configure: Regenerated.
39313         * config.make.in (build-nscd): New substituted variable.
39314         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39315         Change conditional to require [$(build-nscd) = yes] as well.
39316         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39318         [BZ# 13696]
39319         * configure.in (use_nscd): New substituted variable, set by
39320         --disable-nscd.  If enabled, define USE_NSCD.
39321         * configure: Regenerated.
39322         * config.h.in: Add USE_NSCD.
39323         * config.make.in (use-nscd): New substituted variable.
39324         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39325         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39326         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39327         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39328         (CFLAGS-getgrnam_r.c): Likewise.
39329         (CFLAGS-initgroups.c): Likewise.
39330         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39331         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39332         Variables removed.
39333         * inet/getnetgrent_r.c
39334         (nscd_setnetgrent): New function, broken out of ...
39335         (setnetgrent): ... here.  Call it.
39336         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39337         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39338         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39339         * nscd/Makefile (routines, aux): Move definitions after include of
39340         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39341         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39342         Conditionalize on [USE_NSCD].
39343         (is_nscd, nscd_init_cb): Likewise.
39344         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39345         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39346         * nss/nss_db/db-init.c: Likewise.
39347         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39348         [USE_NSCD].
39349         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39350         (make_request): Use it.
39351         (cache_valid_p): New function.
39352         (__check_pf): Use it.
39353         * NEWS: Add item for --disable-nscd.
39355 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39357         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39358         to support sed >= 4.2.1-20-ga9bf076.
39359         * configure: Regenerated.
39361 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39363         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39364         Conditionalize whole body on [IREL].
39366 2012-08-22  Jeff Law <law@redhat.com>
39368         [BZ #14505]
39369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39370         if the family is PF_UNSPEC.
39372 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39374         * Makerules (lib-version): Rename from V.
39375         (install-lib-nosubdir): Change V to lib-version.
39377 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39379         [BZ #14252]
39380         * powerpc32/power6/wcschr.c: New file.
39381         * powerpc32/power6/wcscpy.c: New file.
39382         * powerpc32/power6/wcsrchr.c: New file.
39383         * powerpc64/power6/wcschr.c: New file.
39384         * powerpc64/power6/wcscpy.c: New file.
39385         * powerpc64/power6/wcsrchr.c: New file.
39387 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39389         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39390         (two_way_short_needle): Use it.
39391         * string/strstr.c (AVAILABLE1_USES_J): Define.
39392         * string/strcasestr.c: Likewise.
39394         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39395         array references.
39396         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39398         [BZ #11607]
39399         * NEWS: Add an entry.
39400         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39401         define their defaults.
39402         (two_way_short_needle): Detect end-of-string on-the-fly.
39403         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39404         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39405         * string/bug-strcasestr1.c: New test.
39406         * string/Makefile: Run it.
39408 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39410         [BZ #11607]
39411         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39412         the first character.
39414 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39416         * csu/elf-init.c (__libc_csu_irel): Function removed.
39417         * csu/libc-start.c (apply_irel): New function.
39418         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39420 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39422         * sysdeps/unix/sysv/linux/kernel-features.h
39423         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39424         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39425         <kernel-features.h>.
39426         [__NR_fadvise64_64]: Make code unconditional.
39427         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39428         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39429         !__NR_fadvise64_64)]: Likewise.
39430         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39431         !__NR_fadvise64_64))]: Likewise.
39432         [__NR_fadvise64]: Make code unconditional.
39433         [!__NR_fadvise64]: Remove conditional code.
39434         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39435         <kernel-features.h>.
39436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39437         unconditional.
39438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39439         conditional code.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39441         not include <kernel-features.h>.
39442         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39443         unconditional.
39444         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39445         conditional code.
39446         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39447         include <kernel-features.h>.
39448         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39449         unconditional.
39450         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39451         conditional code.
39453 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39455         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39456         slight instruction rearrangements per scrollpipe analysis.
39457         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39459 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39461         * manual/syslog.texi (syslog; vsyslog, closelog):
39462         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39463         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39465         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39466         DSOCAPS to match condition on defining it.
39468 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39470         * sysdeps/unix/sysv/linux/kernel-features.h
39471         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39473         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39474         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39476         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39477         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39479         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39480         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39482         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39483         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39485         * sysdeps/unix/sysv/linux/kernel-features.h
39486         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39487         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39488         unconditional.
39489         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39490         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39491         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39492         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39493         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39494         Make code unconditional.
39495         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39496         (__mmap64) [!__NR_mmap2]: Likewise.
39497         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39498         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39499         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39500         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39501         [__NR_mmap2]: Make code unconditional.
39502         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39503         (__mmap64) [!__NR_mmap2]: Likewise.
39505 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39507         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39509 2012-08-18  Andreas Jaeger  <aj@suse.de>
39511         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39513 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39515         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39516         * include/unistd.h (__have_sock_cloexec): Likewise.
39517         (__have_pipe2): Likewise.
39518         (__have_dup3): Likewise.
39520 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39522         [BZ #9685]
39523         * include/unistd.h (__have_pipe2): Change define into an extern int.
39524         (__have_dup3): Likewise.
39525         * socket/have_sock_cloexec.c: Include fcntl.h.
39526         (__have_pipe2): New variable.
39527         (__have_dup3): Likewise.
39529 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39531         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39533 2012-08-17  Marek Polacek  <polacek@redhat.com>
39535         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39536         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39538 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39540         * configure.in: Add AC_SUBST for sysheaders.
39541         * configure: Regenerated.
39542         * config.make.in (sysheaders): New substituted variable.
39544         * sysdeps/unix/mkfifo.c: Moved ...
39545         * sysdeps/posix/mkfifo.c: ... here.
39546         * sysdeps/unix/mkfifoat.c: Moved ...
39547         * sysdeps/posix/mkfifoat.c: ... here.
39549         * sysdeps/unix/utime.c: Moved ...
39550         * sysdeps/posix/utime.c: ... here.
39552         * sysdeps/unix/time.c: Moved ...
39553         * sysdeps/posix/time.c: ... here.
39554         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39555         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39557         * sysdeps/unix/nice.c: Moved ...
39558         * sysdeps/posix/nice.c: ... here.
39560         * sysdeps/unix/alarm.c: Moved ...
39561         * sysdeps/posix/alarm.c: ... here.
39563         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39565 2012-08-17  Jeff Law <law@redhat.com>
39567         * intl/Makefile (codeset_mo): New variable.
39568         ($(codeset_mo)): New target.
39569         (tst-codeset.out): Depend on that.  Remove explicit rule.
39570         (tst-gettext3.out, tst-gettext5.out): Likewise.
39571         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39572         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39573         * intl/tst-codeset.sh: Remove.
39574         * intl/tst-gettext3.sh: Likewise.
39575         * intl/tst-gettext5.sh: Likewise.
39577 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39579         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39580         * sysdeps/unix/syscalls.list: ... here.
39582         * sysdeps/posix/getaddrinfo.c
39583         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39584         (gaiconf_init, gaiconf_reload): Use them.
39585         [!_STATBUF_ST_NSEC]
39586         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39587         Define using time_t rather than struct timespec.
39589         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39590         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39591         Macros removed.
39592         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39593         [!NO_THREADS].
39594         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39595         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39596         Likewise.
39598         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39599         __libc_cleanup_push argument.
39601         * bits/param.h: New file.
39602         * misc/sys/param.h: New file.
39603         * include/sys/param.h: New file.
39604         * misc/Makefile (headers): Add bits/param.h.
39605         * sysdeps/generic/sys/param.h: File removed.
39606         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39607         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39608         * sysdeps/mach/hurd/bits/param.h: New file.
39609         * sysdeps/mach/hurd/sys/param.h: File removed.
39611         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39612         last change.
39614         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39615         [_IO_MTSAFE_IO].
39616         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39617         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39618         New macros.
39620         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39621         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39622         rather than -D_IO_MTSAFE_IO conditionally.
39623         * stdio-common/Makefile (CPPFLAGS): Likewise.
39624         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39625         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39626         Use $(libio-mtsafe).
39627         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39628         of -D_IO_MTSAFE_IO.
39629         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39630         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39631         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39632         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39633         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39634         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39635         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39636         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39637         (CFLAGS-fread_u_chk.c): Likewise.
39638         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39639         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39640         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39641         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39642         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39643         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39644         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39645         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39646         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39648         * libio/Makefile: Test [$(libc-reentrant) = yes]
39649         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39651         * Makeconfig
39652         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39653         * sysdeps/pthread/configure: File removed.
39654         * sysdeps/pthread/Makeconfig: New file.
39655         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39656         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39658 2012-08-16  Gary Benson  <gbenson@redhat.com>
39660         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39661         unmapping the first object in a namespace.
39663 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39665         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39666         (__internal_setnetgrent): ... this.  Add internal_function to
39667         definition.  Add libc_hidden_def.
39668         (setnetgrent): Update caller.
39669         (internal_endnetgrent): Renamed to ...
39670         (__internal_endnetgrent): ... this.  Add internal_function to
39671         definition.  Add libc_hidden_def.
39672         (endnetgrent): Update caller.
39673         (internal_getnetgrent_r): Renamed to ...
39674         (__internal_getnetgrent_r): ... this.  Add internal_function to
39675         definition.  Add libc_hidden_def.
39676         (__getnetgrent_r): Update caller.
39677         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39679 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39681         * stdlib/longlong.h: Update from GCC.
39683 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39685         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39686         on _QL, which is set by umul_ppmm but never used.
39687         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39688         variables, which are set by GMP macros but never used.
39689         * stdio-common/_itowa.c (_itowa): Likewise.
39690         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39691         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39693 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39695         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39696         struct La_sh_regs is not constant.
39697         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39698         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39699         and struct La_sparc64_regs are not constant.
39701 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39703         * sysdeps/unix/sysv/linux/kernel-features.h
39704         (__ASSUME_POSIX_TIMERS): Remove.
39705         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39707         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39708         Make code unconditional.
39709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39710         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39711         Make code unconditional.
39712         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39713         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39714         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39715         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39716         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39717         Make code unconditional.
39718         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39719         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39720         (__libc_missing_posix_timers): Remove.
39722 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39724         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39725         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39727         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39729         * elf/dl-sym.c: Include <stdlib.h>.
39731         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39732         constants, which avoids warnings in 32-bit builds.
39734         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39735         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39737         * misc/lseek.c: File moved to ...
39738         * io/lseek.c: ... here.
39740         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39742         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39743         shifting LEN more than 31 bits at once.
39745 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39747         [BZ #14195]
39748         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39749         segmentation fault for a case of two empty input strings.
39750         * string/test-strncasecmp.c (check1): Renamed to...
39751         (bz12205): ...this.
39752         (bz14195): Add new testcase for two empty input strings and N > 0.
39753         (test_main): Call new testcase, adapt for renamed function.
39755 2012-08-15  Andreas Jaeger  <aj@suse.de>
39757         [BZ #14090]
39758         * crypt/md5test2.c: New test, based on test supplied by Serge
39759         Belyshev <belyshev@depni.sinp.msu.ru>.
39760         * crypt/Makefile (xtests): Add md5test-giant..
39761         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39763 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39765         [BZ #14090]
39766         * crypt/md5.c (md5_process_block): Don't assume the buffer
39767         length is less than 2**32.
39768         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39769         length is less than 2**64.
39771 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39773         * string/str-two-way.h: Include <sys/param.h>.
39774         (MAX): Macro removed.
39776         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39777         Move #define and #undef of memmove to just before and after
39778         including <string.h>.
39780         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39781         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39782         and after including <string.h>.  Move declarations of
39783         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39784         to before #include "string/memmove.c".
39786         * include/dirent.h: Declare __getdirentries.
39788         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39789         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39791 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39793         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39794         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39795         * sysdeps/i386/configure: Regenerated.
39796         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39797         STABS_CURRENT_FILE, and STABS_FUN.
39798         (END): Remove call to STABS_FUN_END.
39799         (STABS_CURRENT_FILE1): Delete.
39800         (STABS_CURRENT_FILE): Likewise.
39801         (STABS_FUN): Likewise.
39802         (STABS_FUN_END): Likewise.
39803         (STABS_FUN2): Likewise.
39804         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39805         * sysdeps/x86_64/configure: Regenerated.
39807 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39809         * elf/dl-open.c: Include <atomic.h>.
39810         * elf/dl-lookup.c: Likewise.
39812 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39814         * sysdeps/unix/sysv/linux/kernel-features.h
39815         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39816         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39817         unconditionally.
39818         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39819         unconditionally.
39820         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39821         condition on __ASSUME_CLONE_THREAD_FLAGS.
39823 2012-08-14  Andreas Jaeger  <aj@suse.de>
39825         * sysdeps/i386/fpu/libm-test-ulps: Update.
39827 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39829         * include/atomic.h (atomic_exchange_and_add): Split into ...
39830         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39831         New atomic macros.
39833 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39837 2012-08-13  Jeff Law <law@redhat.com>
39839         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39840         null byte in the output string.
39842 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39844         * sysdeps/unix/sysv/linux/kernel-features.h
39845         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39846         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39847         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39848         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39849         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39850         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39851         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39853 2012-08-09  Jeff Law <law@redhat.com>
39855         [BZ #13939]
39856         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39857         When avoid_arena is set, don't retry in the that arena.  Pick the
39858         next one, whatever it might be.
39859         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39860         (arena_lock): Pass in new parameter to arena_get2.
39861         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39862         arena_get2.
39863         (__libc_malloc): Unify retrying after main arena failure with
39864         __libc_memalign version.
39865         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39867 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39869         [BZ #14166]
39870         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39871         to __redirect_strstr.
39872         (__strstr_sse42): Use typeof __redirect_strstr.
39873         (__strstr_ia32): Likewise.
39874         (__libc_strstr): New prototype.
39875         (strstr): Renamed to ...
39876         (__libc_strstr): This.
39877         (strstr): New strong alias of __libc_strstr.
39878         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39879         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39880         __redirect_time.
39881         Include <time.h>.
39882         (__libc_time): New prototype.
39883         (time_ifunc): Replace time with __libc_time.
39884         (time): New strong alias and hidden definition of __libc_time.
39885         (__GI_time): Remove strong alias.
39886         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39887         Include <stddef.h>.
39888         (memmove): Redefined to __redirect_memmove.
39889         (__memmove_sse2): Use typeof __redirect_memmove.
39890         (__memmove_ssse3): Likewise.
39891         (__memmove_ssse3_back): Likewise.
39892         (__libc_memmove): New prototype.
39893         (memmove): Renamed to ...
39894         (__libc_memmove): This.
39895         (memmove): New strong alias of __libc_memmove.
39897 2012-08-08  Mark Salter  <msalter@redhat.com>
39899         * elf/elf.h
39900         (R_MN10300_TLS_GD): Define.
39901         (R_MN10300_TLS_LD): Likewise.
39902         (R_MN10300_TLS_LDO): Likewise.
39903         (R_MN10300_TLS_GOTIE): Likewise.
39904         (R_MN10300_TLS_IE): Likewise.
39905         (R_MN10300_TLS_LE): Likewise.
39906         (R_MN10300_TLS_DTPMOD): Likewise.
39907         (R_MN10300_TLS_DTPOFF): Likewise.
39908         (R_MN10300_TLS_TPOFF): Likewise.
39909         (R_MN10300_SYM_DIFF): Likewise.
39910         (R_MN10300_ALIGN): Likewise.
39911         (R_MN10300_NUM): Update.
39913 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39916         Remove.
39918 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39920         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39922         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39923         sysdeps/unix -> sysdeps/posix move.
39924         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39926 2012-08-07      Allan McRae     <allan@archlinux.org>
39928         [BZ #14303]
39929         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39930         (SUNOS_CPP): Likewise.
39931         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39932         not found.
39933         (open_input): Call CPP using execvp.
39935 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39937         * sysdeps/unix/sysv/linux/kernel-features.h
39938         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39939         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39940         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39941         (__ASSUME_WAITID_SYSCALL): Likewise.
39942         * sysdeps/unix/sysv/linux/dl-execstack.c
39943         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39944         code unconditional.
39945         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39946         conditional code.
39947         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39948         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39949         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39950         code.
39951         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39952         unconditional.
39953         [__ASSUME_WAITID_SYSCALL]: Likewise.
39954         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39956 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39958         * sysdeps/unix/closedir.c: Renamed to ...
39959         * sysdeps/posix/closedir.c: ... here.
39960         * sysdeps/unix/dirfd.c: Renamed to ...
39961         * sysdeps/posix/dirfd.c: ... here.
39962         * sysdeps/unix/dirstream.h: Renamed to ...
39963         * sysdeps/posix/dirstream.h: ... here.
39964         * sysdeps/unix/fdopendir.c: Renamed to ...
39965         * sysdeps/posix/fdopendir.c: ... here.
39966         * sysdeps/unix/opendir.c: Renamed to ...
39967         * sysdeps/posix/opendir.c: ... here.
39968         * sysdeps/unix/readdir.c: Renamed to ...
39969         * sysdeps/posix/readdir.c: ... here.
39970         * sysdeps/unix/readdir_r.c: Renamed to ...
39971         * sysdeps/posix/readdir_r.c: ... here.
39972         * sysdeps/unix/rewinddir.c: Renamed to ...
39973         * sysdeps/posix/rewinddir.c: ... here.
39974         * sysdeps/unix/seekdir.c: Renamed to ...
39975         * sysdeps/posix/seekdir.c: ... here.
39976         * sysdeps/unix/telldir.c: Renamed to ...
39977         * sysdeps/posix/telldir.c: ... here.
39978         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39979         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39980         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39981         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39983         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39984         * bits/fcntl.h: ... here.
39986         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39987         not 0.
39988         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39989         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39990         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39991         (struct flock): Move l_start, l_len to the beginning.
39992         Use __pid_t for l_pid.
39993         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39994         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39995         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39996         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39997         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39998         [__USE_LARGEFILE64] (struct flock64): New type.
39999         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40001         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40002         * bits/dirent.h: ... here.
40004         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40005         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40007 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
40009         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40010         Change from 2.6.0 to 2.6.16.
40011         * sysdeps/unix/sysv/linux/configure: Regenerated.
40012         * sysdeps/unix/sysv/linux/kernel-features.h
40013         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40014         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40015         version.
40016         (__ASSUME_UTIMES): Likewise.
40017         (__ASSUME_CLONE_STOPPED): Remove.
40018         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40019         architectures, not kernel version.
40020         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40021         (__ASSUME_NO_CLONE_DETACHED): Likewise.
40022         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40023         (__ASSUME_WAITID_SYSCALL): Likewise.
40024         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40025         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40026         * README: State 2.6.16 as minimum Linux kernel version.  Do not
40027         refer to older versions.
40029 2012-08-06  Roland McGrath  <roland@hack.frob.com>
40031         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40032         Define alphasort64 as an alias.
40033         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40034         Define versionsort64 as an alias.
40035         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40036         Define scandir64 as an alias.
40037         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40038         Define scandirat64 as an alias.
40039         * dirent/alphasort64.c (alphasort64):
40040         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40041         * dirent/versionsort64.c: Likewise.
40042         * dirent/scandir64.c: Likewise.
40043         * dirent/scandirat64.c: Likewise.
40044         * sysdeps/wordsize-64/alphasort.c: File removed.
40045         * sysdeps/wordsize-64/alphasort64.c: File removed.
40046         * sysdeps/wordsize-64/scandir.c: File removed.
40047         * sysdeps/wordsize-64/scandir64.c: File removed.
40048         * sysdeps/wordsize-64/scandirat.c: File removed.
40049         * sysdeps/wordsize-64/scandirat64.c: File removed.
40050         * sysdeps/wordsize-64/versionsort.c: File removed.
40051         * sysdeps/wordsize-64/versionsort64.c: File removed.
40052         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40053         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40054         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40055         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40056         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40057         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40058         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40059         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40061         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40063         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40065         [defined __arch64__ || defined __sparcv9]
40066         (__INO_T_MATCHES_INO64_T): New macro.
40067         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40068         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40069         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40070         * sysdeps/unix/sysv/linux/bits/dirent.h
40071         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40072         (_DIRENT_MATCHES_DIRENT64): New macro.
40074         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40075         Define lockf64 as an alias.
40076         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40077         Define fseeko64 as an alias.
40078         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40079         Define ftello64 as an alias.
40080         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40081         Define _IO_fgetpos64 and fgetpos64 as aliases.
40082         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40083         Define _IO_fsetpos64 and fsetpos64 as aliases.
40084         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40085         Conditionalize body on this.
40086         * libio/fseeko64.c: Likewise.
40087         * libio/ftello64.c: Likewise.
40088         * libio/iofgetpos64.c: Likewise.
40089         * libio/iofsetpos64.c: Likewise.
40090         * sysdeps/wordsize-64/lockf.c: File removed.
40091         * sysdeps/wordsize-64/lockf64.c: File removed.
40092         * sysdeps/wordsize-64/fseeko.c: File removed.
40093         * sysdeps/wordsize-64/fseeko64.c: File removed.
40094         * sysdeps/wordsize-64/ftello.c: File removed.
40095         * sysdeps/wordsize-64/ftello64.c: File removed.
40096         * sysdeps/wordsize-64/iofgetpos.c: File removed.
40097         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40098         * sysdeps/wordsize-64/iofsetpos.c: File removed.
40099         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40100         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40101         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40102         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40103         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40104         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40105         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40106         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40107         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40108         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40109         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40111         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40112         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40113         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40114         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40115         [defined __arch64__ || defined __sparcv9]
40116         (__OFF_T_MATCHES_OFF64_T): New macro.
40117         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40118         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40119         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40120         (__OFF_T_MATCHES_OFF64_T): New macro.
40122 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40124         * stdlib/secure-getenv.c (__secure_getenv): Replace
40125         GLIBC_2_16 with GLIBC_2_17.
40127 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
40129         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40130         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40132 2012-08-03  David S. Miller  <davem@davemloft.net>
40134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40136 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40138         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40139         Remove.
40140         (__ASSUME_CORRECT_SI_PID): Likewise.
40141         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40142         (__ASSUME_TMPFS_NAME): Likewise.
40143         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40144         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40145         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40146         (HAVE_AUX_SECURE): Make definition unconditional.
40147         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40148         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40150 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40152         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40153         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40154         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40155         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40156         __eloop_threshold instead of SYMLOOP_MAX.
40158         * sysdeps/generic/eloop-threshold.h: New file.
40159         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40160         of MAXSYMLINKS.
40161         * elf/chroot_canon.c (chroot_canon): Likewise.
40163 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40165         [BZ #13717]
40166         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40167         Change to 2.6.0 everywhere.
40168         * sysdeps/unix/sysv/linux/configure: Regenerated.
40169         * sysdeps/unix/sysv/linux/kernel-features.h
40170         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40171         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40172         kernel versions.
40173         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40174         (__ASSUME_FUTEX_REQUEUE): Remove.
40175         (__ASSUME_STATFS64): Define unconditionally.
40176         (__ASSUME_AT_SECURE): Likewise.
40177         (__ASSUME_CORRECT_SI_PID): Likewise.
40178         (__ASSUME_TGKILL): Define without depending on kernel version for
40179         i386.
40180         (__ASSUME_UTIMES): Likewise.
40181         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40182         kernel version.
40183         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40184         (__ASSUME_TMPFS_NAME): Likewise.
40185         * README: Update reference to Linux kernel versions.
40187 2012-08-02  Marek Polacek  <polacek@redhat.com>
40189         [BZ# 14150]
40190         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40191         libc_cv_asm_type_prefix with %.
40192         * configure: Regenerated.
40193         * include/libc-symbols.h: Remove comment about
40194         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40195         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40196         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40197         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40198         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40199         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40200         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40201         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40202         * elf/tst-unique2mod1.c: Likewise.
40203         * elf/tst-unique1mod2.c: Likewise.
40204         * elf/tst-unique1mod1.c: Likewise.
40205         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40206         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40207         Replace ASM_TYPE_DIRECTIVE with .type.
40208         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40209         * sysdeps/i386/sysdep.h: Likewise.
40210         * sysdeps/x86_64/sysdep.h: Likewise.
40211         * sysdeps/sh/sysdep.h: Likewise.
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40213         Do not define ASM_TYPE_DIRECTIVE.
40214         * sysdeps/powerpc/sysdep.h: Likewise.
40215         * sysdeps/powerpc/powerpc32/sysdep.h:
40216         Replace ASM_TYPE_DIRECTIVE with .type.
40217         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40218         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40219         * sysdeps/i386/fpu/e_powf.S: Likewise.
40220         * sysdeps/i386/fpu/e_expl.S: Likewise.
40221         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40223         * sysdeps/i386/fpu/e_pow.S: Likewise.
40224         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40225         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40226         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40227         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40228         * sysdeps/i386/fpu/e_log2.S: Likewise.
40229         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40230         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40231         * sysdeps/i386/fpu/e_powl.S: Likewise.
40232         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40233         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40234         * sysdeps/i386/fpu/e_logl.S: Likewise.
40235         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40236         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40237         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40238         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40239         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40240         * sysdeps/i386/fpu/e_log.S: Likewise.
40241         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40242         * sysdeps/i386/fpu/e_logf.S: Likewise.
40243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40244         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40245         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40246         * sysdeps/i386/fpu/e_log10.S: Likewise.
40247         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40248         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40249         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40250         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40251         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40252         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40253         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40254         * sysdeps/i386/i686/strtok.S: Likewise.
40255         * sysdeps/i386/i386-mcount.S: Likewise.
40256         * sysdeps/i386/strtok.S: Likewise.
40257         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40258         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40259         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40260         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40261         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40262         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40263         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40264         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40265         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40266         * sysdeps/x86_64/_mcount.S: Likewise.
40267         * sysdeps/x86_64/strtok.S: Likewise.
40268         * sysdeps/sh/_mcount.S: Likewise.
40270 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40272         * libio/iofopen.c: Include <fcntl.h>.
40273         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40274         (_IO_fopen64, fopen64): Define as aliases.
40275         * libio/iofopen64.c: Include <fcntl.h>.
40276         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40277         Conditionalize body on this.
40278         * sysdeps/wordsize-64/iofopen.c: File removed.
40279         * sysdeps/wordsize-64/iofopen64.c: File removed.
40281 2012-08-01  Marek Polacek  <polacek@redhat.com>
40283         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40284         Use dlfcn directly instead of a variable.
40285         (binfmt-subdir): Do not define.
40286         (dlfcn): Likewise.
40288 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40291         Remove all definitions.
40292         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40293         <kernel-features.h>.
40294         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40295         (miss_F_GETOWN_EX): Remove all definitions.
40296         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40297         macro definition.
40298         [!__ASSUME_FCNTL64]: Remove conditional code.
40299         [__ASSUME_FCNTL64]: Make code unconditional.
40300         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40301         <kernel-features.h>.
40302         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40303         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40304         (lockf64) [__NR_fcntl64]: Make code unconditional.
40305         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40307         * sysdeps/unix/sysv/linux/kernel-features.h
40308         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40309         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40310         Make code unconditional.
40311         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40312         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40314         [__NR_vfork]: Make code unconditional.
40315         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40316         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40318         [__NR_vfork]: Make code unconditional.
40319         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40320         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40322 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40324         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40325         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40327         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40328         Define mkstemp64 as an alias.
40329         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40330         Define mkstemps64 as an alias.
40331         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40332         Define mkostemp64 as an alias.
40333         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40334         Define mkostemps64 as an alias.
40335         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40336         Conditionalize body on this.
40337         * misc/mkostemp64.c: Likewise.
40338         * misc/mkostemps64.c: Likewise.
40339         * misc/mkstemps64.c: Likewise.
40340         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40341         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40342         * sysdeps/wordsize-64/mkostemp.c: File removed.
40343         * sysdeps/wordsize-64/mkstemp.c: File removed.
40344         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40345         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40346         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40347         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40349         [BZ #14138]
40350         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40351         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40352         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40353         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40355         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40356         compat_symbol macros from <shlib-compat.h> rather than the underlying
40357         default_symbol_version and symbol_version macros, so that DEFAULT
40358         lines in shlib-versions are respected.
40359         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40361 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40363         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40364         Declare with warn_unused_result.
40365         (setgid, setregid, setegid, setresgid): Likewise.
40366         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40367         Likewise.
40368         * WUR-REPORT: Remove set*id functions.
40370 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40372         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40374 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40376         [BZ #10191]
40377         * include/sys/socket.h (__libc_accept, __libc_accept4):
40378         Add attribute_hidden.
40379         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40381         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40382         use of PTR_MANGLE.
40383         * inet/getnetgrent_r.c (setup): Likewise.
40385         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40387 2012-07-31  David S. Miller  <davem@davemloft.net>
40389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40391 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40393         [BZ #13629]
40394         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40395         value between 1.0 and 2.0 and smaller part has absolute value less
40396         than 1.0.
40397         * math/s_clog10.c (__clog10): Likewise.
40398         * math/s_clog10f.c (__clog10f): Likewise.
40399         * math/s_clog10l.c (__clog10l): Likewise.
40400         * math/s_clogf.c (__clogf): Likewise.
40401         * math/s_clogl.c (__clogl): Likewise.
40402         * math/libm-test.inc (clog_test): Add more tests.
40403         (clog10_test): Likewise.
40404         * sysdeps/i386/fpu/libm-test-ulps: Update.
40405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40407 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40409         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40410         Exit with zero in case no suitable GID is found, and write a
40411         message to standard error.
40413 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40415         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40416         rather than to 1.
40417         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40418         (MAXPATHLEN): Removed.
40419         (NOGROUP, NODEV): New macros.
40420         (setbit, clrbit, isset, isclr): New macros.
40421         (howmany, roundup, powerof2): New macros.
40422         (DEV_BSIZE): New macro.
40424         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40425         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40427         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40428         definition on [!__NO_LONG_DOUBLE_MATH].
40430         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40431         PTR_MANGLE and PTR_DEMANGLE.
40433         * socket/accept4.c (accept4): Rename to __libc_accept4.
40434         Define accept4 as a weak alias.
40436         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40437         on [_DIRENT_HAVE_D_TYPE].
40438         * io/ftw.c (ftw_dir): Likewise.
40440         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40442         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40444         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40445         Use the BSD numbers rather than the arbitrary ones we had.
40446         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40447         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40448         (SIGXCPU, SIGXFSZ): New macros.
40449         (_NSIG): Now 32.
40451         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40452         initializer on [_LIBC_REENTRANT].
40454         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40455         definitions inside [_POSIX_MAPPED_FILES].
40457         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40459         * dirent/opendir.c: Include <fcntl.h>.
40461         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40462         (__libc_getspecific): Likewise.
40463         (__libc_key_create): Likewise.
40465         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40466         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40467         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40468         (tmpfile64): Define as alias.
40469         * sysdeps/wordsize-64/tmpfile.c: File removed.
40470         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40471         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40472         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40474         * stdio-common/vfscanf.c: Include <stdbool.h>.
40475         * nss/makedb.c: Likewise.
40476         * stdio-common/_i18n_number.h: Likewise.
40477         * argp/argp-help.c: Likewise.
40478         * posix/wordexp.c: Likewise.
40479         * sysdeps/posix/spawni.c: Likewise.
40480         * nss/nss_files/files-initgroups.c: Likewise.
40481         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40482         * nss/nss_files/files-initgroups.c: Likewise.
40483         * nss/nss_db/db-netgrp.c: Likewise.
40484         * nss/nss_db/db-initgroups.c: Likewise.
40485         * io/fchmodat.c: Include <sys/stat.h>.
40487         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40488         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40490         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40491         [HAVE_MMAP].
40493         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40494         Add multiple inclusion protection.
40496 2012-07-27  David S. Miller  <davem@davemloft.net>
40498         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40500 2012-07-27  Gary Benson  <gbenson@redhat.com>
40502         [BZ #14298]
40503         * elf/rtld.c: Include <stap-probe.h>.
40504         (dl_main): Added static probes "init_start" and "init_complete".
40505         * elf/dl-load.c: Include <stap-probe.h>.
40506         (lose): Take new parameter "nsid".
40507         Added static probe "map_failed".
40508         (_dl_map_object_from_fd): Pass namespace id to lose.
40509         Added static probe "map_start".
40510         (open_verify): Pass namespace id to lose.
40511         * elf/dl-open.c: Include <stap-probe.h>.
40512         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40513         and "reloc_complete".
40514         * elf/dl-close.c: Include <stap-probe.h>.
40515         (_dl_close_worker): Added static probes "unmap_start" and
40516         "unmap_complete".
40517         * elf/rtld-debugger-interface.txt: New file documenting the above.
40519 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40521         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40522         rather than a string variable.
40523         * sunrpc/rpc_main.c (h_output): Likewise.
40524         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40526 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40528         * inet/check_native.c: New file.
40530 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40532         [BZ #13629]
40533         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40534         if larger part has absolute value 1.0.
40535         * math/s_clog10.c (__clog10): Likewise.
40536         * math/s_clog10f.c (__clog10f): Likewise.
40537         * math/s_clog10l.c (__clog10l): Likewise.
40538         * math/s_clogf.c (__clogf): Likewise.
40539         * math/s_clogl.c (__clogl): Likewise.
40540         * math/libm-test.inc (clog_test): Add more tests.
40541         (clog10_test): Likewise.
40542         * sysdeps/i386/fpu/libm-test-ulps: Update.
40543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40545         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40546         (pltexit): Likewise.
40547         (La_regs): Likewise.
40548         (La_retval): Likewise.
40549         (int_retval): Likewise.
40550         Update #error for removed macros to refer only to definitions in
40551         tst-audit.h.
40552         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40553         macro.
40554         (pltexit): Likewise.
40555         (La_regs): Likewise.
40556         (La_retval): Likewise.
40557         (int_retval): Likewise.
40558         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40559         macro.
40560         (pltexit): Likewise.
40561         (La_regs): Likewise.
40562         (La_retval): Likewise.
40563         (int_retval): Likewise.
40564         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40565         macro.
40566         (pltexit): Likewise.
40567         (La_regs): Likewise.
40568         (La_retval): Likewise.
40569         (int_retval): Likewise.
40570         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40571         macro.
40572         (pltexit): Likewise.
40573         (La_regs): Likewise.
40574         (La_retval): Likewise.
40575         (int_retval): Likewise.
40576         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40577         macro.
40578         (pltexit): Likewise.
40579         (La_regs): Likewise.
40580         (La_retval): Likewise.
40581         (int_retval): Likewise.
40582         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40583         macro.
40584         (pltexit): Likewise.
40585         (La_regs): Likewise.
40586         (La_retval): Likewise.
40587         (int_retval): Likewise.
40588         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40589         macro definitions in tst-audit.h.
40590         * sysdeps/i386/tst-audit.h: New file.
40591         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40592         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40593         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40594         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40595         * sysdeps/sh/tst-audit.h: Likewise.
40596         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40597         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40598         * sysdeps/x86_64/tst-audit.h: Likewise.
40600 2012-07-26  Andreas Jaeger  <aj@suse.de>
40602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40603         ptrace.
40605         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40606         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40607         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40608         PTRACE_O_MASK.
40609         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40610         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40613         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40614         value.
40616         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40617         _sigsys.
40618         (si_call_addr, si_syscall, si_arch): Define new macro.
40619         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40620         _sigsys.
40621         (si_call_addr, si_syscall, si_arch): Define new marcro.
40622         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40623         _sigsys.
40624         (si_call_addr, si_syscall, si_arch): Define new macro.
40625         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40626         _sigsys.
40627         (si_call_addr, si_syscall, si_arch): Define new macro.
40629 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40631         [BZ #13717]
40632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40633         Change to 2.4.21 where previously 2.4.1.
40634         * sysdeps/unix/sysv/linux/configure: Regenerated.
40635         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40636         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40637         Linux kernel version.
40638         (__ASSUME_STD_AUXV): Remove.
40639         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40640         kernel version.
40641         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40642         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40643         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40644         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40645         (__ASSUME_NETLINK_SUPPORT): Likewise.
40646         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40647         (__no_netlink_support): Remove conditional definition.
40648         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40649         Remove.
40650         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40651         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40652         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40653         (if_nameindex_ioctl): Remove.
40654         (if_nameindex_netlink): Do not handle __no_netlink_support.
40655         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40656         code.
40657         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40658         Remove conditional code.
40659         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40660         code.
40661         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40662         unconditional.
40663         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40664         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40665         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40666         Remove.
40667         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40668         [!__ASSUME_STD_AUXV]: Remove conditional code.
40669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40670         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40671         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40673         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40674         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40675         code.
40676         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40678         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40679         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40680         conditional code.
40681         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40683         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40684         code.
40685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40686         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40687         conditional code.
40688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40689         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40690         code unconditional.
40691         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40692         conditional code.
40693         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40694         unconditional.
40695         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40696         conditional code.
40697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40698         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40699         unconditional.
40700         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40701         conditional code.
40702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40703         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40704         code unconditional.
40705         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40706         conditional code.
40707         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40708         unconditional.
40709         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40710         conditional code.
40711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40712         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40713         code unconditional.
40714         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40715         conditional code.
40716         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40717         unconditional.
40718         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40719         conditional code.
40721 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40723         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40724         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40725         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40726         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40727         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40728         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40729         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40730         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40731         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40732         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40733         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40734         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40735         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40736         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40737         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40738         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40739         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40740         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40741         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40742         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40743         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40744         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40745         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40747 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40749         * Versions.def: Add GLIBC_2.17.
40750         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40751         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40752         Introduce __libc_secure_getenv.
40753         * stdlib/Versions (2.17): Add secure_getenv
40754         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40755         * stdlib/secure-getenv.c: Rename __secure_getenv to
40756         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40757         symbol __secure_getenv for GLIBC_2.0.
40758         * stdlib/tst-secure-getenv.c: New.
40759         * stdlib/Makefile (tests): Add testcase.
40760         * manual/startup.texi (Environment Access): Document
40761         secure_getenv.
40762         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40763         __libc_secure_getenv.
40764         * inet/ruserpass.c (ruserpass): Likewise.
40765         * malloc/mtrace.c (mtrace): Likewise.
40766         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40767         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40768         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40769         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40770         HAVE_SECURE_GETENV.
40771         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40772         __secure_getenv to __libc_secure_getenv.
40773         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40775         Likewise.
40776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40777         Likewise.
40778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40780         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40786 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40788         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40789         (struct La_i86_retval): Likewise.
40790         (struct La_x86_64_regs): Likewise.
40791         (struct La_x86_64_retval): Likewise.
40792         (struct La_x32_regs): Likewise.
40793         (struct La_x32_retval): Likewise.
40794         (struct La_ppc32_regs): Likewise.
40795         (struct La_ppc32_retval): Likewise.
40796         (struct La_ppc64_regs): Likewise.
40797         (struct La_ppc64_retval): Likewise.
40798         (struct La_sh_regs): Likewise.
40799         (struct La_sh_retval): Likewise.
40800         (struct La_s390_32_regs): Likewise.
40801         (struct La_s390_32_retval): Likewise.
40802         (struct La_s390_64_regs): Likewise.
40803         (struct La_s390_64_retval): Likewise.
40804         (struct La_sparc32_regs): Likewise.
40805         (struct La_sparc32_retval): Likewise.
40806         (struct La_sparc64_regs): Likewise.
40807         (struct La_sparc64_retval): Likewise.
40808         (struct audit_ifaces): Remove architecture-specific pltenter and
40809         pltexit members.
40810         * sysdeps/i386/ldsodefs.h: New file.
40811         * sysdeps/powerpc/ldsodefs.h: Likewise.
40812         * sysdeps/s390/ldsodefs.h: Likewise.
40813         * sysdeps/sh/ldsodefs.h: Likewise.
40814         * sysdeps/sparc/ldsodefs.h: Likewise.
40815         * sysdeps/x86_64/ldsodefs.h: Likewise.
40817 2012-07-25  Marek Polacek  <polacek@redhat.com>
40819         [BZ #6808]
40820         * math/libm-test.inc (yn_test): Add another test.
40821         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40822         to ERANGE when the result is +-Inf.
40823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40824         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40825         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40826         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40828 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40830         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40831         equal to 0.
40832         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40833         clock_t.
40834         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40836 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40838         * configure.in <sysdeps resolving>: Correct printing
40839         Implies_before.
40840         * configure: Regenerate.
40842 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40844         * math/w_ilogb.c: Include <limits.h>.
40845         * math/w_ilogbl.c: Likewise.
40847 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40849         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40850         va_copy.  Document allowing for unavailable va_copy only as
40851         pre-C99 compatibility.
40852         * manual/string.texi (Copying and Concatenation): Use va_copy
40853         instead of __va_copy in concat example.
40855 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40857         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40858         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40859         it if not null.
40861         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40862         with O_NOLINK passed to __file_name_lookup.
40864         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40865         with O_NOLINK passed to __file_name_lookup.
40867         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40868         negative N or less than NGIDS.
40870         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40871         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40872         enough.  Use memcpy instead of strncpy.
40874 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40876         * elf/Makefile (check-data): Remove.
40877         (localplt.data): New vpath directive.
40878         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40879         instead of $(check-data).
40880         * scripts/data/localplt-generic.data: Move to ...
40881         * sysdeps/generic/localplt.data: ... here.
40882         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40883         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40884         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40886         ... here.
40887         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40889         ... here.
40890         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40891         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40892         ... here.
40893         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40895         ... here.
40896         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40898         ... here.
40899         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40900         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40901         ... here.
40903 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40905         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40906         PPC32 and PPC64 files.
40907         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40908         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40910 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40912         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40913         __makecontext_ret to ...
40914         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40915         ... here and call exit if uc_link is NULL.  New file.
40916         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40917         __makecontext_ret.S.
40918         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40919         __makecontext_ret to ...
40920         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40921         ... here and call exit if uc_link is NULL.  New file.
40922         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40923         __makecontext_ret.S.
40925 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40927         * elf/elf.h (R_390_IRELATIVE): New definition.
40928         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40929         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40930         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40931         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40932         (elf_machine_lazy_rel): Likewise.
40933         * sysdeps/s390/dl-irel.h: New file.
40934         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40935         * sysdeps/s390/s390-64/memset.S: New asm code.
40936         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40937         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40938         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40939         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40940         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40941         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40942         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40943         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40944         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40945         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40946         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40947         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40948         * sysdeps/s390/s390-32/memset.S: New asm code.
40949         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40951 2012-07-17  Marek Polacek  <polacek@redhat.com>
40953         [BZ #14349]
40954         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40955         * sysdeps/s390/s390-64/configure.in: Likewise.
40956         * sysdeps/sparc/configure.in: Likewise.
40957         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40958         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40959         * sysdeps/i386/configure.in: Likewise.
40960         * sysdeps/x86_64/configure.in: Likewise.
40961         * sysdeps/sh/configure.in: Likewise.
40962         * sysdeps/s390/s390-32/configure: Regenerated.
40963         * sysdeps/s390/s390-64/configure: Likewise.
40964         * sysdeps/x86_64/configure: Likewise.
40965         * sysdeps/sh/configure: Likewise.
40966         * sysdeps/powerpc/powerpc64/configure: Likewise.
40967         * sysdeps/powerpc/powerpc32/configure: Likewise.
40968         * sysdeps/sparc/configure: Likwise.
40969         * sysdeps/i386/configure: Likewise.
40971         * elf/dl-open.c: Comment fixes.
40973 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40975         * Makefile [CXX] (check-data): Remove.
40976         [CXX] (c++-types.data): New vpath directive.
40977         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40978         vpath.  Do not allow for C++ type data being missing.
40979         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40980         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40981         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40982         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40983         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40984         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40985         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40987         ... here.
40988         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40990         ... here.
40991         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40993         ... here.
40994         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40996         ... here.
40997         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40999         ... here.
41000         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41002         ... here.
41003         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41005         ... here.
41006         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41009         * elf/tls-macros.h (TLS_LE): Move architecture-specific
41010         definitions to architecture-specific files.
41011         (TLS_IE): Likewise.
41012         (TLS_LD): Likewise.
41013         (TLS_GD): Likewise.
41014         * sysdeps/i386/tls-macros.h: New file.
41015         * sysdeps/powerpc/tls-macros.h: Likewise.
41016         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41017         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41018         * sysdeps/sh/tls-macros.h: Likewise.
41019         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41020         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41021         * sysdeps/x86_64/tls-macros.h: Likewise.
41023 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41025         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41026         zero value for regular exit case.
41028         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41029         (__start_context): Preserve zero value for regular exit case.
41031 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
41032             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41034         * manual/setjmp.texi (setcontext): Clarify normal process
41035         termination when uc_link is the null pointer.
41036         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41037         exit call.
41039 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
41041         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41042         preprocessor.  Test for each exception mask separately.
41044 2012-07-16  Andreas Jaeger  <aj@suse.de>
41046         * po/ru.po: Update from translation team.
41048 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
41050         * conform/data/string.h-data (NULL): Use macro-constant.  Require
41051         equal to 0.
41052         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41053         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41054         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41055         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41058 2012-07-13  Andreas Jaeger  <aj@suse.de>
41060         * po/fr.po: Update from translation team.
41062 2012-07-12  Marek Polacek  <polacek@redhat.com>
41064         [BZ #14173]
41065         * math/libm-test.inc (yn_test): Add test for BZ #14173.
41066         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41067         loop condition.
41069 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
41071         [BZ #13717]
41072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41073         Change to 2.4.1 where previously 2.4.0.
41074         * sysdeps/unix/sysv/linux/configure: Regenerated.
41075         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41076         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41077         version.
41078         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41079         (__ASSUME_AT_CLKTCK): Remove.
41080         (__ASSUME_AT_PAGESIZE): Likewise.
41081         (__ASSUME_AT_XID): Likewise.
41082         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41083         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41084         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41085         unconditionally.
41086         (HAVE_AUX_PAGESIZE): Likewise.
41087         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41088         [__ASSUME_AT_CLKTCK]: Make code unconditional.
41089         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41091 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
41093         [BZ #14307]
41094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41095         the temporary buffer used to invoke __gethostbyname2_r,
41096         __gethostbyaddr_r and gethostbyname4_r to make room for struct
41097         host_data / struct gaih_addrtuple.
41098         * resolv/nss_dns/dns-host.c (global scope): Move definition of
41099         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41100         header file nss/nsswitch.h.
41101         * nss/nsswitch.h (global scope): Add definition of implementation
41102         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41103         resolv/nss_dns/dns-host.c).
41105 2012-07-11  Andreas Jaeger  <aj@suse.de>
41107         * po/fr.po: Update from translation team.
41109         * po/sv.po: Update from translation team
41110         * po/fr.po: Another update from translation team.
41112 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41114         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41115         for subnormals or multiply small sinh result by itself.
41116         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41119 2012-07-11  David S. Miller  <davem@davemloft.net>
41121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41123 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
41125         [BZ #14347]
41126         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41127         (INTERNAL_MARK): Shift it here.
41129 2012-07-10  Marek Polacek  <polacek@redhat.com>
41131         [BZ #14151]
41132         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41133         libc_cv_asm_global_directive with .globl.
41134         * configure: Regenerated.
41135         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41136         with .globl.
41137         * sysdeps/i386/configure: Regenerated.
41138         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41139         with .globl.
41140         * sysdeps/x86_64/configure: Regenerated.
41141         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41142         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41143         * elf/tst-unique2mod2.c: Likewise.
41144         * elf/tst-unique2mod1.c: Likewise.
41145         * elf/tst-unique1mod2.c: Likewise.
41146         * elf/tst-unique1mod1.c: Likewise.
41147         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41148         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41149         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41150         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41151         * sysdeps/mach/sysdep.h: Likewise.
41152         * sysdeps/i386/sysdep.h: Likewise.
41153         * sysdeps/i386/i386-mcount.S: Likewise.
41154         * sysdeps/x86_64/_mcount.S: Likewise.
41155         * sysdeps/x86_64/sysdep.h: Likewise.
41156         * sysdeps/sh/_mcount.S: Likewise.
41157         * sysdeps/sh/sysdep.h: Likewise.
41158         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41159         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41160         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41161         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41162         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41163         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41164         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41165         * locale/localeinfo.h: Likewise.
41166         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41167         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41169 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41171         [BZ #14336]
41172         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41173         system".
41174         * manual/message.texi (The Uniforum approach): Likewise.
41175         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41176         (glibc iconv Implementation): Likewise.
41178 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41180         [BZ #14337]
41181         * math/s_clog.c (__clog): Avoid scaling a value down where that
41182         could result in underflow.
41183         * math/s_clog10.c (__clog10): Likewise.
41184         * math/s_clog10f.c (__clog10f): Likewise.
41185         * math/s_clog10l.c (__clog10l): Likewise.
41186         * math/s_clogf.c (__clogf): Likewise.
41187         * math/s_clogl.c (__clogl): Likewise.
41188         * math/libm-test.inc (clog_test): Add more tests.
41189         (clog10_test): Likewise.
41190         * sysdeps/i386/fpu/libm-test-ulps: Update.
41191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41193 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41195         [BZ #14283]
41196         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41197         by 7 not 8 to examine high bit of fractional part.
41199         [BZ #14042]
41200         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41201         for call to __mcount_internal.
41202         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41203         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41204         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41206 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41208         [BZ #14154]
41209         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41210         approximation for values within 0x1p-13f of an odd multiple of
41211         pi/4.
41212         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41213         exception.  Add more tests.
41214         * sysdeps/i386/fpu/libm-test-ulps: Update.
41216         [BZ #6778]
41217         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41218         inputs and return -1 for them.  Do not check for +Inf in case not
41219         reachable for +Inf.
41220         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41221         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41222         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41223         and return -1 for them.  Do not check for +Inf in case not
41224         reachable for +Inf.
41225         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41226         define.
41227         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41228         and return -1 for them.  Do not check for +Inf in case not
41229         reachable for +Inf.
41230         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41231         spurious underflow.
41232         * sysdeps/i386/fpu/libm-test-ulps: Update.
41233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41235 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41237         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41239 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41241         [BZ #14157]
41242         [BZ #14331]
41243         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41244         could result in spurious underflow.  Scale down values above
41245         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41246         * math/s_csqrtf.c (__csqrtf): Likewise.
41247         * math/s_csqrtl.c (__csqrtl): Likewise.
41248         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41249         spurious underflow.
41250         * sysdeps/i386/fpu/libm-test-ulps: Update.
41251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41253 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41255         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41256         xopen-msg.sed.
41257         * catgets/xopen-msg.awk: New file.
41258         * catgets/xopen-msg.sed: Removed.
41260         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41261         po2text.sed.
41262         * intl/po2test.awk: New file.
41263         * intl/po2test.sed: Removed.
41265 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41267         [BZ #14328]
41268         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41269         or multiply small sinh result by itself.
41270         * math/s_ctanf.c (__ctanf): Likewise.
41271         * math/s_ctanh.c (__ctanh): Likewise.
41272         * math/s_ctanhf.c (__ctanhf): Likewise.
41273         * math/s_ctanhl.c (__ctanhl): Likewise.
41274         * math/s_ctanl.c (__ctanl): Likewise.
41275         * math/libm-test.inc (ctan_test_tonearest): New function.
41276         (ctan_test_towardzero): Likewise.
41277         (ctan_test_downward): Likewise.
41278         (ctan_test_upward): Likewise.
41279         (ctanh_test_tonearest): Likewise.
41280         (ctanh_test_towardzero): Likewise.
41281         (ctanh_test_downward): Likewise.
41282         (ctanh_test_upward): Likewise.
41283         (main): Call these new functions.
41284         * sysdeps/i386/fpu/libm-test-ulps: Update.
41285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41287 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41289         * .gitignore: Delete /ports entry.
41291 2012-07-03  Andreas Jaeger  <aj@suse.de>
41293         * po/bg.po: Update from translation team.
41294         * po/cs.po: Likewise.
41295         * po/de.po: Likewise.
41296         * po/hr.po: Likewise.
41297         * po/nl.pl: Likewise.
41298         * po/pl.po: Likewise.
41299         * po/vi.po: Likewise.
41301 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41303         * Makeconfig [!+link] (+link-before-libc): New variable.
41304         [!+link] (+link-after-libc): Likewise.
41305         [!+link] (+link-tests): Likewise.
41306         [!+link] (+link): Define in terms of $(+link-before-libc) and
41307         $(+link-after-libc).
41308         [!+link-static] (+link-static-before-libc): New variable.
41309         [!+link-static] (+link-static-after-libc): Likewise.
41310         [!+link-static] (+link-static-tests): Likewise.
41311         [!+link-static] (+link-static): Define in terms of
41312         $(+link-static-before-libc) and $(+link-static-after-libc).
41313         [build-shared] (link-libc-before-gnulib): New variable.
41314         [build-shared] (link-libc-tests): Likewise.
41315         [build-shared] (link-libc): Define in terms of
41316         $(link-libc-before-gnulib).
41317         [!build-shared] (link-libc-tests): New variable.
41318         (link-libc-static-tests): New variable.
41319         [!gnulib] (gnulib-arch): New variable.
41320         [!gnulib] (gnulib-tests): Likewise.
41321         [!gnulib] (static-gnulib-arch): Likewise.
41322         [!gnulib] (static-gnulib-tests): Likewise.
41323         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41324         Define with "=" instead of ":=".
41325         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41326         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41327         * Rules (binaries-all-notests): New variable.
41328         (binaries-all-tests): Likewise.
41329         (binaries-static-notests): Likewise.
41330         (binaries-static-tests): Likewise.
41331         (binaries-all): Define using $(binaries-all-notests) and
41332         $(binaries-all-tests).
41333         (binaries-static): Define using $(binaries-static-notests) and
41334         $(binaries-static-tests).
41335         (binaries-shared-tests): New variable.
41336         (binaries-shared-notests): Likewise.
41337         (binaries-shared): Remove variable.
41338         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41339         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41340         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41341         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41342         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41343         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41344         * elf/Makefile (sln-modules): New variable.
41345         (extra-objs): Add $(sln-modules:=.o).
41346         (ldconfig-modules): Add static-stubs.
41347         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41348         * elf/static-stubs.c: New file.
41350         [BZ #14283]
41351         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41352         by 7 not 8 to examine high bit of fractional part.  Use volatile
41353         variables when splitting into final array of floats if
41354         __FLT_EVAL_METHOD__ != 0.
41355         * math/libm-test.inc (cos_test): Add another test.
41356         (sin_test): Likewise.
41357         * sysdeps/i386/fpu/libm-test-ulps: Update.
41359         [BZ #14273]
41360         * math/libm-test.inc (cosh_test): Add more tests.
41362         * version.h (RELEASE): Set to "development".
41363         (VERSION): Set to "2.16.90".
41365 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41367         * NEWS: Update copyright. Remove last-updated date.
41368         Mention math library bug fixes and timezone data changes.
41369         * README: Mention GNU/Hurd, x32, and HPPA support status.
41371 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41373         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41375 2012-06-27  Andreas Jaeger  <aj@suse.de>
41377         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41379 2012-06-25  Andreas Jaeger  <aj@suse.de>
41381         * sysdeps/s390/fpu/libm-test-ulps: Update.
41383 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41384             Thomas Schwinge  <thomas@codesourcery.com>
41386         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41387         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41388         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41389         fanotify_mark.
41391 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41393         * sysdeps/mach/start.c: Remove file.
41394         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41395         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41396         * sysdeps/sh/init-first.c: Likewise.
41398         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41399         registers for frame unwinding purposes, add CFI directives.
41400         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41401         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41402         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41403         Likewise.
41405         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41406         __fortify_fail returning.
41407         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41409         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41410         sysdeps/sh/____longjmp_chk.S.
41411         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41412         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41413         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41414         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41416         * sysdeps/sh/abort-instr.h: New file.
41417         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41418         process in case exit returns.
41420         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41421         initialize the GOT register before use.
41423         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41424         calculation of ARGC > 4.
41426         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41427         meaningful names to some local labels.
41429 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41430             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41432         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41433         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41434         (__arch_compare_and_exchange_val_16_acq): Likewise.
41435         (__arch_compare_and_exchange_val_32_acq): Likewise.
41436         (atomic_exchange_and_add): Fix gUSA sequence.
41437         (atomic_add): Likewise.
41438         (atomic_add_negative): Likewise.
41439         (atomic_add_zero): Likewise.
41440         (atomic_bit_test_set): Likewise.
41442 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41444         [BZ #13579]
41445         * include/link.h (struct link_map): Add l_free_initfini.
41446         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41447         l_initfini.
41448         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41449         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41450         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41451         set.
41453 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41455         * configure.in: Use AC_LANG_SOURCE.
41456         * configure: Regenerate.
41458 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41460         * configure.in (libc_cv_localstatedir): New substituted variable.
41461         * configure: Regenerated.
41462         * config.make.in (localstatedir): New variable, substituted from
41463         libc_cv_localstatedir.
41464         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41465         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41466         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41467         * sysdeps/gnu/configure: Regenerated.
41469 2012-06-21  Jeff Law  <law@redhat.com>
41471         [BZ #14277]
41472         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41473         free.  Simplify list management for _LIBC case.
41475 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41477         [BZ #14273]
41478         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41479         Clear sign bit of 64-bit integer value before comparing against
41480         overflow value.
41482         * sysdeps/mach/configure: Regenerated.
41484 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41486         [BZ #14278]
41487         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41489 2012-06-21  Jeff Law  <law@redhat.com>
41491         [BZ #13882]
41492         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41493         uint16_t for elements in the "seen" array to avoid char overflows.
41494         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41495         * elf/dl-open.c (dl_open_worker): Likewise.
41497 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41499         * scripts/list-sources.sh: Scan PORTS for translations.
41500         * po/libc.pot: Regenerated.
41502 2012-06-21  Andreas Jaeger  <aj@suse.de>
41504         [BZ #12194]
41505         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41506         warning.
41507         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41508         * bits/byteswap-16.h (__bswap_16): Likewise.
41509         * bits/byteswap.h (__bswap_constant_16): Likewise.
41511 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41513         [BZ #14117]
41514         * sysdeps/i386/fpu_control.h: Removed.
41515         * sysdeps/x86_64/fpu_control.h: Moved to ...
41516         * sysdeps/x86/fpu_control.h: Here.
41518         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41519         (_FPU_SETCW): Likewise.
41521 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41523         [BZ #14117]
41524         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41525         * sysdeps/x86/fpu/bits/mathinline.h: This.
41526         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41528         [BZ #14050]
41529         [BZ #14117]
41530         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41531         functions if __x86_64__ is defined.
41533 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41535         * string/endian.h: Add !__ASSEMBLER__ condition for including
41536         conversion interfaces.
41538 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41540         [BZ #14241]
41541         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41542         of ABS(x) in calculating zero to negative powers other than odd
41543         integers.
41544         * math/libm-test.inc (pow_test): Add more tests.
41546 2012-06-15  Andreas Jaeger  <aj@suse.de>
41548         * manual/contrib.texi (Contributors): Update entry of Liubov
41549         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41550         Machado Filho.
41552 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41554         * string/string.h: Add __wur to GNU version of strerror_r.
41556 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41558         [BZ #14229]
41559         * string/Makefile (tests): Add tst-strtok_r.
41560         * string/tst-strtok_r.c: New file.
41561         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41562         RAX_LP/RDX_LP on SAVE_PTR.
41564 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41566         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41568 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41570         * libm_test.inc (csqrt_test): Allow more spurious underflow
41571         exceptions.
41572         (j0_test): Likewise.
41573         (j1_test): Likewise.
41574         (y0_test): Likewise.
41575         (y1_test): Likewise.
41577 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41579         * po/Makefile (libc.pot): Use UTF-8 charset.
41581 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41583         [BZ #14210]
41584         Suppress sign-conversion warning from FD_SET.
41585         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41586         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41587         not unsigned long int.
41588         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41590 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41592         [BZ #14050]
41593         [BZ #14117]
41594         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41595         __extern_always_inline instead of __extern_inline.
41596         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41597         (__signbit): Likewise.
41598         (__signbitl): Support C++ namespace.
41599         (lrintf): New inline function.
41600         (lrint): Likewise.
41601         (llrintf): Likewise.
41602         (llrint): Likewise.
41603         (fmaxf): Likewise.
41604         (fmax): Likewise.
41605         (fminf): Likewise.
41606         (fmin): Likewise.
41607         (rint): Likewise.
41608         (rintf): Likewise.
41609         (ceil): Likewise.
41610         (ceilf): Likewise.
41611         (floor): Likewise.
41612         (floorf): Likewise.
41613         (nearbyint): Likewise.
41614         (nearbyintf): Likewise.
41616 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41618         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41619         non-default versions.
41621 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41623         [BZ #14218]
41624         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41626 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41628         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41629         (FE_UPWARD, FE_DOWNWARD): Don't define.
41630         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41631         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41633         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41634         reading it.
41635         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41636         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41638 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41640         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41642         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41643         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41645 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41647         [BZ #14117]
41648         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41649         * sysdeps/i386/fpu/Implies: New file.
41650         * sysdeps/x86_64/fpu/Implies: Likewise.
41651         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41652         * sysdeps/x86/fpu/bits/fenv.h: This.
41654         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41655         __SSE_MATH__.
41657 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41659         [BZ #14134]
41660         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41661         character 0xffff that matches the last element of the
41662         conversion table.
41664 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41666         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41667         fmodl commit.
41669 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41672         values higher than 25.6283.
41674 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41676         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41677         subnormal exponent extraction and add some __builtin_expect.
41678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41679         Fix for subnormal mantissa calculation.
41681 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41683         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41684         cpu2 is -1 and errno is not ENOSYS.
41686 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41688         [BZ #14117]
41689         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41690         * sysdeps/x86/bits/string.h: This.
41691         * sysdeps/x86_64/bits/string.h: Removed.
41693         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41694         if not compiling for x86-64, but compiling for >= i486.
41696         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41697         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41699         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41700         New macro from Linux kernel 3.4.0.
41701         (FP_XSTATE_MAGIC2): Likewise.
41702         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41703         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41704         (struct _fpx_sw_bytes): New struct.
41705         (struct _xsave_hdr): Likewise.
41706         (struct _ymmh_state): Likewise.
41707         (struct _xstate): Likewise.
41709         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41710         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41711         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41712         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41713         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41714         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41716         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41717         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41718         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41719         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41720         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41721         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41723 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41725         [BZ #13743]
41726         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41727         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41728         (sysdep_headers): Include sys/platform/ppc.h.
41729         * sysdeps/powerpc/test-gettimebase.c: Test for
41730         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41731         * manual/Makefile (appendices): Include platform.texi.
41732         * manual/contrib.texi (Contributors): Update @node pointers.
41733         * manual/maint.texi (Maintenance): Likewise.
41734         (Platform): New node.
41735         * manual/platform.texi: New file.  Document the new features.
41737 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41738             Jakub Jelinek  <jakub@redhat.com>
41740         [BZ #14188]
41741         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41742         where __builtin_expect is unavailable.
41744 2012-06-03  David S. Miller  <davem@davemloft.net>
41746         * stdlib/longlong.h: Updated from GCC.
41748 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41750         [BZ #14042]
41751         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41752         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41753         __mcount_internal.
41754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41755         (GLIBC_2.16): Likewise.
41757 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41759         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41761 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41764         (default-abi): New variable.
41765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41766         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41767         variable.
41768         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41769         Likewise.
41770         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41771         Likewise.
41772         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41773         Likewise.
41775         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41776         definition.  Document in comment.
41778 2012-06-01  David S. Miller  <davem@davemloft.net>
41780         * stdlib/longlong.h: Updated from GCC.
41782 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41784         [BZ #14117]
41785         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41786         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41787         sys/debugreg.h sys/io.h here.
41788         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41789         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41790         sys/io.h.
41791         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41792         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41793         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41794         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41795         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41796         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41798         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41799         Define only if __x86_64__ is defined.
41801 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41803         [BZ #14048]
41804         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41805         Use int64_t for variable i.
41806         * math/libm-test.inc (fmod_test): Add more tests.
41808         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41809         z computation is not scheduled after fetestexcept.
41810         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41811         Use math_force_eval instead of asm to ensure calculation scheduled
41812         before exception test.
41813         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41814         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41816 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41819         computation is not scheduled after fetestexcept.
41821 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41823         [BZ #14117]
41824         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41825         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41827 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41829         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41830         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41832 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41834         [BZ #14117]
41835         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41836         <bits/wordsize.h>.
41837         (__WCHAR_MIN): Support __WORDSIZE == 64.
41838         (__WCHAR_MAX): Likewise.
41840         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41841         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41843         [BZ #14183]
41844         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41845         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41847         [BZ #14117]
41848         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41849         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41851         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41852         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41854         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41855         Defined to 1 if __x86_64__ isn't defined.
41856         (_STAT_VER_LINUX_OLD): New.
41857         (st_atime): Remove duplicate.
41858         (st_mtime): Likewise.
41859         (st_ctime): Likewise.
41861 2012-05-31  David S. Miller  <davem@davemloft.net>
41863         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41864         entries.
41866 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41868         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41869         gen-libm-test.pl.
41871         [BZ #14132]
41872         * elf/dl-reloc.c: Include <_itoa.h>.
41873         (_dl_reloc_bad_type): Remove use of INTUSE.
41874         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41875         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41876         * stdio-common/psiginfo.c (psiginfo): Likewise.
41877         * stdio-common/psignal.c (psignal): Likewise.
41878         * string/strsignal.c (strsignal): Likewise.
41879         * include/signal.h (_sys_siglist): Declare hidden proto.
41880         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41881         INTVARDEF with libc_hidden_data_def.
41882         * stdio-common/itoa-udigits.c: Likewise.
41883         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41884         (_itoa_lower_digits_internal): Remove declaration.
41885         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41886         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41887         (_sys_sigabbrev_internal): Remove aliases.
41888         (_sys_siglist): Define hidden alias.
41890 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41892         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41893         bits/sysctl.h.
41895 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41897         [BZ #14117]
41898         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41899         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41901         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41902         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41903         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41904         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41905         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41906         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41908         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41909         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41910         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41912         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41913         with __addr.
41914         (insw): Likewise.
41915         (insl): Likewise.
41916         (outsb): Likewise.
41917         (outsw): Likewise.
41918         (outsl): Likewise.
41920         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41921         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41922         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41924         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41925         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41926         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41927         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41928         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41929         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41931         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41932         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41934         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41935         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41937         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41939         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41941         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41942         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41943         to ...
41944         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41946         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41947         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41948         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41950         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41951         for x86-64.
41952         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41954 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41956         * math/math.h (M_El): Use two more decimal places.
41957         (M_LOG2El): Likewise.
41958         (M_LOG10El): Likewise.
41959         (M_LN2l): Likewise.
41960         (M_LN10l): Likewise.
41961         (M_PIl): Likewise.
41962         (M_PI_2l): Likewise.
41963         (M_PI_4l): Likewise.
41964         (M_1_PIl): Likewise.
41965         (M_2_PIl): Likewise.
41966         (M_2_SQRTPIl): Likewise.
41967         (M_SQRT2l): Likewise.
41968         (M_SQRT1_2l): Likewise.
41970 2012-05-31  David S. Miller  <davem@davemloft.net>
41972         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41973         values between float registers.
41974         * sysdeps/sparc/sparc64/memset.S: Likewise.
41975         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41977 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41979         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41980         -D_FORTIFY_SOURCE=1.
41981         (CPPFLAGS-tst-longjmp_chk.c): Define.
41982         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41983         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41984         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41985         CFLAGS-tst-wchar-h.c.
41987 2012-05-31  Marek Polacek  <polacek@redhat.com>
41989         [BZ #14132]
41990         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41991         __endmntent_internal): Remove declaration.
41992         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41993         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41994         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41996 2012-05-30  David S. Miller  <davem@davemloft.net>
41998         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41999         (___Q_simulate_exceptions): Use real FP ops rather than writing
42000         into the %fsr.
42001         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42002         Likewise.
42004 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42006         [BZ #14117]
42007         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42008         * sysdeps/x86/bits/xtitypes.h: This.
42010         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42011         * sysdeps/x86/bits/wordsize.h: This.
42013         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42014         * sysdeps/x86/bits/huge_vall.h: This.
42016         * sysdeps/i386/bits/select.h: Removed.
42017         * sysdeps/x86_64/bits/select.h: Renamed to ...
42018         * sysdeps/x86/bits/select.h: This.
42020         * sysdeps/i386/bits/setjmp.h: Removed.
42021         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42022         * sysdeps/x86/bits/setjmp.h: This.
42024         * sysdeps/i386/bits/mathdef.h: Removed.
42025         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42026         * sysdeps/x86/bits/mathdef.h: This.
42028 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
42030         [BZ #14132]
42031         * include/sys/socket.h (__connect_internal)
42032         (__libc_sa_len_internal): Remove declaration.
42033         (__connect, __libc_sa_len): Declare hidden_proto.
42034         (SA_LEN): Remove use of INTUSE.
42035         * socket/connect.c: Add libc_hidden_def.
42036         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42037         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42038         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42039         alias.
42040         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42041         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42042         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42043         of adding _internal alias.
42045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42047         [BZ #14117]
42048         * sysdeps/i386/bits/link.h: Removed.
42049         * sysdeps/i386/bits/linkmap.h: Likewise.
42050         * sysdeps/x86_64/bits/link.h: Renamed to ...
42051         * sysdeps/x86/bits/link.h: This.
42052         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42053         * sysdeps/x86/bits/linkmap.h: This.
42055         * sysdeps/i386/bits/endian.h: Removed.
42056         * sysdeps/x86_64/bits/endian.h: Renamed to ...
42057         * sysdeps/x86/bits/endian.h: This.
42059         * sysdeps/i386/bits/byteswap.h: Removed.
42060         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42061         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42062         * sysdeps/x86/bits/byteswap.h: This.
42063         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42064         * sysdeps/x86/bits/byteswap-16.h: This.
42065         * sysdeps/i386/Implies: Add x86.
42066         * sysdeps/x86_64/Implies: Likewise.
42068 2012-05-30  David S. Miller  <davem@davemloft.net>
42070         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42071         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42072         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42073         (FP_TRAPPING_EXCEPTIONS): Define.
42074         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42075         (FP_TRAPPING_EXCEPTIONS): Define.
42076         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42077         subnormals only when inexact has been signalled or underflow
42078         exceptions are enabled.
42079         (_FP_PACK_CANONICAL): Likewise.
42081 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42083         [BZ #14183]
42084         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42085         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42087 2012-05-30  Richard Henderson  <rth@twiddle.net>
42089         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42090         with #ifndef NOT_IN_libc.
42092         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
42093         marked to avoid plt entry.
42095 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
42097         [BZ #14112]
42098         * Makeconfig (default-abi): New macro.
42099         (abi-includes): Likewise.
42100         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
42101         $(abi-$(default-abi)-lib-soname) for soname if defined.
42102         ($(common-objpfx)gnu/lib-names.stmp): Generate from
42103         abi-variants.
42104         * Makefile (installed-stubs): Likewise.
42105         * include/stubs-biarch.h: Removed.
42106         * scripts/lib-names.awk: Only handle one library at a time.
42107         * scripts/soversions.awk: Remove WORDSIZE support.
42108         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42109         entries.
42110         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42111         Removed.
42112         (syscall-list-default-condition): Likewise.
42113         (syscall-list-default-condition): Likewise.
42114         (syscall-list-includes): Likewise.
42115         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42116         syscall-list-* with abi-*.  Handle undefined abi-variants.
42117         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42118         * sysdeps/unix/sysv/linux/i386/Implies: New file.
42119         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42120         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42121         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42122         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42123         Removed.
42124         (syscall-list-32-options): Likewise.
42125         (syscall-list-32-condition): Likewise.
42126         (syscall-list-64-options): Likewise.
42127         (syscall-list-64-condition): Likewise.
42128         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42129         macro.
42130         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42131         Renamed to ...
42132         (abi-*): This.
42133         (abi-64-ld-soname): New macro.
42134         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42135         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42136         Renamed to ...
42137         (abi-*): This.
42138         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42139         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42141 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42143         * sysdeps/unix/sysv/linux/kernel-features.h
42144         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42145         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42146         include <kernel-features.h>.
42147         [!__NR_ftruncate64]: Remove conditional code.
42148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42149         [__NR_ftruncate64]: Make code unconditional.
42150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42151         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42152         include <kernel-features.h>.
42153         [!__NR_ftruncate64]: Remove conditional code.
42154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42155         [__NR_ftruncate64]: Make code unconditional.
42156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42158         include <kernel-features.h>.
42159         [!__NR_ftruncate64]: Remove conditional code.
42160         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42161         [__NR_ftruncate64]: Make code unconditional.
42162         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42164         include <kernel-features.h>.
42165         [!__NR_ftruncate64]: Remove conditional code.
42166         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42167         [__NR_ftruncate64]: Make code unconditional.
42168         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42170         * configure.in (libc_cv_fpie): Weaken to a compile test using
42171         LIBC_TRY_CC_OPTION.
42172         * configure: Regenerated.
42174 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42177         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42180         Refreshed.
42181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42185         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42187         Refreshed.
42189 2012-05-27  David S. Miller  <davem@davemloft.net>
42191         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42192         (___Q_zero): New.
42193         (__Q_simulate_exceptions): Return void.  Change to simulate
42194         exceptions by writing into the %fsr.
42195         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42196         (__Qp_handle_exceptions): Likewise.
42197         (numbers): Delete.
42198         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42199         __Qp_handle_exceptions.
42200         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42201         __Qp_handle_exceptions.
42202         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42203         as unused and give dummy FP_RND_NEAREST initializer.
42204         (FP_INHIBIT_RESULTS): Define.
42205         (___Q_simulate_exceptions): Update declaration.
42206         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42207         formatting.
42208         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42209         as unused and give dummy FP_RND_NEAREST initializer.
42210         (__Qp_handle_exceptions): Update declaration.
42211         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42212         formatting.
42214 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42216         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42217         the temporary FPU control word.
42218         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42219         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42220         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42221         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42222         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42223         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42224         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42225         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42226         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42227         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42228         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42230 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42232         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42233         fields.
42235 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42237         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42238         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42239         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42240         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42241         Likewise.
42242         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42243         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42244         Likewise.
42246 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42248         * po/h.po: Update from translation team.
42250 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42252         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42254         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42255         handling of denormals.
42256         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42257         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42258         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42259         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42260         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42262         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42263         Likewise.
42265 2012-05-26  Marek Polacek  <polacek@redhat.com>
42267         [BZ #14152]
42268         * math/libm-test.inc (fma_test): Don't always expect underflow
42269         exception.
42271 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42273         [BZ #12416]
42274         * elf/tst-execstack.c: Include stackinfo.h.
42275         (do_test): Adjust test case to ensure that pthread_getattr_np
42276         behaviour remains the same after marking stack executable.
42278 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42280         * sysdeps/unix/sysv/linux/kernel-features.h
42281         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42282         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42283         kernel-features.h.
42284         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42285         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42286         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42287         kernel-features.h.
42288         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42289         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42291 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42293         * configure.in: Define the default includes to being none.
42294         * configure: Regenerated.
42296 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42298         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42299         * sysdeps/x86_64/setjmp.S: Likewise.
42300         * sysdeps/i386/bsd-setjmp.S: Likewise.
42301         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42302         * sysdeps/i386/setjmp.S: Likewise.
42303         * sysdeps/i386/__longjmp.S: Likewise.
42304         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42305         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42307         * include/stap-probe.h: New file.
42308         * configure.in: Handle --enable-systemtap.
42309         * configure: Regenerated.
42310         * config.h.in (USE_STAP_PROBE): New #undef.
42311         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42312         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42313         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42315 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42317         [BZ #13717]
42318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42319         to 2.4.0 where earlier.
42320         * sysdeps/unix/sysv/linux/configure: Regenerated.
42321         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42322         <kernel-features.h>.
42323         [__ASSUME_32BITUIDS]: Make code unconditional.
42324         [!__ASSUME_32BITUIDS]: Remove conditional code.
42325         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42326         <kernel-features.h>.
42327         [__ASSUME_32BITUIDS]: Make code unconditional.
42328         [!__ASSUME_32BITUIDS]: Remove conditional code.
42329         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42330         [__ASSUME_32BITUIDS]: Make code unconditional.
42331         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42332         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42333         <kernel-features.h>.
42334         [__ASSUME_32BITUIDS]: Make code unconditional.
42335         [!__ASSUME_32BITUIDS]: Remove conditional code.
42336         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42337         <kernel-features.h>.
42338         [__ASSUME_32BITUIDS]: Make code unconditional.
42339         [!__ASSUME_32BITUIDS]: Remove conditional code.
42340         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42341         <kernel-features.h>.
42342         [__ASSUME_32BITUIDS]: Make code unconditional.
42343         [!__ASSUME_32BITUIDS]: Remove conditional code.
42344         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42345         <kernel-features.h>.
42346         [__ASSUME_32BITUIDS]: Make code unconditional.
42347         [!__ASSUME_32BITUIDS]: Remove conditional code.
42348         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42349         <kernel-features.h>.
42350         [__ASSUME_32BITUIDS]: Make code unconditional.
42351         [!__ASSUME_32BITUIDS]: Remove conditional code.
42352         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42353         <kernel-features.h>.
42354         [__ASSUME_32BITUIDS]: Make code unconditional.
42355         [!__ASSUME_32BITUIDS]: Remove conditional code.
42356         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42357         <kernel-features.h>.
42358         [__ASSUME_32BITUIDS]: Make code unconditional.
42359         [!__ASSUME_32BITUIDS]: Remove conditional code.
42360         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42361         <kernel-features.h>.
42362         [__ASSUME_32BITUIDS]: Make code unconditional.
42363         [!__ASSUME_32BITUIDS]: Remove conditional code.
42364         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42365         <kernel-features.h>.
42366         [__ASSUME_32BITUIDS]: Make code unconditional.
42367         [!__ASSUME_32BITUIDS]: Remove conditional code.
42368         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42369         <kernel-features.h>.
42370         [__ASSUME_32BITUIDS]: Make code unconditional.
42371         [!__ASSUME_32BITUIDS]: Remove conditional code.
42372         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42373         <kernel-features.h>.
42374         [__NR_setresgid] (__setresgid): Do not declare.
42375         [__ASSUME_32BITUIDS]: Make code unconditional.
42376         [!__ASSUME_32BITUIDS]: Remove conditional code.
42377         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42378         <kernel-features.h>.
42379         [__NR_setresuid] (__setresuid): Do not declare.
42380         [__ASSUME_32BITUIDS]: Make code unconditional.
42381         [!__ASSUME_32BITUIDS]: Remove conditional code.
42382         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.c: Do not include
42415         <kernel-features.h>.
42416         [__ASSUME_32BITUIDS]: Make code unconditional.
42417         [!__ASSUME_32BITUIDS]: Remove conditional code.
42418         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42419         <kernel-features.h>.
42420         [__ASSUME_32BITUIDS]: Make code unconditional.
42421         [!__ASSUME_32BITUIDS]: Remove conditional code.
42422         * sysdeps/unix/sysv/linux/kernel-features.h
42423         (__ASSUME_SETRESUID_SYSCALL): Remove.
42424         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42425         (__ASSUME_32BITUIDS): Likewise.
42426         (__ASSUME_LDT_WORKS): Likewise.
42427         (__ASSUME_O_DIRECTORY): Likewise.
42428         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42429         architecture but not kernel version.
42430         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42431         (__ASSUME_MMAP2_SYSCALL): Likewise.
42432         (__ASSUME_STAT64_SYSCALL): Likewise.
42433         (__ASSUME_IPC64): Likewise.
42434         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42435         <kernel-features.h>.
42436         [__ASSUME_32BITUIDS]: Make code unconditional.
42437         [!__ASSUME_32BITUIDS]: Remove conditional code.
42438         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42439         <kernel-features.h>.
42440         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42441         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42442         132096]: Remove conditional code.
42443         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42444         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
42453         <kernel-features.h>.
42454         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42455         unconditional.
42456         (__setresgid): Do not declare.
42457         [__ASSUME_32BITUIDS]: Make code unconditional.
42458         [!__ASSUME_32BITUIDS]: Remove conditional code.
42459         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42460         <kernel-features.h>.
42461         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42462         unconditional.
42463         (__setresuid): Do not declare.
42464         [__ASSUME_32BITUIDS]: Make code unconditional.
42465         [!__ASSUME_32BITUIDS]: Remove conditional code.
42466         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42467         <kernel-features.h>.
42468         [__ASSUME_32BITUIDS]: Make code unconditional.
42469         [!__ASSUME_32BITUIDS]: Remove conditional code.
42470         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42471         <kernel-features.h>.
42472         [__ASSUME_32BITUIDS]: Make code unconditional.
42473         [!__ASSUME_32BITUIDS]: Remove conditional code.
42475 2012-05-25  Richard Henderson  <rth@twiddle.net>
42477         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42478         dl_hwcap to ifunc resolver.
42479         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42480         elf_ifunc_invoke.
42481         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42482         dl_hwcap to ifunc resolver.
42483         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42485 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42487         [BZ #14153]
42488         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42489         for |x| <= 2**-26, not 2**-57.
42490         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42491         exception.
42493 2012-05-24  Jeff Law  <law@redhat.com>
42495         * stdio-common/Makefile (tests): Add bug25.
42496         * stdio-common/bug25.c: New test.
42498 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42500         [BZ #13576]
42501         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42502         multiple of MALLOC_ALIGNMENT in size.
42503         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42505 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42507         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42508         Require >= 256.
42509         (FILENAME_MAX): Use macro-int-constant.
42510         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42511         (_IOFBF): Use macro-int-constant.
42512         (_IOLBF): Likewise.
42513         (_IONBF): Likewise.
42514         (SEEK_CUR): Likewise.
42515         (SEEK_END): Likewise.
42516         (SEEK_SET): Likewise.
42517         (TMP_MAX): Likewise.
42518         (EOF): Use macro-int-constant.  Require < 0.
42519         (NULL): Use macro-constant.  Require == 0.
42520         (stdin): Require type to be FILE *.
42521         (stdout): Likewise.
42522         (stderr): Likewise.
42523         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42524         macro-int-constant.
42525         (EXIT_SUCCESS): Likewise.
42526         (NULL): Use macro-constant.  Require == 0.
42527         (RAND_MAX): Use macro-int-constant.
42528         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42529         [C99-based standards] (strtof): Require function.
42530         [C99-based standards] (strtold): Likewise.
42531         [C99-based standards] (strtoll): Likewise.
42532         [C99-based standards] (strtoull): Likewise.
42533         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42534         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42535         [ISO || ISO99 || ISO11] (math.h): Likewise.
42536         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42537         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42538         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42540 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42542         [BZ #14132]
42543         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42544         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42545         * intl/dgettext.c (DCGETTEXT): Likewise.
42546         * intl/gettext.c (DCGETTEXT): Likewise.
42547         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42548         * posix/regex_internal.h (gettext): Likewise.
42549         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42550         Remove declaration.
42551         * include/argz.h (__argz_count_internal)
42552         (__argz_stringify_internal): Remove declaration.
42553         (__argz_count, __argz_stringify): Declare hidden proto.
42554         * intl/dcgettext.c: Remove use of INTDEF.
42555         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42556         * string/argz-stringify.c: Likewise.
42557         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42558         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42559         Declare hidden proto.
42560         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42561         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42562         Declare hidden proto.
42563         * include/stdio.h (__asprintf_internal): Don't declare.
42564         (__asprintf): Don't define as macro.  Declare hidden proto.
42565         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42566         (__fsetlocking): Declare hidden proto.
42567         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42568         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42569         hidden proto.
42570         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42571         (_IO_setlinebuf): Remove use of INTUSE.
42572         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42573         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42574         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42575         Remove declaration.
42576         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42577         (_IO_do_flush): Remove use of INTUSE.
42578         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42579         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42580         (_IO_adjust_column, _IO_least_wmarker)
42581         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42582         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42583         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42584         (_IO_default_doallocate, _IO_wdefault_doallocate)
42585         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42586         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42587         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42588         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42589         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42590         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42591         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42592         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42593         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42594         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42595         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42596         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42597         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42598         proto.
42599         (_IO_flush_all_internal, _IO_adjust_column_internal)
42600         (_IO_default_uflow_internal, _IO_default_finish_internal)
42601         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42602         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42603         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42604         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42605         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42606         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42607         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42608         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42609         (_IO_file_close_internal, _IO_file_close_it_internal)
42610         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42611         (_IO_file_init_internal, _IO_file_attach_internal)
42612         (_IO_file_fopen_internal, _IO_file_read_internal)
42613         (_IO_file_sync_internal, _IO_file_seek_internal)
42614         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42615         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42616         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42617         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42618         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42619         (_IO_list_all_internal, _IO_link_in_internal)
42620         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42621         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42622         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42623         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42624         (_IO_do_write_internal, _IO_padn_internal)
42625         (_IO_getline_info_internal, _IO_getline_internal)
42626         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42627         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42628         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42629         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42630         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42631         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42632         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42633         with libc_hidden_ver, remove use of INTUSE.
42634         * libio/genops.c: Likewise.
42635         * libio/freopen.c: Likewise.
42636         * libio/freopen64.c: Likewise.
42637         * libio/iofclose.c: Likewise.
42638         * libio/iofdopen.c: Likewise.
42639         * libio/iofflush.c: Likewise.
42640         * libio/iofflush_u.c: Likewise.
42641         * libio/iofgets.c: Likewise.
42642         * libio/iofgets_u.c: Likewise.
42643         * libio/iofopen.c: Likewise.
42644         * libio/iofopncook.c: Likewise.
42645         * libio/iofread.c: Likewise.
42646         * libio/iofread_u.c: Likewise.
42647         * libio/ioftell.c: Likewise.
42648         * libio/iofwrite.c: Likewise.
42649         * libio/iogetline.c: Likewise.
42650         * libio/iogets.c: Likewise.
42651         * libio/iogetwline.c: Likewise.
42652         * libio/iopadn.c: Likewise.
42653         * libio/iopopen.c: Likewise.
42654         * libio/ioseekoff.c: Likewise.
42655         * libio/ioseekpos.c: Likewise.
42656         * libio/iosetbuffer.c: Likewise.
42657         * libio/iosetvbuf.c: Likewise.
42658         * libio/ioungetc.c: Likewise.
42659         * libio/ioungetwc.c: Likewise.
42660         * libio/iovdprintf.c: Likewise.
42661         * libio/iovsprintf.c: Likewise.
42662         * libio/iovsscanf.c: Likewise.
42663         * libio/memstream.c: Likewise.
42664         * libio/obprintf.c: Likewise.
42665         * libio/oldfileops.c: Likewise.
42666         * libio/oldiofclose.c: Likewise.
42667         * libio/oldiofdopen.c: Likewise.
42668         * libio/oldiofopen.c: Likewise.
42669         * libio/oldiopopen.c: Likewise.
42670         * libio/oldstdfiles.c: Likewise.
42671         * libio/putc.c: Likewise.
42672         * libio/setbuf.c: Likewise.
42673         * libio/setlinebuf.c: Likewise.
42674         * libio/stdfiles.c: Likewise.
42675         * libio/strops.c: Likewise.
42676         * libio/vasprintf.c: Likewise.
42677         * libio/vscanf.c: Likewise.
42678         * libio/vsnprintf.c: Likewise.
42679         * libio/vswprintf.c: Likewise.
42680         * libio/wfiledoalloc.c: Likewise.
42681         * libio/wfileops.c: Likewise.
42682         * libio/wgenops.c: Likewise.
42683         * libio/wmemstream.c: Likewise.
42684         * libio/wstrops.c: Likewise.
42685         * libio/__fpurge.c: Likewise.
42686         * libio/__fsetlocking.c: Likewise.
42687         * assert/assert.c: Likewise.
42688         * debug/fgets_chk.c: Likewise.
42689         * debug/fgets_u_chk.c: Likewise.
42690         * debug/fread_chk.c: Likewise.
42691         * debug/fread_u_chk.c: Likewise.
42692         * debug/gets_chk.c: Likewise.
42693         * debug/obprintf_chk.c: Likewise.
42694         * debug/vasprintf_chk.c: Likewise.
42695         * debug/vdprintf_chk.c: Likewise.
42696         * debug/vsnprintf_chk.c: Likewise.
42697         * debug/vsprintf_chk.c: Likewise.
42698         * malloc/mtrace.c: Likewise.
42699         * misc/error.c: Likewise.
42700         * misc/syslog.c: Likewise.
42701         * stdio-common/asprintf.c: Likewise.
42702         * stdio-common/fxprintf.c: Likewise.
42703         * stdio-common/getw.c: Likewise.
42704         * stdio-common/isoc99_fscanf.c: Likewise.
42705         * stdio-common/isoc99_scanf.c: Likewise.
42706         * stdio-common/isoc99_vfscanf.c: Likewise.
42707         * stdio-common/isoc99_vscanf.c: Likewise.
42708         * stdio-common/isoc99_vsscanf.c: Likewise.
42709         * stdio-common/printf-prs.c: Likewise.
42710         * stdio-common/printf_fp.c: Likewise.
42711         * stdio-common/printf_fphex.c: Likewise.
42712         * stdio-common/printf_size.c: Likewise.
42713         * stdio-common/putw.c: Likewise.
42714         * stdio-common/scanf.c: Likewise.
42715         * stdio-common/sprintf.c: Likewise.
42716         * stdio-common/tmpfile.c: Likewise.
42717         * stdio-common/vfprintf.c: Likewise.
42718         * stdio-common/vfscanf.c: Likewise.
42719         * stdlib/strfmon_l.c: Likewise.
42720         * sunrpc/openchild.c: Likewise.
42721         * sunrpc/xdr_stdio.c: Likewise.
42722         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42723         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42725 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42727         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42729         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42730         in the third column, to generate for the shared library an IFUNC
42731         that uses _dl_vdso_vsym.
42732         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42733         * Makeconfig (object-suffixes-noshared): New variable.
42735         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42736         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42737         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42738         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42740         [BZ #14132]
42741         * include/sys/time.h (__gettimeofday): Remove macro.
42742         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42743         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42744         Remove INTDEF.
42745         (__gettimeofday): Add libc_hidden_def.
42746         (gettimeofday): Add libc_hidden_weak.
42747         * sysdeps/mach/gettimeofday.c: Likewise.
42748         * sysdeps/posix/gettimeofday.c: Likewise.
42749         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42750         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42751         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42752         (__gettimeofday_internal): Remove strong_alias.
42753         (__gettimeofday): Add libc_hidden_def.
42754         (gettimeofday): Add libc_hidden_weak.
42755         * sysdeps/unix/syscalls.list (gettimeofday):
42756         Remove __gettimeofday_internal alias.
42758 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42759             H.J. Lu  <hongjiu.lu@intel.com>
42761         [BZ #12495]
42762         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42763         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42764         (largebin_index_32_big): New.
42765         (largebin_index): Use it for 16-byte alignment.
42766         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42767         correction with front_misalign.
42769 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42771         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42773         Likewise.
42774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42775         Likewise.
42776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42777         Likewise.
42778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42779         Likewise.
42780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42781         Likewise.
42782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42783         Likewise.
42784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42785         Likewise.
42786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42787         Likewise.
42788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42789         Likewise.
42790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42791         Likewise.
42792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42793         Likewise.
42794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42795         Likewise.
42797         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42798         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42800 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42802         [BZ #10846]
42803         [BZ #14036]
42804         * math/libm-test.inc (exp_test): Add test from bug 14036.
42805         (pow_test): Add test from bug 10846.
42807         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42808         and other flags.
42809         (special_function): Do not include flags in test name.
42810         (parse_args): Likewise.
42811         * sysdeps/i386/fpu/libm-test-ulps: Update.
42812         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42813         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42814         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42817         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42818         exceptions.
42819         * math/libm-test.inc ("Philosophy"): Update comment about
42820         exception testing.
42821         (UNDERFLOW_EXCEPTION): New macro.
42822         (UNDERFLOW_EXCEPTION_OK): Likewise.
42823         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42824         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42825         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42826         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42827         (INVALID_EXCEPTION_OK): Update value.
42828         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42829         (OVERFLOW_EXCEPTION_OK): Likewise.
42830         (IGNORE_ZERO_INF_SIGN): Likewise.
42831         (test_exceptions): Handle underflow exceptions.
42832         (acos_test): Update for underflow exception expectations.
42833         (cexp_test): Likewise.
42834         (clog_test): Likewise.
42835         (clog10_test): Likewise.
42836         (csqrt_test): Likewise.
42837         (ctan_test): Likewise.
42838         (ctanh_test): Likewise.
42839         (exp_test): Likewise.
42840         (exp10_test): Likewise.
42841         (exp2_test): Likewise.
42842         (expm1_test): Likewise.
42843         (fma_test): Likewise.
42844         (j0_test): Likewise.
42845         (jn_test): Likewise.
42846         (nexttoward_test): Likewise.
42847         (pow_test): Likewise.
42848         (scalbn_test): Likewise.
42849         (scalbln_test): Likewise.
42850         (tan_test): Likewise.
42851         (y1_test): Likewise.
42852         * sysdeps/i386/fpu/libm-test-ulps: Update.
42853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42855 2012-05-23  David S. Miller  <davem@davemloft.net>
42857         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42858         (__libc_sigaction): Remove unused local variables.
42860 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42862         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42864 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42866         mktime: avoid signed integer overflow
42867         * time/mktime.c (__mktime_internal): Do not mishandle the case
42868         where diff == INT_MIN.
42870         mktime: simplify computation of average
42871         * time/mktime.c (ranged_convert): Use new time_t_avg function
42872         instead of rolling our own (probably-slower) code.
42874         mktime: do not assume signed right shift propagates sign bit
42875         * time/mktime.c (isdst_differ): New static function.
42876         (__mktime_internal): No need to normalize tm_isdst now.
42877         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42878         tm_isdst values.
42880         mktime: merge another wrapv change from gnulib
42881         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42882         from some compilers.
42884         mktime: remove incorrect attempt at unusual arithmetics
42885         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42886         The code didn't really work on such machines anyway.
42887         (TYPE_MINIMUM): Assume two's complement.
42888         (twos_complement_arithmetic): Verify that long_int and time_t
42889         are two's complement (or unsigned, in the latter case).
42891         mktime: check signed shifts on long_int and time_t, too
42892         * time/mktime.c (SHR): Check that shifts work as desired
42893         on the types long_int and time_t too, as SHR is used on
42894         such types.
42896         mktime: do not assume 'long' is wide enough
42897         * time/mktime.c (verify): Move decl up.
42898         (long_int): New type.
42899         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42900         to remove assumption in the code that 'long' is wide enough to
42901         store year values.  This assumption is not true on x32 and on
42902         some non-glibc platforms.
42904         mktime: merge wrapv change from gnulib
42905         * time/mktime.c (WRAPV): New macro.
42906         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42907         (guess_time_tm, __mktime_internal): Do not assume that signed
42908         integer overflow wraps around; modern compilers generate code
42909         where this assumption is no longer valid.
42911 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42913         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42914         Replace "jmp L(pseudo_end)" with "ret".
42915         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42916         Likewise.
42918 2012-05-23  Andreas Jaeger  <aj@suse.de>
42920         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42921         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42923 2012-05-23  Andreas Jaeger  <aj@suse.de>
42924             Maximilian Attems  <max@stro.at>
42926         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42927         New macros.
42929 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42931         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42932         code so that pseudo_end is just ret and the stack pointer is
42933         correct also for static library in error case.
42935 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42937         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42938         move to syscalls.list.
42939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42944         * manual/install.texi (Running make install): Do not mention Linux
42945         kernel version for which pt_chown is not needed.
42946         (Linux): Do not mention problems with nscd with 2.0 kernels.
42947         * INSTALL: Regenerated.
42949 2012-05-23  Andreas Jaeger  <aj@suse.de>
42951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42952         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42953         macro.
42954         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42956         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42958         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42959         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42960         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42961         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42962         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42963         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42964         * sysdeps/unix/sysv/linux/bits/in.h
42965         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42967 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42969         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42970         (PREPARE_VERSION): Just use assert instead, it will be elided
42971         under [NDEBUG] anyway.
42973 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42975         * sysdeps/unix/sysv/linux/Makefile: Include
42976         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42977         (sysdep_routines): Remove sysctl.
42978         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42979         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42980         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42981         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42982         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42984 2012-05-22  Andreas Jaeger  <aj@suse.de>
42986         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42987         that pseudo_end is just ret and the stack pointer is correct also
42988         for static library in error case.
42990 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42992         [BZ #14122]
42993         * nss/nsswitch.c (defconfig_entries): New variable.
42994         (__nss_database_lookup): Don't leak defconfig entries.
42995         (nss_parse_service_list): Don't leak on error paths.
42996         (free_database_entries): New function.
42997         (free_defconfig): New function.
42998         (free_mem): Move common code to free_database_entries.
43000 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43002         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43003         Add arch_prctl.
43004         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43006         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43007         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43009         New macro.
43010         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43011         (INTERNAL_SYSCALL_TYPES): Likewise.
43012         (LOAD_ARGS_TYPES_[1-6]): Likewise.
43013         (LOAD_REGS_TYPES_[1-6]): Likewise.
43014         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43015         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43017 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43019         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43020         copysignl for GLIBC_2_0.
43021         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43022         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43023         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43024         logbl for GLIBC_2_0.
43025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43026         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43028 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43030         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43031         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43033         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43034         Use "neg %eax".
43036         * time/mktime.c: Update copyright years.
43038 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
43040         mktime: merge comment-quoting-style change from gnulib
43041         * time/mktime.c: Quote 'like this' in comments.
43042         The GNU coding standards suggest that we no longer quote `like this',
43043         as "`" and "'" are typically rendered asymmetrically nowadays.
43044         The typical gnulib style is to quote 'like this' when quoting
43045         code, and "like this" when quoting English.
43047         * time/mktime.c (compile-command): Add "-I.".
43049         mktime: merge mktime-internal.h change from gnulib
43050         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43052         mktime: merge time_r change from gnulib
43053         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43055         mktime: merge DEBUG change from gnulib
43056         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43057         case system <time.h> has a #define.
43059         mktime: merge <sys/types.h> change from gnulib
43060         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43061         since <time.t> is now guaranteed to define time_t.
43063         mktime: merge HAVE_CONFIG_H change from gnulib
43064         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43066 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
43068         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43069         Use "neg %eax".
43071         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43072         __rlim_t cast.
43073         (struct rusage): Use anonymous union to pad each field to
43074         __syscall_slong_t.
43076 2012-05-21  David S. Miller  <davem@davemloft.net>
43078         * Makefules (o-iterator): Remove .s cases.
43079         (compile-command.s): Delete.
43080         (COMPILE.s): Delete.
43081         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43083 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
43085         * configure.in (libc_cv_predef_stack_protector): Only consider
43086         "foobar" and "__stack_chk_fail" lines in libc_undefs.
43087         * configure: Regenerated.
43089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43091         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43092         New macro.  Use R*LP on int and pointer.
43093         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
43094         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43095         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
43096         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43098         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43099         [__WORDSIZE_TIME64_COMPAT32] instead of
43100         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43101         (struct utmp): Likewise.
43102         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43103         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43104         Renamed to ...
43105         (__WORDSIZE_TIME64_COMPAT32): This.
43106         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43107         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43108         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43109         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43110         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43111         (__WORDSIZE_TIME64_COMPAT32): New macro.
43113 2012-05-21  Andreas Jaeger  <aj@suse.de>
43115         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43116         only if [SHARED]. Add prototype for __wcschr_ia32.
43118 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43120         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43121         of %rbp unmolested in the jmp_buf while mangling the low bits.
43122         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43123         unmolested high bits of %rbp while demangling the low bits.
43124         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43126 2012-05-21  Andreas Jaeger  <aj@suse.de>
43128         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43129         * sunrpc/svc_simple.c: Use it for registerrpc.
43130         * sunrpc/xcrypt.c: Use it for passwd2des.
43132         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43134 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43136         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43137         Don't define if [__SYSCALL_WORDSIZE != 32].
43138         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43139         New macro.
43141 2012-05-21  Bruno Haible  <bruno@clisp.org>
43142             Andreas Jaeger  <aj@suse.de>
43144         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43145         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43146         inptr and inend for must_buffer_ch.
43147         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43148         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43149         * stdio-common/Makefile (tests): Remove bug15.
43150         (bug15-ENV): Remove macro.
43151         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43152         anymore.
43154 2012-05-19  Andreas Jaeger  <aj@suse.de>
43155             Roland McGrath  <roland@hack.frob.com>
43157         * manual/contrib.texi: Completely rewritten. It contains now an
43158         alphabetical list of contributors and their contributions.
43160 2012-05-21  Richard Henderson  <rth@twiddle.net>
43162         * misc/getauxval.c (__getauxval): Use unsigned long int.
43163         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43164         (getauxval): Use unsigned long int.
43166 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43168         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43170 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43172         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43173         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43174         __alignof__ (long double).
43176 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43178         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43180 2012-05-20  Richard Henderson  <rth@twiddle.net>
43182         * misc/getauxval.c: New file.
43183         * misc/sys/auxv.h: New file.
43184         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43185         (routines): Add getauxval.
43186         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43187         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43188         * elf/dl-sysdep.c (_dl_auxv): Remove.
43189         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43190         * elf/dl-support.c (_dl_auxv): New variable.
43191         (_dl_aux_init): Initialize it.
43192         * manual/startup.texi (Auxiliary Vector): New node.
43193         * sysdeps/generic/bits/hwcap.h: New file.
43194         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43195         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43196         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43197         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43198         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43199         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43201         Update.
43202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43205         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43211 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43215 2012-05-19  David S. Miller  <davem@davemloft.net>
43217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43219 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43221         [BZ #14123]
43222         * math/s_ccosh.c: Include <float.h>
43223         (__ccosh): Avoid internal overflow calculating sinh and cosh
43224         values before multiplying by sin and cos values.
43225         * math/s_ccoshf.c: Likewise.
43226         * math/s_ccoshl.c: Likewise.
43227         * math/s_csin.c: Likewise.
43228         * math/s_csinf.c: Likewise.
43229         * math/s_csinl.c: Likewise.
43230         * math/s_csinh.c: Likewise.
43231         * math/s_csinhf.c: Likewise.
43232         * math/s_csinhl.c: Likewise.
43233         * math/libm-test.inc (ccos_test): Add more tests.
43234         (ccosh_test): Likewise.
43235         (csin_test): Likewise.
43236         (csinh_test): Likewise.
43237         * sysdeps/i386/fpu/libm-test-ulps: Update.
43238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43240 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43242         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43243         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43245         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43247 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43249         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43250         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43251         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43252         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43253         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43254         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43255         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43256         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43257         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43258         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43259         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43260         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43261         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43262         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43263         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43264         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43265         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43266         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43267         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43268         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43269         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43270         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43271         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43272         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43273         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43274         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43275         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43276         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43277         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43278         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43279         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43281 2012-05-18  Andreas Jaeger  <aj@suse.de>
43283         * csu/.gitignore: Delete.
43285 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43287         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43288         (timex): Use __syscall_slong_t.
43290 2012-05-18  Andreas Jaeger  <aj@suse.de>
43291             Carlos O'Donell  <carlos_odonell@mentor.com>
43293         * manual/install.texi (Configuring and compiling): Update
43294         description about files modified in the source directory.
43295         * INSTALL: Regenerated.
43297 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43299         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43300         value.  Use "or" to set return value to -1.
43301         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43302         negate return value.
43304 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43306         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43307         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43308         failure if the compiler has Graphite support disabled.
43309         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43310         Likewise.
43311         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43312         (CFLAGS-memmove.c): Likewise.
43313         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43314         Likewise.
43316 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43318         * sysdeps/x86_64/x32/_itoa.h: New file.
43320         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43321         getdents system call only if kernel and user dirents have the
43322         same d_ino and d_off.
43324         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43325         LLONG_MAX != LONG_MAX.
43326         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43327         (_fitoa_word): Likewise.
43329         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43330         years.
43331         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43332         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43333         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43335         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43336         include <bits/wordsize.h>.  Check __x86_64__ instead of
43337         __WORDSIZE.
43338         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43339         if __x86_64__ is defined.  Use anonymous union on fpstate.
43341         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43342         anonymous union.
43344 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43346         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43347         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43348         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43349         Refer to _rtld_local_ro instead of _rtld_global_ro.
43350         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43351         Likewise.
43352         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43353         Likewise.
43354         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43355         Likewise.
43356         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43357         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43358         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43360         * sysdeps/powerpc/powerpc32/dl-machine.c
43361         (__elf_machine_runtime_setup) [PROF]: Don't reference
43362         _dl_prof_resolve.
43364 2012-05-18  Andreas Jaeger  <aj@suse.de>
43366         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43367         function only available for GCCs before 3.4 since GCC 3.4
43368         introduced a builtin.
43369         (lrint): Likewise.
43370         (llrintf): Likewise.
43371         (llrint): Likewise.
43372         (fmaxf): Likewise.
43373         (fmax): Likewise.
43374         (fminf): Likewise.
43375         (fmin): Likewise.
43376         (rint): Likewise.
43377         (rintf): Likewise.
43378         (nearbyint): Likewise.
43379         (nearbyintf): Likewise.
43380         (ceil): Likewise.
43381         (ceilf): Likewise.
43382         (floor): Likewise.
43383         (floorf): Likewise.
43385 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43387         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43388         on both fields and cast pointer to __syscall_ulong_t.
43390         * bits/types.h (__fsword_t): New type.
43391         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43392         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43393         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43394         (__FSWORD_T_TYPE): Likewise.
43395         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43396         (__FSWORD_T_TYPE): Likewise.
43397         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43398         (__FSWORD_T_TYPE): Likewise.
43399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43400         (__FSWORD_T_TYPE): Likewise.
43401         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43402         __SWORD_TYPE with __fsword_t.
43403         (statfs64): Likewise.
43405 2012-05-17  David S. Miller  <davem@davemloft.net>
43407         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43409 2012-05-17  Andreas Jaeger  <aj@suse.de>
43411         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43412         warning.
43414 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43416         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43418 2012-05-17  Andreas Jaeger  <aj@suse.de>
43420         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43421         when it is used.
43423 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43425         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43427 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43429         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43430         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43432 2012-05-17  Andreas Jaeger  <aj@suse.de>
43433             Carlos O'Donell  <carlos_odonell@mentor.com>
43435         [BZ #14059]
43436         * sysdeps/x86_64/multiarch/init-arch.h
43437         (bit_YMM_Usable): Rename to...
43438         (bit_AVX_Usable): ... this.
43439         (bit_FMA4_Usable): New macro.
43440         (bit_XMM_state): New macro.
43441         (bit_YMM_state): New macro.
43442         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43443         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43444         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43445         (CPUID_OSXSAVE): New macro.
43446         (CPUID_AVX): New macro.
43447         (CPUID_FMA4): New macro.
43448         (index_YMM_Usable): Rename to...
43449         (index_AVX_Usable): ... this.
43450         (HAS_AVX): Use HAS_ARCH_FEATURE.
43451         (HAS_FMA4): Likewise.
43452         (HAS_YMM_USABLE): Remove.
43453         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43454         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43455         are present.
43456         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43457         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43458         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43459         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43460         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43462 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43464         * math/libm-test.c: Support platforms without multiple rounding modes.
43465         * math/bug-nextafter.c: Support platforms without FP exceptions.
43466         * math/bug-nexttoward.c: Likewise.
43467         * math/test-fenv.c: Likewise.
43468         * math/test-misc.c: Likewise.
43469         * stdlib/bug-getcontext.c: Likewise.
43471 2012-05-17  Andreas Jaeger  <aj@suse.de>
43473         * manual/examples/search.c (critter_cmp): Change signature to
43474         avoid warnings.
43475         * manual/string.texi (Collation Functions): Likewise.
43477 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43479         * bits/types.h: Fold copyright years.
43480         * bits/typesizes.h: Likewise.
43481         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43482         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43483         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43484         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43485         * time/time.h: Likewise.
43487 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43489         [BZ #208]
43490         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43491         in instead of returning them.  Return void.
43492         (__libc_mallinfo): Accumulate over all arenas.
43493         (__malloc_stats): Adjust for change in int_mallinfo interface.
43495 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43497         [BZ #10375]
43498         * configure.in (NM): Add AC_CHECK_TOOL for it.
43499         (libc_extra_cflags): New substituted variable.
43500         Check for -fstack-protector being used implicitly.
43501         * configure: Regenerated.
43502         * config.make.in (config-extra-cflags): New variable,
43503         gets @libc_extra_cflags@.
43504         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43506         [BZ #10375]
43507         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43508         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43509         * configure: Regenerated.
43510         * config.make.in (CPPUNDEFS): New substituted variable.
43511         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43512         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43513         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43515 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43517         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43518         (mq_attr): Use __syscall_slong_t.
43520 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43522         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43523         Check __x86_64__ instead of __WORDSIZE.
43524         (_STAT_VER_LINUX): Likewise.
43525         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43526         __syscall_ulong_t and __syscall_slong_t.
43527         (stat64): Likewise.
43529 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43531         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43533 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43535         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43537 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43539         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43540         __syscall_ulong_t.
43542         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43543         include <bits/wordsize.h>.  Check __x86_64__ instead of
43544         __WORDSIZE.
43545         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43546         defined.
43547         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43549         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43550         include <bits/wordsize.h>.  Check __x86_64__ instead of
43551         __WORDSIZE.
43552         (user_regs_struct): Use "__extension__ unsigned long long"
43553         instead of "unsigned long" if __x86_64__ is defined.
43554         (user): Likewise.  Pad after pointer field if __ILP32__ is
43555         defined.
43557 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43559         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43560         versions 5 to 9.
43561         * configure: Regenerated.
43562         * manual/install.texi (texinfo): Increase version requirement to
43563         4.5 or later.
43564         * INSTALL: Regenerated.
43566         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43568 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43570         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43572         * sysdeps/x86_64/x32/ffs.c: New file.
43574         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43575         __syscall_ulong_t.
43576         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43577         defined.  Use __syscall_ulong_t.
43578         (shminfo): Use __syscall_ulong_t.
43579         (shm_info): Likewise.
43581         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43582         __syscall_ulong_t.
43584         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43585         <bits/wordsize.h>.
43586         (msgqnum_t): Use __syscall_ulong_t.
43587         (msglen_t): Likewise.
43588         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43589         __syscall_ulong_t.
43591         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43592         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43594         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43596         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43597         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43599         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43600         __syscall_slong_t.
43602         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43603         include <bits/wordsize.h>.  Check __x86_64__ instead of
43604         __WORDSIZE.
43606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43607         "unsigned long long int" if __x86_64__ is defined.
43608         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43610         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43611         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43612         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43614         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43615         <stdint.h>.
43616         (GET_PC): Cast to uintptr_t first.
43617         (GET_FRAME): Likewise.
43618         (GET_STACK): Likewise.
43620         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43621         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43622         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43623         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43624         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43625         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43626         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43627         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43628         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43629         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43630         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43631         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43632         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43633         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43634         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43635         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43636         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43637         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43638         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43639         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43640         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43641         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43642         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43643         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43644         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43645         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43646         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43647         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43648         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43650 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43652         * Makerules (+depfiles): Also collect depfiles from .oS in
43653         $(extra-objs).
43654         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43655         .oS, $(libnldbl-routines)).
43657         * Makerules (native-compile-mkdep-flags): Define.
43658         * sunrpc/Makefile (extra-objs): Add $(addprefix
43659         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43660         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43661         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43662         calling $(make-target-directory).
43664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43666         * bits/types.h (__snseconds_t): Removed.
43667         * time/time.h (struct timespec): Replace __snseconds_t with
43668         __syscall_slong_t.
43669         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43670         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43671         Likewise.
43672         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43673         (__SNSECONDS_T_TYPE): Likewise.
43674         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43675         (__SNSECONDS_T_TYPE): Likewise.
43676         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43677         (__SNSECONDS_T_TYPE): Likewise.
43679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43681         * sysdeps/mach/hurd/bits/typesizes.h
43682         (__SYSCALL_SLONG_TYPE): New macro.
43683         (__SYSCALL_ULONG_TYPE): Likewise.
43685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43687         * bits/types.h (__syscall_slong_t): New type.
43688         (__syscall_ulong_t): Likewise.
43690         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43691         (__SYSCALL_ULONG_TYPE): Likewise.
43692         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43693         (__SYSCALL_SLONG_TYPE): Likewise.
43694         (__SYSCALL_ULONG_TYPE): Likewise.
43695         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43696         (__SYSCALL_SLONG_TYPE): Likewise.
43697         (__SYSCALL_ULONG_TYPE): Likewise.
43698         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43699         (__SYSCALL_SLONG_TYPE): Likewise.
43700         (__SYSCALL_ULONG_TYPE): Likewise.
43702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43704         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43705         Add sigaltstack-offsets.sym.
43706         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43707         <sigaltstack-offsets.h>.
43708         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43709         longjmp_msg pointer.
43710         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43711         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43712         signal stack.
43713         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43715 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43717         * elf/stackguard-macros.h: Remove file.
43718         * sysdeps/generic/stackguard-macros.h: New file.
43719         * sysdeps/i386/stackguard-macros.h: Likewise.
43720         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43721         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43722         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43723         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43724         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43725         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43726         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43727         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43728         <elf/stackguard-macros.h>.
43730         [BZ #14109]
43731         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43732         __aligned__ in attribute.
43733         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43734         (gregset_t): Likewise.
43736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43738         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43739         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43740         * sysdeps/x86_64/x32/Implies-after: New file.
43742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43744         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43745         and access return value for _dl_profile_fixup.  Use R10_LP to
43746         load frame size.
43748 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43750         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43754         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43755         * sysdeps/x86_64/x32/sysdep.h: New file.
43757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43759         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43760         * sysdeps/x86_64/setjmp.S: Likewise.
43762 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43764         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43765         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43766         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43767         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43768         remove unused global constant.
43770 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43772         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43773         include of <not-cancel.h>.
43775 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43777         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43779 2012-05-15  Jeff Law  <law@redhat.com>
43780             Andreas Jaeger  <aj@suse.de>
43782         [BZ #13594]
43783         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43784         out from...
43785         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43786         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43787         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43788         code changing __hst_map_handle.map.
43790 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43792         * configure.in (sysnames): Look for Implies-before and Implies-after
43793         files.
43794         * configure: Regenerated.
43796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43798         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43799         8-byte data alignment with LP_SIZE alignment.
43801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43803         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43804         into R10_LP.
43806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43808         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43810 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43812         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43813         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43814         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43815         Likewise.
43816         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43820         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43821         (stackinfo_sub_sp): Likewise.
43823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43825         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43826         RAX_LP.
43828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43830         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43831         into R*_LP.
43833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43835         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43836         sizes into R*_LP.
43838 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43840         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43842 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43844         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43845         into R11_LP and load __x86_64_shared_cache_size_half into
43846         R8_LP.
43848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43850         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43851         R8_LP.
43853 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43855         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43856         logb for POWER7.
43857         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43858         logbf for POWER7.
43859         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43860         logbl for POWER7.
43861         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43862         powerpc32/power7/fpu/s_logb.c via #include.
43863         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43864         powerpc32/power7/fpu/s_logbf.c via #include.
43865         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43866         powerpc32/power7/fpu/s_logbl.c via #include.
43868 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43870         * README.libm: Remove file.
43872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43874         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43875         count for x32.  Use R*_LP and omit operand-size suffix.
43877 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43879         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43880         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43881         * sysdeps/x86_64/x32/shlib-versions: New file.
43883 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43885         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43886         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43887         Use _dl_fatal_printf instead.
43889 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43891         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43892         set if not set by the user.  Do not allow for being unset.
43893         * sysdeps/unix/sysv/linux/configure: Regenerated.
43895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43897         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43898         the `q' suffix from lea and replace .quad with ASM_ADDR.
43900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43903         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43904         instead of $17.
43905         (PTR_DEMANGLE): Likewise.
43907 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43909         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43910         (LP_OP): Likewise.
43911         (ASM_ADDR): Likewise.
43912         (RAX_LP): Likewise.
43913         (RBP_LP): Likewise.
43914         (RBX_LP): Likewise.
43915         (RCX_LP): Likewise.
43916         (RDI_LP): Likewise.
43917         (RSI_LP): Likewise.
43918         (RSP_LP): Likewise.
43919         (R8_LP): Likewise.
43920         (R9_LP): Likewise.
43921         (R10_LP): Likewise.
43922         (R10_LP): Likewise.
43923         (R11_LP): Likewise.
43924         (R12_LP): Likewise.
43925         (R13_LP): Likewise.
43926         (R14_LP): Likewise.
43927         (R15_LP): Likewise.
43929 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43931         * sysdeps/x86_64/x32/dl-machine.h: New file.
43933 2012-05-14  Andreas Jaeger  <aj@suse.de>
43935         * manual/Makefile (subdir): Remove export of subdir.
43936         (all): Remove target.
43937         (.PHONY): Remove all from list.
43938         (mkinstalldirs): Remove.
43939         (.PHONY): Remove installdirs from list.
43940         ($(inst_infodir)/libc.info): Use make-target-directory.
43941         (installdirs): Remove.
43942         (subdir_%): Remove.
43943         (glibc-targets): Remove.
43944         (lib): Remove.
43945         (stubs): Remove.
43946         ($(objpfx)stubs ../po/manual.pot): Remove.
43947         ($(objpfx)stamp%): Remove.
43948         (make-target-directory): Remove.
43949         (subdir_install): Remove.
43950         (routines): Remove.
43951         (aux): Remove.
43952         (sources): Remove.
43953         (objects): Remove.
43954         (headers): Remove.
43956         [BZ #13750]
43957         * manual/.gitignore: Remove, it's not needed anymore.
43958         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43959         all files in it.
43960         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43961         directory.
43962         (texis): Renamed to $(objpfx)texis.
43963         (texis-path): New, contains path to generated files.
43964         (chapters.%): Use texis-path for complete path, add extra argument
43965         libc-texinfo.sh.
43966         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43967         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43968         (summary,texi, stamp-summary): Use complete path of
43969         files. Generate files in build dir.
43970         (dir-add.texi): Build in build dir.
43971         (libm-err.texi,stamp-libm-err): Likewise.
43972         (version.texi, stamp-version): Likewise.
43973         (.%c.texi): Likewise.
43974         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43975         (mostlyclean): Remove target.
43976         (realclean): Remove target.
43977         (generated): Add new variable with contents from mostlyclean and
43978         realclean, remove entries duplicated in common-mostlyclean, add
43979         stamp-libm-err and stamp-version.
43980         (generated-dirs): Add libc directory.
43981         ($(inst_infodir)/libc.info): Install files from build dir.
43983         * manual/install.texi (Configuring and compiling): Adjust since
43984         the info files are not part of the tar ball anymore.
43986 2012-05-14  Andreas Jaeger  <aj@suse.de>
43988         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43989         variable.
43991 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43993         [BZ #13717]
43994         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43995         to 2.2.0 where earlier.
43996         * sysdeps/unix/sysv/linux/configure: Regenerated.
43997         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43998         Remove conditional code.
43999         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44000         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44001         Remove conditional code.
44002         [!__NR_lchown]: Likewise.
44003         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44004         [__NR_lchown]: Likewise.
44005         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44006         comment referencing __ASSUME_LCHOWN_SYSCALL.
44007         * sysdeps/unix/sysv/linux/i386/sigaction.c
44008         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44009         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44010         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44011         Remove conditional code.
44012         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44013         (__protocol_available): Remove #if 0 code.
44014         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44015         conditional code.
44016         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44017         * sysdeps/unix/sysv/linux/kernel-features.h
44018         (__ASSUME_GETCWD_SYSCALL): Don't define.
44019         (__ASSUME_REALTIME_SIGNALS): Likewise.
44020         (__ASSUME_PREAD_SYSCALL): Likewise.
44021         (__ASSUME_PWRITE_SYSCALL): Likewise.
44022         (__ASSUME_POLL_SYSCALL): Likewise.
44023         (__ASSUME_LCHOWN_SYSCALL): Likewise.
44024         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44025         non-SPARC.
44026         (__ASSUME_SIOCGIFNAME): Don't define.
44027         (__ASSUME_MSG_NOSIGNAL): Likewise.
44028         (__ASSUME_SENDFILE): Define unconditionally.
44029         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44030         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44031         conditional code.
44032         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44033         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44034         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44035         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44036         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44037         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44038         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44040         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44052         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44055         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44058         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44059         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44061         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44062         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44063         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44064         Remove conditional code.
44065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44066         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44067         Remove conditional code.
44068         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44069         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44070         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44071         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44072         Remove conditional code.
44073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44074         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44075         Remove conditional code.
44076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44077         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44078         Remove conditional code.
44079         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44080         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44081         Remove conditional code.
44082         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44083         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44084         Remove conditional code.
44085         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44086         * sysdeps/unix/sysv/linux/sh/pwrite64.c
44087         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44088         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44089         * sysdeps/unix/sysv/linux/sigaction.c
44090         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44091         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44092         * sysdeps/unix/sysv/linux/sigpending.c
44093         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44094         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44095         * sysdeps/unix/sysv/linux/sigprocmask.c
44096         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44097         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44098         * sysdeps/unix/sysv/linux/sigsuspend.c
44099         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44100         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44101         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44102         (__libc_missing_rt_sigs): Remove.
44103         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44104         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44105         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44106         Remove conditional code.
44107         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44108         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44109         return 1.
44110         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44111         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44112         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44113         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44115 2012-05-14  Andreas Jaeger  <aj@suse.de>
44117         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44118         it's not used in glibc.
44119         (__coshm1): Likewise.
44120         (__acosh1p): Likewise.
44121         (__sgn): Likewise.
44123         * manual/string.texi (Copying and Concatenation): Add missing
44124         variable in concat example.
44125         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44127 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44129         [BZ #14103]
44130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44131         __builtin_clzl with __builtin_clzll.
44133 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44135         [BZ #14104]
44136         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44137         libc_freeres_ptr.
44139 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44141         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44142         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44143         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44144         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44146 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44148         * NEWS: Update ia64 info.
44150 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44152         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44153         used as bcopy.
44155 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44157         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44158         * sysdeps/unix/syscalls.list (dup3): Likewise.
44159         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44160         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44162 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44164         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44165         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44167 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44169         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44170         thread pointer.
44171         (TLS_IE): Use mov/add instead of movq/addq to load thread
44172         pointer.
44173         (TLS_GD_PREFIX): New.
44174         (TLS_GD): Use it.
44176 2012-05-11  David S. Miller  <davem@davemloft.net>
44178         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44179         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44180         (_FPU_SETCW): Likewise.
44182 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44184         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44185         is 32-byte aligned.
44187 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44189         [BZ #11837]
44190         * iconvdata/gb18030.c: Update tables.
44191         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44192         characters specially.
44193         (BODY for TO_LOOP): Add encoding of missing ranges.
44195 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44197         [BZ #13673]
44198         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44199         * sysdeps/mach/hurd/dup3.c: Likewise.
44200         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44201         * sysdeps/powerpc/memmove.c:: Likewise.
44203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44205         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44206         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44208 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44210         * elf/elf.h (R_X86_64_RELATIVE64): New.
44211         (R_X86_64_NUM): Updated.
44212         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44213         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44214         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44215         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44216         tst-quad1pie tst-quad2pie
44217         (modules-names): Add tst-quadmod1 tst-quadmod2.
44218         ($(objpfx)tst-quad1): New dependency.
44219         ($(objpfx)tst-quad2): Likewise.
44220         ($(objpfx)tst-quad1pie): Likewise.
44221         ($(objpfx)tst-quad2pie): Likewise.
44222         * sysdeps/x86_64/tst-quad1.c: New file.
44223         * sysdeps/x86_64/tst-quad1pie.c: New file.
44224         * sysdeps/x86_64/tst-quad2.c: Likewise.
44225         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44226         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44227         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44228         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44229         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44231 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44233         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44234         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44235         * streams/stropts.h (t_scalar_t): Define type.
44237         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44238         (_PATH_PRESERVE): Set to "/var/lib".
44239         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44241         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44242         instead of int.
44244         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44245         if __dir_mkfile succeeded.
44247         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44248         checking for _hurd_dtablesize.  Unlock it right after having
44249         finished _hurd_dtable allocation.
44251 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44253         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44254         * sysdeps/mach/hurd/configure: Regenerated.
44255         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44256         special-casing to...
44257         * sysdeps/gnu/configure.in: ... this new file.
44258         * sysdeps/unix/sysv/linux/configure: Regenerated.
44259         * sysdeps/gnu/configure: New generated file.
44261         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44262         for Linux: use nsec instead of usec, as well as:
44263         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44264         members of type struct timespec.
44265         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44266         New macros.
44267         (struct stat64): Likewise.
44268         (_STATBUF_ST_NSEC): New macro.
44269         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44271         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44272         __strtoul_internal rather than strtoul.
44274 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44276         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44277         and reject them.
44279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44281         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44282         which preserves existing values.
44283         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44285 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44287         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44288         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44289         greater than FD_SETSIZE.
44291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44293         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44294         allocated, call __vm_protect to finish enabling the existing space, and
44295         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44296         allocate the remainder.
44298 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44300         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44301         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44303 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44305         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44306         sysdeps/mach/hurd/readlink.c.
44308         * posix/tst-sysconf.c (posix_options): Only use
44309         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44310         _POSIX_SYNCHRONIZED_IO when they are defined
44311         * sysdeps/mach/hurd/bits/posix_opt.h:
44312         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44313         (_XOPEN_REALTIME): Undefine macro.
44314         (_XOPEN_REALTIME_THREADS): Undefine macro.
44315         (_XOPEN_SHM): Undefine macro.
44316         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44317         macro to -1.
44318         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44319         macro to -1.
44320         (_POSIX_ASYNC_IO): Undefine macro.
44321         (_POSIX_PRIORITIZED_IO): Undefine macro.
44322         (_POSIX_SPIN_LOCKS): Define macro to -1.
44324         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44325         SA_NODEFER, SA_RESETHAND.
44326         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44327         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44328         F_DUPFD_CLOEXEC.
44330 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44332         * elf/Makefile (pldd-modules): Define unconditionally.
44334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44336         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44340         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44341         Return ENOENT when name is empty.
44342         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44346         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44348         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44350 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44352         Fix mlock in all cases except non-readable pages.
44353         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44354         instead of VM_PROT_ALL as parameter to __vm_wire function.
44356         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44357         (__mkdir): When path is `/', just fail with EEXIST.
44358         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44360 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44362         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44363         <sys/uio.h> (for writev).
44364         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44365         and <sys/param.h> (for MIN).
44367 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44369         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44370         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44371         if interrupted.
44373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44375         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44376         Depend on against $(link-rpcuserlibs).
44378 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44380         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44381         (__libc_stack_end): Do not use attribute_relro.
44382         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44383         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44384         to libthread-provided value.
44385         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44386         attribute_relro.
44388 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44390         [BZ #3748]
44391         * bits/libc-lock.h (__libc_once_get): New macro.
44392         * sysdeps/mach/bits/libc-lock.h: Likewise.
44393         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44394         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44395         instead of using implementation details.
44397         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44398         * libio/freopen.c: Likewise.
44399         * libio/freopen64.c: Likewise.
44400         * misc/syslog.c: Likewise.
44401         * nscd/connections.c: Likewise.
44402         * nscd/netgroupcache.c: Likewise.
44403         * sysdeps/posix/getcwd.c: Likewise.
44405 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44407         * math/w_ilogbf.c: Add #include <limits.h>.
44409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44411         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44412         path instead of returning without unlocking.
44414         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44415         immediate-write ioctls.
44416         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44420         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44421         __builtin_frame_address instead of making assumptions about the
44422         location of the return address relative to DATA.  Force early load of
44423         the return address.
44424         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44425         __builtin_frame_address.
44427         dup3 for GNU Hurd.
44428         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44429         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44430         implement dup3 and do some further code clean-ups.
44431         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44432         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44436         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44438         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44439         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44440         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44441         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44442         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44443         d->port.lock.
44445         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44446         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44447         when handler == SIG_ERR, not when handler != SIG_ERR.
44449 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44451         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44452         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44453         definitions.
44455         accept4 for GNU Hurd.
44456         * include/sys/socket.h (__libc_accept4): New prototype.
44457         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44458         to implement __libc_accept4.
44459         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44460         __libc_accept4.
44461         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44463         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44464         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44465         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44466         signal-defines.sym.
44468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44470         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44472 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44474         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44475         assertion on O_CLOEXEC flag.
44476         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44477         * hurd/intern-fd.c: Likewise.
44478         * hurd/port2fd.c: Likewise.
44480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44482         [BZ #3906]
44483         * bits/in.h (IPV6_PKTINFO): Define new macro.
44484         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44486 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44488         [BZ #13954]
44489         [BZ #13955]
44490         [BZ #13956]
44491         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44493         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44494         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44495         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44496         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44497         * math/libm-test.inc (logb_test) : Additional logb tests.
44499 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44500             Andreas Jaeger  <aj@suse.de>
44502         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44503         * configure: Regenerated.
44504         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44505         * config.make.in (link-obsolete-rpc): New substituted variable.
44506         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44507         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44508         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44509         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44510         so that libc.a contains the symbols.
44511         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44512         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44513         * sunrpc/auth_none.c: Likewise.
44514         * sunrpc/auth_unix.c: Likewise.
44515         * sunrpc/authdes_prot.c: Likewise.
44516         * sunrpc/authuxprot.c: Likewise.
44517         * sunrpc/clnt_gen.c: Likewise.
44518         * sunrpc/clnt_perr.c: Likewise.
44519         * sunrpc/clnt_raw.c: Likewise.
44520         * sunrpc/clnt_simp.c: Likewise.
44521         * sunrpc/clnt_tcp.c: Likewise.
44522         * sunrpc/clnt_udp.c: Likewise.
44523         * sunrpc/clnt_unix.c: Likewise.
44524         * sunrpc/des_crypt.c: Likewise.
44525         * sunrpc/des_soft.c: Likewise.
44526         * sunrpc/get_myaddr.c: Likewise.
44527         * sunrpc/key_call.c: Likewise.
44528         * sunrpc/key_prot.c: Likewise.
44529         * sunrpc/netname.c: Likewise.
44530         * sunrpc/pm_getmaps.c: Likewise.
44531         * sunrpc/pm_getport.c: Likewise.
44532         * sunrpc/pmap_clnt.c: Likewise.
44533         * sunrpc/pmap_prot.c: Likewise.
44534         * sunrpc/pmap_prot2.c: Likewise.
44535         * sunrpc/pmap_rmt.c: Likewise.
44536         * sunrpc/publickey.c: Likewise.
44537         * sunrpc/rpc_cmsg.c: Likewise.
44538         * sunrpc/rpc_common.c: Likewise.
44539         * sunrpc/rpc_dtable.c: Likewise.
44540         * sunrpc/rpc_prot.c: Likewise.
44541         * sunrpc/rpc_thread.c: Likewise.
44542         * sunrpc/rtime.c: Likewise.
44543         * sunrpc/svc.c: Likewise.
44544         * sunrpc/svc_auth.c: Likewise.
44545         * sunrpc/svc_raw.c: Likewise.
44546         * sunrpc/svc_run.c: Likewise.
44547         * sunrpc/svc_tcp.c: Likewise.
44548         * sunrpc/svc_udp.c: Likewise.
44549         * sunrpc/svc_unix.c: Likewise.
44550         * sunrpc/svcauth_des.c: Likewise.
44551         * sunrpc/xcrypt.c: Likewise.
44552         * sunrpc/xdr.c: Likewise.
44553         * sunrpc/xdr_array.c: Likewise.
44554         * sunrpc/xdr_float.c: Likewise.
44555         * sunrpc/xdr_intXX_t.c: Likewise.
44556         * sunrpc/xdr_mem.c: Likewise.
44557         * sunrpc/xdr_rec.c: Likewise.
44558         * sunrpc/xdr_ref.c: Likewise.
44559         * sunrpc/xdr_sizeof.c: Likewise.
44560         * sunrpc/xdr_stdio.c: Likewise.
44562 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44564         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44565         change.  Update copyright years.
44567 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44569         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44571 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44572             Joseph Myers  <joseph@codesourcery.com>
44573             Paul Pluzhnikov  <ppluzhnikov@google.com>
44575         [BZ #14012]
44576         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44577         requiring rpcgen.
44578         [cross-compiling] (extra-libs): Likewise.
44579         [cross-compiling] (extra-libs-others): Likewise.
44580         [cross-compiling] (librpcsvc-routines): Likewise.
44581         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44582         [cross-compiling] (omit-deps): Likewise.
44583         (sunrpc-CPPFLAGS): New variable.
44584         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44585         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44586         (cross-rpcgen-objs): New variable.
44587         (extra-objs): Append $(cross-rpcgen-objs).
44588         ($(cross-rpcgen-objs)): New rule.
44589         ($(objpfx)cross-rpcgen): Likewise.
44590         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44591         comment.
44592         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44593         ($(objpfx)x%.stmp): Likewise.
44594         * sunrpc/proto.h [IS_IN_build] (_): Define.
44595         [IS_IN_build] (_libc_intl_domainname): Likewise.
44597 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44599         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44600         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44601         and R_X86_64_TPOFF64.
44603 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44605         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44606         sysdeps/unix/sysv/syscalls.list.
44607         (stime): Likewise.
44608         (utime): Likewise.
44609         * sysdeps/unix/sysv/syscalls.list: Remove file.
44611 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44613         [BZ #3440]
44614         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44615         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44616         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44617         (__LC_IDENTIFICATION): Make these macros useful in #if
44618         expressions, as required by C99.
44620 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44622         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44623         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44624         after this.
44626 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44628         * stdlib/longlong.h: Updated from GCC.
44630 2012-05-09  Andreas Jaeger  <aj@suse.de>
44632         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44633         default is first entry.
44634         (run_mode): Set type.
44635         (main): Remove informal message about syslog.
44636         (options): Fix typo.
44638         [BZ #14053]
44639         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44640         to asm.
44641         (lrint): Likewise.
44642         (llrintf): Likewise.
44643         (llrint): Likewise.
44644         (rint): Likewise.
44645         (rintf): Likewise.
44646         (nearbyint): Likewise.
44647         (nearbyintf): Likewise.
44649 2012-05-09  Andreas Jaeger  <aj@suse.de>
44650             Pedro Alves  <palves@redhat.com>
44652         * nscd/nscd.c (run_mode): Use enum.
44653         (main): Cleanup coding style issue.
44655 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44656             Andreas Jaeger  <aj@suse.de>
44658         * nscd/nscd.c (go_background): Replaced with...
44659         (run_mode): ... this.
44660         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44661         (options): Add -F --foreground.
44662         (main): Implement it.
44663         (parse_opt): Parse it.
44665 2012-05-09  Andreas Jaeger  <aj@suse.de>
44667         [BZ #14083]
44668         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44669         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44670         -Wconversion warning.
44671         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44672         Likewise.
44674 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44676         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44677         == 0.
44678         (LC_ALL): Use macro-int-constant.
44679         (LC_COLLATE): Likewise.
44680         (LC_CTYPE): Likewise.
44681         (LC_MESSAGES): Likewise.
44682         (LC_MONETARY): Likewise.
44683         (LC_NUMERIC): Likewise.
44684         (LC_TIME): Likewise.
44685         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44686         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44688         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44689         Specify type.
44690         [C99-based standards] (float_t): Expect type.
44691         [C99-based standards] (double_t): Expect type.
44692         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44693         type.
44694         [C99-based standards] (HUGE_VALL): Likewise.
44695         [C99-based standards] (INFINITY): Likewise.
44696         [C99-based standards] (NAN): Likewise.
44697         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44698         [C99-based standards] (FP_NAN): Likewise.
44699         [C99-based standards] (FP_NORMAL): Likewise.
44700         [C99-based standards] (FP_SUBNORMAL): Likewise.
44701         [C99-based standards] (FP_ZERO): Likewise.
44702         [C99-based standards] (FP_FAST_FMA): Use
44703         optional-macro-int-constant.  Specify type.  Require == 1.
44704         [C99-based standards] (FP_FAST_FMAF): Likewise.
44705         [C99-based standards] (FP_FAST_FMAL): Likewise.
44706         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44707         [C99-based standards] (FP_ILOGBNAN): Likewise.
44708         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44709         Specify type.
44710         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44711         [C99-based standards] (math_errhandling): Specify type.
44712         [ISO99 || ISO11] (signgam): Do not allow.
44713         [non-C99-based standards] (copysignf): Do not allow.
44714         [non-C99-based standards] (exp2f): Likewise.
44715         [non-C99-based standards] (log2f): Likewise.
44716         [non-C99-based standards] (modff): Allow.
44717         [non-C99-based standards] (erff): Do not allow.
44718         [non-C99-based standards] (erfcf): Likewise.
44719         [non-C99-based standards] (gammaf): Likewise.
44720         [non-C99-based standards] (hypotf): Likewise.
44721         [non-C99-based standards] (j0f): Likewise.
44722         [non-C99-based standards] (j1f): Likewise.
44723         [non-C99-based standards] (jnf): Likewise.
44724         [non-C99-based standards] (lgammaf): Likewise.
44725         [non-C99-based standards] (tgammaf): Likewise.
44726         [non-C99-based standards] (y0f): Likewise.
44727         [non-C99-based standards] (y1f): Likewise.
44728         [non-C99-based standards] (ynf): Likewise.
44729         [non-C99-based standards] (isnanf): Likewise.
44730         [non-C99-based standards] (acoshf): Likewise.
44731         [non-C99-based standards] (asinhf): Likewise.
44732         [non-C99-based standards] (atanhf): Likewise.
44733         [non-C99-based standards] (cbrtf): Likewise.
44734         [non-C99-based standards] (expm1f): Likewise.
44735         [non-C99-based standards] (ilogbf): Likewise.
44736         [non-C99-based standards] (log1pf): Likewise.
44737         [non-C99-based standards] (logbf): Likewise.
44738         [non-C99-based standards] (nextafterf): Likewise.
44739         [non-C99-based standards] (remainderf): Likewise.
44740         [non-C99-based standards] (rintf): Likewise.
44741         [non-C99-based standards] (scalbf): Likewise.
44742         [non-C99-based standards] (copysignl): Likewise.
44743         [non-C99-based standards] (exp2l): Likewise.
44744         [non-C99-based standards] (log2l): Likewise.
44745         [non-C99-based standards] (modfl): Allow.
44746         [non-C99-based standards] (erfl): Do not allow.
44747         [non-C99-based standards] (erfcl): Likewise.
44748         [non-C99-based standards] (gammal): Likewise.
44749         [non-C99-based standards] (hypotl): Likewise.
44750         [non-C99-based standards] (j0l): Likewise.
44751         [non-C99-based standards] (j1l): Likewise.
44752         [non-C99-based standards] (jnl): Likewise.
44753         [non-C99-based standards] (lgammal): Likewise.
44754         [non-C99-based standards] (tgammal): Likewise.
44755         [non-C99-based standards] (y0l): Likewise.
44756         [non-C99-based standards] (y1l): Likewise.
44757         [non-C99-based standards] (ynl): Likewise.
44758         [non-C99-based standards] (isnanl): Likewise.
44759         [non-C99-based standards] (acoshl): Likewise.
44760         [non-C99-based standards] (asinhl): Likewise.
44761         [non-C99-based standards] (atanhl): Likewise.
44762         [non-C99-based standards] (cbrtl): Likewise.
44763         [non-C99-based standards] (expm1l): Likewise.
44764         [non-C99-based standards] (ilogbl): Likewise.
44765         [non-C99-based standards] (log1pl): Likewise.
44766         [non-C99-based standards] (logbl): Likewise.
44767         [non-C99-based standards] (nextafterl): Likewise.
44768         [non-C99-based standards] (remainderl): Likewise.
44769         [non-C99-based standards] (rintl): Likewise.
44770         [non-C99-based standards] (scalbl): Likewise.
44771         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44772         [non-C99-based standards] (FP_*): Do not allow.
44773         [C99-based standards] (FP_*): Change to
44774         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44775         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44776         allow.
44777         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44778         (SIG_ERR): Likewise.
44779         [X/Open-based standards] (SIG_HOLD): Likewise.
44780         (SIG_IGN): Likewise.
44781         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44782         positive value.
44783         (SIGFPE): Likewise.
44784         (SIGILL): Likewise.
44785         (SIGINT): Likewise.
44786         (SIGSEGV): Likewise.
44787         (SIGTER): Likewise.
44788         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44789         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44790         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44791         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44792         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44793         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44794         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44795         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44796         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44797         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44798         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44799         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44800         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44801         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44802         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44803         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44804         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44805         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44806         [X/Open-based standards] (SIGTRAP): Likewise.
44807         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44808         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44809         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44810         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44811         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44812         allow.
44814 2012-05-08  Ian Wienand  <ianw@vmware.com>
44816         [BZ #14080]
44817         * time/tzset.c (__tzset_parse_tz): Update default rules for
44818         daylight time changes in the Energy Policy Act of 2005.
44820 2012-05-09  Andreas Jaeger  <aj@suse.de>
44822         [BZ #13983]
44823         * elf/ldconfig.c (parse_conf): Change string to make clear that
44824         ldconfig only issued a warning if ld.so.conf does not exist.
44826 2012-05-08  David S. Miller  <davem@davemloft.net>
44828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44829         movxtod instead of popping the value on the stack.
44831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44833 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44835         * config.h.in: Add HAVE_ARM_PCS_VFP.
44837 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44839         [BZ #13979]
44840         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44841         checking but the checks are disabled for any reason.
44843 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44845         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44846         and ELF64_R_TYPE with ELFW(R_TYPE).
44848 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44850         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44851         (ulimit): Likewise.
44853         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44854         (settimeofday): Likewise.
44856 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44858         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44859         a struct th_u2 inside the union, and move tu_block/tu_code into
44860         a new th_u3 union of tu_block/tu_code inside of that.  Move
44861         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44862         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44863         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44864         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44865         (th_stuff): Change to th_u1.tu_stuff.
44866         (th_data): Define.
44867         (th_msg): Change to th_u1.th_u2.tu_data.
44869 2012-05-07  David S. Miller  <davem@davemloft.net>
44871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44873         [BZ #14074]
44874         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44875         (SETUP_PIC_REG): Use it.
44876         (SETUP_PIC_REG_LEAF): Use it.
44878 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44880         [BZ #13885]
44881         [BZ #13923]
44882         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44883         USE_AS_EXPM1L.
44884         (EXPL_FINITE): Likewise.
44885         (FLDLOG): Likewise.
44886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44887         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44888         e_expl.S.
44889         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44890         USE_AS_EXPM1L.
44891         (EXPL_FINITE): Likewise.
44892         (FLDLOG): Likewise.
44893         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44894         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44895         e_expl.S.
44896         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44897         test of -max_value argument for long double.
44898         * sysdeps/i386/fpu/libm-test-ulps: Update.
44899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44901 2012-05-06  David S. Miller  <davem@davemloft.net>
44903         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44904         quad soft-float symbols whose references which are compiler
44905         generated.
44906         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44908 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44910         [BZ #13884]
44911         [BZ #13914]
44912         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44913         USE_AS_EXP10L.
44914         (EXPL_FINITE): Likewise.
44915         (FLDLOG): Likewise.
44916         (c0): Likewise.
44917         (c1): Likewise.
44918         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44919         Adjust comments for base varying.
44920         (__expl_finite): Change alias to EXPL_FINITE.
44921         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44922         e_expl.S.
44923         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44924         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44925         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44926         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44927         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44928         USE_AS_EXP10L.
44929         (EXPL_FINITE): Likewise.
44930         (FLDLOG): Likewise.
44931         (c0): Likewise.
44932         (c1): Likewise.
44933         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44934         Adjust comments for base varying.
44935         (__expl_finite): Change alias to EXPL_FINITE.
44936         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44937         tests for bugs.
44938         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44940         [BZ #14064]
44941         * math/libm-test.inc (check_float_internal): Correct ulp
44942         calculation for subnormal expected results.
44944 2012-05-06  Andreas Jaeger  <aj@suse.de>
44946         * Makeconfig (+math-flags): New, set to -frounding-math.
44947         (+cflags): Add +math-flags so that all of glibc gets compiled with
44948         it.
44950         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44952 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44954         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44955         Disable one test.
44957         [BZ #13787]
44958         [BZ #13922]
44959         [BZ #14036]
44960         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44961         (__ieee754_expl): Allow for and saturate large arguments.
44962         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44963         (u_threshold): Likewise.
44964         (__exp): Call __ieee754_exp before checking for overflow and
44965         underflow.
44966         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44967         (u_threshold): Likewise.
44968         (__expf): Call __ieee754_expf before checking for overflow and
44969         underflow.
44970         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44971         (u_threshold): Likewise.
44972         (__expl): Call __ieee754_expl before checking for overflow and
44973         underflow.
44974         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44975         (__ieee754_expl): Allow for and saturate large arguments.
44976         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44977         missing overflow exception on overflow.
44978         (expm1_test): Do not allow missing overflow exception on overflow.
44980         * sysdeps/i386/fpu/e_expl.c: Move to ...
44981         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44982         rather than using inline asm.
44983         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44984         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44985         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44987         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44988         (nice): Likewise.
44989         (poll): Likewise.
44990         (signal): Likewise.
44991         (time): Likewise.
44992         (times): Likewise.
44994 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44996         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44997         sysdeps/unix/common/syscalls.list.
44998         (fchmod): Likewise.
44999         (fchown): Likewise.
45000         (ftruncate): Likewise.
45001         (getrusage): Likewise.
45002         (gettimeofday): Likewise.
45003         (setpgid): Likewise.
45004         (setregid): Likewise.
45005         (setreuid): Likewise.
45006         (sigaction): Likewise.
45007         (truncate): Likewise.
45008         (vhangup): Likewise.
45009         * sysdeps/unix/common/syscalls.list: Remove file.
45010         * sysdeps/unix/bsd/Implies: Don't include unix/common.
45011         * sysdeps/unix/sysv/linux/Implies: Likewise.
45013 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
45015         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45017         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45018         Moved to ...
45019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45020         Here.
45021         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45022         to ...
45023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45024         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45025         to ...
45026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45027         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45028         to ...
45029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45030         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45031         to ...
45032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45033         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45034         to ...
45035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45036         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45037         to ...
45038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45039         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45040         to ...
45041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45042         Here.
45043         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45044         to ...
45045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45046         Here.
45047         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45048         to ...
45049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45050         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45051         Moved to ...
45052         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45053         Here.
45054         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45055         to ...
45056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45058 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45060         * sysdeps/unix/common/bits/dirent.h: Remove file.
45061         * sysdeps/unix/common/bits/fcntl.h: Likewise.
45063         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45064         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45065         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45066         * sysdeps/unix/bsd/isatty.c: Likewise.
45067         * sysdeps/unix/bsd/tcdrain.c: Likewise.
45068         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45069         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45071 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45073         [BZ #13563]
45074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45075         long double comparison inaccuracies.
45076         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45079 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
45081         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45082         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45084 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
45086         [BZ #14049]
45087         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45088         nonzero digits before rounding a hex value.
45089         * stdlib/tst-strtod.c (tests): Add another test.
45091 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45093         * sysdeps/s390/fpu/libm-test-ulps: Update.
45095 2012-05-03  Andreas Jaeger  <aj@suse.de>
45097         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45098         does not get optimized out.
45099         (malloc_opt_barrier): New.
45101 2012-05-03  Andreas Jaeger  <aj@suse.de>
45102             Roland McGrath  <roland@hack.frob.com>
45104         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
45105         intermediate file deletion.
45106         (generated): Add .symlist files.
45108 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
45110         [BZ #13775]
45111         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45112         Redirect under this condition.
45113         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45114         [__USE_GNU] (__dprintf_chk): Not under this condition.
45115         [__USE_GNU] (__vdprintf_chk): Likewise.
45116         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45117         under this condition.
45118         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45119         [__USE_XOPEN2K8] (dprintf): Define under this condition.
45120         [__USE_XOPEN2K8] (vdprintf): Likewise.
45121         [__USE_GNU] (__dprintf_chk): Not under this condition.
45122         [__USE_GNU] (__vdprintf_chk): Likewise.
45123         [__USE_GNU] (dprintf): Likewise.
45124         [__USE_GNU] (vdprintf): Likewise.
45126 2012-05-03  Roland McGrath  <roland@hack.frob.com>
45128         * elf/Makefile (common-generated): Set this instead of generated for
45129         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
45130         $(all-built-dso)-derived lists.
45132 2012-05-03  Andreas Jaeger  <aj@suse.de>
45134         * sysdeps/i386/fpu/libm-test-ulps: Update.
45136         * FAQ: Removed.
45137         * FAQ.in: Likewise.
45138         * scripts/gen-FAQ.pl: Likewise.
45139         * manual/install.texi (Installation): Point to online location of
45140         FAQ.
45141         * Makefile (files-for-dist): Remove FAQ.
45142         (FAQ): Remove.
45144 2012-05-02  Allan McRae  <allan@archlinux.org>
45146         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45147         (LDFLAGS-reldepmod5.so): Likewise.
45148         (LDFLAGS-reldep6mod1.so): Likewise.
45149         (LDFLAGS-reldep6mod4.so): Likewise.
45150         (LDFLAGS-reldep8mod3.so): Likewise.
45151         (LDFLAGS-unload4mod1.so): Likewise.
45152         (LDFLAGS-unload4mod2.so): Likewise.
45153         (LDFLAGS-tst-initorder): Likewise.
45154         (LDFLAGS-tst-initordera2.so): Likewise.
45155         (LDFLAGS-tst-initordera3.so): Likewise.
45156         (LDFLAGS-tst-initordera4.so): Likewise.
45157         (LDFLAGS-tst-initorderb2.so): Likewise.
45158         (LDFLAGS-noload): Likewise.
45159         (LDFLAGS-next): Likewise.
45160         (LDFLAGS-order2mod1.so): Likewise.
45161         (LDFLAGS-order2mod2.so): Likewise.
45162         (LDFLAGS-tst-initorder2): Likewise.
45163         (LDFLAGS-tst-initorder2a.so): Likewise.
45164         (LDFLAGS-tst-initorder2b.so): Likewise.
45165         (LDFLAGS-tst-initorder2c.so): Likewise.
45166         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45168 2012-05-02  David S. Miller  <davem@davemloft.net>
45170         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45172 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45174         [BZ #14055]
45175         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45177 2012-05-02  Andreas Jaeger  <aj@suse.de>
45179         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45180         since we manipulate rounding mode.
45181         (CPPFLAGS-test-idouble.c): Likewise.
45182         (CPPFLAGS-test-ifloat.c): Likewise.
45183         (CFLAGS-test-ldouble.c): Likewise.
45184         (CFLAGS-test-double.c): Likewise.
45185         (CFLAGS-test-float.c): Likewise.
45186         (CFLAGS-test-misc.c): Likewise.
45187         (CFLAGS-test-test-fenv.c): Likewise.
45189 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45191         [BZ #2550]
45192         [BZ #2570]
45193         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45194         comparisons to determine direction to adjust input.
45196 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45198         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45199         output to the target.
45201         * scripts/localplt.awk: New file.
45202         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45203         (check-localplt-CFLAGS): Variable removed.
45204         ($(all-built-dso:=.jmprel)): New static pattern rule.
45205         (generated): Add those targets.
45206         (localplt-built-dso): New variable.
45207         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45209         * elf/check-localplt.c: File removed.
45211         * scripts/check-execstack.awk: New file.
45212         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45213         (check-execstack-CFLAGS): Variable removed.
45214         ($(objpfx)check-execstack.h): Target removed.
45215         ($(objpfx)execstack-default): New target.
45216         (generated): Add that instead of check-execstack.h.
45217         ($(all-built-dso:=.phdr)): New static pattern rule.
45218         (generated): Add those targets.
45219         * elf/check-execstack.c: File removed.
45221         * scripts/check-textrel.awk: New file.
45222         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45223         (check-textrel-CFLAGS): Variable removed.
45224         (all-built-dso): Use := to define.o
45225         ($(all-built-dso:=.dyn)): New static pattern rule.
45226         (generated): Add those targets.
45227         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45228         * config.make.in (READELF): New substituted variable.
45229         * elf/check-textrel.c: File removed.
45231 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45233         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45234         allow.
45235         * conform/data/ctype.h-data [C99-based standards] (isblank):
45236         Expect function.
45237         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45238         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45239         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45240         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45241         Specify type.  Require positive value.
45242         (EILSEQ): Likewise.
45243         (ERANGE): Likewise.
45244         [ISO || POSIX] (EILSEQ): Do not expect.
45245         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45246         Specify type.  Require positive value.
45247         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45248         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45249         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45250         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45251         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45252         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45253         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45254         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45255         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45256         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45257         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45258         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45259         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45260         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45261         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45262         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45263         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45264         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45265         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45266         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45267         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45268         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45269         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45270         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45271         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45272         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45273         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45274         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45275         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45276         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45277         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45278         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45279         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45280         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45281         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45282         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45283         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45284         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45285         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45286         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45287         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45288         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45289         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45290         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45291         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45292         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45293         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45294         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45295         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45296         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45297         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45298         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45299         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45300         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45301         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45302         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45303         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45304         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45305         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45306         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45307         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45308         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45309         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45310         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45311         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45312         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45313         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45314         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45315         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45316         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45317         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45318         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45319         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45320         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45321         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45322         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45323         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45324         Require >= 2.
45325         (FLT_ROUNDS): Expect as macro, not constant.
45326         (FLT_MANT_DIG): Use macro-int-constant.
45327         (DBL_MANT_DIG): Likewise.
45328         (LDBL_MANT_DIG): Likewise.
45329         (FLT_DIG): Likewise.
45330         (DBL_DIG): Likewise.
45331         (LDBL_DIG): Likewise.
45332         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45333         (DBL_MIN_EXP): Likewise.
45334         (LDBL_MIN_EXP): Likewise.
45335         (FLT_MAX_EXP): Use macro-int-constant.
45336         (DBL_MAX_EXP): Likewise.
45337         (LDBL_MAX_EXP): Likewise.
45338         (FLT_MAX_10_EXP): Likewise.
45339         (DBL_MAX_10_EXP): Likewise.
45340         (LDBL_MAX_10_EXP): Likewise.
45341         (FLT_MAX): Use macro-constant.
45342         (DBL_MAX): Likewise.
45343         (LDBL_MAX): Likewise.
45344         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45345         (DBL_EPSILON): Likewise.
45346         (LDBL_EPSILON): Likewise.
45347         (FLT_MIN): Likewise.
45348         (DBL_MIN): Likewise.
45349         (LDBL_MIN): Likewise.
45350         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45351         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45352         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45353         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45354         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45355         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45356         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45357         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45358         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45359         [ISO11] (FLT_TRUE_MIN): Likewise.
45360         [ISO11] (LDBL_TRUE_MIN): Likewise.
45361         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45362         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45363         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45364         (SCHAR_MAX): Likewise.
45365         (UCHAR_MAX): Likewise.
45366         (CHAR_MIN): Likewise.
45367         (CHAR_MAX): Likewise.
45368         (MB_LEN_MAX): Use macro-int-constant.
45369         (SHRT_MIN): Use macro-int-constant.  Specify type.
45370         (SHRT_MAX): Likewise.
45371         (USHRT_MAX): Likewise.
45372         (INT_MAX): Likewise.
45373         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45374         bound negative.
45375         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45376         bound with "U".
45377         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45378         bound with "L".
45379         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45380         bound negative.  Suffix upper bound with "L".
45381         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45382         bound with "UL".
45383         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45384         Specify type.
45385         [C99-based standards] (LLONG_MAX): Likewise.
45386         [C99-based standards] (ULLONG_MAX): Likewise.
45387         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45388         == 0.
45389         [ISO11] (max_align_t): Require type.
45390         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45392         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45393         from $CFLAGS, without defining away __attribute__ calls.
45394         (checknamespace): Use $CFLAGS_namespace.
45396         * conform/conformtest.pl (@keywords): Only include C99 keywords
45397         for standards based on C99 or C11.
45399         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45400         Disable tests.
45401         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45402         UNIX98]: Likewise.
45404         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45405         usability of symbols in #if.
45407         * conform/conformtest.pl: If macro or constant types start
45408         "promoted:", expect the symbol to be of the following type
45409         promoted by the integer promotions.
45411         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45412         in one place.  Also handle "macro-constant".
45414         * conform/conformtest.pl: Only accept expected macro values with
45415         "==".  Parse all "macro" lines in one place.
45416         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45418         * conform/conformtest.pl: Handle braced types on "constant" lines
45419         instead of handling "typed-constant".
45420         * conform/data/signal.h-data: Use "constant" instead of
45421         "typed-constant".
45423         * conform/conformtest.pl: Handle "optional-" at start of lines in
45424         one place rather than duplicating several cases.  Handle each
45425         format of "macro" line with initial "optional-".
45427         * conform/conformtest.pl: Only accept expected constant or
45428         optional-constant values with "==".  Parse all "constant" lines in
45429         one place.  Parse all "optional-constant" lines in one place.
45430         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45431         * conform/data/fmtmsg.h-data: Likewise.
45432         * conform/data/netinet/in.h-data: Likewise.
45433         * conform/data/tar.h-data: Likewise.
45434         * conform/data/limits.h-data: Use "==" form on "constant" and
45435         "optional-constant" lines.
45437         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45438         Use -std=c99 for XOPEN2K.
45439         (@knownproblems): Remove.
45440         (newtoken): Don't check %isknown.
45442         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45443         Do not expect macro.
45444         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45445         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45446         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45447         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45448         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45449         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45450         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45451         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45452         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45453         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45454         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45455         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45456         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45457         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45458         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45459         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45460         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45461         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45462         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45463         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45464         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45465         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45466         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45467         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45468         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45469         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45470         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45471         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45472         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45473         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45474         [XPG3] (acosh): Likewise.
45475         [XPG3] (asinh): Likewise.
45476         [XPG3] (atanh): Likewise.
45477         [XPG3] (cbrt): Likewise.
45478         [XPG3] (expm1): Likewise.
45479         [XPG3] (ilogb): Likewise.
45480         [XPG3] (log1p): Likewise.
45481         [XPG3] (logb): Likewise.
45482         [XPG3] (nextafter): Likewise.
45483         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45484         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45485         [XPG3] (remainder): Likewise.
45486         [XPG3] (rint): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45494         [UNIX98 || XOPEN2K] (scalb): Expect.
45495         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45496         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45500         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45501         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45502         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45503         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45504         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45505         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45506         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45507         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45508         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45509         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45510         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45511         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45512         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45513         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45514         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45515         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45516         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45517         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45518         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45519         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45520         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45521         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45522         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45523         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45524         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45525         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45526         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45527         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45528         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45529         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45530         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45531         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45532         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45533         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45534         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45535         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45536         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45537         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45538         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45539         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45540         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45541         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45542         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45543         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45544         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45545         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45546         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45547         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45548         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45549         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45550         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45551         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45552         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45553         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45554         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45555         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45556         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45557         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45558         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45559         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45560         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45561         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45562         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45563         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45564         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45565         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45566         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45567         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45568         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45569         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45570         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45571         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45572         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45573         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45574         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45575         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45576         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45577         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45578         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45579         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45580         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45581         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45582         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45583         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45584         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45585         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45586         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45587         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45588         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45589         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45590         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45591         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45592         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45593         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45594         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45595         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45596         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45597         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45598         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45599         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45600         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45601         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45602         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45603         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45604         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45605         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45606         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45607         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45608         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45609         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45610         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45611         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45612         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45613         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45614         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45615         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45616         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45617         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45618         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45619         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45620         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45621         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45622         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45623         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45624         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45625         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45626         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45627         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45628         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45629         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45630         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45631         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45633         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45634         _XOPEN_SOURCE_EXTENDED for XPG4.
45636         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45638         * Makeconfig (localtime): Remove variable.
45639         (inst_localtime-file): Likewise.
45641 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45644         Update.
45645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45646         Update.
45647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45648         Update.
45649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45650         Update.
45651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45652         Update.
45653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45654         Update.
45655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45656         Update.
45657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45658         Update.
45659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45660         Update.
45662 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45664         [BZ #2550]
45665         [BZ #2570]
45666         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45667         comparisons to determine direction to adjust input.
45668         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45669         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45670         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45671         Likewise.
45672         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45673         Likewise.
45674         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45675         Likewise.
45676         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45677         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45678         Likewise.
45679         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45680         Likewise.
45681         * math/libm-test.inc (nexttoward_test): Add more tests.
45683 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45685         [BZ #14040]
45686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45687         in version GLIBC_2.1, not GLIBC_2.0.
45688         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45689         Likewise.
45691 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45693         [BZ #13942]
45694         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45695         (1 - x) * (1 + x).
45696         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45697         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45698         * math/libm-test.inc (acos_test): Add more tests.
45699         (asin_test): Likewise.
45700         * sysdeps/i386/fpu/libm-test-ulps: Update.
45701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45703         [BZ #14034]
45704         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45705         of square root.
45706         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45707         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45708         * math/libm-test.inc (acos_test_tonearest): New function.
45709         (acos_test_towardzero): Likewise.
45710         (acos_test_downward): Likewise.
45711         (acos_test_upward): Likewise.
45712         (asin_test_tonearest): Likewise.
45713         (asin_test_towardzero): Likewise.
45714         (asin_test_downward): Likewise.
45715         (asin_test_upward): Likewise.
45716         (main): Call the new functions.
45717         * sysdeps/i386/fpu/libm-test-ulps: Update.
45718         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45720         [BZ #13884]
45721         [BZ #13924]
45722         * math/e_exp10.c: Include <float.h>.
45723         (__ieee754_exp10): Handle underflow here rather than multiplying
45724         large negative argument by M_LN10.
45725         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45726         of __ieee754_expf.
45727         * math/e_exp10l.c: Include <float.h>.
45728         (__ieee754_exp10l): Handle underflow here rather than multiplying
45729         large negative argument by M_LN10l.
45730         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45731         spurious overflow exception on underflow.
45733 2012-04-29  Marek Polacek  <polacek@redhat.com>
45735         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45736         (__fortify_function): New macro.
45737         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45738         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45739         __extern_always_inline.
45740         * libio/bits/stdio2.h: Likewise.
45741         * libio/bits/stdio.h: Likewise.
45742         * string/string.h: Likewise.
45743         * string/bits/string3.h: Likewise.
45744         * include/stdio.h: Likewise.
45745         * stdlib/bits/stdlib.h: Likewise.
45746         * stdlib/stdlib.h: Likewise.
45747         * rt/bits/mqueue2.h: Likewise.
45748         * rt/mqueue.h: Likewise.
45749         * posix/bits/unistd.h: Likewise.
45750         * posix/unistd.h: Likewise.
45751         * io/bits/poll2.h: Likewise.
45752         * io/bits/fcntl2.h: Likewise.
45753         * io/fcntl.h: Likewise.
45754         * io/sys/poll.h: Likewise.
45755         * misc/bits/syslog.h: Likewise.
45756         * misc/bits/syslog-ldbl.h: Likewise.
45757         * misc/sys/syslog.h: Likewise.
45758         * socket/bits/socket2.h: Likewise.
45759         * socket/sys/socket.h: Likewise.
45760         * debug/tst-chk1.c: Likewise.
45761         * wcsmbs/bits/wchar2.h: Likewise.
45762         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45763         * wcsmbs/wchar.h: Likewise.
45765 2012-04-29  Andreas Jaeger  <aj@suse.de>
45767         * Makerules (tests): Remove enable-check-abi protection.
45768         (check-abi-warn): Remove.
45769         (check-abi-%): Remove check-abi-warn usage.
45771         * configure.in: Remove check-abi configure option.
45772         * configure: Regenerated.
45773         * config.make.in (enable-check-abi): Remove.
45775 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45777         [BZ #14033]
45778         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45779         double functions to double *_finite functions.
45781         [BZ #13941]
45782         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45783         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45784         LDBL_MIN_EXP.
45785         * stdio-common/Makefile (tests): Add tst-sprintf3.
45786         * stdio-common/tst-sprintf3.c: New file.
45788         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45789         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45791 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45793         * conform/conformtest.pl: Remove duplicate typed-constant
45794         handling.
45796 2012-04-28  David S. Miller  <davem@davemloft.net>
45798         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45799         (check-abi-%): Remove AWK script prerequisite and explicit
45800         abilist directory.
45801         (check-abi): Rewrite to just diff the symlist with the abilist.
45802         (config-tls, config-abi-config): Delete, no longer used.
45803         (update-abi-%): Remove AWK script and explicit abilist directory.
45804         (update-abi): Rewrite to simply compare and conditionally copy the
45805         symlist and the sysdep abilist file.  Remove update-abi-config
45806         checks.
45807         * abilist/ld.abilist: Remove.
45808         * abilist/libBrokenLocale.abilist: Remove.
45809         * abilist/libanl.abilist: Remove.
45810         * abilist/libcrypt.abilist: Remove.
45811         * abilist/libdl.abilist: Remove.
45812         * abilist/librt.abilist: Remove.
45813         * abilist/libthread_db.abilist: Remove.
45814         * abilist/libutil.abilist: Remove.
45815         * scripts/extract-abilist.awk: Remove.
45816         * scripts/merge-abilist.awk: Remove.
45817         * sysdeps/generic/libcidn.abilist: New file.
45818         * sysdeps/generic/libnss_compat.abilist: New file.
45819         * sysdeps/generic/libnss_db.abilist: New file.
45820         * sysdeps/generic/libnss_dns.abilist: New file.
45821         * sysdeps/generic/libnss_files.abilist: New file.
45822         * sysdeps/generic/libnss_hesiod.abilist: New file.
45823         * sysdeps/generic/libnss_nis.abilist: New file.
45824         * sysdeps/generic/libnss_nisplus.abilist: New file.
45825         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45826         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45827         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45828         file.
45829         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45830         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45831         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45832         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45833         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45834         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45835         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45836         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45837         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45838         file.
45839         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45840         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45841         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45842         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45843         file.
45844         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45845         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45846         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45847         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45848         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45849         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45850         file.
45851         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45852         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45853         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45854         file.
45855         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45857         New file.
45858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45859         New file.
45860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45861         New file.
45862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45863         New file.
45864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45865         New file.
45866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45867         New file.
45868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45869         New file.
45870         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45871         New file.
45872         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45873         New file.
45874         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45875         New file.
45876         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45877         New file.
45878         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45879         New file.
45880         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45881         New file.
45882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45883         file.
45884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45885         New file.
45886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45887         New file.
45888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45889         file.
45890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45891         New file.
45892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45893         New file.
45894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45895         file.
45896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45897         New file.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45899         New file.
45900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45901         New file.
45902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45903         New file.
45904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45905         New file.
45906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45907         New file.
45908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45910         file.
45911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45912         New file.
45913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45914         file.
45915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45916         file.
45917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45918         file.
45919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45920         file.
45921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45922         file.
45923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45924         New file.
45925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45926         file.
45927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45928         file.
45929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45930         New file.
45931         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45932         file.
45933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45935         file.
45936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45937         New file.
45938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45939         file.
45940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45941         file.
45942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45943         file.
45944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45945         file.
45946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45947         file.
45948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45949         New file.
45950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45951         file.
45952         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45953         file.
45954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45955         New file.
45956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45957         file.
45958         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45959         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45960         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45961         file.
45962         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45963         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45964         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45965         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45966         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45967         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45968         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45969         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45970         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45971         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45974         file.
45975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45976         New file.
45977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45978         file.
45979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45980         file.
45981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45982         file.
45983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45984         file.
45985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45986         file.
45987         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45988         New file.
45989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45990         New file.
45991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45992         file.
45993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45994         New file.
45995         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45996         file.
45997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45999         file.
46000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46001         New file.
46002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46003         file.
46004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46005         file.
46006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46007         file.
46008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46009         file.
46010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46011         file.
46012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46013         New file.
46014         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46015         New file.
46016         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46017         file.
46018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46019         New file.
46020         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46021         file.
46023 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
46025         * conform/conformtest.pl: Fix typo in handling typed-constant from
46026         allow-header.
46028 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46030         * README: Cut down references to pre-2.6 Linux kernels and
46031         Linuxthreads.  Update lists of configurations in libc and ports
46032         and sort alphabetically.  Say "or newer" with Linux kernel version
46033         requirements.
46035         * config.h.in [IS_IN_build]: Allow compiling without optimization.
46037 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46039         [BZ #887]
46040         * math/libm-test.inc (logb_test_downward): New test to expose
46041         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46042         rounding mode.
46044 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
46046         [BZ #14027]
46047         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46048         to be done.
46049         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46050         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46052 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
46054         * sysdeps/unix/i386/brk.S: Remove file.
46055         * sysdeps/unix/i386/dl-brk.S: Likewise.
46056         * sysdeps/unix/i386/pipe.S: Likewise.
46057         * sysdeps/unix/i386/sigreturn.S: Likewise.
46058         * sysdeps/unix/i386/syscall.S: Likewise.
46059         * sysdeps/unix/i386/vfork.S: Likewise.
46060         * sysdeps/unix/i386/wait.S: Likewise.
46062         * sysdeps/unix/common/tcsendbrk.c: Move to ...
46063         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46065         * configure.in (arm*-none*): Do not allow without
46066         --enable-hacker-mode.
46067         (netbsd*): Remove case setting base_os.
46068         (386bsd*): Likewise.
46069         (freebsd*): Likewise.
46070         (bsdi*): Likewise.
46071         (osf*): Likewise.
46072         (sunos*): Likewise.
46073         (ultrix*): Likewise.
46074         (newsos*): Likewise.
46075         (dynix*): Likewise.
46076         (*bsd*): Likewise.
46077         (sysv*): Likewise.
46078         (isc*): Likewise.
46079         (esix*): Likewise.
46080         (sco*): Likewise.
46081         (minix*): Likewise.
46082         (irix4*): Likewise.
46083         (irix6*): Likewise.
46084         (solaris[2-9]*): Likewise.
46085         (none): Likewise.
46086         * configure: Regenerated.
46088 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46090         [BZ #11521]
46091         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46092         overflow or cancellation in calculating denominator.
46093         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46094         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46095         down expression to avoid unexpected rounding in newer GCCs.
46096         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46098 2012-04-26  David S. Miller  <davem@davemloft.net>
46100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46101         long-double compat symbols.
46102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46116 2012-04-25  David S. Miller  <davem@davemloft.net>
46118         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46119         HWCAP_* values only after the memory barriers have been defined.
46120         (atomic_full_barrier): Define.
46121         (atomic_read_barrier): Define.
46122         (atomic_write_barrier): Define.
46124 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46126         * shlib-versions: Add libgcc_s version information.
46127         * sysdeps/generic/libgcc_s.h: Remove.
46128         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46129         libgcc_s.h.
46130         * sysdeps/gnu/unwind-resume.c: Likewise.
46131         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46133 2012-04-25  David S. Miller  <davem@davemloft.net>
46135         * sysdeps/unix/sparc/brk.S: Delete.
46136         * sysdeps/unix/sparc/dl-brk.S: Delete.
46137         * sysdeps/unix/sparc/pipe.S: Delete.
46138         * sysdeps/unix/sparc/sysdep.S: Delete.
46139         * sysdeps/unix/sparc/sysdep.h: Delete.
46140         * sysdeps/unix/sparc/vfork.S: Delete.
46141         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46142         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46143         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46144         (ret_ERRVAL, r0, r1, MOVE): Define.
46145         (JUMPTARGET): Remove.
46146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46147         sysdeps/unix/sparc/sysdep.h
46148         (ENTRY, END): Remove.
46149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46151 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46153         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46154         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46155         -DIS_IN_build.
46157         * timezone/README: Update upstream location and email address for
46158         tzcode and tzdata.
46159         * timezone/zdump.c: Update from tzcode 2012b.
46160         * timezone/zic.c: Likewise.
46162         * configure.in (libc_cv_as_needed): Remove test.
46163         * configure: Regenerated.
46164         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46165         conditional definition.
46166         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46167         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46168         * config.make.in (have-as-needed): Remove variable.
46170 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46171             Paul Pluzhnikov  <ppluzhnikov@google.com>
46173         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46174         strings correctly.
46176 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46178         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46179         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46180         * sysdeps/sh/strlen.S: Likewise.
46182 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46184         * sysdeps/unix/fork.S: Remove file.
46185         * sysdeps/unix/i386/fork.S: Likewise.
46186         * sysdeps/unix/sparc/fork.S: Likewise.
46188         * sysdeps/unix/system.c: Remove file.
46189         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46191         * sysdeps/unix/getegid.S: Remove file.
46192         * sysdeps/unix/geteuid.S: Likewise.
46194 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46196         * scripts/check-localplt.awk: New file.
46197         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46198         of diff.
46199         * scripts/data/localplt-generic.data: Add a comment.
46201         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46202         NODE when __dir_mkfile failed.
46203         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46204         Reported by Ludovic Courtès <ludo@gnu.org>.
46206 2012-04-24  Andreas Jaeger  <aj@suse.de>
46208         * Makerules (common-clean): Also remove gen-as-const-headers
46209         files.
46211 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46213         * Makerules (native-compile): Do not change working directory for
46214         build.  Use $(OUTPUT_OPTION) in command.
46215         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46217 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46219         [BZ #13886]
46220         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46221         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46222         * math/libm-test.inc (floor_test): Add more tests.
46223         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46225 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46227         * sysdeps/unix/getdents.c: Remove file.
46228         * sysdeps/unix/sysv/getdents.c: Likewise.
46229         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46231         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46232         sysdeps/unix/mman/syscalls.list.
46233         (mmap): Likewise.
46234         (mprotect): Likewise.
46235         (msync): Likewise.
46236         (munmap): Likewise.
46237         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46238         * sysdeps/unix/mman/syscalls.list: Remove.
46239         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46241         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46242         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46243         * configure: Regenerated.
46244         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46245         $(libgcc_s_suffix).
46246         * config.make.in (libgcc_s_suffix): Remove variable.
46248 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46250         * sysdeps/unix/sysv/gethostname.c: Move to ...
46251         * sysdeps/posix/gethostname.c: ... here.
46253         * sysdeps/unix/execve.S: Remove file.
46255         * sysdeps/unix/_exit.S: Remove file.
46257 2012-04-23  Andreas Jaeger  <aj@suse.de>
46259         [BZ #13739]
46260         * manual/Makefile: Remove make dist support, there's no
46261         need for a stand-alone documentation tar ball.
46262         (TEXI2DVI): Define always, it's not in Makeconfig.
46263         (dist): Removed.
46264         (tar-it): Removed.
46265         (edition): Removed.
46266         (glibc-doc-$(edition).tar): Removed
46267         (%.Z): Removed.
46268         (%.gz): Removed.
46269         (%.uu): Removed.
46270         (ETAGS): Remove, it's in Makeconfig.
46271         (move-if-change): Remove, it's in Makeconfig.
46273 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46275         [BZ #13970]
46276         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46277         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46278         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46279         (strtod_l, strtof_l, strtold_l): Remove __wur.
46280         It is not necessarily an error to ignore strtol's return value.
46281         One can reliably look at the stored endptr to decide whether
46282         the number had valid syntax.
46284 2012-04-21  Andreas Jaeger  <aj@suse.de>
46286         [BZ #13739]
46287         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46289 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46291         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46292         * sysdeps/unix/sysv/Versions: Remove file.
46294 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46296         [BZ #13927]
46297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46299 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46301         [BZ #7064]
46302         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46303         version from __vm86.
46305 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46307         * sysdeps/unix/common/lxstat.c: Remove file.
46308         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46310         * sysdeps/unix/sysv/Makefile: Remove file.
46312         * sysdeps/unix/sysv/direct.h: Remove file.
46314         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46315         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46316         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46317         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46318         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46319         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46320         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46322         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46324         * sysdeps/unix/xmknod.c: Remove file.
46325         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46327         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46329         * sysdeps/unix/sysv/i386/time.S: Remove file.
46331         * sysdeps/unix/fxstat.c: Remove file.
46332         * sysdeps/unix/xstat.c: Likewise.
46333         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46335         * sysdeps/unix/sysv/sigaction.c: Remove file.
46337         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46338         (sysdep_headers): Remove variable.
46339         [termio.h not in sysdep_headers] (generated): Likewise.
46340         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46341         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46342         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46343         * sysdeps/unix/sysv/tcflow.c: Likewise.
46344         * sysdeps/unix/sysv/tcflush.c: Likewise.
46345         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46346         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46347         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46348         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46349         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46351         * sysdeps/unix/siglist.c: Remove file.
46353         * sysdeps/unix/getppid.S: Remove file.
46355         * sysdeps/unix/mkdir.c: Remove file.
46356         * sysdeps/unix/rmdir.c: Likewise.
46358 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46360         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46361         ERR_MAX value.
46362         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46363         errlist-compat value.
46365 2012-04-18  David S. Miller  <davem@davemloft.net>
46367         * sysdeps/generic/memcopy.h (reg_char): Delete.
46368         * debug/strcat_chk.c: Use char, not reg_char.
46369         * debug/strcpy_chk.c: Likewise.
46370         * debug/strncat_chk.c: Likewise.
46371         * debug/strncpy_chk.c: Likewise.
46372         * string/memchr.c: Likewise.
46373         * string/memrchr.c: Likewise.
46374         * string/rawmemchr.c: Likewise.
46375         * string/strcat.c: Likewise.
46376         * string/strchr.c: Likewise.
46377         * string/strchrnul.c: Likewise.
46378         * string/strcmp.c: Likewise.
46379         * string/strcpy.c: Likewise.
46380         * string/strncat.c: Likewise.
46381         * string/strncmp.c: Likewise.
46382         * string/strncpy.c: Likewise.
46384 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46386         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46387         __builtin_memcopy is called when src and dest ranges are known to not
46388         overlap.
46390 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46392         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46393         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46394         fwd_align_merge macro call.
46395         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46396         bwd_align_merge macro call.
46397         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46399 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46401         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46402         bwd_align_merge macros.
46403         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46404         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46405         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46407 2012-04-18  David S. Miller  <davem@davemloft.net>
46409         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46411 2012-04-18  Andreas Jaeger  <aj@suse.de>
46413         [BZ# 6794]
46414         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46415         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46416         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46418         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46419         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46420         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46422         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46423         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46424         Adjust for changed ldbl-128 files.
46426         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46427         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46428         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46430 2012-04-17  David S. Miller  <davem@davemloft.net>
46432         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46434 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46436         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46437         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46438         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46439         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46440         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46441         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46443 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46445         [BZ #6794]
46446         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46447         * math/libm-test.inc: Add ilogb errno and exception tests.
46448         * math/w_ilogb.c: New file: ilogb wrapper.
46449         * math/w_ilogbf.c: New file: ilogbf wrapper.
46450         * math/w_ilogbl.c: New file: ilogbl wrapper.
46451         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46452         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46453         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46454         exception being thrown with 0.0 as argument.
46455         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46456         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46457         exception being thrown with 0.0 as argument.
46458         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46459         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46460         exception being thrown with 0.0 as argument.
46461         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46462         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46463         exception being thrown with 0.0 as argument.
46464         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46465         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46466         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46467         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46468         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46469         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46470         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46471         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46472         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46474 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46476         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46477         with altivec.
46479 2012-04-16  Marek Polacek  <polacek@redhat.com>
46481         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46483 2012-04-16  Marek Polacek  <polacek@redhat.com>
46485         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46486         operands of fdivp instruction.
46488 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46490         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46491         * elf/tst-auditmod3b.c: Likewise.
46492         * elf/tst-auditmod4b.c: Likewise.
46493         * elf/tst-auditmod5b.c: Likewise.
46494         * elf/tst-auditmod6b.c: Likewise.
46495         * elf/tst-auditmod6c.c: Likewise.
46496         * elf/tst-auditmod7b.c: Likewise.
46497         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46498         * sysdeps/x86_64/preconfigure.in: Likewise.
46499         * sysdeps/x86_64/preconfigure: Regenerated.
46501 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46503         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46504         __ILP32__.
46506 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46508         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46509         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46511 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46513         [BZ #13973]
46514         * locale/iso-639.def: Fix gl language name. Spotted by
46515         Yaron Shahrabani.
46517 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46519         [BZ #2074]
46520         * libio/libio.h (__io_write_fn): Update comment.
46522 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46524         [BZ #2074]
46525         * stdio.texi (Hook Functions): The user provided writer function
46526         is not allowed to return -1.
46528 2012-04-11  David S. Miller  <davem@davemloft.net>
46530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46532 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46534         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46535         Add a leading slash to rtkaio.
46537 2012-04-11  Jim Meyering  <meyering@redhat.com>
46539         [BZ #11959]
46540         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46541         It is not necessarily an error to ignore fwrite's return
46542         value.  One can reliably use ferror to test for errors after
46543         the fact.
46545 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46547         * bits/types.h (__snseconds_t): New type.
46548         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46550         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46551         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46552         (__SNSECONDS_T_TYPE): Likewise.
46553         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46554         (__SNSECONDS_T_TYPE): Likewise.
46555         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46556         (__SNSECONDS_T_TYPE): Likewise.
46558 2012-04-10  Andreas Jaeger  <aj@suse.de>
46560         [BZ #2636]
46561         * manual/time.texi (Processor Time): Return type of times is
46562         elapsed real time since an arbitrary point in the past.
46563         (CPU Time): Move CLK_TCK from here...
46564         (Processor Time): ...to here.  Correct description.
46565         * manual/conf.texi (Constants for Sysconf): Correct description of
46566         _SC_CLK_TCK.
46568 2012-04-10  David S. Miller  <davem@davemloft.net>
46570         [BZ #13967]
46571         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46572         where the is a gap between DT_REL(A) and DT_JMPREL.
46574 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46576         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46577         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46578         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46580 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46582         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46583         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46584         (dl_main): Handle --inhibit-cache.
46585         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46586         _dl_inhibit_cache.
46587         * elf/dl-load.c (_dl_map_object): Use it.
46588         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46590 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46592         [BZ #13872]
46593         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46594         (__ieee754_powl): Saturate large exponents rather than testing for
46595         overflow of y*log2(x).
46596         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46597         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46598         exceptions.
46600         [BZ #11521]
46601         * math/s_ctan.c: Include <float.h>.
46602         (__ctan): Avoid internal overflow or cancellation in calculating
46603         denominator.
46604         * math/s_ctanf.c: Likewise.
46605         * math/s_ctanl.c: Likewise.
46606         * math/s_ctanh.c: Likewise.
46607         * math/s_ctanhf.c: Likewise.
46608         * math/s_ctanhl.c: Likewise.
46609         * math/libm-test.inc (ctan_test): Add more tests.
46610         (ctanh_test): Likewise.
46611         * sysdeps/i386/fpu/libm-test-ulps: Update.
46612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46614 2012-04-09  Andreas Jaeger  <aj@suse.de>
46616         [BZ #6894]
46617         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46618         is an optional BSD extension.
46620         [BZ #10254]
46621         * manual/stdio.texi (Opening Streams): Document additional fopen
46622         parameters.
46624 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46626         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46627         %eax without telling the compiler.
46629 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46631         [BZ # 13963]
46632         * manual/install.texi: Use sourceware.org.
46634 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46636         [BZ #13873]
46637         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46638         (__ieee754_pow): Generate overflow and underflow using huge*huge
46639         and tiny*tiny rather than just returning constant infinity or zero
46640         for large exponents.
46641         * math/libm-test.inc (pow_test): Require overflow exceptions for
46642         applicable cases of large exponents.
46644         [BZ #706]
46645         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46646         (__ieee754_pow): Use iterative multiplication algorithm only for
46647         integer exponents with absolute value below 1024.  Check for odd
46648         integer exponents when using algorithm for real exponents.
46649         * math/libm-test.inc (pow_test): Add more tests.
46650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46652 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46654         [BZ #13705]
46655         * math/libm-test.inc (exp_test): Do not allow overflow exception
46656         on underflow test.
46658 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46660         [BZ #13705]
46661         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46662         instead of __kernel_standard_f.
46664 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46666         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46667         * sysdeps/x86_64/memset_chk.S: Likewise.
46669 2012-04-08  Andreas Jaeger  <aj@suse.de>
46671         [BZ #10153]
46672         * manual/startup.texi (Environment Access): Describe return value
46673         for putenv and setenv.
46675         [BZ #6895]
46676         * manual/filesys.texi (Directory Entries): Add description for
46677         DT_LNK.
46679         [BZ #6890]
46680         * manual/filesys.texi (Directory Entries): Clarify that it's file
46681         system not operating system in the description of DT_UNKNOWN.
46683         [BZ #6578]
46684         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46686 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46688         [BZ #6649]
46689         * manual/llio.texi (Opening and Closing Files): Add cross
46690         reference to explain mode argument.
46692 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46694         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46695         * sysdeps/x86_64/memset_chk.S: Likewise.
46697 2012-04-07  David S. Miller  <davem@davemloft.net>
46699         * elf/elf.h (R_SPARC_WDISP10): Define.
46700         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46701         R_SPARC_SIZE32.
46702         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46703         R_SPARC_SIZE64 and R_SPARC_H34.
46705 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46707         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46708         conditions and remove no longer applicable assertion.
46710 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46712         * bits/byteswap.h: Include <features.h>.
46713         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46714         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46716 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46718         * bits/byteswap.h (__bswap_16): Removed.
46719         Include <bits/byteswap-16.h> to get __bswap_16.
46720         * sysdeps/i386/bits/byteswap.h: Likewise.
46721         * sysdeps/s390/bits/byteswap.h: Likewise.
46722         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46723         * bits/byteswap-16.h: New file.
46724         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46725         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46726         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46727         * string/Makefile (headers): Add bits/byteswap-16.h.
46729 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46731         [BZ #13895]
46732         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46733         extra indirection.
46734         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46735         * nss/tst-nss-static.c: New.
46737 2012-04-06  Robert Millan  <rmh@gnu.org>
46739         [BZ #6486]
46740         * manual/llio.texi (File Position Primitive): lseek
46741         refers to WHENCE when it really means OFFSET.
46743 2012-04-06  Andreas Jaeger  <aj@suse.de>
46745         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46746         strncmp declarations.
46748         * abilist/libc.abilist: Add __poll and __ppoll.
46750 2012-04-05  David S. Miller  <davem@davemloft.net>
46752         * scripts/check-local-headers.sh: Accept a host triplet in the
46753         path matched by the exclude regexp.
46755         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46756         definition.
46757         * sysdeps/powerpc/powerpc32/dl-machine.h
46758         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46759         * sysdeps/s390/s390-32/dl-machine.h
46760         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46761         * sysdeps/sparc/sparc32/dl-machine.h
46762         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46763         * sysdeps/sparc/sparc64/dl-machine.h
46764         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46766         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46767         lazy binding.
46768         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46769         undefined symbol errors.
46771         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46772         DT_NEEDED entries.
46774 2012-04-05  Michael Matz  <matz@suse.de>
46776         [BZ #13592]
46777         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46779 2012-04-05  Andreas Jaeger  <aj@suse.de>
46781         [BZ #13908]
46782         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46783         comment.
46785 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46787         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46788         which ROUND is no valid rounding mode.
46790 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46792         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46793         read again.
46794         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46796 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46798         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46799         an exception using FPU order intentionally.
46801 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46803         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46804         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46805         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46806         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46808 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46810         [BZ #12340]
46811         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46812         EINVAL when BUFLEN is too smal.
46814 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46816         [BZ #13553]
46817         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46818         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46820 2012-04-03  Andreas Jaeger  <aj@suse.de>
46822         [BZ #13938]
46823         * manual/setjmp.texi (System V contexts): Fix sentence.
46825         [BZ #13926]
46826         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46827         New macro for this case.
46828         [!__GNUC__] (__bswap_64): New inline function for this case.
46829         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46830         * bits/byteswap.h: Likewise.
46831         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46832         ull, guard with __GLIBC_HAVE_LONG_LONG.
46834         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46835         __GLIBC_HAVE_LONG_LONG.
46837         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46838         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46840 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46842         [BZ #13691]
46843         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46844         inptr and inend, rather than using last_ch.
46846 2012-04-02  David S. Miller  <davem@davemloft.net>
46848         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46849         * stdio-common/printf-parse.h (read_int): Change return type to
46850         'int', return -1 on INT_MAX overflow.
46851         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46852         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46853         overflows INT_MAX.  Check for overflow of in-format-string precision
46854         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46855         SIZE_MAX not INT_MAX for integer overflow test.
46856         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46857         skip the construct in the format string but do not record anything.
46858         * stdio-common/bug22.c: Adjust to test both width/prevision
46859         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46860         explicitly for proper errno values.
46862 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46864         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46865         CHAR_MAX.
46866         * string/test-strcmp.c [! WIDE]: Likewise.
46867         * time/tst-mktime2.c: Likewise for INT_MAX.
46868         * string/test-string.h: #include <sys/param.h> for MIN.
46870         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46871         * sysdeps/i386/init-first.c (init): Likewise.
46872         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46873         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46874         * sysdeps/sh/init-first.c (init): Likewise.
46876 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46878         * po/ru.po: Update from translation team.
46879         * po/vi.po: Likewise.
46881 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46883         * resolv/nss_dns/dns-host.c: Merge copyright years.
46885 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46887         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46888         Optimize memcpy with prefetch if
46889         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46890         src, dst pointers have unequal 16 byte alignments.
46892 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46894         [BZ #13928]
46895         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46896         from a CNAME entry and return the minimum ttl for the query.
46897         (gaih_getanswer_slice): Likewise.
46899 2012-03-30  Jeff Law  <law@redhat.com>
46901         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46902         due to long keys.
46903         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46904         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46906         * resolv/nss_dns/dns-host.c: Update copyright year.
46908 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46910         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46911         requests to save a system call.  Fix check that all bytes are sent.
46913         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46914         comments for sendmmsg.
46916 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46918         [BZ #13691]
46919         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46920         with only 1 character between 0x0041 and 0x01b0.
46921         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46922         * wcsmbs/tst-mbsnrtowcs.c: New file.
46924 2012-03-29  David S. Miller  <davem@davemloft.net>
46926         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46927         small copies by hand.
46929 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46931         [BZ #13761]
46932         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46933         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46934         group memberships.
46936 2012-03-28  David S. Miller  <davem@davemloft.net>
46938         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46939         that branches into memcpy.
46940         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46942         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46943         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46944         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46945         bits.
46946         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46947         implementation too.
46948         * sysdeps/sparc/mempcpy.S: New file.
46950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46951         the IFUNC routine in the libc case.
46952         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46954         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46955         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46956         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46957         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46958         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46959         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46960         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46961         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46963         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46964         loop to 256 bytes instead of 64 bytes and fix test signedness.
46966         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46967         * sysdeps/sparc/sparc32/Makefile: rather than here...
46968         * sysdeps/sparc/sparc64/Makefile: and here.
46970 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46972         * malloc/mallocbug.c: Avoid warnings about unused variables.
46974 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46976         [BZ #13760]
46977         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46978         in the right place. Discard and retry query if response is
46979         larger than input buffer size.
46981 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46983         [BZ #369]
46984         [BZ #2678]
46985         [BZ #3866]
46986         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46987         x for large integer exponent.
46988         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46989         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46990         sign of result as needed afterwards.
46991         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46992         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46993         result for underflowing pow the same as for overflow.
46994         (__kernel_standard_l): Handle powl overflow and underflow here
46995         rather than calling __kernel_standard.
46996         * math/libm-test.inc (pow_test): Add more tests.
46998         [BZ #3868]
46999         [BZ #13879]
47000         [BZ #13910]
47001         [BZ #13911]
47002         [BZ #13912]
47003         [BZ #13913]
47004         [BZ #13915]
47005         [BZ #13916]
47006         [BZ #13917]
47007         [BZ #13918]
47008         [BZ #13919]
47009         [BZ #13920]
47010         [BZ #13921]
47011         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47012         * sysdeps/ieee754/k_standard.c: Include <float.h>.
47013         (__kernel_standard_l): New function.
47014         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47015         __kernel_standard.
47016         * math/w_acosl.c (__acosl): Likewise.
47017         * math/w_asinl.c (__asinl): Likewise.
47018         * math/w_atan2l.c (__atan2l): Likewise.
47019         * math/w_atanhl.c (__atanhl): Likewise.
47020         * math/w_coshl.c (__coshl): Likewise.
47021         * math/w_exp10l.c (__exp10l): Likewise.
47022         * math/w_exp2l.c (__exp2l): Likewise.
47023         * math/w_fmodl.c (__fmodl): Likewise.
47024         * math/w_hypotl.c (__hypotl): Likewise.
47025         * math/w_j0l.c (__j0l, __y0l): Likewise.
47026         * math/w_j1l.c (__j1l, __y1l): Likewise.
47027         * math/w_jnl.c (__jnl, __ynl): Likewise.
47028         * math/w_lgammal.c (__lgammal): Likewise.
47029         * math/w_log10l.c (__log10l): Likewise.
47030         * math/w_log2l.c (__log2l): Likewise.
47031         * math/w_logl.c (__logl): Likewise.
47032         * math/w_powl.c (__powl): Likewise.
47033         * math/w_remainderl.c (__remainderl): Likewise.
47034         * math/w_scalbl.c (sysv_scalbl): Likewise.
47035         * math/w_sinhl.c (__sinhl): Likewise.
47036         * math/w_sqrtl.c (__sqrtl): Likewise.
47037         * math/w_tgammal.c (__tgammal): Likewise.
47038         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47039         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47040         * math/libm-test.inc (acos_test): Add more tests.
47041         (acosh_test): Likewise.
47042         (asin_test): Likewise.
47043         (atanh_test): Likewise.
47044         (exp_test): Likewise.
47045         (exp10_test): Likewise.
47046         (exp2_test): Likewise.
47047         (expm1_test): Likewise.
47048         (lgamma_test): Likewise.
47049         (log_test): Likewise.
47050         (log10_test): Likewise.
47051         (log1p_test): Likewise.
47052         (log2_test): Likewise.
47053         (pow_test): Do not allow some spurious overflow exceptions.
47054         (sqrt_test): Add more tests.
47055         (tgamma_test): Likewise.
47056         (y0_test): Likewise.
47057         (y1_test): Likewise.
47058         (yn_test): Likewise.
47060 2012-03-27  Anton Blanchard  <anton@samba.org>
47062         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47063         MAP_HUGETLB.
47064         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47065         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47066         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47068 2012-03-27  David S. Miller  <davem@davemloft.net>
47070         * conform/Makefile: Run run-conformtest.sh using $(BASH).
47072         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47073         have-as-vis3 check.
47075 2012-03-27  Andreas Jaeger  <aj@suse.de>
47077         * sysdeps/x86_64/elf/configure.in: Moved to ...
47078         * sysdeps/x86_64/configure.in: ... here.
47079         * sysdeps/x86_64/elf/start.S: Moved to ...
47080         * sysdeps/x86_64/start.S: ... here.
47081         * sysdeps/x86_64/elf/configure: Delete.
47083         * sysdeps/x86_64/configure.in: Merge contents from
47084         sysdeps/i386/configure.in (without i686 check).
47086         * sysdeps/i386/elf/Versions: Merge into ...
47087         * sysdeps/i386/Versions: ... this.
47088         * sysdeps/i386/elf/Versions: Delete file.
47089         * sysdeps/i386/elf/start.S: Moved to ...
47090         * sysdeps/i386/start.S: ...here.
47091         * sysdeps/i386/elf/configure.in: Merge into...
47092         * sysdeps/i386/configure.in: ...here.
47093         * sysdeps/i386/elf/configure.in: Delete file.
47094         * sysdeps/i386/elf/configure: Delete file.
47096         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47097         * debug/backtracesyms.c: ... here.
47098         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47099         * debug/backtracesymsfd.c: ... here.
47100         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47101         * sysdeps/generic/ifunc-sel.h: ... here.
47103         * sysdeps/unix/i386/start.c: Delete file.
47104         * sysdeps/unix/sparc/start.c: Delete file.
47105         * sysdeps/unix/start.c: Delete file.
47107         * sysdeps/sh/elf/configure.in: Moved to ...
47108         * sysdeps/sh/configure.in: ... here.
47109         * sysdeps/sh/elf/start.S: Moved to ...
47110         * sysdeps/sh/start.S: ... here.
47111         * sysdeps/sh/elf/configure: Delete file.
47113         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47114         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47115         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47116         * sysdeps/powerpc/powerpc64/entry.h: ... here.
47117         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47118         * sysdeps/powerpc/powerpc64/start.S: here.
47119         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47120         * sysdeps/powerpc/powerpc64/Makefile: ... this.
47121         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47122         * sysdeps/powerpc/powerpc64/configure.in: ... this.
47123         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47125         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47126         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47127         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47128         * sysdeps/powerpc/powerpc32/start.S: ... here.
47129         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47130         * sysdeps/powerpc/powerpc32/configure.in: ... this.
47131         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47133         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47134         * sysdeps/powerpc/ifunc-sel.h: ... here.
47135         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47136         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47138         * sysdeps/sparc/elf/configure.in: Moved to ...
47139         * sysdeps/sparc/configure.in: ... here.
47140         * sysdeps/sparc/elf/configure: Delete file.
47141         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47142         * sysdeps/sparc/sparc32/start.S: ... here.
47143         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47144         * sysdeps/sparc/sparc64/start.S: ... here.
47145         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47146         * sysdeps/sparc/sparc32/Makefile: ... this.
47147         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47148         * sysdeps/sparc/sparc64/Makefile: ... this.
47150         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47151         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47152         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47153         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47154         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47155         * sysdeps/s390/s390-32/setjmp.S: ... here.
47156         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47157         * sysdeps/s390/s390-32/configure.in: ... here.
47158         * sysdeps/s390/s390-32/elf/configure: Delete file.
47159         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47160         * sysdeps/s390/s390-32/start.S: ... here.
47162         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47163         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47164         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47165         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47166         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47167         * sysdeps/s390/s390-64/setjmp.S: ... here.
47168         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47169         * sysdeps/s390/s390-64/configure.in: ... here
47170         * sysdeps/s390/s390-64/elf/configure: Delete file.
47171         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47172         * sysdeps/s390/s390-64/start.S: ... here.
47173         * sysdeps/s390/s390-64/elf/configure: Delete.
47175         * configure.in: Remove support for elf directories in sysdeps.
47177         * configure: Regenerated.
47178         * sysdeps/i386/configure: Regenerated.
47179         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47180         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47181         * sysdeps/s390/s390-32/configure: Regenerated.
47182         * sysdeps/s390/s390-64/configure: Regenerated.
47183         * sysdeps/sh/configure: Regenerated.
47184         * sysdeps/sparc/configure: Regenerated.
47185         * sysdeps/x86_64/configure: Regenerated.
47187 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47189         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47191         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47192         denormal result into account.
47194 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47196         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47197         Reported by Allan McRae <allan@archlinux.org>.
47199 2012-03-23  Jeff Law  <law@redhat.com>
47201         * nss/getnssent.c (__nss_getent): Fix typo.
47203 2012-03-23  David S. Miller  <davem@davemloft.net>
47205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47207 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47209         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47210         to pad to uint64_t for each field.
47211         (dl_tls_index): Replace unsigned long with uint64_t.
47213 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47214         Paul Pluzhnikov  <ppluzhnikov@google.com>
47216         [BZ #6528]
47217         * grp/Makefile (otherlibs): Don't set it.
47218         * inet/Makefile (otherlibs): Likewise.
47219         * login/Makefile (otherlibs): Likewise.
47220         * nscd/Makefile (otherlibs): Likewise.
47221         * posix/Makefile (otherlibs): Likewise.
47222         * pwd/Makefile (otherlibs): Likewise.
47223         * rt/Makefile (otherlibs): Likewise.
47224         * sunrpc/Makefile (otherlibs): Likewise.
47225         * nss/Makefile (otherlibs): Likewise.
47226         Add libnss_files to routines and static-only-routines.
47227         ($(objpfx)getent): Remove rule.
47228         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47229         static-only-routines.
47231 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47233         [BZ #13892]
47234         * math/s_cexp.c: Include <float.h>.
47235         (__cexp): Handle exp result overflowing not necessarily
47236         overflowing both real and imaginary parts of result.
47237         * math/s_cexpf.c: Likewise.
47238         * math/s_cexpl.c: Likewise.
47239         * math/libm-test.inc (cexp_test): Add more tests.
47240         * sysdeps/i386/fpu/libm-test-ulps: Update.
47241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47243 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47245         * include/link.h (ELFW): New macro.
47246         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47247         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47249 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47251         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47252         with uint64_t.
47254 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47256         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47257         declaration.
47258         (struct La_x32_retval): Likewise.
47260 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47262         * sysdeps/x86_64/preconfigure.in: New file.
47263         * sysdeps/x86_64/preconfigure: New generated file.
47265 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47267         [BZ #13824]
47268         * math/e_exp2l.c: Include <float.h>.
47269         (__ieee754_exp2l): Handle overflow and underflow cases
47270         separately.  Only pass fractional part of argument to
47271         __ieee754_expl.
47272         * math/libm-test.inc (exp2_test): Add more tests.
47274         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47275         negating x to take absolute value.
47276         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47277         Likewise.
47278         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47279         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47280         Likewise.
47281         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47282         computing low part if x was negated.
47283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47285 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47287         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47288         la_x32_gnu_pltexit.
47289         (pltexit): Cast int_retval to ptrdiff_t.
47290         * elf/tst-auditmod3b.c: Likewise.
47291         * elf/tst-auditmod4b.c: Likewise.
47292         * elf/tst-auditmod5b.c: Likewise.
47293         * elf/tst-auditmod6b.c: Likewise.
47294         * elf/tst-auditmod6c.c: Likewise.
47295         * elf/tst-auditmod7b.c: Likewise.
47297         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47298         and x32_gnu_pltexit.
47300         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47301         __ELF_NATIVE_CLASS.
47302         (La_x32_regs): New macro.
47303         (La_x32_retval): Likewise.
47304         (la_x32_gnu_pltenter): New function prototype.
47305         (la_x32_gnu_pltexit): Likewise.
47307 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47309         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47310         exponent.
47312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47314         * configure.in (libc_cv_cc_nofma): Check for option to disable
47315         generation of FMA instructions.
47316         * configure: Regenerate.
47317         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47318         * sysdeps/ieee754/dbl-64/Makefile: New file.
47319         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47320         Remove brandred-fma4.
47321         (CFLAGS-brandred-fma4.c): Remove.
47322         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47323         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47324         define.
47325         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47326         define.
47328 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47330         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47331         LLONG_MAX != LONG_MAX.
47332         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47333         (_fitoa_word): Likewise.
47334         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47335         LLONG_MAX != LONG_MAX.
47336         * stdio-common/_itowa.h: Include <_itoa.h>.
47337         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47338         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47339         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47340         only if not defined.
47341         (_ITOA_WORD_TYPE): Likewise.
47342         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47343         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47345 2012-03-21  David S. Miller  <davem@davemloft.net>
47347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47349 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47351         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47352         of x86_64 when setting libc_cv_slibdir, libdir and
47353         libc_cv_localedir.
47354         * sysdeps/unix/sysv/linux/configure: Regenerated.
47356 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47358         * manual/lang.texi (Old Varargs): Remove section.
47359         (How Variadic): Update menu.
47360         (va_start): Do not mention varargs.h.
47362 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47363             Joseph Myers  <joseph@codesourcery.com>
47365         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47366         link test.
47367         * configure: Regenerated.
47369 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47371         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47372         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47373         conformtest.pl
47375 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47377         * NOTES: Remove.
47378         * Makefile (files-for-dist): Remove NOTES.
47379         (NOTES): Remove rule.
47380         * README: Don't refer to NOTES.
47381         * manual/creature.texi: Don't include macros.texi.
47382         * manual/intro.texi (creature.texi): Remove comment referring to
47383         NOTES.
47385         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47386         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47387         * configure: Regenerated.
47388         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47389         LIBC_TRY_CC_OPTION.
47390         (libc_cv_as_i686): Likewise.
47391         (libc_cv_cc_avx): Likewise.
47392         (libc_cv_cc_sse2avx): Likewise.
47393         (libc_cv_cc_fma4): Likewise.
47394         (libc_cv_cc_novzeroupper): Likewise.
47395         * sysdeps/i386/configure: Regenerated.
47397         [BZ #13883]
47398         * sysdeps/i386/fpu/s_cexp.S: Remove.
47399         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47400         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47401         * math/libm-test.inc (cexp_test): Add more tests.
47402         * sysdeps/i386/fpu/libm-test-ulps: Update.
47403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47405 2012-03-21  Allan McRae  <allan@archlinux.org>
47407         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47409 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47411         [BZ #13871]
47412         * math/w_exp2.c: Do not include <float.h>.
47413         (o_threshold, u_threshold): Remove.
47414         (__exp2): Calculate result before checking finiteness and calling
47415         __kernel_standard.
47416         * math/w_exp2f.c: Likewise.
47417         * math/w_exp2l.c: Likewise.
47418         * math/libm-test.inc (exp2_test): Require overflow exception for
47419         1e6 input.
47421         [BZ #3866]
47422         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47423         range of signed 64-bit integers before using fistpll.  Remove
47424         checks for whether integers fit in mantissa bits.
47425         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47426         the range of signed 32-bit integers before using fistpl.  Remove
47427         checks for whether integers fit in mantissa bits.
47428         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47429         (__ieee754_powl): Test for y outside the range of signed 64-bit
47430         integers before using fistpll.  Reduce 64-bit values to 63-bit
47431         ones as needed.
47432         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47433         divide-by-zero is raised for zero to large negative powers.
47434         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47435         (__ieee754_powl): Test for y outside the range of signed 64-bit
47436         integers before using fistpll.  Reduce 64-bit values to 63-bit
47437         ones as needed.
47438         * math/libm-test.inc (pow_test): Add more tests.
47440 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47442         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47443         <stdio-common/_itoa.h>.
47444         * debug/segfault.c: Likewise.
47445         * elf/dl-cache.c: Likewise.
47446         * elf/dl-minimal.c: Likewise.
47447         * elf/dl-misc.c: Likewise.
47448         * elf/dl-sysdep.c: Likewise.
47449         * elf/dl-version.c: Likewise.
47450         * elf/rtld.c: Likewise.
47451         * hurd/hurdsock.c: Likewise.
47452         * hurd/lookup-retry.c: Likewise.
47453         * malloc/malloc.c: Likewise.
47454         * malloc/mtrace.c: Likewise.
47455         * nscd/nscd_getgr_r.c: Likewise.
47456         * nscd/nscd_getpw_r.c: Likewise.
47457         * nscd/nscd_getserv_r.c: Likewise.
47458         * posix/getopt_init.c: Likewise.
47459         * posix/wordexp.c: Likewise.
47460         * stdio-common/_itoa.c: Likewise.
47461         * stdio-common/printf_fphex.c: Likewise.
47462         * stdio-common/vfprintf.c: Likewise.
47463         * string/_strerror.c: Likewise.
47464         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47465         * sysdeps/i386/i686/hp-timing.h: Likewise.
47466         * sysdeps/mach/_strerror.c: Likewise.
47467         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47468         * sysdeps/mach/hurd/sethostid.c: Likewise.
47469         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47470         * sysdeps/mach/xpg-strerror.c: Likewise.
47471         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47472         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47473         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47474         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47475         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47476         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47477         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47478         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47479         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47480         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47481         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47482         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47483         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47484         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47485         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47486         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47487         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47488         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47489         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47490         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47491         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47493         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47495         * stdio-common/_itoa.h: Moved to ...
47496         * sysdeps/generic/_itoa.h: Here.
47498         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47500         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47501         instead of "_itoa.h" and "_itowa.h".
47502         * stdio-common/vfprintf.: Likewise.
47504 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47506         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47507         <bits/wordsize.h>.
47508         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47509         (__signbit): Likwise.
47510         (llrintf): Likwise.
47511         (llrint): Likwise.
47513 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47515         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47516         __WORDSIZE != 64.
47518 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47520         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47521         OVERFLOW_EXCEPTION_OK.
47522         * math/libm-test.inc ("Philosophy"): Update comment about
47523         exception testing.
47524         (OVERFLOW_EXCEPTION): Define.
47525         (OVERFLOW_EXCEPTION_OK): Likewise.
47526         (INVALID_EXCEPTION_OK): Renumber.
47527         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47528         (IGNORE_ZERO_INF_SIGN): Likewise.
47529         (test_exceptions): Handle FE_OVERFLOW.
47530         (exp10_test): Expect overflow exceptions.
47531         (exp2_test): Likewise.
47532         (expm1_test): Likewise.
47533         (nextafter_test): Likewise.
47534         (pow_test): Likewise.
47535         (scalbn_test): Likewise.
47536         (scalbln_test): Likewise.
47538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47540         * sysdeps/x86_64/bits/atomic.h
47541         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47542         64bit integer.
47543         (atomic_exchange_acq): Likewise.
47544         (__arch_exchange_and_add_body): Likewise.
47545         (__arch_add_body): Likewise.
47546         (atomic_add_negative): Likewise.
47547         (atomic_add_zero): Likewise.
47549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47551         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47552         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47556         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47557         Check __x86_64__ instead of __WORDSIZE.
47559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47561         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47563 2012-03-19  David S. Miller  <davem@davemloft.net>
47565         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47567         * sysdeps/sparc/fpu/fenv_private.h: New file.
47568         * sysdeps/sparc/fpu/math_private.h: Use it.
47569         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47570         Remove.
47571         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47572         (libc_feholdexcept_setroundl): Remove.
47573         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47574         Remove.
47575         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47576         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47578 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47580         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47581         int64_t instead of long int.
47582         (INSERT_WORDS64): Likwise.
47584 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47586         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47587         _Unwind_GetCFA return to _Unwind_Ptr first.
47589 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47591         [BZ #13629]
47592         * math/s_clog.c: Include <float.h>.
47593         (__clog): Scale large or subnormal inputs.
47594         * math/s_clogf.c: Likewise.
47595         * math/s_clogl.c: Likewise.
47596         * math/s_clog10.c: Include <float.h>.
47597         (M_LOG10_2): Define.
47598         (__clog10): Scale large or subnormal inputs.
47599         * math/s_clog10f.c: Likewise.
47600         * math/s_clog10l.c: Likewise.
47601         * math/libm-test.inc (clog_test): Add more tests.
47602         (clog10_test): Likewise.
47603         * sysdeps/i386/fpu/libm-test-ulps: Update.
47604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47606         [BZ #11451]
47607         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47608         x and y.
47609         * math/libm-test.inc (atan2_test): Add another test.
47611         * Makerules (common-objdir-compile): Remove.
47612         * sysdeps/unix/Makefile (config-generated): Do not add
47613         $(unix-generated) to variable.
47614         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47615         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47616         Remove rule.
47617         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47618         Likewise.
47619         [generic bits/local_lim.h] (before-compile): Do not append to
47620         variable.
47621         [generic bits/local_lim.h] (common-generated): Likewise.
47622         [generic sys/param.h] (before-compile): Do not append to variable.
47623         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47624         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47625         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47626         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47627         include.
47628         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47629         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47630         [generic sys/param.h] ($(addprefix
47631         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47632         [generic sys/param.h] (common-generated): Do not append to
47633         variable.
47634         [generic sys/param.h] (sysdep_headers): Likewise.
47635         [generic bits/errno.h] (before-compile): Do not append to
47636         variable.
47637         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47638         rule.
47639         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47640         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47641         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47642         [generic bits/errno.h] (common-generated): Do not append to
47643         variable.
47644         [generic bits/ioctls.h] (before-compile): Do not append to
47645         variable.
47646         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47647         rule.
47648         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47649         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47650         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47651         rule.
47652         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47653         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47654         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47655         [generic bits/ioctls.h] (common-generated): Do not append to
47656         variable.
47657         [generic sys/syscall.h] (syscall.h): Remove variable.
47658         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47659         rule.
47660         [generic sys/syscall.h] (before-compile): Do not append to
47661         variable.
47662         [generic sys/syscall.h] (common-generated): Likewise.
47663         * sysdeps/unix/errnos-tmpl.c: Remove file.
47664         * sysdeps/unix/errnos.awk: Likewise.
47665         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47666         * sysdeps/unix/ioctls.awk: Likewise.
47667         * sysdeps/unix/mk-local_lim.c: Likewise.
47668         * sysdeps/unix/snarf-ioctls: Likewise.
47670 2012-03-19  Richard Henderson  <rth@twiddle.net>
47672         * sysdeps/i386/fpu/fenv_private.h: New file.
47673         * sysdeps/i386/fpu/math_private.h: Use it.
47674         (math_opt_barrier, math_force_eval): Remove.
47675         (libc_feholdexcept_setround_53bit): Remove.
47676         (libc_feupdateenv_53bit): Remove.
47677         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47678         (math_opt_barrier, math_force_eval): Remove.
47679         (libc_feholdexcept): Remove.
47680         (libc_feholdexcept_setround): Remove.
47681         (libc_fetestexcept, libc_fesetenv): Remove.
47682         (libc_feupdateenv_test): Remove.
47683         (libc_feupdateenv, libc_feholdsetround): Remove.
47684         (libc_feresetround): Remove.
47686         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47687         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47689         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47690         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47691         (libc_feupdateenv_testl): New.
47692         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47693         (libc_feupdateenv_testf): New.
47694         (libc_feupdateenv): Use libc_feupdateenv_test.
47695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47696         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47698         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47699         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47700         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47701         (libc_feresetround_noex): New.
47702         (libc_feresetround_noexf): New.
47703         (libc_feresetround_noexl): New.
47704         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47705         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47706         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47707         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47708         SET_RESTORE_ROUND.
47709         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47711         (__cos): Likewise.
47712         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47713         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47714         SET_RESTORE_ROUND_NOEX.
47715         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47716         SET_RESTORE_ROUND_NOEXF.
47717         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47718         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47719         (libc_feholdsetroundf): New.
47720         (libc_feresetround, libc_feresetroundf): New.
47722         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47723         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47724         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47726         * sysdeps/generic/math_private.h: Include <fenv.h>.
47727         (default_libc_feholdexcept): New.
47728         (default_libc_feholdexcept_setround): New.
47729         (default_libc_fesetenv, default_libc_feupdateenv): New.
47730         (libc_feholdexcept): Only define if undefined.
47731         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47732         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47733         (libc_feholdexcept_setroundl): Likewise.
47734         (libc_feholdexcept_setround_53bit): Likewise.
47735         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47736         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47737         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47738         (libc_feupdateenv_53bit): Likewise.
47739         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47740         (libc_feholdexcept): Convert from macro to inline function.
47741         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47742         (libc_fesetenv, libc_feupdateenv): Likewise.
47744         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47745         not previously defined.
47746         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47747         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47748         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47749         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47750         * sysdeps/ieee754/flt-32/math_private.h: New file.
47751         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47752         math_private.h below SET_FLOAT_WORD.
47753         (__isnan, __isinf_ns, __finite): Remove.
47754         (__isnanf, __isinf_nsf, __finitef): Remove.
47756 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47760 2012-03-17  David S. Miller  <davem@davemloft.net>
47762         [BZ #6471]
47763         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47764         for 2.16.
47766 2012-03-16  David S. Miller  <davem@davemloft.net>
47768         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47769         warnings.
47771         [BZ #6471]
47772         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47773         properly.
47774         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47775         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47776         sysdep_routines when subdir is sysvipc.
47777         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47778         __getshmlba helper.
47780         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47784         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47785         [__LP64__].
47787 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47789         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47790         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47791         (__lround): Renamed to ...
47792         (__llround): This.  Replace long int with long long int.
47793         Define lround functions as aliases of llround functions.
47794         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47796 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47798         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47799         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47800         adresses to uintptr_t.  Replace "long int" and "unsigned long
47801         int" with "greg_t" on va_arg.
47803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47805         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47806         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47808         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47809         Move e_machine check before EI_CLASS check.  Handle x32
47810         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47811         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47812         SKIP_EM_IA_64 and include
47813         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47815         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47816         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47817         (add_system_dir): New macro.
47819         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47820         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47822 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47824         [BZ #2551]
47825         [BZ #2552]
47826         [BZ #2553]
47827         [BZ #2554]
47828         [BZ #2562]
47829         [BZ #2563]
47830         [BZ #2565]
47831         [BZ #2566]
47832         [BZ #2576]
47833         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47834         (y0): Likewise.
47835         * math/w_j0f.c (j0f): Likewise.
47836         (y0f): Likewise.
47837         * math/w_j0l.c (__j0l): Likewise.
47838         (__y0l): Likewise.
47839         * math/w_j1.c (j1): Likewise.
47840         (y1): Likewise.
47841         * math/w_j1f.c (j1f): Likewise.
47842         (y1f): Likewise.
47843         * math/w_j1l.c (__j1l): Likewise.
47844         (__y1l): Likewise.
47845         * math/w_jn.c (jn): Likewise.
47846         (yn): Likewise.
47847         * math/w_jnf.c (jnf): Likewise.
47848         (ynf): Likewise.
47849         * math/w_jnl.c (__jnl): Likewise.
47850         (__ynl): Likewise.
47851         * math/libm-test.inc (j0_test): Add more tests.
47852         (j1_test): Likewise.
47853         (jn_test): Likewise.  Add trailing semicolon to existing test.
47854         (y0_test): Likewise.
47855         (y1_test): Likewise.
47856         * sysdeps/i386/fpu/libm-test-ulps: Update.
47857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47859         [BZ #13851]
47860         [BZ #13854]
47861         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47862         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47863         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47864         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47865         (__tanl): Set errno for infinite argument.
47866         * sysdeps/i386/fpu/mptan.c: Remove.
47867         * sysdeps/i386/fpu/s_tan.S: Likewise.
47868         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47869         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47870         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47871         * math/libm-test.inc (tan_test): Add more tests and enable more
47872         tests for double and long double.
47873         * sysdeps/i386/fpu/libm-test-ulps: Update.
47874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47876 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47878         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47879         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47881 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47883         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47884         * configure.in: Use it for both main tree and add-ons.
47885         * configure: Regenerated.
47887 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47889         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47891 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47893         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47894         in comment.
47896         [BZ #13851]
47897         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47898         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47899         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47900         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47901         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47902         infinite argument.
47903         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47905         != 0 for prec == 2.
47906         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47907         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47908         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47909         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47910         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47911         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47912         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47913         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47914         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47915         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47916         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47917         * math/libm-test.inc (cos_test): Add more tests and enable more
47918         tests for long double.
47919         (sin_test): Likewise.
47920         (sincos_test): Likewise.
47921         * sysdeps/i386/fpu/libm-test-ulps: Update.
47922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47924 2012-03-16  David S. Miller  <davem@davemloft.net>
47926         * sysdeps/sparc/fpu/math_private.h: New file.
47928 2012-03-15  David S. Miller  <davem@davemloft.net>
47930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47931         file.
47932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47934         file.
47935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47937         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47938         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47939         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47940         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47941         sysdep routines.
47942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47944         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47945         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47947         * sysdeps/sparc/sparc-ifunc.h: New file.
47948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47949         sparc-ifunc.h
47950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47952         Likewise.
47953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47954         Likewise.
47955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47959         Likewise.
47960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47965         Likewise.
47966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47967         Likewise.
47968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47974         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47976         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47977         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47980         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47981         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47982         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47986         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47987         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47988         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47989         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47990         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47993 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47995         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47996         scaling.
47997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47999 2012-03-15  Andreas Jaeger  <aj@suse.de>
48001         [BZ #13852]
48002         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48003         ieee754/flt-32 implementation for sin, cos and sincos.
48004         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48005         * sysdeps/i386/fpu/s_cosf.S: Likewise.
48006         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48007         * sysdeps/i386/fpu/s_sinf.S: Likewise.
48008         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48009         ieee754/flt-32 implementation for tan.
48011         * math/libm-test.inc (cos_test): Enable some large input tests for
48012         float as well
48013         (sin_test): Likewise.
48014         (sincos_test): Likewise.
48015         (tan_test): Add tests for large input.
48017         * sysdeps/i386/fpu/libm-test-ulps: Update.
48019 2012-03-15  Andreas Jaeger  <aj@suse.de>
48021         [BZ #13658]
48022         * math/libm-test.inc (cos_test): Add more test cases.
48023         (sin_test): Likewise.
48024         (sincos_test): Likewise.
48026 2012-03-15  Andreas Jaeger  <aj@suse.de>
48028         [BZ #13837]
48029         * math/libm-test.inc (cos_test): Add a test case for large input
48030         value.
48031         (sin_test): Likewise.
48032         (sincos_test): Likewise.
48034 2012-03-15  Andreas Jaeger  <aj@suse.de>
48035             Joseph Myers  <joseph@codesourcery.com>
48037         [BZ #13658]
48038         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
48039         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48040         * sysdeps/i386/fpu/branred.c: Likewise.
48041         * sysdeps/i386/fpu/dosincos.c: Likewise.
48042         * sysdeps/i386/fpu/mpa.c: Likewise.
48043         * sysdeps/i386/fpu/s_cos.S: Likewise.
48044         * sysdeps/i386/fpu/s_sin.S: Likewise.
48045         * sysdeps/i386/fpu/s_sincos.S: Likewise.
48046         * sysdeps/i386/fpu/sincos32.c: Likewise.
48048         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48049         Define.
48050         (libc_feupdateenv_53bit): Define.
48051         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48052         Define.
48053         (libc_feupdateenv_53bit): Define.
48055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48056         53 bit (without extend i386 double precision).
48058         * math/libm-test.inc (sincos_test): Add tests for large input.
48059         (sin): Likewise.
48060         (cos): Likewise.
48062         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48064 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
48066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48068 2012-03-15  David S. Miller  <davem@davemloft.net>
48070         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48071         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48072         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48073         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48080         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48081         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48082         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48083         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48084         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
48085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48086         file.
48087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
48088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48089         file.
48090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
48091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48092         file.
48093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
48094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48095         file.
48096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48098         fmin/fmax sysdep routines.
48099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48101 2012-03-14  David S. Miller  <davem@davemloft.net>
48103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48105         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48107         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48108         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48109         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48110         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48114         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48118         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48119         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48120         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48121         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48122         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48123         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48124         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48125         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48126         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48127         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48128         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48129         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48130         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
48131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48132         routines.
48133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48134         file.
48135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48137         file.
48138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48140         file.
48141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48143         file.
48144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48146         file.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48149         file.
48150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48151         file.
48152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48153         file.
48154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48155         file.
48156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48157         New file.
48158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48159         file.
48160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48161         file.
48162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48164         file.
48165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48167         file.
48168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48170         file.
48171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48173         VIS3 routines.
48175         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48176         New file.
48178         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48180         * sysdeps/sparc/configure.in: New file.
48181         * sysdeps/sparc/configure: Generate.
48182         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48183         * configure: Regenerate.
48184         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48185         * config.make.in (have-as-vis3): New.
48186         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48187         available use -Av9d instead of -Av9a.
48188         * sysdeps/sparc/sparc64/Makefile: Likewise.
48189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48191         New file.
48192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48193         file.
48194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48195         New file.
48196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48197         file.
48198         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48204         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48205         fzeros/fnegs to load 0x80000000 into a float register instead of
48206         using the stack.
48207         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48209 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48211         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48212         bits/syscall.h.
48213         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48214         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48215         ($(inst_includedir)/bits/syscall.h): Remove rule.
48216         ($(objpfx)bits/syscall.d): Include instead of
48217         $(objpfx)syscall-list.d.
48218         (generated): Change syscall-list.h and syscall-list.d to
48219         bits/syscall.h and bits/syscall.d.
48221 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48223         [BZ #13846]
48224         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48226 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48228         [BZ #13841]
48229         * math/s_csqrt.c: Include <float.h>.
48230         (__csqrt): Scale large or subnormal inputs.
48231         * math/s_csqrtf.c: Likewise.
48232         * math/s_csqrtl.c: Likewise.
48233         * math/libm-test.inc (csqrt_test): Add more tests.
48234         * sysdeps/i386/fpu/libm-test-ulps: Update.
48235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48237         [BZ #13840]
48238         * math/libm-test.inc (hypot_test): Add more tests.
48240 2012-03-13  David S. Miller  <davem@davemloft.net>
48242         [BZ #13840]
48243         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48244         double-precision for the calculation instead of scaling.
48246 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48248         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48249         manipulate bits before adding and subtracting TWO52[sx].
48250         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48251         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48252         Likewise.
48253         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48255 2012-03-13  David S. Miller  <davem@davemloft.net>
48257         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48258         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48259         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48260         rtld-global-offsets.h
48261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48263         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48264         large parameters.
48266         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48268         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48269         'err' in the ifdef scope in which it is actually used.
48271         * nss/nss_db/db-init.c: Include string.h
48273 2012-03-12  David S. Miller  <davem@davemloft.net>
48275         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48276         masking out of the most significant byte of random value used.
48277         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48278         Fix coding style in previous change.
48280         * sysdeps/unix/sysv/linux/kernel-features.h
48281         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48282         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48283         expression.
48284         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48285         later.
48287 2012-03-11  David S. Miller  <davem@davemloft.net>
48289         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48290         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48291         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48292         for 'resultvar' otherwise things get truncated on 64-bit.
48294         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48295         Fix masking out of the most significant byte of random value used.
48297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48299 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48303 2012-03-09  David S. Miller  <davem@davemloft.net>
48305         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48306         variables with appropriate CPP guards.
48307         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48308         from the frame pointer, not the stack pointer.  Correct layout
48309         comments.  Fix test on resulting framesize and the management of
48310         the outregs buffer for pltexit.  Preserve floating point return
48311         values across _dl_call_pltexit call.
48312         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48313         framesize and the management of the outregs buffer for pltexit.
48314         Preserve floating point return values across _dl_call_pltexit
48315         call.
48316         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48317         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48318         (la_sparc64_gnu_pltexit): New functions.
48319         (print_exit): Fix format string for return register value.
48321 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48323         * sunrpc/Makefile (others): Add rpcgen.
48324         ($(objpfx)rpcgen): Remove special build rule and dependency on
48325         libc.
48326         * sunrpc/rpcgen.c: New file.
48328 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48330         [BZ #13673]
48331         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48332         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48333         * sysdeps/i386/crti.S: Likewise.
48334         * sysdeps/i386/crtn.S: Likewise.
48335         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48336         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48337         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48338         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48339         * sysdeps/sh/crti.S: Likewise.
48340         * sysdeps/sh/crtn.S: Likewise.
48341         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48343         [BZ #13673]
48344         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48345         with URL.
48346         * locale/programs/locfile-kw.gperf: Likewise.
48347         * locale/programs/charmap-kw.h: Regenerated.
48348         * locale/programs/locfile-kw.h: Likewise.
48350         [BZ #13673]
48351         * intl/plural.y: Replace FSF snail mail address with URL.
48352         * intl/plural.c: Regenerated.
48354 2012-03-09  Richard Henderson  <rth@twiddle.net>
48356         * include/math_private.h: Remove file.
48357         * math/math_private.h: Move file ...
48358         * sysdeps/generic/math_private.h: ... here.
48360         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48361         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48362         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48364         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48365         and <math_private.h>.
48366         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48367         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48368         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48369         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48370         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48374         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48375         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48377         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48378         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48379         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48381         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48383         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48384         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48392         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48393         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48394         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48395         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48396         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48398         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48399         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48400         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48401         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48402         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48403         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48404         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48405         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48406         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48407         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48408         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48409         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48410         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48411         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48412         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48413         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48414         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48415         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48416         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48417         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48418         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48419         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48420         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48421         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48422         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48423         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48424         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48425         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48426         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48427         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48429         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48430         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48435         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48436         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48438         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48439         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48440         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48444         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48445         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48447         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48449         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48450         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48451         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48452         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48453         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48454         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48455         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48456         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48457         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48458         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48459         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48460         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48461         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48462         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48463         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48464         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48465         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48466         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48467         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48468         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48469         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48470         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48471         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48472         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48473         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48474         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48475         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48476         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48477         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48478         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48479         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48480         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48481         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48482         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48483         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48484         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48485         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48486         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48487         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48488         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48489         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48490         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48491         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48492         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48493         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48494         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48495         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48496         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48497         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48498         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48499         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48500         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48501         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48502         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48503         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48504         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48505         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48506         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48507         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48508         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48509         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48510         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48511         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48512         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48513         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48514         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48515         * sysdeps/ieee754/k_standard.c: Likewise.
48516         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48520         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48525         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48526         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48528         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48529         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48530         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48532         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48533         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48534         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48536         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48543         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48544         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48545         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48546         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48547         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48548         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48549         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48550         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48551         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48552         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48553         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48554         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48555         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48556         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48557         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48558         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48559         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48560         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48561         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48562         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48563         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48564         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48565         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48566         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48567         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48568         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48569         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48570         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48571         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48574         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48575         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48576         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48577         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48578         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48579         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48580         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48582         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48583         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48584         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48586         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48588         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48589         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48590         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48592         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48593         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48594         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48595         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48596         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48597         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48598         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48599         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48600         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48602         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48603         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48604         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48606         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48607         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48608         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48609         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48612         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48613         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48614         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48615         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48616         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48618         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48619         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48621         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48622         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48623         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48624         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48625         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48626         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48627         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48628         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48629         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48630         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48631         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48632         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48633         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48634         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48636         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48637         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48638         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48639         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48640         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48641         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48642         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48643         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48644         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48646         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48647         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48648         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48649         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48650         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48651         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48652         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48653         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48654         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48655         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48656         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48657         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48658         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48659         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48660         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48662         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48663         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48664         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48665         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48666         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48667         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48668         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48669         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48670         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48671         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48672         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48673         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48674         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48675         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48676         * sysdeps/ieee754/s_lib_version.c: Likewise.
48677         * sysdeps/ieee754/s_matherr.c: Likewise.
48678         * sysdeps/ieee754/s_signgam.c: Likewise.
48679         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48680         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48681         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48682         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48683         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48684         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48685         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48686         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48687         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48688         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48689         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48690         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48691         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48692         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48693         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48694         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48696         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48697         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48699         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48701 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48703         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48704         * sunrpc/rpc_main.c: Likewise.
48705         * sunrpc/rpc_svcout.c: Likewise.
48707 2012-03-09  David S. Miller  <davem@davemloft.net>
48709         * include/math_private.h: New file.
48711 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48713         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48714         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48715         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48716         from <bits/socket_type.h>.
48717         (enum __socket_type): Don't define here.
48718         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48720         bits/socket_type.h.
48722         [BZ #13566]
48723         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48724         checking __USE_GNU.
48726         * Makerules ($(inst_includedir)/%.h): New rule.
48727         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48728         (install-others): Remove variable setting.
48729         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48731 2012-03-08  Richard Henderson  <rth@twiddle.net>
48733         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48734         from macro to inline function; merge with the
48735         !__LIBC_INTERNAL_MATH_INLINES version.
48736         (__ieee754_sqrtf): Likewise.
48738         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48739         to inline function.
48740         (__rintf, __floor, __floorf): Likewise.
48742         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48743         macro to inline function.
48744         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48746         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48747         not <math/math_private.h>.
48749 2012-03-08  David S. Miller  <davem@davemloft.net>
48751         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48752         copyright year.
48753         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48755 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48757         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48758         normalization.
48759         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48760         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48762 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48764         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48765         be defined individually, they must be defined as a block.  Define
48766         S for printing a string instead of hidint the different by using a
48767         macro for adding the 'l'.
48768         * stdio-common/tst-fphex-wide.c: Adjust.
48770 2012-03-07  Marek Polacek  <polacek@redhat.com>
48772         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48774 2012-03-08  Marek Polacek  <polacek@redhat.com>
48776         [BZ #13806]
48777         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48778         * stdio-common/tst-fphex.c: Define a few macros to make the
48779         test reusable.  Use them.
48780         * stdio-common/tst-fphex-wide.c: New file.
48782 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48784         [BZ #6911]
48785         * manual/macros.texi (gnusystems): New macro.
48786         (nongnusystems): Likewise.
48787         (gnulinuxhurdsystems): Likewise.
48788         (gnuhurdsystems): Likewise..
48789         (gnulinuxsystems): Likewise.
48790         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48791         variants of the GNU system, not "GNU system".
48792         * manual/conf.texi: Likewise.
48793         * manual/errno.texi: Likewise.  Update example of errno macro
48794         expansion.
48795         * manual/filesys.texi: Likewise.
48796         (getumask): Document as specific to GNU/Hurd.
48797         * manual/install.texi: Likewise.  Reword some references to
48798         GNU/Linux.
48799         * manual/intro.texi: Likewise.
48800         * manual/io.texi: Likewise.
48801         (File Name Portability): Detail which constraints are inapplicable
48802         to all GNU systems and which are only inapplicable to GNU/Hurd.
48803         * manual/job.texi: Likewise.
48804         * manual/llio.texi: Likewise.
48805         (O_NOCTTY): Document as present on GNU/Linux.
48806         * manual/maint.texi: Likewise.
48807         * manual/memory.texi: Likewise.
48808         * manual/pattern.texi: Likewise.
48809         * manual/pipe.texi: Likewise.
48810         * manual/process.texi: Likewise.
48811         * manual/resource.texi: Likewise.
48812         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48813         child on GNU/Hurd.
48814         * manual/setjmp.texi: Likewise.
48815         * manual/signal.texi: Likewise.
48816         * manual/startup.texi: Likewise.
48817         * manual/stdio.texi: Likewise.
48818         * manual/terminal.texi: Likewise.
48819         (ONLCR): Document as POSIX.
48820         (OXTABS): Document availability on GNU/Linux as XTABS.
48821         (ONOEOT): Document availability separately from other bits.
48822         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48823         * manual/time.texi: Likewise.
48824         * manual/users.texi: Likewise.
48825         * INSTALL: Regenerated.
48826         * sysdeps/gnu/errlist.c: Regenerated.
48828         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48829         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48830         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48831         puts.
48832         * configure: Regenerated.
48834 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48836         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48837         default includes instead of AC_HEADER_CHECK.
48838         * sysdeps/i386/configure: Regenerated.
48840         [BZ #10716]
48841         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48842         * math/s_cacoshf.c (__cacoshf): Likewise.
48843         * math/s_cacoshl.c (__cacoshl): Likewise.
48844         * math/s_casinh.c (__casinh): Set signs of result from argument.
48845         * math/s_casinhf.c (__casinhf): Likewise.
48846         * math/s_casinhl.c (__casinhl): Likewise.
48847         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48848         (casinh_test): Add more tests.
48849         * sysdeps/i386/fpu/libm-test-ulps: Update.
48850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48852 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48854         * po/zh_TW.po: Update from translation team.
48856         * login/Makefile (distribute): Remove variable.
48857         * catgets/Makefile: Likewise.
48858         * mach/Makefile: Likewise.
48859         * malloc/Makefile: Likewise.
48860         * misc/Makefile: Likewise.
48861         * iconv/Makefile: Likewise.
48862         * nscd/Makefile: Likewise.
48863         * hurd/Makefile: Likewise.
48864         * manual/Makefile: Likewise.
48865         * locale/Makefile: Likewise.
48866         * intl/Makefile: Likewise.
48867         * conform/Makefile: Likewise.
48868         * nss/Makefile: Likewise.
48869         * time/Makefile: Likewise.
48870         * soft-fp/Makefile: Likewise.
48871         * dirent/Makefile: Likewise.
48872         * gmon/Makefile: Likewise.
48873         * po/Makefile: Likewise.
48874         * rt/Makefile: Likewise.
48875         * socket/Makefile: Likewise.
48876         * math/Makefile: Likewise.
48877         * signal/Makefile: Likewise.
48878         * debug/Makefile: Likewise.
48879         * elf/Makefile: Likewise.
48880         * timezone/Makefile: Likewise.
48881         * stdlib/Makefile: Likewise.
48882         * iconvdata/Makefile: Likewise.
48883         * sunrpc/Makefile: Likewise.
48884         * io/Makefile: Likewise.
48885         * argp/Makefile: Likewise.
48886         * inet/Makefile: Likewise.
48887         * hesiod/Makefile: Likewise.
48888         * grp/Makefile: Likewise.
48889         * csu/Makefile: Likewise.
48890         * wctype/Makefile: Likewise.
48891         * crypt/Makefile: Likewise.
48892         * libio/Makefile: Likewise.
48893         * string/Makefile: Likewise.
48894         * nis/Makefile: Likewise.
48895         * resolv/Makefile: Likewise.
48896         * stdio-common/Makefile: Likewise.
48897         * wcsmbs/Makefile: Likewise.
48898         * dlfcn/Makefile: Likewise.
48899         * posix/Makefile: Likewise.
48901         [BZ #6959]
48902         * timezone/Makefile: Don't install timezone files, just the programs
48903         and scripts.
48905 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48907         * nss/databases.def: Add missing gshadow entry.
48909         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48911 2012-03-06  Marek Polacek  <polacek@redhat.com>
48913         [BZ #13726]
48914         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48915         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48916         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48917         * stdio-common/tst-long-dbl-fphex.c: New file.
48919 2012-03-06  David S. Miller  <davem@davemloft.net>
48921         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48922         (set_obp_int): New function.
48923         (get_obp_int): New function.
48924         (__get_clockfreq_via_dev_openprom): Likewise.
48925         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48926         Avoid unused variable warnings on 'val' and use builtin_expect.
48927         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48928         __builtin_expect.
48929         (INLINE_CLONE_SYSCALL): Likewise.
48931 2012-03-05  David S. Miller  <davem@davemloft.net>
48933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48935 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48940         only for |x| >= 40.
48941         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48943 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48945         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48946         Replace gettimeofday with __vdso_gettimeofday.
48948         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48949         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48950         __vdso_clock_gettime and __vdso_getcpu.
48952         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48953         time with __vdso_time.
48955 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48957         * manual/lang.texi (size_t): Note types to which size_t may be
48958         equivalent with the GNU C Library, but do not describe when
48959         differences between them are significant.
48961 2012-03-05  Andreas Jaeger  <aj@suse.de>
48963         * sysdeps/i386/fpu/libm-test-ulps: Update.
48965 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48967         [BZ #3976]
48968         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48969         (__ieee754_pow): Save and restore rounding mode and use
48970         round-to-nearest for main computations.
48971         * math/libm-test.inc (pow_test_tonearest): New function.
48972         (pow_test_towardzero): Likewise.
48973         (pow_test_downward): Likewise.
48974         (pow_test_upward): Likewise.
48975         (main): Call the new functions.
48976         * sysdeps/i386/fpu/libm-test-ulps: Update.
48977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48979         [BZ #3976]
48980         * math/libm-test.inc (cosh_test_tonearest): New function.
48981         (cosh_test_towardzero): Likewise.
48982         (cosh_test_downward): Likewise.
48983         (cosh_test_upward): Likewise.
48984         (sinh_test_tonearest): Likewise.
48985         (sinh_test_towardzero): Likewise.
48986         (sinh_test_downward): Likewise.
48987         (sinh_test_upward): Likewise.
48988         (main): Call the new functions.
48989         * sysdeps/i386/fpu/libm-test-ulps: Update.
48990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48992 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48994         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48995         default stack guard is set in last bytes.
48996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48998 2012-03-05  Kees Cook  <keescook@chromium.org>
49000         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
49002         [BZ #13656]
49003         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49004         possibly allocate from heap instead of stack.
49005         * stdio-common/bug-vfprintf-nargs.c: New file.
49006         * stdio-common/Makefile (tests): Add nargs overflow test.
49008 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
49010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49012 2012-03-03  Marek Polacek  <polacek@redhat.com>
49014         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49015         * math/math_private.h: Likewise.
49016         * stdlib/tst-strtod.c: Likewise.
49017         * sysdeps/i386/i486/bits/atomic.h: Likewise.
49018         * sysdeps/x86_64/bits/atomic.h: Likewise.
49020 2012-03-02  David S. Miller  <davem@davemloft.net>
49022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49026         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49027         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49028         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49029         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49031 2012-03-02  Roland McGrath  <roland@hack.frob.com>
49033         [BZ #13792]
49034         * manual/examples/README: New file, says the example source files
49035         can be used under GPL>=2.
49036         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49037         line containing just "*/".
49038         * manual/examples/add.c: Add copyright header (GPL>=2).
49039         * manual/examples/argp-ex1.c: Likewise.
49040         * manual/examples/argp-ex2.c: Likewise.
49041         * manual/examples/argp-ex3.c: Likewise.
49042         * manual/examples/argp-ex4.c: Likewise.
49043         * manual/examples/atexit.c: Likewise.
49044         * manual/examples/db.c: Likewise.
49045         * manual/examples/dir.c: Likewise.
49046         * manual/examples/dir2.c: Likewise.
49047         * manual/examples/execinfo.c: Likewise.
49048         * manual/examples/filecli.c: Likewise.
49049         * manual/examples/filesrv.c: Likewise.
49050         * manual/examples/fmtmsgexpl.c: Likewise.
49051         * manual/examples/genpass.c: Likewise.
49052         * manual/examples/inetcli.c: Likewise.
49053         * manual/examples/inetsrv.c: Likewise.
49054         * manual/examples/isockad.c: Likewise.
49055         * manual/examples/longopt.c: Likewise.
49056         * manual/examples/memopen.c: Likewise.
49057         * manual/examples/memstrm.c: Likewise.
49058         * manual/examples/mkfsock.c: Likewise.
49059         * manual/examples/mkisock.c: Likewise.
49060         * manual/examples/mygetpass.c: Likewise.
49061         * manual/examples/pipe.c: Likewise.
49062         * manual/examples/popen.c: Likewise.
49063         * manual/examples/rprintf.c: Likewise.
49064         * manual/examples/search.c: Likewise.
49065         * manual/examples/select.c: Likewise.
49066         * manual/examples/setjmp.c: Likewise.
49067         * manual/examples/sigh1.c: Likewise.
49068         * manual/examples/sigusr.c: Likewise.
49069         * manual/examples/stpcpy.c: Likewise.
49070         * manual/examples/strdupa.c: Likewise.
49071         * manual/examples/strftim.c: Likewise.
49072         * manual/examples/strncat.c: Likewise.
49073         * manual/examples/subopt.c: Likewise.
49074         * manual/examples/swapcontext.c: Likewise.
49075         * manual/examples/termios.c: Likewise.
49076         * manual/examples/testopt.c: Likewise.
49077         * manual/examples/testpass.c: Likewise.
49078         * manual/examples/timeval_subtract.c: Likewise.
49080         [BZ #13792]
49081         * manual/time.texi (Elapsed Time): Move timeval_subtract example
49082         function to ...
49083         * manual/timeval_subtract.c.texi: ... here, new file.
49085 2012-03-02  David S. Miller  <davem@davemloft.net>
49087         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49089 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
49091         [BZ #3976]
49092         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49093         (__sin): Save and restore rounding mode and use round-to-nearest
49094         for all computations.
49095         (__cos): Save and restore rounding mode and use round-to-nearest
49096         for all computations.
49097         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49098         <fenv.h>.
49099         (tan): Save and restore rounding mode and use round-to-nearest for
49100         all computations.
49101         * math/libm-test.inc (cos_test_tonearest): New function.
49102         (cos_test_towardzero): Likewise.
49103         (cos_test_downward): Likewise.
49104         (cos_test_upward): Likewise.
49105         (sin_test_tonearest): Likewise.
49106         (sin_test_towardzero): Likewise.
49107         (sin_test_downward): Likewise.
49108         (sin_test_upward): Likewise.
49109         (tan_test_tonearest): Likewise.
49110         (tan_test_towardzero): Likewise.
49111         (tan_test_downward): Likewise.
49112         (tan_test_upward): Likewise.
49113         (main): Call the new functions.
49114         * sysdeps/i386/fpu/libm-test-ulps: Update.
49115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49117         [BZ #10135]
49118         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49119         small n, then large n, before computing and testing k+n.
49120         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49121         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49122         Likewise.
49123         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49124         Likewise.
49125         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49126         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49127         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49128         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49131         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49132         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49133         * math/libm-test.inc (scalbn_test): Add more tests.
49134         (scalbln_test): Likewise.
49136         * manual/filesys.texi (mode_t): Describe constraints on size and
49137         signedness, not exact equivalence to a particular type.
49138         (ino_t): Likewise.
49139         (ino64_t): Likewise.
49140         (dev_t): Likewise.
49141         (nlink_t): Likewise.
49142         (blkcnt_t): Likewise.
49143         (blkcnt64_t): Likewise.
49144         * manual/llio.texi (off_t): Likewise.
49146         [BZ #3976]
49147         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49148         (__ieee754_exp): Save and restore rounding mode and use
49149         round-to-nearest for all computations.
49150         * math/libm-test.inc (exp_test_tonearest): New function.
49151         (exp_test_towardzero): Likewise.
49152         (exp_test_downward): Likewise.
49153         (exp_test_upward): Likewise.
49154         (main): Call the new functions.
49155         * sysdeps/i386/fpu/libm-test-ulps: Update.
49156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49158 2012-03-01  Chris Demetriou  <cgd@google.com>
49160         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49161         have predictable order.
49163 2012-03-01  David S. Miller  <davem@davemloft.net>
49165         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49167         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49168         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49169         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49170         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49172         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49173         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49174         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49176         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49177         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49178         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49179         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49180         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49184         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49185         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49186         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49188         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49189         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49190         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49191         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49192         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49193         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49194         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49195         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49196         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49197         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49198         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49199         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49200         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49201         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49202         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49203         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49204         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49205         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49206         * sysdeps/sparc/elf/configure: Regenerated.
49208 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49210         * configure.in (AS, LD): Require binutils 2.20 or later.
49211         * configure: Regenerated.
49212         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49213         as required minimum version.
49214         * INSTALL: Regenerated.
49216         [BZ #2541]
49217         [BZ #4108]
49218         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49219         before squaring exponent.
49220         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49221         bottom long double and 27 bits of top long double before squaring
49222         exponent.
49223         * math/libm-test.inc (erfc_test): Add more tests.
49224         * sysdeps/i386/fpu/libm-test-ulps: Update.
49225         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49228 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49230         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49231         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49232         containing bit-fields.
49233         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49234         * soft-fp/single.h (_FP_UNION_S): Likewise.
49235         * soft-fp/double.h (_FP_UNION_D): Likewise.
49237 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49239         [BZ #13786]
49240         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49241         not include ../strcmp.S.
49242         [USE_AS_STRNCASECMP_L]: Likewise.
49243         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49244         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49245         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49246         (__strncasecmp_l_ia32): Define as alias to
49247         __strncasecmp_l_nonascii.
49249         [BZ #5794]
49250         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49251         * sysdeps/i386/fpu/libm-test-ulps: Update.
49252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49254         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49257 2012-02-29  Jeff Law  <law@redhat.com>
49259         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49260         out of bounds read.
49262 2012-02-29  Marek Polacek  <polacek@redhat.com>
49264         [BZ #13706]
49265         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49266         * elf/Makefile: Add rules to run tst-unused-dep.out.
49268 2012-02-28  David S. Miller  <davem@davemloft.net>
49270         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49271         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49272         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49273         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49274         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49275         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49277 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49279         * math/libm-test.inc (llround_test): Move one test from
49280         lround_test.  Use TEST_f_L in moved test.
49281         (lround_test): Move misplaced test to llround_test.  Add testcase
49282         from bug 2561.
49284 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49286         * sysdeps/x86_64/fpu/e_expf.S: New file.
49287         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49289 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49291         [BZ #13637]
49292         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49293         of remain_len that may cause incomplete multi-byte character and
49294         false match.
49295         * posix/bug-regex33.c: New file.
49296         * posix/Makefile (tests): Add bug-regex33.
49298 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49300         * manual/macros.texi: New file.
49301         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49302         * manual/libc.texinfo: Include macros.texi.
49303         * manual/creatute.texi: Likewise.
49304         * manual/install.texi: Likewise.
49305         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49306         @glibcadj{} in references to the GNU C Library.
49307         * manual/charset.texi: Likewise.
49308         * manual/conf.texi: Likewise.
49309         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49310         when not using those macros.
49311         * manual/creature.texi: Likewise.
49312         * manual/crypt.texi: Likewise.
49313         * manual/errno.texi: Likewise.
49314         * manual/filesys.texi: Likewise.
49315         * manual/header.texi: Likewise.
49316         * manual/install.texi: Likewise.
49317         * manual/intro.texi: Likewise.
49318         * manual/io.texi: Likewise.
49319         * manual/job.texi: Likewise.
49320         * manual/lang.texi: Likewise.
49321         * manual/libc.texiinfo: Likewise.
49322         * manual/llio.texi: Likewise.
49323         * manual/locale.texi: Likewise.
49324         * manual/maint.texi: Likewise.
49325         * manual/math.texi: Likewise.
49326         * manual/memory.texi: Likewise.
49327         * manual/message.texi: Likewise.
49328         * manual/nss.texi: Likewise.
49329         * manual/pattern.texi: Likewise.
49330         * manual/process.texi: Likewise.
49331         * manual/resource.texi: Likewise.
49332         * manual/search.texi: Likewise.
49333         * manual/setjmp.texi: Likewise.
49334         * manual/signal.texi: Likewise.
49335         * manual/socket.texi: Likewise.
49336         * manual/startup.texi: Likewise.
49337         * manual/stdio.texi: Likewise.
49338         * manual/string.texi: Likewise.
49339         * manual/sysinfo.texi: Likewise.
49340         * manual/syslog.texi: Likewise.
49341         * manual/terminal.texi: Likewise.
49342         * manual/time.texi: Likewise.
49343         * manual/users.texi: Likewise.
49344         * INSTALL: Regenerated.
49345         * NOTES: Regenerated.
49346         * sysdeps/gnu/errlist.c: Regenerated.
49348 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49350         * include/dirent.h: Include <dirstream.h> before
49351         <dirent/dirent.h>.
49353 2012-02-28  David S. Miller  <davem@davemloft.net>
49355         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49356         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49357         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49358         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49360 2012-02-27  David S. Miller  <davem@davemloft.net>
49362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49364         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49365         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49368         frame pointer instead of stack pointer relative arg slot.
49369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49373 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49375         [BZ #3992]
49376         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49378 2012-02-27  David S. Miller  <davem@davemloft.net>
49380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49384         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49385         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49386         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49387         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49389 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49391         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49392         later.  Allow versions 5-9.
49393         * configure: Regenerated.
49394         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49395         required minimum version and 4.6 as recommended version.  Do not
49396         mention bugs in GCC 2.7 and 2.8.
49397         * INSTALL: Regenerated.
49399 2012-02-27  David S. Miller  <davem@davemloft.net>
49401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49407         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49408         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49410         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49411         manipulate bits before adding and subtracting TWO112[sx].
49412         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49414 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49416         [BZ #13775]
49417         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49418         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49419         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49420         being in POSIX, because they are in 1003.1-2008.
49422         * rt/tst-aio.c: Include <fcntl.h>.
49423         * rt/tst-aio7.c: Likewise.
49424         * rt/tst-aio64.c: Likewise.
49426         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49428 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49430         * manual/install.texi (--with-headers): Describe headers as
49431         interface headers, not private headers.
49432         (Specific advice for GNU/Linux systems): Describe use of headers
49433         from "make headers_install", not private headers from older
49434         kernels.
49435         * INSTALL: Regenerated.
49436         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49437         Change to 2.6.19.
49438         * sysdeps/unix/sysv/linux/configure: Regenerated.
49440         * manual/llio.texi (fclean): Remove documentation.
49442         * manual/Makefile (libc-texi-generated): New variable.  Include
49443         version.texi.
49444         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49445         $(libc-texi-generated), not duplicated list of files.
49446         (version.texi, stamp-version): New rules.
49447         (realclean): Remove $(libc-texi-generated), not individual files
49448         from that list.  Do not remove dir-add.texinfo.
49449         * manual/libc.texinfo: Comment out uses of edition numbers and
49450         references to printed manual.  Remove last-updated dates.
49451         (EDITION): Comment out.
49452         (ISBN): Likewise.
49453         (VERSION, UPDATED): Remove.
49454         (version.texi): Include.
49456 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49458         * sysdeps/posix/spawni.c: Include <signal.h>.
49459         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49460         * sysdeps/pthread/aio_fsync.c: Likewise.
49462 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49464         * conform/Makefile (tests): Run only when not cross-compiling and
49465         when fast-check is not defined.
49467         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49468         * conform/data/limits.h-data: Fixes for POSIX2008.
49469         * conform/run-conformtest.sh: Run all tests.
49470         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49471         headers.
49472         * include/bits/dlfcn.h: Likewise.
49473         * include/langinfo.h: Likewise.
49474         * include/monetary.h: Likewise.
49475         * include/sys/poll.h: Likewise.
49477         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49478         for __USE_GNU.
49479         * posix/spawn.h: Define __need_sigset_t.
49480         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49481         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49482         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49483         to get sigevent_t only.
49484         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49485         only for __USE_GNU.
49486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49487         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49488         process_vm_writev only for __USE_GNU.
49489         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49491         * conform/Makefile: For now ignore errors from run-conformtest.
49492         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49493         POSIX to avoid namespace pollution.  Don't prepend headers.
49494         * conform/data/aio.h-data: Fixes for POSIX testing.
49495         * conform/data/fcntl.h-data: Likewise.
49496         * conform/data/glob.h-data: Likewise.
49497         * conform/data/grp.h-data: Likewise.
49498         * conform/data/pthread.h-data: Likewise.
49499         * conform/data/pwd.h-data: Likewise.
49500         * conform/data/signal.h-data: Likewise.
49501         * conform/data/spawn.h-data: Likewise.
49502         * conform/data/stdio.h-data: Likewise.
49503         * conform/data/stdlib.h-data: Likewise.
49504         * conform/data/stropts.h-data: Likewise.
49505         * conform/data/sys/mman.h-data: Likewise.
49506         * conform/data/sys/stat.h-data: Likewise.
49507         * conform/data/sys/types.h-data: Likewise.
49508         * conform/data/sys/wait.h-data: Likewise.
49509         * conform/data/time.h-data: Likewise.
49510         * conform/data/unistd.h-data: Likewise.
49511         * conform/data/utime.h-data: Likewise.
49513         * io/sys/stat.h: fchmod was always in POSIX.
49514         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49515         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49516         * rt/aio.h: Define __need_timespec before including <time.h>.
49517         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49518         struct.  Add forward declaration of pthread_attr_t and use it in
49519         sigevent.
49520         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49521         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49522         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49523         always remove CLK_TCK definition.
49525 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49527         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49529 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49531         * conform/run-conformtest.sh: New file.
49532         * conform/Makefile: Run run-conformtest for tests.
49533         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49534         support.
49536         * conform/data/uchar.h-data: New file.
49537         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49538         * conform/data/arpa/inet.h-data: Likewise.
49539         * conform/data/assert.h-data: Likewise.
49540         * conform/data/complex.h-data: Likewise.
49541         * conform/data/cpio.h-data: Likewise.
49542         * conform/data/ctype.h-data: Likewise.
49543         * conform/data/dirent.h-data: Likewise.
49544         * conform/data/dlfcn.h-data: Likewise.
49545         * conform/data/errno.h-data: Likewise.
49546         * conform/data/fcntl.h-data: Likewise.
49547         * conform/data/float.h-data: Likewise.
49548         * conform/data/fmtmsg.h-data: Likewise.
49549         * conform/data/fnmatch.h-data: Likewise.
49550         * conform/data/ftw.h-data: Likewise.
49551         * conform/data/glob.h-data: Likewise.
49552         * conform/data/grp.h-data: Likewise.
49553         * conform/data/iconv.h-data: Likewise.
49554         * conform/data/inttypes.h-data: Likewise.
49555         * conform/data/langinfo.h-data: Likewise.
49556         * conform/data/libgen.h-data: Likewise.
49557         * conform/data/limits.h-data: Likewise.
49558         * conform/data/locale.h-data: Likewise.
49559         * conform/data/math.h-data: Likewise.
49560         * conform/data/monetary.h-data: Likewise.
49561         * conform/data/mqueue.h-data: Likewise.
49562         * conform/data/ndbm.h-data: Likewise.
49563         * conform/data/net/if.h-data: Likewise.
49564         * conform/data/netdb.h-data: Likewise.
49565         * conform/data/netinet/in.h-data: Likewise.
49566         * conform/data/nl_types.h-data: Likewise.
49567         * conform/data/poll.h-data: Likewise.
49568         * conform/data/pthread.h-data: Likewise.
49569         * conform/data/pwd.h-data: Likewise.
49570         * conform/data/regex.h-data: Likewise.
49571         * conform/data/sched.h-data: Likewise.
49572         * conform/data/search.h-data: Likewise.
49573         * conform/data/semaphore.h-data: Likewise.
49574         * conform/data/setjmp.h-data: Likewise.
49575         * conform/data/signal.h-data: Likewise.
49576         * conform/data/spawn.h-data: Likewise.
49577         * conform/data/stdarg.h-data: Likewise.
49578         * conform/data/stdio.h-data: Likewise.
49579         * conform/data/stdlib.h-data: Likewise.
49580         * conform/data/string.h-data: Likewise.
49581         * conform/data/strings.h-data: Likewise.
49582         * conform/data/stropts.h-data: Likewise.
49583         * conform/data/sys/ipc.h-data: Likewise.
49584         * conform/data/sys/mman.h-data: Likewise.
49585         * conform/data/sys/msg.h-data: Likewise.
49586         * conform/data/sys/resource.h-data: Likewise.
49587         * conform/data/sys/select.h-data: Likewise.
49588         * conform/data/sys/sem.h-data: Likewise.
49589         * conform/data/sys/shm.h-data: Likewise.
49590         * conform/data/sys/socket.h-data: Likewise.
49591         * conform/data/sys/stat.h-data: Likewise.
49592         * conform/data/sys/statvfs.h-data: Likewise.
49593         * conform/data/sys/time.h-data: Likewise.
49594         * conform/data/sys/timeb.h-data: Likewise.
49595         * conform/data/sys/times.h-data: Likewise.
49596         * conform/data/sys/types.h-data: Likewise.
49597         * conform/data/sys/uio.h-data: Likewise.
49598         * conform/data/sys/un.h-data: Likewise.
49599         * conform/data/sys/utsname.h-data: Likewise.
49600         * conform/data/sys/wait.h-data: Likewise.
49601         * conform/data/syslog.h-data: Likewise.
49602         * conform/data/tar.h-data: Likewise.
49603         * conform/data/termios.h-data: Likewise.
49604         * conform/data/utime.h-data: Likewise.
49605         * conform/data/utmpx.h-data: Likewise.
49606         * conform/data/varargs.h-data: Likewise.
49607         * conform/data/wchar.h-data: Likewise.
49608         * conform/data/wctype.h-data: Likewise.
49609         * conform/data/wordexp.h-data: Likewise.
49611         * include/stropts.h: New file.
49612         * include/uchar.h: New file.
49613         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49614         * include/assert.h: Likewise.
49615         * include/ctype.h: Likewise.
49616         * include/dirent.h: Likewise.
49617         * include/dlfcn.h: Likewise.
49618         * include/fcntl.h: Likewise.
49619         * include/fnmatch.h: Likewise.
49620         * include/glob.h: Likewise.
49621         * include/grp.h: Likewise.
49622         * include/libio.h: Likewise.
49623         * include/locale.h: Likewise.
49624         * include/math.h: Likewise.
49625         * include/net/if.h: Likewise.
49626         * include/netdb.h: Likewise.
49627         * include/netinet/in.h: Likewise.
49628         * include/pthread.h: Likewise.
49629         * include/pwd.h: Likewise.
49630         * include/regex.h: Likewise.
49631         * include/sched.h: Likewise.
49632         * include/search.h: Likewise.
49633         * include/setjmp.h: Likewise.
49634         * include/signal.h: Likewise.
49635         * include/stdio.h: Likewise.
49636         * include/stdlib.h: Likewise.
49637         * include/string.h: Likewise.
49638         * include/sys/cdefs.h: Likewise.
49639         * include/sys/mman.h: Likewise.
49640         * include/sys/msg.h: Likewise.
49641         * include/sys/resource.h: Likewise.
49642         * include/sys/select.h: Likewise.
49643         * include/sys/socket.h: Likewise.
49644         * include/sys/stat.h: Likewise.
49645         * include/sys/statvfs.h: Likewise.
49646         * include/sys/time.h: Likewise.
49647         * include/sys/times.h: Likewise.
49648         * include/sys/uio.h: Likewise.
49649         * include/sys/utsname.h: Likewise.
49650         * include/sys/wait.h: Likewise.
49651         * include/termios.h: Likewise.
49652         * include/time.h: Likewise.
49653         * include/ulimit.h: Likewise.
49654         * include/unistd.h: Likewise.
49655         * include/utime.h: Likewise.
49656         * include/wchar.h: Likewise.
49657         * include/wctype.h: Likewise.
49658         * include/wordexp.h: Likewise.
49660         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49662         * time/time.h: TIME_UTC must be a macro.
49663         Make timespec_get available for ISO C11 only as well.
49665 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49667         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49668         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49670 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49672         * configure.in: Use -o not -a in test for unsupported multi-arch.
49674 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49676         * manual/texinfo.tex: Update to version 2012-01-19.16.
49678 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49680         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49682 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49684         [BZ #13738]
49685         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49686         * manual/fdl-1.3.texi: New file.
49687         * manual/fdl-1.1.texi: File removed.
49689         [BZ #13738]
49690         * manual/libc.texinfo (FDL_VERSION): New @set.
49691         Use it for mention of FDL in cover text.
49692         (Documentation License): Use it in @include file name.
49694 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49695             Roland McGrath  <roland@hack.frob.com>
49697         [BZ #5461]
49698         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49699         (not LONG_LONG_MAX and LONG_LONG_MIN.
49700         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49701         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49702         name.
49703         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49705 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49707         [BZ #2547]
49708         [BZ #11365]
49709         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49710         manipulate bits before adding and subtracting TWO23[sx].
49711         * math/libm-test.inc (nearbyint_test): Add more tests.
49713 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49715         [BZ #2548]
49716         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49717         bits before adding and subtracting TWO23[sx].
49718         * math/libm-test.inc (rint_test): Add more tests.
49719         (rint_test_tonearest): Likewise.
49720         (rint_test_towardzero): Likewise.
49721         (rint_test_downward): Likewise.
49722         (rint_test_upward: Likewise.
49724 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49726         [BZ #10110]
49727         * include/stdc-predef.h: New file.  Extracted from features.h.
49728         * include/features.h: Include stdc-predef.h.
49729         * Makefile (headers): Add stdc-predef.h.
49730         * CONFORMANCE (Compiler limitations): Update.
49732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49734         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49736 2012-02-21  David S. Miller  <davem@davemloft.net>
49738         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49739         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49741 2012-02-20  David S. Miller  <davem@davemloft.net>
49743         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49744         using a normal save/restore sequence, rather than allocating a
49745         dummy stack frame just to store a frame pointer and restore.
49746         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49750         * manual/install.texi: Fix stray word in line-wrapped comment.
49752 2012-02-20  David S. Miller  <davem@davemloft.net>
49754         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49755         both binutils and gcc support GOTDATA.
49757         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49758         "rd %pc" in the PIC register setup sequences.
49760         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49761         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49762         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49763         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49764         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49767         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49768         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49769         (SYSCALL_ERROR_HANDLER): Likewise.
49770         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49771         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49772         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49773         (SYSCALL_ERROR_HANDLER): Likewise.
49775         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49776         (HAVE_GCC_GOTDATA): New.
49777         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49778         relocation support in both binutils and gcc.
49779         * sysdeps/sparc/elf/configure: Regenerate.
49781         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49782         * sysdeps/sparc/sparc32/elf/configure: Delete.
49783         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49784         * sysdeps/sparc/sparc64/elf/configure: Delete.
49785         * sysdeps/sparc/elf/configure.in: New file.
49786         * sysdeps/sparc/elf/configure: Generate.
49788         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49789         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49790         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49791         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49792         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49794 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49796         * manual/install.texi: Do not mention specific glibc version
49797         numbers.
49798         * manual/libc.texinfo (VERSION, UPDATED): Update.
49799         (@copying): Use @copyright{} and range of years.
49801 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49803         [BZ #13695]
49804         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49805         [crti.S not in sysdirs] (generated): Do not append.
49806         [crti.S not in sysdirs] (omit-deps): Likewise.
49807         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49808         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49809         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49810         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49811         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49812         Likewise.
49813         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49814         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49815         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49816         * csu/defs.awk: Remove file.
49817         * sysdeps/generic/initfini.c: Likewise.
49818         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49819         variable.
49820         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49821         Likewise.
49823 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49825         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49826         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49827         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49828         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49829         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49830         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49831         <bits/epoll.h>.
49832         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49833         (__EPOLL_PACKED): Define to empty if not defined by
49834         <bits/epoll.h>.
49835         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49837         bits/epoll.h.
49839 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49841         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49842         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49843         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49844         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49845         <bits/timerfd.h>.
49846         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49848         bits/timerfd.h.
49850 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49852         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49853         in C locale.
49854         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49859 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49861         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49862         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49864 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49866         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49867         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49868         defined.
49869         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49870         Likewise.
49871         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49872         entry for 2.16.
49874 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49876         * math/w_acos.c: Use non-signaling floating-point comparisons.
49877         * math/w_acosf.c: Likewise.
49878         * math/w_acosh.c: Likewise.
49879         * math/w_acoshf.c: Likewise.
49880         * math/w_acoshl.c: Likewise.
49881         * math/w_acosl.c: Likewise.
49882         * math/w_asin.c: Likewise.
49883         * math/w_asinf.c: Likewise.
49884         * math/w_asinl.c: Likewise.
49885         * math/w_atanh.c: Likewise.
49886         * math/w_atanhf.c: Likewise.
49887         * math/w_atanhl.c: Likewise.
49888         * math/w_exp2.c: Likewise.
49889         * math/w_exp2f.c: Likewise.
49890         * math/w_exp2l.c: Likewise.
49891         * math/w_j0.c: Likewise.
49892         * math/w_j0f.c: Likewise.
49893         * math/w_j0l.c: Likewise.
49894         * math/w_j1.c: Likewise.
49895         * math/w_j1f.c: Likewise.
49896         * math/w_j1l.c: Likewise.
49897         * math/w_jn.c: Likewise.
49898         * math/w_jnf.c: Likewise.
49899         * math/w_log.c: Likewise.
49900         * math/w_log10.c: Likewise.
49901         * math/w_log10f.c: Likewise.
49902         * math/w_log10l.c: Likewise.
49903         * math/w_log2.c: Likewise.
49904         * math/w_log2f.c: Likewise.
49905         * math/w_log2l.c: Likewise.
49906         * math/w_logf.c: Likewise.
49907         * math/w_logl.c: Likewise.
49908         * math/w_sqrt.c: Likewise.
49909         * math/w_sqrtf.c: Likewise.
49910         * math/w_sqrtl.c: Likewise.
49911         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49912         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49913         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49914         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49915         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49917 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49919         [BZ #9739]
49920         * manual/string.texi (strnlen): Use correct parameter name in
49921         equivalent expression.
49923 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49925         [BZ #11174]
49926         * manual/users.texi (seteuid): Consistently use neweuid for
49927         argument name.
49929 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49931         [BZ #13704]
49932         * manual/nss.texi (Services in the NSS configuration): Correct
49933         list of services in example configuration file.
49935 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49937         [BZ #11322]
49938         * manual/arith.texi: Remove statements about negative zero
49939         behaving identically to zero.
49941 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49943         [BZ #5993]
49944         * manual/install.texi: Do not document upgrading from libc5.
49946 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49948         [BZ #4596]
49949         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49951 2012-02-18  David S. Miller  <davem@davemloft.net>
49953         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49954         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49955         %o7 across the call.
49956         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49957         instead.
49958         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49959         SETUP_PIC_REG_LEAF.
49960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49961         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49962         * sysdeps/sparc/crtn.S: Likewise.
49964 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49966         * aout/Makefile: Remove.
49968 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49970         [BZ #13058]
49971         * manual/examples/argp-ex1.c (main): Format definition in GNU
49972         style.
49973         * manual/examples/argp-ex2.c (main): Likewise.
49974         * manual/examples/argp-ex3.c (main): Likewise.
49975         * manual/examples/argp-ex4.c (main): Likewise.
49976         * manual/examples/longopt.c (main): Use new-style prototype
49977         definition.
49978         * manual/examples/strncat.c (main): Specify return type and use
49979         (void) for arguments.
49980         * manual/examples/subopt.c (main): Use char **argv argument.
49982 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49984         [BZ #5077]
49985         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49986         rounding modes.
49988 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49990         [BZ #6907]
49991         * manual/string.texi (strchr): Change when strchrnul is
49992         recommended.
49994 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49996         [BZ #174]
49997         * manual/locale.texi (setlocale): Document LOCPATH.
49999 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50001         [BZ #10210]
50002         * manual/process.texi (execle): Move @dots{} before last argument.
50004 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
50006         [BZ #12047]
50007         * manual/charset.texi (Generic Charset Conversion): Fix typo
50008         (LC_TYPE -> LC_CTYPE).
50010 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
50012         [BZ #5805]
50013         * manual/arith.texi (scalbn): Use @var{} on parameter names.
50014         (scalbnf): Likewise.
50015         (scalbnl): Likewise.
50016         (scalbln): Likewise.
50017         (scalblnf): Likewise.
50018         (scalblnl): Likewise.
50019         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50020         (vwarnx): Likewise.
50021         (verr): Likewise.
50022         (verrx): Likewise.
50023         * manual/filesys.texi (telldir): Use braces around return type.
50024         * manual/llio.texi (mmap): Add space after comma.
50025         (mmap64): Likewise.
50026         * manual/math.texi (jn): Use @var{} on parameter names.
50027         (jnf): Likewise.
50028         (jnl): Likewise.
50029         (yn): Likewise.
50030         (ynf): Likewise.
50031         (ynl): Likewise.
50032         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50033         line.
50034         * manual/resource.texi (ulimit): Use @dots{} instead of literal
50035         "...".
50036         (sched_get_priority_min): Remove semicolon on @deftypefun line.
50037         (sched_get_priority_max): Likewise.
50038         * manual/signal.texi (sigvec): Add space after comma.
50039         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50040         names.
50041         (if_indextoname): Likewise.
50042         (if_freenameindex): Likewise.
50043         (sendto): Use ',' instead of '.' in prototype.
50044         * manual/startup.texi (syscall): Use @dots{} instead of literal
50045         "...".
50046         * manual/stdio.texi (__fpending): Separate initial words of
50047         paragraph from @deftypefun line.
50048         * manual/syslog.texi (syslog): Use @dots{} instead of literal
50049         "...".
50050         (vsyslog): Use @var{} on parameter names.
50051         * manual/terminal.texi (stty): Use @var{} on parameter names.
50052         * manual/users.texi (getutmp): Use @var{} on parameter names.
50053         (getutmpx): Likewise.
50055 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50057         [BZ #6884]
50058         * manual/stdio.texi (fopen): Fix typos in description of
50059         ",ccs=STRING".
50061 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
50063         [BZ #4026]
50064         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50065         get clock_id definition.
50067 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
50069         [BZ #4822]
50070         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50071         (madvise): Cast every argument to void on its own.
50073 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50075         [BZ #9902]
50076         * manual/startup.texi (Exit Status): Fix typo.
50078 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
50080         [BZ #10140]
50081         * manual/examples/argp-ex1.c: Include <stdlib.h>.
50082         * manual/examples/argp-ex2.c: Likewise.
50083         * manual/examples/argp-ex3.c: Likewise.
50085 2012-02-16  Richard Henderson  <rth@redhat.com>
50087         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50088         * sysdeps/s390/s390-32/initfini.c: Remove.
50089         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50090         * sysdeps/s390/s390-64/initfini.c: Remove.
50092 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50094         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50095         compiler output for sysdeps/generic/initfini.c.
50096         * sysdeps/sh/elf/initfini.c: Remove file.
50098 2012-02-16  David S. Miller  <davem@davemloft.net>
50100         [BZ #11494]
50101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50103         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50104         * sysdeps/sparc/crti.S: New file.
50105         * sysdeps/sparc/crtn.S: New file.
50106         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50107         * sysdeps/sparc/sparc64/Makefile: Likewise.
50109 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
50111         [BZ #3335]
50112         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50114 2012-02-15  Roland McGrath  <roland@hack.frob.com>
50116         [BZ #4822]
50117         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50119         * mach/devstream.c (cookie_io_functions_t): Macro removed.
50120         (write, read, close): Likewise.
50121         Patch by Aurelien Jarno <aurelien@aurel32.net>.
50123 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
50125         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50126         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50127         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50128         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50129         <bits/signalfd.h>.
50130         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50131         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50132         bits/signalfd.h.
50134 2012-02-14  Marek Polacek  <polacek@redhat.com>
50136         * sysdeps/x86_64/crti.S: New file.
50137         * sysdeps/x86_64/crtn.S: New file.
50138         * sysdeps/x86_64/elf/initfini.c: Remove file.
50140 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50142         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50143         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50144         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50145         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50146         <bits/inotify.h>.
50147         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50148         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50149         bits/inotify.h.
50151 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50153         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50154         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50155         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50156         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50157         <bits/eventfd.h>.
50158         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50159         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50160         bits/eventfd.h.
50162 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50164         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50165         __feraiseexcept instead of feraiseexcept.
50167         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50168         nanosleep invocations.
50169         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50170         strings, and add error checking for a nanosleep invocations.
50172 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50174         Replace FSF snail mail address with URLs, as per GNU coding standards.
50175         Most of the snail mail addresses were wrong anyway, and omitting
50176         them makes the source code easier to maintain.  Almost all of the
50177         changes are to license notices and to locale LC_IDENTIFICATION
50178         addresses, except for this one:
50179         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50180         not its snail mail address.
50182 2012-02-09  Richard Henderson  <rth@twiddle.net>
50184         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50185         of kernel-features.h.
50187         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50189 2012-02-08  Marek Polacek  <polacek@redhat.com>
50191         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50192         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50193         * sysdeps/gnu/_G_config.h: Likewise.
50194         * sysdeps/generic/_G_config.h: Likewise.
50196 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50198         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50199         tests.
50200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50202         * sysdeps/powerpc/powerpc32/crti.S: New file.
50203         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50204         * sysdeps/powerpc/powerpc64/crti.S: New file.
50205         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50207         * Makeconfig (have-initfini): Don't set.
50208         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50209         * configure.in (nopic_initfini): Don't substitute.
50210         * config.h.in (HAVE_INITFINI): Don't #undef.
50211         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50212         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50214 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50216         Support crti.S and crtn.S provided directly by architectures.
50217         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50218         [crti.S in sysdirs] (omit-deps): Likewise.
50219         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50220         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50221         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50222         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50223         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50224         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50225         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50226         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50227         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50228         compiler output for sysdeps/generic/initfini.c.
50229         * sysdeps/i386/elf/Makefile: Remove file.
50230         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50232 2012-02-07  Marek Polacek  <polacek@redhat.com>
50234         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50235         * sysdeps/gnu/_G_config.h: Likewise.
50236         * sysdeps/mach/hurd/_G_config.h: Likewise.
50238 2012-02-07  Marek Polacek  <polacek@redhat.com>
50240         * math/Makefile (tests): Add tst-CMPLX2.
50241         * math/tst-CMPLX2.c: New file.
50243 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50245         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50247         * math/libm-test.inc (jn_test): Add missing L suffix.
50249 2012-02-06  Marek Polacek  <polacek@redhat.com>
50251         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50252         * sysdeps/i386/fpu/e_powf.S: Likewise.
50253         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50254         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50255         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50256         * sysdeps/i386/fpu/e_pow.S: Likewise.
50257         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50258         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50259         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50260         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50261         * sysdeps/i386/fpu/e_log2.S: Likewise.
50262         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50263         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50264         * sysdeps/i386/fpu/e_powl.S: Likewise.
50265         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50266         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50267         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50268         * sysdeps/i386/fpu/e_logl.S: Likewise.
50269         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50270         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50271         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50272         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50273         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50274         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50275         * sysdeps/i386/fpu/e_log.S: Likewise.
50276         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50277         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50278         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50279         * sysdeps/i386/fpu/e_logf.S: Likewise.
50280         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50281         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50282         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50283         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50284         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50285         * sysdeps/i386/fpu/e_log10.S: Likewise.
50286         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50287         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50288         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50289         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50290         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50291         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50292         * sysdeps/i386/asm-syntax.h: Likewise.
50293         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50294         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50295         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50296         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50297         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50298         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50299         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50300         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50301         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50302         * sysdeps/powerpc/sysdep.h: Likewise.
50303         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50304         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50306 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50308         [BZ #411]
50309         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50311 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50313         * sysdeps/i386/sysdep.h: Include <features.h>.
50314         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50315         version.
50317 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50319         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50320         Define.
50321         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50322         LOAD_PIC_REG_STR.
50324 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50326         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50327         (SETUP_PIC_REG): Use GET_PC_THUNK.
50328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50329         macro.
50331 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50333         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50334         for non-PIC compilation.
50335         (SETUP_PIC_REG): Add .p2align directive.
50336         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50337         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50338         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50339         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50340         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50341         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50342         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50343         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50344         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50345         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50346         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50347         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50348         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50349         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50350         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50351         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50352         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50353         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50354         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50355         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50356         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50357         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50358         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50359         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50361         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50362         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50363         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50364         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50365         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50366         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50367         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50368         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50369         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50370         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50371         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50372         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50373         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50374         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50375         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50376         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50378 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50380         * math/tst-CMPLX.c: Include <stdio.h>.
50382 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50384         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50385         float.
50386         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50387         * sysdeps/sparc/bits/mathdef.h: Likewise.
50389 2012-01-31  Marek Polacek  <polacek@redhat.com>
50391         * libio/libio.h: Don't define _PARAMS.
50392         * locale/programs/config.h: Don't define PARAMS.
50393         * stdlib/strtol_l.c: Likewise.
50394         (__strtol_l): Remove PARAMS from the prototype.
50396 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50398         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50399         names.  Just use the correct names.  Remove unnecessary wrapper
50400         functions.
50401         * malloc/arena.c: Likewise.
50402         * malloc/hooks.c: Likewise.
50404         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50405         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50406         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50408 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50410         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50411         into tail calls.
50412         (update_get_addr): New function.
50413         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50414         GET_ADDR_MODULE parameter.
50416 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50418         * crypt/cert.c: Remove __STDC__ conditionals.
50419         * crypt/crypt-entry.c: Likewise.
50420         * crypt/crypt_util.c: Likewise.
50421         * libio/filedoalloc.c: Likewise.
50422         * libio/fileops.c: Likewise.
50423         * libio/genops.c: Likewise.
50424         * libio/iofclose.c: Likewise.
50425         * libio/iofdopen.c: Likewise.
50426         * libio/iofopen.c: Likewise.
50427         * libio/iofopen64.c: Likewise.
50428         * libio/iogetdelim.c: Likewise.
50429         * libio/iopopen.c: Likewise.
50430         * libio/obprintf.c: Likewise.
50431         * libio/oldfileops.c: Likewise.
50432         * libio/oldiofclose.c: Likewise.
50433         * libio/oldiofdopen.c: Likewise.
50434         * libio/oldiofopen.c: Likewise.
50435         * libio/oldiopopen.c: Likewise.
50436         * libio/wfiledoalloc.c: Likewise.
50437         * libio/wgenops.c: Likewise.
50438         * locale/programs/xmalloc.c: Likewise.
50439         * misc/syslog.c: Likewise.
50440         * stdio-common/xbug.c: Likewise.
50441         * string/memchr.c: Likewise.
50442         * string/memcmp.c: Likewise.
50443         * string/memrchr.c: Likewise.
50444         * string/rawmemchr.c: Likewise.
50445         * sysdeps/posix/getcwd.c: Likewise.
50446         * time/strftime_l.c: Likewise.
50448 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50450         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50451         * config.make.in (config-cflags-sse2avx): Define.
50452         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50453         Fix typo.
50455 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50457         * scripts/config.guess: Update from upstream config git repository.
50458         * scripts/config.sub: Likewise.
50460 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50462         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50463         (EM_NUM): Update.
50464         (R_TILEPRO_*, R_TILEGX_*): New macros.
50466         * scripts/firstversions.awk: Fix bug in version range handling.
50468         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50470         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50472         * include/sys/epoll.h: New file.
50473         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50474         libc_hidden_def.
50476 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50478         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50479         Avoid unnecessary __WORDSIZE == 64 test.
50480         (fmaxf): Use VEX format if possible.
50481         (fmax): Likewise.
50482         (fminf): Likewise.
50483         (fmin): Likewise.
50485         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50486         * math/math_private.h: Remove libc_fegetround* and
50487         libc_fesetround*.
50488         * sysdeps/i386/configure.in: Check for -msse2avx.
50489         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50490         also if SSE2AVX is defined.
50491         Remove libc_fegetround* and libc_fesetround*.
50492         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50493         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50495         of HAS_YMM_USABLE.
50496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50497         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50498         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50499         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50500         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50502         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50504 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50506         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50507         size is not set.
50508         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50510 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50512         [BZ #13618]
50513         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50514         relocation.
50515         * Makeconfig (libm): Define.
50516         * elf/Makefile: Add rules to build and run tst-relsort1.
50517         * elf/tst-relsort1.c: New file.
50518         * elf/tst-relsort1mod1.c: New file.
50519         * elf/tst-relsort1mod2.c: New file.
50521 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50523         * math/s_ldexp.c: Remove __STDC__ conditionals.
50524         * math/s_ldexpf.c: Likewise.
50525         * math/s_ldexpl.c: Likewise.
50526         * math/s_nextafter.c: Likewise.
50527         * math/s_nexttowardf.c: Likewise.
50528         * math/s_significand.c: Likewise.
50529         * math/s_significandf.c: Likewise.
50530         * math/s_significandl.c: Likewise.
50531         * math/w_jnl.c: Likewise.
50532         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50533         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50534         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50535         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50536         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50537         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50538         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50539         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50540         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50541         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50542         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50543         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50544         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50545         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50546         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50548         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50549         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50550         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50551         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50552         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50553         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50554         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50555         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50556         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50557         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50558         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50559         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50560         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50561         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50562         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50563         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50564         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50565         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50566         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50567         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50568         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50569         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50570         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50571         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50572         * sysdeps/ieee754/k_standard.c: Likewise.
50573         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50574         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50575         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50576         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50577         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50578         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50580         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50581         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50582         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50583         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50584         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50585         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50586         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50587         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50588         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50589         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50590         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50591         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50592         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50593         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50594         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50595         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50596         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50597         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50598         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50599         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50600         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50601         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50602         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50603         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50604         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50605         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50606         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50607         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50608         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50609         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50610         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50611         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50612         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50613         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50614         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50615         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50616         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50617         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50618         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50619         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50620         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50621         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50622         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50623         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50624         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50625         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50626         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50627         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50628         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50629         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50630         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50631         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50632         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50633         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50634         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50635         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50636         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50637         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50638         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50639         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50640         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50641         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50642         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50643         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50644         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50645         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50646         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50647         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50648         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50649         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50650         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50651         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50652         * sysdeps/ieee754/s_matherr.c: Likewise.
50653         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50654         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50658 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50660         * crypt/md5.h: Remove __STDC__ conditionals.
50661         * libio/libioP.h: Likewise.
50662         * locale/programs/config.h: Likewise.
50663         * sysdeps/generic/sysdep.h: Likewise.
50664         * sysdeps/i386/asm-syntax.h: Likewise.
50665         * sysdeps/s390/asm-syntax.h: Likewise.
50666         * sysdeps/unix/sysdep.h: Likewise.
50667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50670 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50672         * libio/libio.h: Remove __STDC__ conditionals.
50673         * malloc/obstack.h: Likewise.
50674         * math/complex.h: Likewise.
50675         * math/math.h: Likewise.
50676         * sysdeps/generic/_G_config.h: Likewise.
50677         * sysdeps/gnu/_G_config.h: Likewise.
50678         * sysdeps/mach/hurd/_G_config.h: Likewise.
50679         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50680         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50681         * sysdeps/sparc/bits/mathdef.h: Likewise.
50683 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50685         [BZ #13583]
50686         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50687         Clean up HAS_* macros.
50688         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50689         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50690         possible.
50691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50692         HAS_AVX.
50693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50694         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50695         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50696         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50697         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50699 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50701         * elf/tst-unique3.cc (gets): Remove declaration.
50702         * elf/tst-unique3lib.cc (gets): Likewise.
50703         * elf/tst-unique3lib2.cc (gets): Likewise.
50704         * elf/tst-unique4.cc (gets): Likewise.
50706 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50708         * include/stdio.h: Add C++ protection.  Add gets declarations and
50709         definitions.
50710         * debug/tst-chk1.c: Don't declare gets here.
50711         * stdio-common/tst-gets.c: Likewise.
50713 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50715         * posix/glob: Remove directory.
50717 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50719         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50721 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50723         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50724         of the non-standard EPFNOSUPPORT.
50726 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50728         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50729         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50730         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50732 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50734         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50736 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50738         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50739         transient errors.
50740         * nscd/grpcache.c (cache_addgr): Likewise.
50741         * nscd/hstcache.c (cache_addhst): Likewise.
50742         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50743         * nscd/pwdcache.c (cache_addpw): Likewise.
50744         * nscd/servicescache.c (cache_addserv): Likewise.
50746 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50748         * malloc/malloc.c: Various cleanups.
50749         * malloc/hooks.c: Likewise.
50751         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50752         * stdlib/bug-fmtmsg1.c: New file.
50754         * stdlib/fmtmsg.c (init): Add missing unlock.
50755         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50757 2012-01-12  Marek Polacek  <polacek@redhat.com>
50759         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50760         and _GNU_SOURCE.
50762 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50764         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50765         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50766         macro to ensure uniqueness of label name.
50767         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50768         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50770 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50772         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50774         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50775         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50776         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50777         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50779 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50781         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50783         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50784         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50785         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50787         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50789         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50790         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50791         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50792         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50794         * math/bits/math-finite.h: Add ldexp support.
50796 2012-01-10  Marek Polacek  <polacek@redhat.com>
50798         * locale/programs/localedef.h (show_archive_content): Add noreturn
50799         attribute.
50801 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50803         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50805 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50807         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50809         * io/Makefile (headers): Add bits/poll2.h.
50811 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50814         typo #include statement.
50816 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50818         * include/sys/cdefs.h: Define __attribute_alloc_size.
50819         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50820         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50821         * elf/pldd.c: Likewise.
50822         * iconv/iconv_charmap.c: Likewise.
50823         * iconv/iconvconfig.c: Likewise.
50824         * iconv/strtab.c: Likewise.
50825         * locale/programs/locale.c: Likewise.
50826         * locale/programs/localedef.h: Likewise.
50827         * locale/programs/simple-hash.c: Likewise.
50828         * nscd/nscd.h: Likewise.
50829         * nss/makedb.c: Likewise.
50830         * sysdeps/generic/ldconfig.h: Likewise.
50831         * locale/programs/localedef.c: Remove xmalloc prototype.
50832         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50834 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50836         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50837         appropriate.
50839 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50841         * math/Makefile (tests): Add tst-CMPLX.
50842         * math/tst-CMPLX.c: New file.
50844         * math/complex.h (CMPLXL): Fix typo.
50846         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50847         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50848         GLIBC_2.16.
50849         * debug/tst-chk1.c: Add poll and ppoll tests.
50850         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50851         * include/sys/poll.h: Add hidden proto for ppoll.
50852         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50853         * sysdeps/mach/hurd/ppoll.c: Likewise.
50854         * io/ppoll.c: Likewise.
50855         * debug/poll_chk.c: New file.
50856         * debug/ppoll_chk.c: New file.
50857         * include/bits/poll2.h: New file.
50858         * io/bits/poll2.h: New file.
50860         [BZ #1350]
50861         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50863         * configure.in: static is always set to yes.  Remove.
50864         * config.make.in: Don't set build-static.
50865         * Makeconfig: Remove use of build-static.
50866         * dlfcn/Makefile: Likewise.
50867         * elf/Makefile: Likewise.
50868         * math/Makefile: Likewise.
50869         * misc/Makefile: Likewise.
50870         * nptl/Makefile: Likewise.
50871         * sysdeps/mach/hurd/Makefile: Likewise.
50873         * configure.in: PWD_P is not used anymore.
50874         * config.make.in: Remove PWD_P entry.
50876         * configure.in: Remove last remnants of RANLIB.
50877         No need to check for signed size_t anymore.
50878         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50879         and IA-64.
50880         Remove __builtin_expect test because we require at least gcc 3.4.
50881         * aclocal.m4: Likewise.
50883         * wcsmbs/mbrtoc16.c: Implement using towc function.
50884         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50885         * wcsmbs/wcsmbsload.c: Likewise.
50886         * iconv/gconv_simple.c: Likewise.
50887         * iconv/gconv_int.h: Likewise.
50888         * iconv/gconv_builtin.h: Likewise.
50889         * iconv/iconv_prog.c: Remove CHAR16 handling.
50891         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50893         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50895         * configure.in: Remove --with-elf and --enable-bounded options.
50896         Dont set base_machine for ia64.  More non-ELF conditions removed.
50897         Remove testing and setting of leading underscore information.
50898         * config.make.in (build-bounded): Set to no.
50899         * config.h.in: Remove NO_UNDERSCORES entry.
50900         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50901         them.
50902         * csu/start.c: Remove !NO_UNDERSCORE code.
50903         * locale/localeinfo.h: Likewise.
50904         * sysdeps/generic/machine-gmon.h: Likewise.
50905         * sysdeps/generic/sysdep.h: Likewise.
50906         * sysdeps/i386/sysdep.h: Likewise.
50907         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50908         * sysdeps/mach/sysdep.h: Likewise.
50909         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50910         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50911         * sysdeps/sh/sysdep.h: Likewise.
50912         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50913         * sysdeps/unix/i386/sysdep.S: Likewise.
50914         * sysdeps/unix/sparc/start.c: Likewise.
50915         * sysdeps/unix/sparc/sysdep.S: Likewise.
50916         * sysdeps/unix/sparc/sysdep.h: Likewise.
50917         * sysdeps/unix/start.c: Likewise.
50918         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50919         * sysdeps/x86_64/sysdep.h: Likewise.
50921 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50923         [BZ #13553]
50924         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50925         for non-gcc.
50926         * argp/argp-fmtstream.h: Use const instead __const.
50927         * argp/argp.h: Likewise.
50928         * assert/assert.h: Likewise.
50929         * bits/fenv.h: Likewise.
50930         * bits/sched.h: Likewise.
50931         * bits/sigset.h: Likewise.
50932         * bits/sigthread.h: Likewise.
50933         * catgets/nl_types.h: Likewise.
50934         * conform/data/pthread.h-data: Likewise.
50935         * crypt/crypt-private.h: Likewise.
50936         * crypt/crypt.h: Likewise.
50937         * crypt/crypt_util.c: Likewise.
50938         * ctype/ctype.h: Likewise.
50939         * debug/execinfo.h: Likewise.
50940         * debug/mbsnrtowcs_chk.c: Likewise.
50941         * debug/mbsrtowcs_chk.c: Likewise.
50942         * debug/wcsnrtombs_chk.c: Likewise.
50943         * debug/wcsrtombs_chk.c: Likewise.
50944         * debug/wcstombs_chk.c: Likewise.
50945         * dirent/dirent.h: Likewise.
50946         * dlfcn/dlfcn.h: Likewise.
50947         * elf/neededtest4.c: Likewise.
50948         * grp/grp.h: Likewise.
50949         * gshadow/gshadow.h: Likewise.
50950         * iconv/gconv.h: Likewise.
50951         * iconv/gconv_int.h: Likewise.
50952         * iconv/gconv_simple.c: Likewise.
50953         * iconv/iconv.h: Likewise.
50954         * iconv/loop.c: Likewise.
50955         * iconv/skeleton.c: Likewise.
50956         * include/aio.h: Likewise.
50957         * include/aliases.h: Likewise.
50958         * include/argz.h: Likewise.
50959         * include/arpa/inet.h: Likewise.
50960         * include/assert.h: Likewise.
50961         * include/dirent.h: Likewise.
50962         * include/dlfcn.h: Likewise.
50963         * include/execinfo.h: Likewise.
50964         * include/fcntl.h: Likewise.
50965         * include/fenv.h: Likewise.
50966         * include/glob.h: Likewise.
50967         * include/grp.h: Likewise.
50968         * include/libintl.h: Likewise.
50969         * include/mntent.h: Likewise.
50970         * include/netdb.h: Likewise.
50971         * include/pwd.h: Likewise.
50972         * include/rpc/netdb.h: Likewise.
50973         * include/sched.h: Likewise.
50974         * include/search.h: Likewise.
50975         * include/shadow.h: Likewise.
50976         * include/signal.h: Likewise.
50977         * include/stdio.h: Likewise.
50978         * include/stdlib.h: Likewise.
50979         * include/string.h: Likewise.
50980         * include/sys/socket.h: Likewise.
50981         * include/sys/stat.h: Likewise.
50982         * include/sys/statfs.h: Likewise.
50983         * include/sys/statvfs.h: Likewise.
50984         * include/sys/syslog.h: Likewise.
50985         * include/sys/time.h: Likewise.
50986         * include/sys/uio.h: Likewise.
50987         * include/time.h: Likewise.
50988         * include/unistd.h: Likewise.
50989         * include/utmp.h: Likewise.
50990         * include/wchar.h: Likewise.
50991         * include/wctype.h: Likewise.
50992         * inet/aliases.h: Likewise.
50993         * inet/arpa/inet.h: Likewise.
50994         * inet/netinet/ether.h: Likewise.
50995         * inet/netinet/in.h: Likewise.
50996         * intl/libintl.h: Likewise.
50997         * io/bits/fcntl2.h: Likewise.
50998         * io/fcntl.h: Likewise.
50999         * io/ftw.h: Likewise.
51000         * io/sys/poll.h: Likewise.
51001         * io/sys/stat.h: Likewise.
51002         * io/sys/statfs.h: Likewise.
51003         * io/sys/statvfs.h: Likewise.
51004         * io/utime.h: Likewise.
51005         * libio/bits/stdio.h: Likewise.
51006         * libio/bits/stdio2.h: Likewise.
51007         * libio/libio.h: Likewise.
51008         * libio/libioP.h: Likewise.
51009         * libio/stdio.h: Likewise.
51010         * locale/lc-ctype.c: Likewise.
51011         * locale/locale.h: Likewise.
51012         * login/utmp.h: Likewise.
51013         * malloc/arena.c: Likewise.
51014         * malloc/malloc.c: Likewise.
51015         * malloc/malloc.h: Likewise.
51016         * malloc/mcheck.c: Likewise.
51017         * malloc/mtrace.c: Likewise.
51018         * math/bits/mathcalls.h: Likewise.
51019         * math/fenv.h: Likewise.
51020         * math/math_private.h: Likewise.
51021         * misc/bits/error.h: Likewise.
51022         * misc/bits/syslog.h: Likewise.
51023         * misc/err.h: Likewise.
51024         * misc/error.h: Likewise.
51025         * misc/fstab.h: Likewise.
51026         * misc/mntent.h: Likewise.
51027         * misc/regexp.h: Likewise.
51028         * misc/search.h: Likewise.
51029         * misc/sgtty.h: Likewise.
51030         * misc/sys/mman.h: Likewise.
51031         * misc/sys/syslog.h: Likewise.
51032         * misc/sys/uio.h: Likewise.
51033         * misc/sys/xattr.h: Likewise.
51034         * misc/ttyent.h: Likewise.
51035         * nis/rpcsvc/ypclnt.h: Likewise.
51036         * nss/nss.h: Likewise.
51037         * posix/bits/unistd.h: Likewise.
51038         * posix/fnmatch.h: Likewise.
51039         * posix/glob.h: Likewise.
51040         * posix/sched.h: Likewise.
51041         * posix/spawn.h: Likewise.
51042         * posix/sys/wait.h: Likewise.
51043         * posix/unistd.h: Likewise.
51044         * posix/wordexp.h: Likewise.
51045         * pwd/pwd.h: Likewise.
51046         * resolv/netdb.h: Likewise.
51047         * resource/sys/resource.h: Likewise.
51048         * rt/aio.h: Likewise.
51049         * rt/bits/mqueue2.h: Likewise.
51050         * rt/mqueue.h: Likewise.
51051         * shadow/shadow.h: Likewise.
51052         * signal/signal.h: Likewise.
51053         * socket/send.c: Likewise.
51054         * socket/sendto.c: Likewise.
51055         * socket/sys/socket.h: Likewise.
51056         * stdio-common/printf.h: Likewise.
51057         * stdlib/bits/stdlib.h: Likewise.
51058         * stdlib/fmtmsg.h: Likewise.
51059         * stdlib/monetary.h: Likewise.
51060         * stdlib/stdlib.h: Likewise.
51061         * stdlib/ucontext.h: Likewise.
51062         * streams/stropts.h: Likewise.
51063         * string/argz.h: Likewise.
51064         * string/bits/string2.h: Likewise.
51065         * string/string.h: Likewise.
51066         * string/strings.h: Likewise.
51067         * sunrpc/rpc/auth.h: Likewise.
51068         * sunrpc/rpc/auth_des.h: Likewise.
51069         * sunrpc/rpc/clnt.h: Likewise.
51070         * sunrpc/rpc/netdb.h: Likewise.
51071         * sunrpc/rpc/pmap_clnt.h: Likewise.
51072         * sunrpc/rpc/xdr.h: Likewise.
51073         * sysdeps/generic/inttypes.h: Likewise.
51074         * sysdeps/generic/net/if.h: Likewise.
51075         * sysdeps/generic/sys/swap.h: Likewise.
51076         * sysdeps/gnu/net/if.h: Likewise.
51077         * sysdeps/gnu/utmpx.h: Likewise.
51078         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51079         * sysdeps/i386/i486/bits/string.h: Likewise.
51080         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51081         * sysdeps/s390/bits/string.h: Likewise.
51082         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51083         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51084         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51085         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51086         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51087         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51088         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51089         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51090         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51091         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51092         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51093         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51094         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51095         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51096         * sysdeps/unix/sysv/linux/readv.c: Likewise.
51097         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51098         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51099         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51100         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51101         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51102         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51103         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51104         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51105         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51106         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51107         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51108         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51109         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51110         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51112         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51113         * sysvipc/sys/ipc.h: Likewise.
51114         * sysvipc/sys/msg.h: Likewise.
51115         * sysvipc/sys/sem.h: Likewise.
51116         * sysvipc/sys/shm.h: Likewise.
51117         * termios/termios.h: Likewise.
51118         * time/sys/time.h: Likewise.
51119         * time/time.h: Likewise.
51120         * wcsmbs/bits/wchar2.h: Likewise.
51121         * wcsmbs/uchar.h: Likewise.
51122         * wcsmbs/wchar.h: Likewise.
51123         * wctype/wctype.h: Likewise.
51125         [BZ #13551]
51126         * Makeconfig: Remove all but ELF support including AIX support.
51127         * Makerules: Likewise.
51128         * config.h.in: Likewise.
51129         * config.make.in: Likewise.
51130         * configure: Likewise.
51131         * configure.in: Likewise.
51132         * csu/Makefile: Likewise.
51133         * csu/version.c: Likewise.
51134         * debug/Makefile: Likewise.
51135         * dlfcn/Makefile: Likewise.
51136         * elf/Makefile: Likewise.
51137         * extra-lib.mk: Likewise.
51138         * iconv/Makefile: Likewise.
51139         * include/libc-symbols.h: Likewise.
51140         * include/shlib-compat.h: Likewise.
51141         * resolv/Makefile: Likewise.
51142         * resolv/res_libc.c: Likewise.
51143         * rt/Makefile: Likewise.
51144         * sysdeps/i386/asm-syntax.h: Likewise.
51145         * sysdeps/i386/sysdep.h: Likewise.
51146         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51147         * sysdeps/mach/sysdep.h: Likewise.
51148         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51149         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51150         * sysdeps/s390/asm-syntax.h: Likewise.
51151         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51152         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51153         * sysdeps/sh/sysdep.h: Likewise.
51154         * sysdeps/unix/sparc/sysdep.h: Likewise.
51155         * sysdeps/wordsize-32/divdi3.c: Likewise.
51156         * sysdeps/x86_64/sysdep.h: Likewise.
51158         * argp/Versions: Remove _argp_unlock_xxx.
51160         [BZ #13559]
51161         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51162         * abilist/libBrokenLocale.abilist: Likewise.
51163         * abilist/libanl.abilist: Likewise.
51164         * abilist/libc.abilist: Likewise.
51165         * abilist/libcrypt.abilist: Likewise.
51166         * abilist/libdl.abilist: Likewise.
51167         * abilist/libm.abilist: Likewise.
51168         * abilist/libnsl.abilist: Likewise.
51169         * abilist/libpthread.abilist: Likewise.
51170         * abilist/libresolv.abilist: Likewise.
51171         * abilist/librt.abilist: Likewise.
51172         * abilist/libthread_db.abilist: Likewise.
51173         * abilist/libutil.abilist: Likewise.
51174         * abilist/libnss_db.abilist: New file.
51176         * scripts/abilist.awk: Add support for indirect functions.
51178         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51180         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51182         * shlib-versions: Remove entries for ports architectures.
51184         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51185         files in ports.
51186         * elf/stackguard-macros.h: Remove support for IA-64.
51187         * elf/tst-auditmod1.c: Likewise.
51188         * sysdeps/generic/ldsodefs.h: Likewise.
51190         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51191         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51192         configure files.
51194         [BZ #13552]
51195         * configure.in: Remove --enable-omitfp support.
51196         * FAQ.in: Adjust.
51197         * config.make.in: Likewise.
51198         * Makeconfig: Likewise.
51199         * manual/install.texi: Likewise.
51201         In case anyone cares, the IA-64 architecture could move to ports.
51202         * sysdeps/ia64/*: Removed.
51203         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51204         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51206         [BZ #13555]
51207         * configure.in: Remove entries for unsupported architectures.
51209         [BZ #13533]
51210         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51211         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51212         routines.
51213         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51214         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51215         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51216         fall back to using wcrtomb.
51217         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51218         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51219         renaming.
51220         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51221         * wcsmbs/tst-c16c32-1.c: New file.
51223         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51224         local variable.
51226         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51228         * elf/tst-unique3.cc: Add explicit declaration of gets.
51229         * elf/tst-unique3lib.cc: Likewise.
51230         * elf/tst-unique3lib2.cc: Likewise.
51231         * elf/tst-unique4.cc: Likewise.
51233         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51235 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51237         [BZ #13566]
51238         * assert/assert.h (static_assert): Don't define for C++.
51239         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51240         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51242 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51244         * iconv/loop.c (single loop): Fix assertion in storing of
51245         remaining bytes.
51247         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51249 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51251         * posix/getconf.c: Update copyright year.
51252         * nss/getent.c: Likewise.
51253         * nss/makedb.c: Likewise.
51254         * iconv/iconvconfig.c: Likewise.
51255         * iconv/iconv_prog.c: Likewise.
51256         * elf/ldconfig.c: Likewise.
51257         * elf/pldd.c: Likewise.
51258         * elf/sotruss.ksh: Likewise.
51259         * catgets/gencat.c: Likewise.
51260         * csu/version.c: Likewise.
51261         * elf/ldd.bash.in: Likewise.
51262         * elf/sprof.c (print_version): Likewise.
51263         * locale/programs/locale.c: Likewise.
51264         * locale/programs/localedef.c: Likewise.
51265         * login/programs/pt_chown.c: Likewise.
51266         * nscd/nscd.c (print_version): Likewise.
51267         * debug/xtrace.sh: Likewise.
51268         * malloc/memusage.sh: Likewise.
51269         * malloc/mtrace.pl: Likewise.
51270         * debug/catchsegv.sh: Likewise.
51272 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51274         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51275         pure attribute.
51277 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51279         [BZ #13533]
51280         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51281         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51282         transformations.
51283         * iconv/gconv_int.h: Likewise.
51284         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51285         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51286         from libc for GLIBC_2.16.
51287         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51288         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51289         * wcsmbs/uchar.h: Really define mbstate_t.
51290         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51291         * wcsmbs/c16rtomb.c: New file.
51292         * wcsmbs/mbrtoc16.c: New file.
51293         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51294         for C/POSIX locale.
51295         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51296         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51298         * wcsmbs/wchar.h: Add missing __restrict.
51300 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51302         [BZ #13532]
51303         * time/Makefile (routines): Add timespec_get.
51304         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51305         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51306         timespec for ISO C11.
51307         * time/timespec_get.c: New file.
51308         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51309         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51311         [BZ #13531]
51312         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51313         * stdlib/stdlib.h: Declare aligned_alloc.
51314         * Versions.def: Add GLIBC_2.16 for libc.
51315         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51317         [BZ 13527]
51318         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51319         ISO C11.
51321         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51322         code.
51324         [BZ #13528]
51325         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51327         [BZ #13529]
51328         * assert/assert.h (static_assert): Define.
51330         * version.h: Update for 2.16 development version.
51332         [BZ #13526]
51333         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51334         _ISOC11_SOURCE.
51336         * version.h (RELEASE): Bump for 2.15 release.
51337         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51339         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51340         Patch by Marek Polacek <mpolacek@redhat.com>.
51342         * bits/byteswap.h: Protect long long constants with __extension__.
51343         * sysdeps/i386/bits/byteswap.h: Likewise.
51344         * sysdeps/ia64/bits/byteswap.h: Likewise.
51345         * sysdeps/s390/bits/byteswap.h: Likewise.
51346         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51348 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51350         [BZ #13540]
51351         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51352         destination buffer.
51353         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51355 2011-12-23  Marek Polacek  <polacek@redhat.com>
51357         * elf/dl-addr.c (determine_info): Add inline keyword.
51358         * elf/tst-auditmod4b.c (check_avx): Likewise.
51359         * elf/tst-auditmod6b.c (check_avx): Likewise.
51360         * elf/tst-auditmod6c.c (check_avx): Likewise.
51361         * elf/tst-auditmod7b.c (check_avx): Likewise.
51363 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51365         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51366         !__SSE_MATH__.
51368 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51370         [BZ #13540]
51371         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51372         processing for last bytes.
51374 2011-08-06  Bruno Haible  <bruno@clisp.org>
51376         [BZ #13061]
51377         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51378         U+0385, not to U+1FEE.
51380         [BZ #13062]
51381         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51382         entry for U+00A5 U+0301.
51384 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51386         [BZ #13166]
51387         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51388         buffer for the output is too small.
51390         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51391         optimization.
51393         [BZ #13185]
51394         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51395         SSE flags if possible.
51397 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51399         [BZ #13540]
51400         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51401         processing for last bytes.
51403 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51405         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51406         (syscall-list-default-options, syscall-list-default-condition)
51407         (syscall-list-includes): Define.
51408         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51409         list of ABIs and options and #if conditions for each ABI.  Do not
51410         handle common syscalls between ABIs specially.
51411         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51412         Remove.
51413         (syscall-list-variants, syscall-list-32bit-options)
51414         (syscall-list-32bit-condition, syscall-list-64bit-options)
51415         (syscall-list-64bit-condition): Define.
51416         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51417         (syscall-list-variants, syscall-list-32bit-options)
51418         (syscall-list-32bit-condition, syscall-list-64bit-options)
51419         (syscall-list-64bit-condition): Define.
51420         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51421         Remove.
51422         (syscall-list-variants, syscall-list-32bit-options)
51423         (syscall-list-32bit-condition, syscall-list-64bit-options)
51424         (syscall-list-64bit-condition): Define.
51425         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51426         Remove.
51427         (syscall-list-variants, syscall-list-32bit-options)
51428         (syscall-list-32bit-condition, syscall-list-64bit-options)
51429         (syscall-list-64bit-condition): Define.
51431 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51433         * locale/iso-639.def: Add brx entry.
51435         [BZ #13328]
51436         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51437         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51439         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51440         __feraiseexcept_renamed.
51442 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51444         [BZ #13538]
51445         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51446         EPOLLET with unsigned values.
51447         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51448         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51450         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51451         to large cancellation.
51452         * math/s_cacoshf.c: Likewise.
51453         * math/s_cacoshl.c: Likewise.
51455 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51457         [BZ #13305]
51458         [BZ #12786]
51459         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51460         * math/s_cacoshf.c: Likewise.
51461         * math/s_cacoshl.c: Likewise.
51463 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51465         [BZ #13439]
51466         * iconv/gconv.h: Define __GCONV_SWAP.
51467         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51468         * iconvdata/utf-16.c: Likewise.
51469         * iconvdata/utf-32.c: Likewise.
51471 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51473         [BZ #13524]
51474         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51475         numerator after shifting it by one limb.
51477 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51479         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51480         under [__USE_EXTERN_INLINES].
51482 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51484         [BZ #13446]
51485         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51487 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51489         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51490         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51491         optimized code.
51492         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51493         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51494         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51495         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51496         for strncasecmp/strncasecmp_l compilation.
51497         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51498         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51500 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51502         [BZ #13484]
51503         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51504         of __asm__.
51506 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51508         [BZ #13506]
51509         * time/tzfile.c (__tzfile_read): Check values from file header.
51511 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51513         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51514         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51515         * powerpc/powerpc32/dl-start.S: Likewise.
51516         * powerpc/powerpc32/elf/start.S: Likewise.
51517         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51518         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51519         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51520         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51521         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51522         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51523         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51524         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51525         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51526         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51527         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51528         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51529         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51530         * powerpc/powerpc32/memset.S: Likewise.
51531         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51532         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51533         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51534         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51535         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51536         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51537         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51538         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51539         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51540         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51541         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51542         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51543         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51545 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51547         * math/libm-test.inc: Added more nearbyint tests.
51548         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51549         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51550         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51551         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51553 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51555         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51556         FD_CLOEXEC.
51558 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51560         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51561         Add wcscpy-ssse3 wcscpy-c.
51562         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51563         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51564         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51565         * sysdeps/x86_64/wcschr.S: New file.
51566         * sysdeps/x86_64/wcsrchr.S: New file.
51567         * string/test-strcmp.c: Remove checking of wcscmp function for
51568         wrong alignments.
51569         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51570         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51571         wcsrchr-sse2 wcsrchr-c.
51572         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51573         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51574         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51575         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51576         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51577         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51578         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51579         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51581         * wcsmbc/wcschr.c (WCSCHR): New macro.
51583 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51585         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51586         * wcsmbs/test-wcsrchr.c: New file.
51587         * string/test-strrchr.c: Add wcsrchr support.
51588         (WIDE): New macro.
51589         * wcsmbs/test-wcscpy.c: New file.
51590         * string/test-strcpy.c: Add wcscpy support.
51591         (WIDE): New macro.
51593 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51595         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51596         the inner loop.
51598 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51600         [BZ #13472]
51601         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51603 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51605         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51606         Minor optimizations.
51608         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51609         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51610         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51612 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51614         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51615         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51616         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51617         for gcc to avoid warnings.
51618         * inet/Makefile (tests): Add tst-checks.
51619         * inet/tst-checks.c: New file.
51621         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51622         warning.
51624         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51625         __wmemcmp_sse2.
51627         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51628         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51630         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51632 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51634         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51635         problem.
51637         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51639 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51642         conditional on GCC version.
51643         (__arch_compare_and_exchange_val_8_acq)
51644         (__arch_compare_and_exchange_val_16_acq)
51645         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51646         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51647         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51649 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51651         * sysdeps/sh/backtrace.c: New file.
51653 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51655         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51656         parenthesis.
51658 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51660         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51661         falling back to utime.
51663 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51665         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51666         expectations for float.
51668 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51670         * locale/weight.h (findidx): Add parameter len.
51671         * locale/weightwc.h (findidx): Likewise.
51672         * posix/fnmatch_loop.c (FCT): Adjust caller.
51673         * posix/regcomp.c (build_equiv_class): Likewise.
51674         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51675         * posix/regexec.c (check_node_accept_bytes): Likewise.
51676         * string/strcoll_l.c (STRCOLL): Likewise.
51677         * string/strxfrm_l.c (STRXFRM): Likewise.
51679 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51681         * Makefile.in: Remove CVSOPT handling.
51682         * configure.in: Remove use of AC_REVISION.
51683         * iconvdata/Makefile (distribute): No need to filter out CVS.
51684         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51685         handling.
51687 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51689         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51690         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51691         [USE_AS_STRNCASECMP_L]: Likewise.
51692         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51693         NO_TLS_DIRECT_SEG_REFS.
51694         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51695         Fix argument offsets for non-PIC.
51696         [USE_AS_STRNCASECMP_L]: Likewise.
51697         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51698         NO_TLS_DIRECT_SEG_REFS.
51700 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51702         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51703         O_CLOEXEC.
51704         * locale/loadlocale.c (_nl_load_locale): Likewise.
51706 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51708         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51709         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51711         (SYSCALL_GETTIME): Set errno on error.
51713         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51714         count references to noai6ai_cached.
51716 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51718         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51720         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51721         FD_CLOEXEC for /proc/self/maps.
51723         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51724         FD_CLOEXEC for /proc/meminfo.
51726         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51727         gai.conf.
51729         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51730         FD_CLOEXEC for given file.
51732         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51734         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51735         FD_CLOEXEC for /etc/hosts.
51736         (_gethtent): Likewise.
51738         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51740         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51741         cancellation and set FD_CLOEXEC for /etc/netgroup.
51743         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51744         reading /etc/publickey.
51746         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51747         allow cancellation when reading /etc/group.
51749         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51750         cancellation.
51751         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51753         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51754         when using data file.
51756         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51758         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51759         (write_nis_obj): Use "c" and "e" in fopen.
51761         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51763         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51765         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51767         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51769         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51770         locale.alias.
51772         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51774         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51776         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51778         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51779         file parsing and set FD_CLOEXEC.
51781 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51783         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51785 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51787         * malloc/arena.c (arena_get2): Don't call reused_arena when
51788         _int_new_arena failed.
51790 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51792         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51793         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51794         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51796         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51798         to compile strcasecmp and strncasecmp.
51799         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51800         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51804 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51806         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51807         locale-defines.sym to gen-as-const-headers.
51808         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51809         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51810         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51811         to compile strcasecmp and strncasecmp.
51812         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51813         strcasecmp_l and strncasecmp_l.
51814         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51815         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51816         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51817         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51818         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51819         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51820         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51821         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51822         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51823         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51824         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51826 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51828         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51829         result of SYSDEP_GETTIME_CPU to retval.
51830         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51831         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51833         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51834         variable.
51836         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51837         mantissa words.
51838         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51840         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51841         from unused variable.
51843         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51844         DWARF definitions.
51845         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51846         for assembling.
51848         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51849         over namespaces.
51851         * sunrpc/rpc_prot.c (rejected): Fix case value.
51853         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51854         unsigned long long int to avoid warnings in shift.
51856         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51857         of use of trans.
51858         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51859         variable tmp.
51861         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51862         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51863         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51865         * nis/nis_table.c (nis_list): Use variable of correct type for
51866         result of __follow_path call.
51868 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51870         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51871         of math functions ceil, trunc, floor, round, and sqrt, when
51872         avaliable on the platform.
51873         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51874         name clash.
51875         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51876         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51877         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51879 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51881         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51882         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51884 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51886         * include/unistd.h: Fix __readlink return type.
51887         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51889 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51891         * stdlib/ucontext.h: Undo last change for makecontext.
51893 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51895         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51897         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51898         * setjmp/setjmp.h: Mark functions as non-leaf.
51899         * setjmp/bits/setjmp2.h: Likewise.
51900         * stdlib/ucontext.h: Likewise.
51902 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51904         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51905         (reused_arena): Don't check arena limit.
51906         (arena_get2): Atomically check arena limit.
51908 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51910         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51911         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51913         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51914         instructions.
51916 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51918         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51919         handler when locking.
51921         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51922         Fix size of allocated buffer.
51924 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51926         [BZ #10103]
51927         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51928         declarations for long double functions.
51929         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51931         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51933 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51935         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51936         installed.
51938         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51939         is disabled.
51941 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51943         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51945 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51947         * include/alloca.h (stackinfo_alloca_round): Define.
51948         (extend_alloca): Use it.
51949         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51950         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51951         here.
51953         * scripts/check-local-headers.sh: Ignore libaudit.h.
51955         * nscd/Makefile (extra-objs): Make recursively expanded.
51957 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51959         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51960         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51962         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51963         * posix/tst-rfc3484-2.c: Likewise.
51964         * posix/tst-rfc3484-3.c: Likewise.
51966         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51967         process_vm_writev.
51968         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51969         process_vm_writev.
51970         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51971         process_vm_writev from libc using GLIBC_2.15 version.
51973         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51975 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51977         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51978         stack usage.
51980 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51982         [BZ #13367]
51983         * nss/getent.c (initgroups_keys): Show error message in case no group
51984         names are given.
51986         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51987         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51988         __bump_nl_timestamp.
51989         * nscd/connections (nscd_init): When host database is served open
51990         netlink socket and request notification about configuration changes.
51991         (main_loop_poll): Track netlink file descriptor and bump timestamp
51992         in case data becomes available.
51993         (main_loop_epoll): Likewise.
51994         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51995         (database_pers_head): Add extra_data fileds.
51996         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51997         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51998         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51999         Adjust caller.
52000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52001         in6ai data, call __free_in6ai.
52002         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52003         Add -DHAVE_NETLINK.
52004         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
52005         interface information.  Reuse previous data if netlink timestamp
52006         is not changed.
52007         (__bump_nl_timestamp): New function.
52008         (__free_in6ai): New function.
52010 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
52012         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52013         close_not_cancel_no_status here.
52014         (__check_pf): Reorganize code a bit to not call close twice if OOM.
52016 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52018         [BZ #13276]
52019         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52020         return value.
52022         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
52023         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52024         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52026 2011-07-03  Andreas Jaeger  <aj@suse.de>
52028         [BZ #10709]
52029         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52030         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52031         * math/libm-test.inc (sin_test): Add test case.
52033 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
52035         [BZ #13337]
52036         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52037         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52039         * elf/chroot_canon.c (chroot_canon): Cleanups.
52041         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52043         [BZ #13335]
52044         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52045         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52047         * string/test-strchr.c: Make usable for strchrnul testing.
52048         * string/test-strchrnul.c: New file.
52049         * string/Makefile (strop-tests): Add strchrnul.
52051         * po/it.po: Update from translation team.
52052         * po/es.po: Likewise.
52054 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
52056         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52057         the three constants needed as parameters.  Drop the others.
52058         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52059         __m128i_strloadu_tolower.
52060         Create and initialize variable zero and use it in all the places
52061         where _mm_setzero_si128 was used.
52063         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52064         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52065         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52066         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52067         anymore.
52068         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52069         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52070         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52071         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52072         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52073         __mpranred, __mptan.
52074         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52075         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52076         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52077         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52078         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52079         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52080         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52081         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52082         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52084 2011-10-28  Andreas Schwab  <schwab@redhat.com>
52086         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52087         redefine if SHARED.
52088         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52090         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52091         wide char related routines to wcsmbs subdir.
52093 2011-10-27  Andreas Schwab  <schwab@redhat.com>
52095         [BZ #13344]
52096         * misc/sys/cdefs.h (__THROWNL): Define.
52097         * posix/unistd.h: Use __THREADNL instead of __THREAD
52098         for memory synchronization functions.
52100 2011-10-26  Roland McGrath  <roland@hack.frob.com>
52102         [BZ #13349]
52103         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52104         doesn't exist.
52105         * manual/stdio.texi (Obstack Streams): Node removed.
52107 2011-10-26  Andreas Schwab  <schwab@redhat.com>
52109         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52110         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52111         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52113         * math/math_private.h (math_force_eval): Allow non-addressable
52114         arguments.
52115         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52117 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52119         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52120         file is not needed.
52122         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52123         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52124         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52125         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52126         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52127         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52128         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52129         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52130         Add AVX variants.
52131         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52132         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52133         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52134         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52135         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52136         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52137         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52138         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52139         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52140         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52141         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52142         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52143         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52144         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52145         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52146         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52147         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52148         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52149         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52151         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52152         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52154         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52155         place.  Use VEX encoding when compiling for AVX.
52157 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52159         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52160         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52162         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52164 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52166         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52167         useless if() expression.
52168         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52172         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52173         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52174         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52175         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52176         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52177         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52178         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52179         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52180         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52181         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52182         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52183         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52184         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52185         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52186         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52188         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52190 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52192         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52193         condition.
52194         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52196 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52198         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52199         .text section.  Avoid duplicate constants.
52200         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52202         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52204         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52205         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52206         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52207         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52208         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52209         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52210         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52211         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52212         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52213         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52214         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52215         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52216         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52217         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52219         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52220         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52221         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52222         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52223         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52224         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52225         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52226         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52227         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52228         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52229         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52230         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52231         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52232         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52233         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52234         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52235         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52236         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52237         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52238         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52239         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52240         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52241         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52242         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52243         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52244         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52246 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52248         * sysdeps/x86_64/dla.h: Move to ...
52249         * sysdeps/x86_64/fpu/dla.h: ...here.
52250         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52251         situations.  Use __builtin_fma only for gcc 4.6 and up.
52253         * config.make.in: Add have-mfma4 entry.
52254         * configure.in: Substitute libc_cv_cc_fma4.
52255         * math/Makefile (dbl-only-routines): Add sincostab.
52256         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52257         Use __sincostab not sincos.
52258         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52259         name is a macro.
52260         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52264         using __copysign.
52265         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52266         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52267         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52268         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52269         and __inv.
52270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52271         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52272         __copysign.
52273         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52274         define aliases when function name is a macro.
52275         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52276         sysdeps/ieee754/dbl-64/sincos.tbl.
52277         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52278         fma4-enabled routines.
52279         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52280         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52281         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52282         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52283         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52284         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52285         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52286         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52287         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52288         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52289         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52290         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52291         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52292         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52294         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52295         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52296         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52297         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52298         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52299         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52300         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52301         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52302         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52303         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52304         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52305         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52306         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52307         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52308         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52310         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52311         rename.
52312         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52313         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52314         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52315         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52316         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52317         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52318         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52319         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52321 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52323         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52325 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52327         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52329         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52330         prediction.
52331         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52333         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52334         Remove unused variable magic_bits.
52335         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52337         * string/strnlen.c: Define and use STRNLEN macro.
52338         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52339         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52341         * wcsmbs/wcslen.c: Define and use WCSLEN.
52342         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52343         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52344         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52345         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52346         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52347         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52348         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52350 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52352         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52353         strnlen-sse2-no-bsf.
52354         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52355         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52356         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52357         Add strnlen support.
52358         (USE_AS_STRNLEN): New macro.
52359         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52360         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52361         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52362         * sysdeps/x86_64/wcslen.S: New file.
52364 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52366         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52367         XMM-moves are used for copying on small sizes.
52369 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52371         * wcsmbs/Makefile (strop-tests): Add wcschr.
52372         * wcsmbs/test-wcschr.c: New file.
52373         * string/test-strchr.c: Update.
52374         Add wcschr support.
52375         (WIDE): New macro.
52377 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52379         * wcsmbs/Makefile (strop-tests): Add wcslen.
52380         * wcsmbs/test-wcslen.c: New file.
52381         * string/test-strlen.c: Update.
52382         Add wcslen support.
52383         (WIDE): New macro.
52385 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52387         * po/it.po: Update from translation team.
52389 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52391         * sysdeps/x86_64/wcscmp.S: Update.
52392         Fix wrong comparison semantics.
52393         wcscmp shall use signed comparison not unsigned.
52394         Don't use substraction to avoid overflow bug.
52395         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52396         * wcsmbc/wcscmp.c: Likewise.
52397         * string/test-strcmp.c: Likewise.
52398         Add new tests to check cases with negative values.
52400 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52402         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52403         * sysdeps/x86_64/dla.h: ...here.  New file.
52404         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52405         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52409         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52410         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52411         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52412         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52414 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52417         __ynl_finite aliases.
52419 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52421         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52423         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52424         define DLA_FMA.
52425         [DLA_FMA] (EMULV): Use DLA_FMA.
52426         [DLA_FMA] (MUL12): Use EMULV.
52427         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52428         that are not needed.
52429         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52430         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52432         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52433         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52434         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52437 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52439         * math/s_nan.c: Undef __nan.
52440         * math/s_nanf.c: Undef __nanf.
52441         * math/s_nanl.c: Undef __nanl.
52442         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52443         "math_private.h".
52445 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52447         * math/s_catan.c: Add branch predictions.
52448         * math/s_catanf.c: Likewise.
52449         * math/s_catanh.c: Likewise.
52450         * math/s_catanhf.c: Likewise.
52451         * math/s_catanhl.c: Likewise.
52452         * math/s_catanl.c: Likewise.
52453         * math/s_cexp.c: Likewise.
52454         * math/s_cexpf.c: Likewise.
52455         * math/s_cexpl.c: Likewise.
52456         * math/s_clog.c: Likewise.
52457         * math/s_clog10.c: Likewise.
52458         * math/s_clog10f.c: Likewise.
52459         * math/s_clog10l.c: Likewise.
52460         * math/s_clogf.c: Likewise.
52461         * math/s_clogl.c: Likewise.
52462         * math/s_csqrt.c: Likewise.
52463         * math/s_csqrtf.c: Likewise.
52464         * math/s_csqrtl.c: Likewise.
52465         * math/s_ctanf.c: Likewise.
52466         * math/s_ctanh.c: Likewise.
52467         * math/s_ctanhf.c: Likewise.
52468         * math/s_ctanhl.c: Likewise.
52469         * math/s_ctanl.c: Likewise.
52471         * math/math_private.h: Define __nan, __nanf, __nanl.
52472         * math/s_cacosh.c: Include <math_private.h>.
52473         * math/s_cacoshl.c: Likewise.
52474         * math/s_casinh.c: Likewise.
52475         * math/s_casinhf.c: Likewise.
52476         * math/s_casinhl.c: Likewise.
52477         * math/s_ccos.c: Rely entire on ccosh.
52478         * math/s_ccosf.c: Rely entire on ccoshf.
52479         * math/s_ccosl.c: Rely entirely on ccoshl.
52480         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52481         Remove tests for FE_INVALID.
52482         * math/s_ccoshf.c: Likewise.
52483         * math/s_ccoshl.c: Likewise.
52484         * math/s_csin.c: Likewise.
52485         * math/s_csinf.c: Likewise.
52486         * math/s_csinh.c Likewise.
52487         * math/s_csinhf.c: Likewise.
52488         * math/s_csinhl.c: Likewise.
52489         * math/s_csinl.c: Likewise.
52490         * math/s_ctan.c: Likewise.
52491         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52492         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52493         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52495 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52497         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52498         compilation problems.
52500         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52501         __builtin_expect.
52503 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52505         * sysdeps/i386/configure.in: Test for -mfma4 option.
52506         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52507         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52508         COMMON_CPUID_INDEX_80000001.
52509         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52510         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52511         use it if FMA3 is not supported.
52512         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52514         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52515         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52517 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52519         [BZ #12892]
52520         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52521         it would create a cycle with a link time dependency.
52523 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52525         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52526         instruction.
52527         * string/Makefile (strop-tests): Add rawmemchr.
52528         * string/test-rawmemchr.c: New file.
52530         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52532         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52533         when compiling str{,n}casecmp and when AVX is available.  Hook up
52534         new optimized code in initializers.
52536 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52538         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52539         __feraiseexcept instead of feraiseexcept.
52541 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52543         * math/math_private.h: Define defaults for libc_fetestexcept and
52544         libc_feupdateenv.
52545         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52546         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52547         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52548         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52549         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52550         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52551         libc_fetestexcept and libc_feupdateenv.
52553         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52554         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52555         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52556         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52557         libc_feholdexcept_setround.
52559         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52560         Add s_nearbyint-c and s_nearbyintf-c.
52561         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52562         nearbyintf inlines.
52563         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52564         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52565         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52566         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52568         * math/math_private.h: Define defaults for libc_fegetround,
52569         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52570         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52571         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52572         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52573         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52574         standard functions.
52575         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52576         Remove comments and hacks for old compiler versions.
52577         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52578         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52579         libc_feholdexceptl.
52581 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52583         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52584         (__feraiseexcept_renamed): Add __NTH.
52585         (feraiseexcept): Add __NTH.  Rename local variables to fix
52586         namespace violations.
52588 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52590         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52592         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52594         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52595         recently added interfaces.
52596         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52598         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52599         about macro parameter expansion.
52601         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52602         __NO_MATH_INLINES is defined.  Cleanups.
52604         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52605         and __floorf is target has SSE4.1.
52606         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52607         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52608         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52609         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52611         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52612         name.
52613         (floorf): Likewise.
52615         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52617 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52619         * misc/sys/cdefs.h: Fix last change.
52621         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52622         database lookup.
52624 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52626         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52628         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52629         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52631         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52632         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52633         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52634         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52635         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52636         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52637         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52638         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52639         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52640         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52641         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52642         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52643         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52644         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52645         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52646         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52647         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52648         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52649         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52651         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52652         ceil, ceilf, floor, floorf.
52654         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52655         Perform IRELATIVE relocations last.
52657         * elf/do-rel.h: Add another parameter nrelative, replacing the
52658         local variable with the same name.  Change name of the function
52659         to end in Rel or Rela (uppercase).
52660         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52661         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52662         elf_dynamic_do_##reloc function.
52664 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52666         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52667         is sufficient, at least on modern CPUs.
52669         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52671         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52672         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52674         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52675         __expl_finite.
52676         * math/bits/math-finite.h: Add entries for exp.
52677         * math/e_expl.c: Add __*_finite alias.
52678         * sysdeps/i386/fpu/e_exp.S: Likewise.
52679         * sysdeps/i386/fpu/e_expf.S: Likewise.
52680         * sysdeps/i386/fpu/e_expl.c: Likewise.
52681         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52682         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52683         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52684         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52685         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52686         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52687         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52689         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52690         is sufficient, at least on modern CPUs.
52692         * ctype/ctype-info.c (__ctype_init): Define.
52693         * include/ctype.h (__ctype_init): Declare.
52694         (__ctype_b_loc): The variable is always initialized.
52695         (__ctype_toupper_loc): Likewise.
52696         (__ctype_tolower_loc): Likewise.
52697         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52698         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52700 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52702         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52704         * configure.in: Also look in $cxxmachine/include for C++ system
52705         headers.
52707 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52709         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52710         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52711         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52712         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52713         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52714         (USE_AS_WMEMCMP): New macro.
52715         Fixing indents.
52716         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52717         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52718         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52719         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52720         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52721         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52722         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52723         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52724         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52725         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52726         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52727         (USE_AS_WMEMCMP): New macro.
52728         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52729         * sysdeps/string/test-memcmp.c: Update.
52730         Fix simple_wmemcmp.
52731         Add new tests.
52732         * wcsmbs/wmemcmp.c: Update.
52733         (WMEMCMP): New macro.
52734         Fix overflow bug.
52736 2011-10-12  Andreas Jaeger  <aj@suse.de>
52738         [BZ #13268]
52739         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52741 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52743         * libio/iofwide.c (do_length): Avoid warning.
52745         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52747 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52749         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52751         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52752         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52753         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52754         * sysdeps/i386/i686/fpu/e_log.S: New file.
52755         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52756         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52758         * ctype/ctype.h: Add support for inlined isXXX functions when
52759         compiling C++ code.
52761 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52763         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52765         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52767 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52769         [BZ #13291]
52770         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52772 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52774         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52775         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52776         feraiseexcept.
52778         * sysdeps/x86_64/memrchr.S: Check for zero size.
52780         * string/stratcliff.c: Add memrchr tests.
52782 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52785         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52786         rawmemchr-sse2 rawmemchr-sse2-bsf.
52787         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52788         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52789         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52790         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52791         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52792         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52793         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52794         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52795         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52796         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52797         * string/memrchr.c (MEMRCHR): New macro.
52799 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52801         Add integration with gcc's -ffinite-math-only and optimize wrapper
52802         functions in libm.
52803         * Versions.def: Define GLIBC_2.15 version for libm.
52804         * math/Makefile (headers): Add bits/math-finite.h.
52805         * math/bits/math-finite.h: New file.
52806         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52807         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52808         * math/e_acoshl.c: Add __*_finite alias.
52809         * math/e_acosl.c: Likewise.
52810         * math/e_asinl.c: Likewise.
52811         * math/e_atan2l.c: Likewise.
52812         * math/e_atanhl.c: Likewise.
52813         * math/e_coshl.c: Likewise.
52814         * math/e_exp10.c: Likewise.
52815         * math/e_exp10f.c: Likewise.
52816         * math/e_exp10l.c: Likewise.
52817         * math/e_exp2l.c: Likewise.
52818         * math/e_fmodl.c: Likewise.
52819         * math/e_gammal_r.c: Likewise.
52820         * math/e_hypotl.c: Likewise.
52821         * math/e_j0l.c: Likewise.
52822         * math/e_j1l.c: Likewise.
52823         * math/e_jnl.c: Likewise.
52824         * math/e_lgammal_r.c: Likewise.
52825         * math/e_log10l.c: Likewise.
52826         * math/e_log2l.c: Likewise.
52827         * math/e_logl.c: Likewise.
52828         * math/e_powl.c: Likewise.
52829         * math/e_sinhl.c: Likewise.
52830         * math/e_sqrtl.c: Likewise.
52831         * math/e_scalb.c: Completely rewritten and optimized.
52832         * math/e_scalbf.c: Likewise.
52833         * math/e_scalbl.c: Likewise.
52834         * math/w_acos.c: Likewise.
52835         * math/w_acosf.c: Likewise.
52836         * math/w_acosl.c: Likewise.
52837         * math/w_acosh.c: Likewise.
52838         * math/w_acoshf.c: Likewise.
52839         * math/w_acoshl.c: Likewise.
52840         * math/w_asin.c: Likewise.
52841         * math/w_asinf.c: Likewise.
52842         * math/w_asinl.c: Likewise.
52843         * math/w_atan2.c: Likewise.
52844         * math/w_atan2f.c: Likewise.
52845         * math/w_atan2l.c: Likewise.
52846         * math/w_atanh.c: Likewise.
52847         * math/w_atanhf.c: Likewise.
52848         * math/w_atanhl.c: Likewise.
52849         * math/w_exp10.c: Likewise.
52850         * math/w_exp10f.c: Likewise.
52851         * math/w_exp10l.c: Likewise.
52852         * math/w_fmod.c: Likewise.
52853         * math/w_fmodf.c: Likewise.
52854         * math/w_fmodl.c: Likewise.
52855         * math/w_j0.c: Likewise.
52856         * math/w_j0f.c: Likewise.
52857         * math/w_j0l.c: Likewise.
52858         * math/w_j1.c: Likewise.
52859         * math/w_j1f.c: Likewise.
52860         * math/w_j1l.c: Likewise.
52861         * math/w_jn.c: Likewise.
52862         * math/w_jnf.c: Likewise.
52863         * math/w_log.c: Likewise.
52864         * math/w_logf.c: Likewise.
52865         * math/w_logl.c: Likewise.
52866         * math/w_log10.c: Likewise.
52867         * math/w_log10f.c: Likewise.
52868         * math/w_log10l.c: Likewise.
52869         * math/w_log2.c: Likewise.
52870         * math/w_log2f.c: Likewise.
52871         * math/w_log2l.c: Likewise.
52872         * math/w_pow.c: Likewise.
52873         * math/w_powf.c: Likewise.
52874         * math/w_powl.c: Likewise.
52875         * math/w_remainder.c: Likewise.
52876         * math/w_remainderf.c: Likewise.
52877         * math/w_remainderl.c: Likewise.
52878         * math/w_scalb.c: Likewise.
52879         * math/w_scalbf.c: Likewise.
52880         * math/w_scalbl.c: Likewise.
52881         * math/w_sqrt.c: Likewise.
52882         * math/w_sqrtf.c: Likewise.
52883         * math/w_sqrtl.c: Likewise.
52884         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52885         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52886         used.
52887         * math/math_private.h: Declare __kernel_standard_f.
52888         * math/w_cosh.c: Remove cruft and optimize a bit.
52889         * math/w_coshf.c: Likewise.
52890         * math/w_coshl.c: Likewise.
52891         * math/w_exp2.c: Likewise.
52892         * math/w_exp2f.c: Likewise.
52893         * math/w_exp2l.c: Likewise.
52894         * math/w_hypot.c: Likewise.
52895         * math/w_hypotf.c: Likewise.
52896         * math/w_hypotl.c: Likewise.
52897         * math/w_lgamma.c: Likewise.
52898         * math/w_lgamma_r.c: Likewise.
52899         * math/w_lgammaf.c: Likewise.
52900         * math/w_lgammaf_r.c: Likewise.
52901         * math/w_lgammal.c: Likewise.
52902         * math/w_lgammal_r.c: Likewise.
52903         * math/w_sinh.c: Likewise.
52904         * math/w_sinhf.c: Likewise.
52905         * math/w_sinhl.c: Likewise.
52906         * math/w_tgamma.c: Likewise.
52907         * math/w_tgammaf.c: Likewise.
52908         * math/w_tgammal.c: Likewise.
52909         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52910         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52911         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52912         Minor optimizations.  Pretty printing.  Remove cruft.
52913         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52914         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52915         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52916         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52917         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52918         * sysdeps/i386/fpu/e_asin.S: Likewise.
52919         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52920         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52921         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52922         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52923         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52924         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52925         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52926         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52927         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52928         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52929         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52930         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52931         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52932         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52933         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52934         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52935         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52936         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52937         * sysdeps/i386/fpu/e_log.S: Likewise.
52938         * sysdeps/i386/fpu/e_log10.S: Likewise.
52939         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52941         * sysdeps/i386/fpu/e_log2.S: Likewise.
52942         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52943         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52944         * sysdeps/i386/fpu/e_logf.S: Likewise.
52945         * sysdeps/i386/fpu/e_logl.S: Likewise.
52946         * sysdeps/i386/fpu/e_pow.S: Likewise.
52947         * sysdeps/i386/fpu/e_powf.S: Likewise.
52948         * sysdeps/i386/fpu/e_powl.S: Likewise.
52949         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52950         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52951         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52952         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52953         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52954         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52955         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52956         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52957         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52958         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52959         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52961         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52962         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52963         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52964         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52965         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52966         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52967         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52968         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52969         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52970         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52971         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52972         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52973         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52974         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52975         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52976         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52977         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52978         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52979         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52980         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52981         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52982         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52983         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52984         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52985         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52986         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52987         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52988         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52989         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52990         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52991         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52992         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52993         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52994         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52995         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52996         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52997         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52998         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52999         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53000         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53001         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53002         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53003         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53004         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53005         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53006         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53007         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53008         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53009         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53010         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53012         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53013         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53014         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53015         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53016         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53017         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53018         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53019         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53021         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53022         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53023         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53024         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53026         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53027         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53028         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53029         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53032         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53033         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53034         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53035         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53036         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53037         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53038         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53039         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53040         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53041         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53042         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53044         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53045         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53046         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53047         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53048         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53049         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53050         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53051         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53052         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53053         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53054         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53055         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53056         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53057         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53058         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53059         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53060         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53061         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53062         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53063         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53064         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53066         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53067         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53068         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
53069         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53070         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53071         (__isnanf): Likewise.
53072         (__isinf_ns): Likewise.
53073         (__isinf_nsf): Likewise.
53074         (__finite): Likewise.
53075         (__finitef): Likewise.
53076         (__ieee754_sqrt): Define as macro.
53077         (__ieee754_sqrtf): Define as macro.
53078         (__ieee754_sqrtl): Define as macro.
53079         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53080         inlined copy.
53081         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53082         __FINITE_MATH_ONLY__ consistent.
53083         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53085 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
53087         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53088         of rawmemchr.
53090         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53092 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
53094         * po/ja.po: Update from translation team.
53096 2011-10-08  Roland McGrath  <roland@hack.frob.com>
53098         * locale/programs/locarchive.c (prepare_address_space): New function.
53099         (create_archive, enlarge_archive, open_archive): Use it.
53101         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53102         inside [SHARED], where it is used.
53104         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53106         * nss/getent.c (netgroup_keys): Remove unused variable.
53107         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53109 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
53111         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53112         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53113         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53114         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53115         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53116         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53117         * math/Makefile (libm-calls): Add s_isinf_ns.
53118         * math/divtc3.c: Use __isinf_nsl instead of isinf.
53119         * math/multc3.c: Likewise.
53120         * math/s_casin.c: Likewise.
53121         * math/s_casinf.c: Likewise.
53122         * math/s_casinl.c: Likewise.
53123         * math/s_ccos.c: Likewise.
53124         * math/s_ccosf.c: Likewise.
53125         * math/s_ccosl.c: Likewise.
53126         * math/s_ctan.c: Likewise.
53127         * math/s_ctanf.c: Likewise.
53128         * math/s_ctanh.c: Likewise.
53129         * math/s_ctanhf.c: Likewise.
53130         * math/s_ctanhl.c: Likewise.
53131         * math/s_ctanl.c: Likewise.
53132         * math/w_fmod.c: Likewise.
53133         * math/w_fmodf.c: Likewise.
53134         * math/w_fmodl.c: Likewise.
53135         * math/w_remainder.c: Likewise.
53136         * math/w_remainderf.c: Likewise.
53137         * math/w_remainderl.c: Likewise.
53138         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53139         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53140         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53141         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53142         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53143         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53144         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53145         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53147         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53148         of the number.
53149         * stdio-common/printf_fphex.c: Likewise.
53150         * stdio-common/printf_size.c: Likewise.
53152         * math/e_exp10.c: Include math_private.h using <...> not "...".
53153         * math/e_exp10f.c: Likewise.
53154         * math/e_exp10l.c: Likewise.
53155         * math/e_exp2l.c: Likewise.
53156         * math/e_j0l.c: Likewise.
53157         * math/e_j1l.c: Likewise.
53158         * math/e_jnl.c: Likewise.
53159         * math/e_lgammal_r.c: Likewise.
53160         * math/e_rem_pio2l.c: Likewise.
53161         * math/e_scalb.c: Likewise.
53162         * math/e_scalbf.c: Likewise.
53163         * math/e_scalbl.c: Likewise.
53164         * math/k_cosl.c: Likewise.
53165         * math/k_sinl.c: Likewise.
53166         * math/k_tanl.c: Likewise.
53167         * math/s_cacoshf.c: Likewise.
53168         * math/s_catan.c: Likewise.
53169         * math/s_catanf.c: Likewise.
53170         * math/s_catanh.c: Likewise.
53171         * math/s_catanhf.c: Likewise.
53172         * math/s_catanhl.c: Likewise.
53173         * math/s_catanl.c: Likewise.
53174         * math/s_ccosh.c: Likewise.
53175         * math/s_ccoshf.c: Likewise.
53176         * math/s_ccoshl.c: Likewise.
53177         * math/s_cexp.c: Likewise.
53178         * math/s_cexpf.c: Likewise.
53179         * math/s_cexpl.c: Likewise.
53180         * math/s_clog.c: Likewise.
53181         * math/s_clog10.c: Likewise.
53182         * math/s_clog10f.c: Likewise.
53183         * math/s_clog10l.c: Likewise.
53184         * math/s_clogf.c: Likewise.
53185         * math/s_clogl.c: Likewise.
53186         * math/s_csin.c: Likewise.
53187         * math/s_csinf.c: Likewise.
53188         * math/s_csinh.c: Likewise.
53189         * math/s_csinhf.c: Likewise.
53190         * math/s_csinhl.c: Likewise.
53191         * math/s_csinl.c: Likewise.
53192         * math/s_csqrt.c: Likewise.
53193         * math/s_csqrtf.c: Likewise.
53194         * math/s_csqrtl.c: Likewise.
53195         * math/s_ctan.c: Likewise.
53196         * math/s_ctanf.c: Likewise.
53197         * math/s_ctanh.c: Likewise.
53198         * math/s_ctanhf.c: Likewise.
53199         * math/s_ctanhl.c: Likewise.
53200         * math/s_ctanl.c: Likewise.
53201         * math/s_ldexp.c: Likewise.
53202         * math/s_ldexpf.c: Likewise.
53203         * math/s_ldexpl.c: Likewise.
53204         * math/s_significand.c: Likewise.
53205         * math/s_significandf.c: Likewise.
53206         * math/s_significandl.c: Likewise.
53207         * math/w_acos.c: Likewise.
53208         * math/w_acosf.c: Likewise.
53209         * math/w_acosh.c: Likewise.
53210         * math/w_acoshf.c: Likewise.
53211         * math/w_acoshl.c: Likewise.
53212         * math/w_acosl.c: Likewise.
53213         * math/w_asin.c: Likewise.
53214         * math/w_asinf.c: Likewise.
53215         * math/w_asinl.c: Likewise.
53216         * math/w_atan2.c: Likewise.
53217         * math/w_atan2f.c: Likewise.
53218         * math/w_atan2l.c: Likewise.
53219         * math/w_atanh.c: Likewise.
53220         * math/w_atanhf.c: Likewise.
53221         * math/w_atanhl.c: Likewise.
53222         * math/w_cosh.c: Likewise.
53223         * math/w_coshf.c: Likewise.
53224         * math/w_coshl.c: Likewise.
53225         * math/w_dremf.c: Likewise.
53226         * math/w_exp10.c: Likewise.
53227         * math/w_exp10f.c: Likewise.
53228         * math/w_exp10l.c: Likewise.
53229         * math/w_exp2.c: Likewise.
53230         * math/w_exp2f.c: Likewise.
53231         * math/w_fmod.c: Likewise.
53232         * math/w_fmodf.c: Likewise.
53233         * math/w_fmodl.c: Likewise.
53234         * math/w_hypot.c: Likewise.
53235         * math/w_hypotf.c: Likewise.
53236         * math/w_hypotl.c: Likewise.
53237         * math/w_j0.c: Likewise.
53238         * math/w_j0f.c: Likewise.
53239         * math/w_j0l.c: Likewise.
53240         * math/w_j1.c: Likewise.
53241         * math/w_j1f.c: Likewise.
53242         * math/w_j1l.c: Likewise.
53243         * math/w_jn.c: Likewise.
53244         * math/w_jnf.c: Likewise.
53245         * math/w_jnl.c: Likewise.
53246         * math/w_lgamma.c: Likewise.
53247         * math/w_lgamma_r.c: Likewise.
53248         * math/w_lgammaf.c: Likewise.
53249         * math/w_lgammaf_r.c: Likewise.
53250         * math/w_lgammal.c: Likewise.
53251         * math/w_lgammal_r.c: Likewise.
53252         * math/w_log.c: Likewise.
53253         * math/w_log10.c: Likewise.
53254         * math/w_log10f.c: Likewise.
53255         * math/w_log10l.c: Likewise.
53256         * math/w_log2.c: Likewise.
53257         * math/w_log2f.c: Likewise.
53258         * math/w_log2l.c: Likewise.
53259         * math/w_logf.c: Likewise.
53260         * math/w_logl.c: Likewise.
53261         * math/w_pow.c: Likewise.
53262         * math/w_powf.c: Likewise.
53263         * math/w_powl.c: Likewise.
53264         * math/w_remainder.c: Likewise.
53265         * math/w_remainderf.c: Likewise.
53266         * math/w_remainderl.c: Likewise.
53267         * math/w_scalb.c: Likewise.
53268         * math/w_scalbf.c: Likewise.
53269         * math/w_scalbl.c: Likewise.
53270         * math/w_sinh.c: Likewise.
53271         * math/w_sinhf.c: Likewise.
53272         * math/w_sinhl.c: Likewise.
53273         * math/w_sqrt.c: Likewise.
53274         * math/w_sqrtf.c: Likewise.
53275         * math/w_sqrtl.c: Likewise.
53276         * math/w_tgamma.c: Likewise.
53277         * math/w_tgammaf.c: Likewise.
53278         * math/w_tgammal.c: Likewise.
53280         * po/ja.po: Update from translation team.
53282 2011-09-29  Andreas Jaeger  <aj@suse.de>
53284         [BZ #13179]
53285         * sunrpc/netname.c (netname2host): Fix logic.
53287         [BZ #6779]
53288         [BZ #6783]
53289         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53290         correctly.
53291         * math/w_remainder.c (__remainder): Likewise.
53292         * math/w_remainderf.c (__remainderf): Likewise.
53293         * math/libm-test.inc (remainder_test): Add test cases.
53295 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53297         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53298         sdiv_qrnnd.
53300 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53302         * string/test-memcmp.c: Avoid unncessary #defines.
53303         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53305 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53307         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53308         Use new sse2 version for core i3 - i7 as it's faster
53309         than sse42 version.
53310         (bit_Prefer_PMINUB_for_stringop): New.
53311         * sysdeps/x86_64/rawmemchr.S: Update.
53312         Replace with faster SSE2 version.
53313         * sysdeps/x86_64/memrchr.S: New file.
53314         * sysdeps/x86_64/memchr.S: Update.
53315         Replace with faster SSE2 version.
53317 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53319         * elf/dl-load.c (lose): Add cast to avoid warning.
53321 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53323         * po/ca.po: Update from translation team.
53325         * inet/getnetgrent_r.c: Hook up nscd.
53326         * nscd/Makefile (routines): Add nscd_netgroup.
53327         (nscd-modules): Add netgroupcache.
53328         (CFLAGS-netgroupcache.c): Define.
53329         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53330         (cache_search): Add const to second parameter.
53331         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53332         INNETGR.
53333         (dbs): Add netgrdb entry.
53334         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53335         (verify_persistent_db): Handle netgrdb.
53336         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53337         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53338         GETFDNETGR.
53339         (netgroup_response_header): Define.
53340         (innetgroup_response_header): Define.
53341         (datahead): Add netgroup_response_header and innetgroup_response_header
53342         elements.
53343         * nscd/nscd.conf: Add entries for netgroup cache.
53344         * nscd/nscd.h (dbtype): Add netgrdb.
53345         (_PATH_NSCD_NETGROUP_DB): Define.
53346         (netgroup_iov_disabled): Declare.
53347         (xmalloc, xcalloc, xrealloc): Move declarations here.
53348         (cache_search): Adjust prototype.
53349         Add netgroup-related prototypes.
53350         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53351         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53352         (__nscd_innetgr): Declare.
53353         * nscd/selinux.c (perms): Use access_vector_t as element type and
53354         add netgroup-related initializers.
53355         * nscd/netgroupcache.c: New file.
53356         * nscd/nscd_netgroup.c: New file.
53357         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53358         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53359         For four parameters use innetgr.
53360         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53361         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53362         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53363         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53365         * nscd/connections.c (register_traced_file): Don't register file
53366         for disabled databases.
53368 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53370         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53372         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53373         from tree and freeing node.
53375 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53377         * nss/nsswitch.c (__nss_database_lookup): Handle
53378         nss_parse_service_list out of memory case.
53380 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53382         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53383         out of memory case.
53385 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53387         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53388         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53389         pass it down.
53390         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53391         elf_machine_rela, elf_machine_lazy_rel.
53392         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53393         (ELF_DYNAMIC_DO_REL): Likewise.
53394         (ELF_DYNAMIC_DO_RELA): Likewise.
53395         (ELF_DYNAMIC_RELOCATE): Likewise.
53396         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53397         to ELF_DYNAMIC_DO_REL.
53398         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53399         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53400         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53401         elf_machine_rela.
53402         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53403         skip_ifunc, don't call ifunc function if non-zero.
53404         (elf_machine_rela): Likewise.
53405         (elf_machine_lazy_rel): Likewise.
53406         (elf_machine_lazy_rela): Likewise.
53407         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53408         (elf_machine_lazy_rel): Likewise.
53409         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53410         Likewise.
53411         (elf_machine_lazy_rel): Likewise.
53412         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53413         Likewise.
53414         (elf_machine_lazy_rel): Likewise.
53415         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53416         (elf_machine_lazy_rel): Likewise.
53417         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53418         (elf_machine_lazy_rel): Likewise.
53419         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53420         (elf_machine_lazy_rel): Likewise.
53421         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53422         (elf_machine_lazy_rel): Likewise.
53423         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53424         (elf_machine_lazy_rel): Likewise.
53425         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53426         (elf_machine_lazy_rel): Likewise.
53428 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53430         * nss/nss_files/files-init.c (_nss_files_init): Use static
53431         initialization for all the *_traced_file variables.
53433 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53435         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53437 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53439         [BZ #13226]
53440         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53442 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53444         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53445         Reread the line before reparsing it.
53447 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53449         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53451 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53452             Maxim Kuvyrkov  <maxim@codesourcery.com>
53453             Joseph Myers  <joseph@codesourcery.com>
53455         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53456         if needed for __stack_chk_guard.
53458 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53460         * sysdeps/posix/spawni.c (script_execute): Always define it.
53461         It will be optimized away if unused.
53462         (maybe_script_execute): New function.
53463         (__spawni): Call it.
53465         * Makerules: Don't include tls.make.
53466         (config-tls): Always set to thread.
53467         * tls.make.c: File removed.
53469 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53471         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53472         * config.make.in (CPPFLAGS-config): New substituted variable.
53474 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53476         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53478         [BZ #13192]
53479         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53480         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53482 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53484         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53485         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53486         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53487         (CALL_FAIL): Likewise.
53488         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53489         (CALL_FAIL): Macro removed.
53490         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53492 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53494         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53495         for __FINITE_MATH_ONLY__ == 1.
53497 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53499         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53500         __ieee754_sqrt instead of sqrt.
53501         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53502         __ieee754_sqrtf instead of sqrtf.
53503         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53504         __floorf instead of floorf.
53505         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53506         __floorf, __truncf instead of floorf, truncf.
53508 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53510         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53512         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53513         __extern_always_inline.
53514         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53515         32-bit.
53517 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53519         * elf/rtld.c (dl_main): Also relocate in dependency order when
53520         doing symbol dependency testing.
53522 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53524         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53525         Always define `refsym'.
53527 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53529         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53530         (__FD_ELT): Renamed from __FDELT.
53531         * misc/bits/select2.h (__FD_ELT): Likewise.
53532         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53533         __FD_MASK instead of __FDELT, __FDMASK.
53534         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53535         Likewise.
53536         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53537         Likewise.
53539         * elf/Makefile (gen-ldd): Fix pattern.
53541         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53542         (init_tls): Likewise.
53544 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53546         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53548 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53550         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53551         `struct cmsghdr *' instead of `void *'.
53552         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53553         Likewise.
53555 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53557         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53558         if non-absolute.
53559         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53560         ldd_rewrite_script.
53562 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53564         * configure.in: Remove --with-tls option.
53565         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53566         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53567         out in case it is missing.
53568         * sysdeps/ia64/elf/configure.in: Likewise.
53569         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53570         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53571         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53572         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53573         * sysdeps/sh/elf/configure.in: Likewise.
53574         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53575         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53576         * sysdeps/x86_64/elf/configure.in: Likewise.
53577         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53578         * sysdeps/mach/hurd/tls.h: Likewise.
53580         [BZ #13067]
53581         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53583         [BZ #13090]
53584         * configure.in: Fix use of AC_INIT.
53586         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53588 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53590         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53591         __set_errno.
53592         * malloc/hooks.c: Likewise.
53594         [BZ #11929]
53595         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53596         variables statically.
53597         (narenas): Initialize.
53598         (list_lock): Initialize.
53599         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53600         initializtion of main_arena and list_lock.  Small cleanups.
53601         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53602         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53603         Add initializers to main_arena and mp_.
53604         (malloc_state): Remove pagesize member.  Change all users to use
53605         GLRO(dl_pagesize).
53607         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53608         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53609         is always initialized.
53611         * malloc/malloc.c: Removed unused configurations and dead code.
53612         * malloc/arena.c: Likewise.
53613         * malloc/hooks.c: Likewise.
53614         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53616         * include/tls.h: Removed.  USE___THREAD must always be defined.
53617         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53618         * elf/dl-libc.c: Likewise.
53619         * elf/dl-tsd.c: Likewise.
53620         * include/errno.h: Likewise.
53621         * include/netdb.h: Likewise.
53622         * include/resolv.h: Likewise.
53623         * inet/herrno-loc.c: Likewise.
53624         * inet/herrno.c: Likewise.
53625         * malloc/arena.c: Likewise.
53626         * malloc/hooks.c: Likewise.
53627         * malloc/malloc.c: Likewise.
53628         * resolv/res-state.c: Likewise.
53629         * resolv/res_libc.c: Likewise.
53630         * sysdeps/i386/dl-machine.h: Likewise.
53631         * sysdeps/ia64/dl-machine.h: Likewise.
53632         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53633         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53634         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53635         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53636         * sysdeps/sh/dl-machine.h: Likewise.
53637         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53638         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53639         * sysdeps/unix/i386/sysdep.S: Likewise.
53640         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53641         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53642         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53643         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53644         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53645         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53646         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53648         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53650         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53651         * sysdeps/x86_64/dl-machine.h: Likewise.
53652         * tls.make.c: Likewise.
53654         * configure.in: Remove --with-__thread option.  Make tests for
53655         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53656         tls_model attribute fail if no support is available.  Remove
53657         USE_IN_LIBIO.
53658         * Makeconfig: Adjust for dropped configure option.  All features are
53659         now mandatory.
53660         * Makerules: Likewise.
53661         * Versions.def: Likewise.
53662         * argp/argp-fmtstream.c: Likewise.
53663         * argp/argp-fmtstream.h: Likewise.
53664         * argp/argp-help.c: Likewise.
53665         * assert/assert.c: Likewise.
53666         * config.h.in: Likewise.
53667         * config.make.in: Likewise.
53668         * configure: Likewise.
53669         * configure.in: Likewise.
53670         * csu/Versions: Likewise.
53671         * csu/init.c: Likewise.
53672         * elf/tst-audit2.c: Likewise.
53673         * elf/tst-tls10.c: Likewise.
53674         * elf/tst-tls10.h: Likewise.
53675         * elf/tst-tls11.c: Likewise.
53676         * elf/tst-tls12.c: Likewise.
53677         * elf/tst-tls14.c: Likewise.
53678         * elf/tst-tlsmod11.c: Likewise.
53679         * elf/tst-tlsmod12.c: Likewise.
53680         * elf/tst-tlsmod13.c: Likewise.
53681         * elf/tst-tlsmod13a.c: Likewise.
53682         * elf/tst-tlsmod14a.c: Likewise.
53683         * elf/tst-tlsmod15b.c: Likewise.
53684         * elf/tst-tlsmod16a.c: Likewise.
53685         * elf/tst-tlsmod16b.c: Likewise.
53686         * elf/tst-tlsmod7.c: Likewise.
53687         * elf/tst-tlsmod8.c: Likewise.
53688         * elf/tst-tlsmod9.c: Likewise.
53689         * gmon/gmon.c: Likewise.
53690         * grp/fgetgrent_r.c: Likewise.
53691         * grp/putgrent.c: Likewise.
53692         * hurd/fopenport.c: Likewise.
53693         * include/libc-symbols.h: Likewise.
53694         * include/tls.h: Likewise.
53695         * intl/gettextP.h: Likewise.
53696         * intl/loadinfo.h: Likewise.
53697         * locale/global-locale.c: Likewise.
53698         * locale/localeinfo.h: Likewise.
53699         * mach/devstream.c: Likewise.
53700         * malloc/arena.c: Likewise.
53701         * malloc/set-freeres.c: Likewise.
53702         * misc/err.c: Likewise.
53703         * misc/getttyent.c: Likewise.
53704         * misc/mntent_r.c: Likewise.
53705         * posix/getopt.c: Likewise.
53706         * posix/wordexp.c: Likewise.
53707         * pwd/fgetpwent_r.c: Likewise.
53708         * resolv/Versions: Likewise.
53709         * resolv/res_hconf.c: Likewise.
53710         * shadow/fgetspent_r.c: Likewise.
53711         * shadow/putspent.c: Likewise.
53712         * stdio-common/printf_fphex.c: Likewise.
53713         * stdio-common/tmpfile.c: Likewise.
53714         * stdlib/abort.c: Likewise.
53715         * stdlib/fmtmsg.c: Likewise.
53716         * sunrpc/auth_unix.c: Likewise.
53717         * sunrpc/clnt_perr.c: Likewise.
53718         * sunrpc/clnt_tcp.c: Likewise.
53719         * sunrpc/clnt_udp.c: Likewise.
53720         * sunrpc/clnt_unix.c: Likewise.
53721         * sunrpc/openchild.c: Likewise.
53722         * sunrpc/svc_simple.c: Likewise.
53723         * sunrpc/svc_tcp.c: Likewise.
53724         * sunrpc/svc_udp.c: Likewise.
53725         * sunrpc/svc_unix.c: Likewise.
53726         * sunrpc/xdr.c: Likewise.
53727         * sunrpc/xdr_array.c: Likewise.
53728         * sunrpc/xdr_rec.c: Likewise.
53729         * sunrpc/xdr_ref.c: Likewise.
53730         * sunrpc/xdr_stdio.c: Likewise.
53732 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53734         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53736 2011-07-03  Andreas Jaeger  <aj@suse.de>
53738         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53739         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53740         regenerate with gen-libm-tests.pl.
53742 2010-05-12  Petr Baudis  <pasky@suse.cz>
53744         [BZ #11589]
53745         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53746         around j0() zero points by switching to j1().
53747         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53748         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53749         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53752 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53754         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53755         instead of 0.
53756         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53757         instead of 0.
53758         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53759         Patch in part by Pavel Roskin <proski@gnu.org>.
53761         [BZ #13138]
53762         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53763         realloc.
53764         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53765         Free memory block if necessary.
53767         [BZ #12847]
53768         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53769         be NULL.  Don't lock in this case.
53771 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53773         * elf/elf.h (ELFOSABI_GNU): New macro.
53774         (ELFOSABI_LINUX): Define to that.
53776 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53778         * string/strncat.c (strncat): Undef the symbol in case it has been
53779         defined in bits/string.h.
53781 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53783         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53785         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53786         link map.
53788 2011-08-17  Andreas Jaeger  <aj@suse.de>
53790         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53792 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53793             Ian Lance Taylor  <iant@google.com>
53795         * math/libm-test.inc (lround_test): New testcase.
53796         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53798 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53800         * Makefile: Remove support for automatic cvs check-ins.
53801         * Makerules: Likewise.
53802         * config.make.in: Likewise.
53803         * configure.in: Likewise.
53804         * intl/Makefile: Likewise.
53805         * locale/Makefile: Likewise.
53806         * po/Makefile: Likewise.
53807         * posix/Makefile: Likewise.
53808         * sysdeps/gnu/Makefile: Likewise.
53809         * sysdeps/mach/hurd/Makefile: Likewise.
53810         * sysdeps/sparc/sparc32/Makefile: Likewise.
53812         [BZ #13118]
53813         * posix/Makefile (bug-regex32-ENV): Define.
53814         Patch by John Stanley <jpsinthemix@verizon.net>.
53816         * misc/Makefile (headers): Add bits/select2.h.
53817         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53818         * misc/bits/select2.h: New file.
53819         * include/bits/select2.h: New file.
53820         * debug/Makefile (routines): Add fdelt_chk.
53821         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53822         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53823         FD_ISSET.
53824         * debug/fdelt_chk.c: New file.
53826         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53827         * wcsmbs/test-wmemcmp.c: Likewise.
53828         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53829         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53831 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53833         * string/Makefile (strop-tests): Add memcmp.
53834         * string/test-wmemcmp.c: New file.
53835         * string/test-memcmp.c: Add wmemcmp support.
53837 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53839         [BZ #13153]
53840         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53841         2011-07-19 change.
53843         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53844         garbage value in a __mach_port_mod_refs call in the cases of the
53845         task-self and thread-self ports.
53847 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53849         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53851 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53853         * elf/dl-load.c (lose): Check for non-null L.
53855 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53857         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53859         * elf/dl-libc.c (dlerror_run): Pass back error code from
53860         dl_catch_error.
53862         [BZ #13123]
53863         * elf/dl-load.c (lose): Free l_origin if it is valid.
53865         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53866         names.
53867         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53868         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53869         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53870         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53871         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53872         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53874 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53876         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53877         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53878         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53879         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53880         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53881         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53882         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53883         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53884         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53885         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53887 2011-08-15  Alan Modra  <amodra@gmail.com>
53889         [BZ #13092]
53890         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53891         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53892         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53893         ppc_mcount to static-only-routines.
53894         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53895         __mcount_internal.
53896         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53897         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53899 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53901         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53902         for finite and infinity parameters.
53904 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53906         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53907         and add nop instructions for throughput optimization.
53908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53910 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53912         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53913         aligned copy for power7 with vector-scalar instructions.
53914         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53916 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53918         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53919         AVX check.
53921 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53923         [BZ #13144]
53924         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53925         last change.
53927 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53929         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53930         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53931         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53932         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53933         clock_gettime.
53935 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53937         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53938         Forgot to demangle the pointer.
53940         * sysdeps/i386/sysdep.h: Define atom_text_section.
53941         * sysdeps/x86_64/sysdep.h: Likewise.
53942         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53943         section with atom_text_section.
53944         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53945         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53947         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53950         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53951         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53952         already be defined.  Change to take two parameters and don't assign
53953         result to variable.  Adjust all users.
53954         Define INTERNAL_GETTIME if not already defined.
53955         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53956         call.
53957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53958         HAVE_CLOCK_GETTIME_VSYSCALL.
53959         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53962         gettimeofday vsyscall, just use time.
53964 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53967         <errno.h>.
53969 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53971         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53972         syscall on x86-64.
53973         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53974         syscall.
53975         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53976         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53977         syscall if possible.
53979 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53981         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53982         e_ident.  Don't pass to find_mapsXX.
53983         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53985 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53988         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53989         * sysdeps/x86_64/multiarch/strchr.S: Update.
53990         Check bit_slow_BSF bit.
53991         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53992         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53993         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53995 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53997         [BZ #13134]
53998         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53999         before glibc 2.15.
54000         (tryshell): Define.
54001         (__spawni): Change last parameter to be flag.  Test
54002         SPAWN_XFLAGS_USE_PATH flag to use path or not.
54003         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54004         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54005         * posix/spawni.c: Likewise.
54006         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54007         * posix/spawnp.c: Likewise.  Change normal version to use
54008         SPAWN_XFLAGS_USE_PATH.
54009         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54010         SPAWN_XFLAGS_TRY_SHELL.
54012         [BZ #13150]
54013         * posix/glob.h: Remove gcc 1.x support.
54015         [BZ #13068]
54016         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54018 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54021         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54022         strrchr-sse2-bsf
54023         * sysdeps/i386/i686/multiarch/strchr.S: New file.
54024         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54025         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54026         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54027         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54028         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54030 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54032         * sysdeps/x86_64/wcscmp.S: New file.
54034         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54035         wcscmp-c wcscmp-sse2
54036         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54037         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54038         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54039         * wcsmbs/wcscmp.c: Allow renaming.
54041 2011-09-05  David S. Miller  <davem@davemloft.net>
54043         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54044         stack slot, rather than the struct return pointer slot.
54045         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54046         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54048         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54050 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
54052         * po/ja.po: Update from translation team.
54054         [BZ #13144]
54055         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54056         kernel in 64-bit binaries.
54058 2011-09-01  David S. Miller  <davem@davemloft.net>
54060         * elf/elf.h (HWCAP_SPARC_*): Move to..
54061         * sysdeps/sparc/sysdep.h: this new file and add new values.
54062         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54063         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54064         _DL_HWCAP_COUNT to 24.
54065         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54066         entries.
54067         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54068         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54069         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54070         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54071         instead of magic constants.
54072         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54074 2011-08-31  David S. Miller  <davem@davemloft.net>
54076         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54077         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54078         Reimplement to do errno handling inline.
54079         (SYSCALL_ERROR_HANDLER): New macro.
54080         (__SYSCALL_STRING): Do not do errno handling in asm.
54081         (__CLONE_SYSCALL_STRING): Delete.
54082         (__INTERNAL_SYSCALL_STRING): Delete.
54083         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54084         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54085         (PSEUDO): Reimplement to do errno handling inline.
54086         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54087         (SYSCALL_ERROR_HANDLER): New macro.
54088         (__SYSCALL_STRING): Do not do errno handling in asm.
54089         (__CLONE_SYSCALL_STRING): Delete.
54090         (__INTERNAL_SYSCALL_STRING): Delete.
54091         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54092         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54093         i386.
54094         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54095         (inline_syscall*): Add 'err' argument.
54096         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54097         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54098         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54099         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54101         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54102         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54104 2011-08-30  Andreas Schwab  <schwab@redhat.com>
54106         * elf/rtld.c (dl_main): Relocate objects in dependency order.
54108 2011-08-29  Jiri Olsa <jolsa@redhat.com>
54110         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54111         directive.
54113 2011-08-24  David S. Miller  <davem@davemloft.net>
54115         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54117 2011-08-24  Andreas Schwab  <schwab@redhat.com>
54119         * elf/Makefile: Add rules to build and run unload8 test.
54120         * elf/unload8.c: New file.
54121         * elf/unload8mod1.c: New file.
54122         * elf/unload8mod1x.c: New file.
54123         * elf/unload8mod2.c: New file.
54124         * elf/unload8mod3.c: New file.
54126         * elf/dl-close.c (_dl_close_worker): Reset private search list if
54127         it wasn't used.
54129 2011-08-23  David S. Miller  <davem@davemloft.net>
54131         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54132         subtract stack bias.
54133         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54134         %sp not %fp in calculations.
54135         (_JMPBUF_UNWINDS_ADJ): Likewise.
54137         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54138         (aio_suspend): Call it to force an exception region around the
54139         AIO_MISC_WAIT() invocation.
54141 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54143         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54144         backslash.
54146 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54148         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54149         protection macro.
54150         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54151         and <dl-machine.h>.
54152         (Elf64_FuncDesc): Remove.
54154 2011-08-22  David S. Miller  <davem@davemloft.net>
54156         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54157         sigaltstack check, add missing cfi directives.
54158         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54159         missing cfi directives, and sigaltstack handling.
54161 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54163         [BZ #11724]
54164         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54165         object is seen twice.
54166         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54168         * elf/Makefile (distribute): Add tst-initorder2.c.
54169         (tests): Add tst-initorder2.
54170         (modules-names): Add tst-initorder2a tst-initorder2b
54171         tst-initorder2c tst-initorder2d.  Add rules to build them.
54172         ($(objpfx)tst-initorder2.out): New rule.
54173         * elf/tst-initorder2.c: New file.
54174         * elf/tst-initorder2.exp: New file.
54176 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54178         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54180         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54181         dependencies back to end of function.
54183         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54184         $(elfobjdir)/ld.so.
54186 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54188         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54189         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54190         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54191         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54192         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54193         of __vdso_gettimeofday.
54194         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54195         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54196         attribute_hidden.
54197         (_libc_vdso_platform_setup): Remove initialization of
54198         __vdso_gettimeofday and __vdso_time.
54200 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54202         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54203         and fgetc_unlocked.
54204         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54205         getc_unlocked.
54207         * elf/dl-open.c (add_to_global): Report additions to the global scope
54208         for LD_DEBUG=scopes.
54209         (dl_open_worker): Also print scope of newly loaded dependencies.
54210         (_dl_show_scope): Indicate if there is no scope.
54212         [BZ #13114]
54213         * stdio-common/Makefile (tests): Add bug24.
54214         * stdio-common/bug24.c: New file.
54216 2011-08-19  Andreas Jaeger  <aj@suse.de>
54218         [BZ #13114]
54219         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54220         non-existant file when using close-on-exec mode.
54222 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54224         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54225         the very first instruction.
54227         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54228         the CFI state in the end.
54229         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54230         inclusion of dl-trampoline.h.
54231         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54233 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54235         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54236         expectations for long double.
54238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54239         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54241 2011-08-14  David S. Miller  <davem@davemloft.net>
54243         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54244         artificual limit depends upon the system page size.
54246 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54248         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54249         * resolv/Makefile: Define CFLAGS-libresolv.
54251 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54253         * nss/makedb.c (compute_tables): Make variables used in nested
54254         function static.
54256 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54258         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54259         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54260         if buffer was too small.
54262         * elf/pldd.c (main): Attach to all threads in the process.
54263         Rewrite /proc handling to use *at functions.
54265 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54267         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54268         specifies first scope to show.
54269         (dl_open_worker): Update callers.  Move printing scope of new
54270         object to before the relocation.
54271         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54272         * sysdeps/generic/ldsodefs.h: Update declaration.
54274         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54275         string for the scope number.
54277 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54279         * nscd/servicescache.c (cache_addserv): Make sure written is always
54280         initialized.
54282 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54284         * sysdeps/i386/i486/bits/atomic.h
54285         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54286         statement expression, so as to suppress "set but not used" warning.
54287         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54289         * string/strncat.c (STRNCAT): Use prototype definition.
54291         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54292         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54293         -Iprograms here.
54294         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54295         (localedef-modules): Add localedef.
54296         (locale-modules): Add locale.
54298         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54299         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54300         to avoid a warning.
54302 2011-08-14  David S. Miller  <davem@davemloft.net>
54304         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54305         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54307 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54309         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54310         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54311         * elf/rtld.c (dl_main): Set l_name of vDSO.
54312         Call _dl_show_scope when DL_DEBUG_SCOPES.
54313         (process_dl_debug): Recognize scopes flag and also set it for all.
54314         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54315         Declare _dl_show_scope.
54317         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54318         (do_dlopen): Pass caller_dlopen to dl_open.
54319         (__libc_dlopen_mode): Initialize caller_dlopen.
54321         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54322         of libc.  Make tolower call locale-independent.  Optimize a bit by
54323         using isdigit instead of isalnum.
54324         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54326 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54328         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54329         was a dependency or dynamically loaded.
54331 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54333         * intl/l10nflist.c: Allow architecture-specific pop function.
54334         * sysdeps/x86_64/l10nflist.c: New file.
54336         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54337         classification.
54339 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54341         * include/dirent.h: Add libc_hidden_proto for scandirat and
54342         scandirat64.  Don't declare __scandirat64.
54343         * dirent/scandirat.c: Add libc_hidden_def.
54344         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54345         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54347 2011-08-10  David S. Miller  <davem@davemloft.net>
54349         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54350         enum.
54351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54352         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54353         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54355 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54357         * Versions.def [libc]: Add GLIBC_2.15.
54358         * dirent/Makefile (routines): Add scandirat and scandirat64.
54359         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54360         GLIBC_2.15.
54361         * dirent/dirent.h: Declare scandirat and scandirat64.
54362         * dirent/scandirat.c: New file.
54363         * dirent/scandirat64.c: New file.
54364         * sysdeps/wordsize-64/scandirat.c: New file.
54365         * sysdeps/wordsize-64/scandirat64.c: New file.
54366         * dirent/opendir.c: Define opendirat.
54367         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54368         using scandirat.
54369         * dirent/scandir64.c: Adjust for scandir.c change.
54370         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54371         __scandirat64, and __scandir_cancel_handler.
54372         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54373         additional parameter and use openat instead of open (outside of ld.so).
54374         Add new __opendir as wrapper around __opendirat.
54375         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54376         here without requiring old scandirat implementation.
54378 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54380         * dirent/scandir.c (cancel_handler): Renamed to
54381         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54382         defined.  Adjust users.
54383         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54384         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54386 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54388         * string/test-string.h (IMPL): Use __STRING to expand name and then
54389         stringify it.
54391         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54392         of cleanups.
54394 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54396         * string/Makefile: Update.
54397         (strop-tests): Append strncat.
54398         * string/test-wcscmp.c: New file.
54399         New comprehensive test for wcscmp.
54400         * string/test-strcmp.c: Update.
54401         (WIDE): New define.
54403 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54405         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54406         line.
54408 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54411         encoding to ACE if AI_IDN.
54413 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54415         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54416         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54418 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54420         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54421         Fix overflow bug in strncat.
54422         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54424         * string/test-strncat.c: Update.
54425         Add new tests for checking overflow bugs.
54427 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54429         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54430         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54431         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54432         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54433         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54434         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54435         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54436         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54437         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54439         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54440         (USE_AS_STRCAT): Define.
54441         Add strcat and strncat support.
54442         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54444 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54446         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54447         __n bigger than INT_MAX+1.
54448         (__strncmp_g): Likewise.
54450 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54452         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54453         * libio/stido.h: Likewise.
54455         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54456         (AF_NFC): Define.
54457         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54458         (AF_NFC): Define.
54460         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54461         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54462         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54463         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54464         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54466         [BZ #13021]
54467         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54468         installed.
54470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54471         typo.
54472         (_dl_x86_64_save_sse): Likewise.
54474 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54477         OSXSAVE.
54478         (_dl_x86_64_save_sse): Likewise.
54480         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54482         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54484 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54486         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54487         change.
54488         (_dl_x86_64_save_sse): Use correct AVX check.
54490 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54492         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54493         bug in strncpy/strncat.
54494         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54496 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54498         * string/tester.c (test_strcat): Add tests for different alignments
54499         of source and destination.
54500         (test_strncat): Likewise.
54502 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54504         [BZ #12852]
54505         * posix/glob.c (glob): Check passed in values before using them in
54506         expressions to avoid some overflows.
54507         (glob_in_dir): Likewise.
54509         [BZ #13007]
54510         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54511         check for AVX enablement so that we don't crash with old kernels and
54512         new hardware.
54513         * elf/tst-audit4.c: Add same checks here.
54514         * elf/tst-audit6.c: Likewise.
54516         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54518 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54520         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54522 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54524         * po/cs.po: Update from translation team.
54525         * po/bg.po: Likewise.
54527 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54529         * misc/sys/cdefs.h: Add support for const attribute.
54530         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54531         to gnu_dev_{major,minor,makedev} functions.
54533 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54535         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54537 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54539         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54540         strlen results.
54542 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54544         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54545         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54546         register in order to avoid conflicts with the soft frame pointer
54547         being held in r11 when necessary.
54548         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54549         (INTERNAL_VSYSCALL_NCS): Likewise.
54551 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54553         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54554         * elf/dl-fini.c (_dl_fini): Adjust caller.
54555         * elf/dl-close.c (_dl_close_worker): Likewise.
54556         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54558 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54560         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54561         "aux_cache->nlibs < 0".
54563         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54564         in the reload-count case.
54566 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54569         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54570         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54571         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54572         * sysdeps/x86_64/multiarch/strcat.S: New file.
54573         * sysdeps/x86_64/multiarch/strncat.S: New file.
54574         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54575         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54576         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54577         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54578         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54579         (USE_AS_STRCAT): Define.
54580         Add strcat and strncat support.
54581         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54583         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54584         * string/strncat.c: Update.
54585         (USE_AS_STRNCAT): Define.
54586         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54587         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54588         and i7.
54589         * sysdeps/x86_64/multiarch/init-arch.h
54590         (bit_Prefer_PMINUB_for_stringop): New.
54591         (index_Prefer_PMINUB_for_stringop): Likewise.
54592         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54593         bit_Prefer_PMINUB_for_stringop.
54595 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54597         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54598         buffer64.
54599         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54600         of casting of buffer.
54601         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54602         buffer32 and buffer64.
54603         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54604         writes instead of casting of buffer.
54605         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54606         buffer32.
54607         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54608         casting of buffer.
54610 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54612         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54614 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54616         * nscd/nscd.c (termination_handler): Don't do anything for a database
54617         if it has not yet been initialized.
54619 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54621         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54623 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54625         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54627 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54629         * po/nl.po: Update from translation team.
54630         * po/sv.po: Likewise.
54632 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54634         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54635         now disallowed by GCC.
54637         * configure.in (use-default-link): Default to yes if a test -shared
54638         link meets our qualifications.
54639         * configure: Regenerated.
54641         * config.make.in (output-format): New variable.
54642         * configure.in: Check for ld --print-output-format support.
54643         * configure: Regenerated.
54644         * Makerules ($(common-objpfx)format.lds)
54645         [$(output-format) != unknown]: Just use $(output-format),
54646         instead of the linker-script munging.
54648 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54650         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54651         of $(common-objpfx)shlib.lds.
54652         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54654         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54655         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54657         * configure.in (-z relro check): Adjust test code to add a large
54658         writable data section after it.
54659         * configure: Regenerated.
54661 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54663         * configure.in (-z relro check): Fix test code to make the variable
54664         truly const.
54665         * configure: Regenerated.
54667 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54669         * nscd/nscd.h (struct traced_file): Define.
54670         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54671         elements.  Add traced_files.
54672         (inotify_fd): Declare.
54673         (register_traced_file): Declare.
54674         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54675         (inotify_fd): Export.
54676         (resolv_conf_descr): Remove.
54677         (nscd_init): Move inotify descriptor creation to main.
54678         Don't register files for notification here.
54679         (register_traced_file): New function.
54680         (invalidate_cache): Don't use reset_res to determine whether to call
54681         res_init, go through the list of registered files.
54682         (main_loop_poll): The inotify descriptors are now stored in the
54683         structures for the traced files.
54684         (main_loop_epoll): Likewise
54685         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54686         to __nss_disable_nscd.
54687         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54688         for a database anymore.  Check the records for all the registered
54689         files instead.
54690         * nss/Makefile (libnss_files-routines): Add files-init.
54691         (libnss_db-routines): Add db-init.
54692         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54693         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54694         * nss/nss_db/db-init.c: New file.
54695         * nss/nss_files/files-init.c: New file.
54696         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54697         __nss_lookup_function.
54698         (__nss_lookup_function): Call nss_load_library.
54699         (nss_load_all_libraries): New function.
54700         (__nss_disable_nscd): Take parameter with callback function for files
54701         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54702         used for the cached services.
54703         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54704         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54705         options for features to all the files in nscd.
54707         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54709 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54711         * csu/elf-init.c (__libc_csu_init): Comment typo.
54713 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54715         * po/pl.po: Update from translation team.
54716         * po/ja.po: Likewise.
54717         * po/ru.po: Likewise.
54718         * po/ko.po: Likewise.
54719         * po/fr.po: Likewise.
54721 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54723         * configure.in (.ctors/.dtors header and trailer check):
54724         Use an empirical test on a built program.
54725         * configure: Regenerated.
54727         * configure.in (-z relro check): Use an empirical test on a built DSO.
54728         Detect, but do not require, on ia64.
54729         * configure: Regenerated.
54731         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54732         Update tests that use readelf to use $READELF instead.
54733         * configure: Regenerated.
54735 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54737         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54738         if the result is not used.
54740 2011-07-05  Andreas Jaeger  <aj@suse.de>
54742         [BZ#9696]
54743         * stdlib/tst-strtod.c: Add testcase.
54745 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54747         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54748         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54749         The latter has a higher limit.  Take additional parameter to pass to
54750         the new function.
54751         (__pathconf): Pass file to __statfs_link_max.
54752         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54753         __statfs_link_max.
54754         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54755         __statfs_link_max.
54757         [BZ #12868]
54758         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54759         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54760         Handle Lustre.
54761         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54762         (__statfs_filesize_max): Likewise.
54763         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54765 2011-07-05  Andreas Jaeger  <aj@suse.de>
54767         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54769 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54771         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54772         `status' variable.
54773         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54774         Likewise.
54776 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54778         * Makefile (strop-tests): Add strncat.
54779         * string/test-strncat.c: New file.
54781 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54783         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54785 2011-06-21  Andreas Jaeger  <aj@suse.de>
54787         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54788         Copy rule from iconvdata/Makefile.
54790 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54792         [BZ #12922]
54793         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54794         but no long options are defined, just return 'W'.
54796 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54798         [BZ #9696]
54799         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54801 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54803         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54804         netgroups to read.
54805         (innetgr): Likewise.
54807 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54809         * config.make.in (install_root): Default to $(DESTDIR).
54811 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54813         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54815 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54817         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54819         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54820         containing directory rather than embedding absolute directory names.
54822         * scripts/check-local-headers.sh: Rewritten using awk.
54823         Match by word, not by line.  Print error messages for matches.
54824         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54826         * Makerules [shlib-lds-flags empty]:
54827         ($(common-objpfx)libc_pic.opts): New target.
54828         ($(common-objpfx)libc_pic.os.clean): New target.
54829         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54831         * config.make.in (OBJCOPY): New variable.
54832         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54833         * configure: Regenerated.
54835         * config.make.in (use-default-link): New variable.
54836         * configure.in (use_default_link): Grok --with-default-link to set it.
54837         * configure: Regenerated.
54838         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54839         (shlib-lds, shlib-lds-flags): Define to empty.
54841         * Makerules (shlib-lds): New variable.
54842         (shlib-lds-flags): New variable.
54843         (build-shlib, build-moduile, build-module-asneeded): Use it.
54844         ($(common-objpfx)libc.so): Use $(shlib-lds).
54845         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54846         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54848         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54849         DT_FLAGS/DT_FLAGS_1 with zero flags.
54851         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54852         linker script munging.
54854 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54856         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54857         as 128-bit value.
54858         * crypt/sha512.c (sha512_process_block): Perform total addition using
54859         128-bit if possible.
54860         (__sha512_finish_ctx): Likewise.
54861         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54862         as 64-bit value.
54863         * crypt/sha256.c (SWAP64): Define.
54864         (sha256_process_block): Perform total addition using 64-bit if
54865         possible.
54866         (__sha256_finish_ctx): Likewise.
54868 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54870         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54871         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54872         * nscd/hstcache.c (cache_addhst): Likewise.
54873         * nscd/grpcache.c (cache_addgr): Likewise.
54874         * nscd/aicache.c (addhstaiX): Likewise
54875         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54877 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54879         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54880         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54881         * nscd/hstcache.c (cache_addhst): Likewise.
54882         * nscd/grpcache.c (cache_addgr): Likewise.
54883         * nscd/aicache.c (addhstaiX): Likewise
54885 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54887         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54888         domain only when needed.
54890 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54892         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54893         is always restored.
54895 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54897         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54898         are re-adding the entry.
54899         * nscd/servicescache.c (cache_addserv): Likewise.
54901 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54903         * sysdeps/generic/dl-irel.h: fix protection against multiple
54904         inclusions.
54905         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54907 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54909         [BZ #12935]
54910         * malloc/memusage.sh: Fix quoting in message.
54911         * debug/xtrace.sh: Likewise.
54913         * configure.in: Remove support for --experimental-malloc option, make
54914         it the default.
54915         * config.make.in: Likewise.
54916         * malloc/Makefile: Likewise.
54918 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54920         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54921         two-byte characters.
54923 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54925         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54926         AC_CACHE_CHECK invocation.
54927         * configure: Regenerated.
54929         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54931 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54933         [BZ #12350]
54934         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54935         bit from old_res_options.
54937         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54939         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54940         value type for setfct.
54942 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54944         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54945         __gettimeofday instead of gettimeofday.
54947 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54949         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54951 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54953         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54955         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54956         info.
54958 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54961         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54962         strcpy-sse2-unaligned strncpy-sse2-unaligned
54963         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54964         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54965         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54966         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54967         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54968         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54969         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54970         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54971         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54972         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54973         (STRCPY): Support SSE2 and SSSE3 versions.
54975 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54977         [BZ #12874]
54978         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54979         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54980         kernels which artificially limit size of requests.
54982 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54984         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54985         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54986         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54987         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54988         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54989         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54990         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54991         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54992         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54993         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54994         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54995         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54996         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54997         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54998         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55000         Enable unaligned load optimization for Intel Core i3, i5 and i7
55001         processors.
55002         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55003         Define.
55004         (index_Fast_Unaligned_Load): Define.
55005         (HAS_FAST_UNALIGNED_LOAD): Define.
55007 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
55009         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55011 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55013         [BZ #12907]
55014         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55015         until it is clear that the information is realy needed.
55016         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55018 2011-06-22  Andreas Schwab  <schwab@redhat.com>
55020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55022 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
55024         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55025         /sys/devices/system/cpu/online if it is usable.
55027         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55028         reading the information from the /proc filesystem to once a second.
55030 2011-06-21  Andreas Jaeger  <aj@suse.de>
55032         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55033         NULL after inclusion of kernel headers.
55035 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
55037         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55038         calls to internal_setent.
55040         [BZ #12885]
55041         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55042         addresses using gethostbyname4_r ignore IPv4 addresses.
55044         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55045         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
55047         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55049 2011-06-20  David S. Miller  <davem@davemloft.net>
55051         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55052         inclusions.
55053         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55055         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55056         (elf_irel): Use it.
55057         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55058         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55059         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55060         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55061         * sysdeps/x86_64/dl-irel.h: Likewise.
55063         * elf/dl-runtime.c: Use elf_ifunc_invoke.
55064         * elf/dl-sym.c: Likewise.
55066 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55068         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
55069         need to dereference resplen2.
55071 2011-06-14  Andreas Schwab  <schwab@redhat.com>
55073         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55075 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
55077         * Makeconfig: Define vardbdir and inst_vardbdir.
55078         * nss/Makefile: Add rules to install db-Makefile.
55080         * nss/nss_db/db-XXX.c: Cleanup.
55082         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55083         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55084         GLIBC_PRIVATE.
55085         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55086         * nss/makedb.c: Implement -g option to specify that value strings
55087         are generated and should not be added to table iterated over for
55088         get*ent calls.
55089         * nss/nss_db/db-initgroups.c: New file.
55091         * nss/getent.c: Add support for initgroups lookups through getgrouplist
55092         interface.
55094         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55095         (internal_getgrouplist): Adjust to name change.
55096         Update use_initgroups_entry if this is not the first call.
55097         * nss/databases.def: Add initgroups entry.
55099         * nss/makedb.c (compute_tables): Check result of multiple hash table
55100         sizes to minimize maximum chain length.
55102 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
55104         * Versions.def: Add entry for libnss_db.
55105         * shlib-versions: Likewise.
55106         * nss/Makefile: Add rules to build libnss_db.
55107         * nss/Versions: Add libnss_db information.  Organize libnss_files
55108         entries better.
55109         * nss/db-Makefile: Add gshadow support.  Change rules for the new
55110         makedb progra.  Some minor improvements to generate smaller files.
55111         * nss/nss_db/nss_db.h: Move NSS database header data structures to
55112         here from...
55113         * nss/makedb.c: ...here.
55114         Improve database format to be smaller and require less memory at
55115         runtime.
55116         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
55117         db anymore.
55118         * nss/nss_db/db-netgrp.c: Likewise.
55119         * nss/nss_db/db-open.c: Likewise.
55120         * nss/nss_files/flies-XXX.x: Adjust comments.
55121         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55122         * nss/nss_files/files-grp.c: Likewise.
55123         * nss/nss_files/files-hosts.c: Likewise.
55124         * nss/nss_files/files-network.c: Likewise.
55125         * nss/nss_files/files-proto.c: Likewise.
55126         * nss/nss_files/files-pwd.c: Likewise.
55127         * nss/nss_files/files-rpc.c: Likewise.
55128         * nss/nss_files/files-service.c: Likewise.
55129         * nss/nss_files/files-sgrp.c: Likewise.
55130         * nss/nss_files/files-spwd.c: Likewise.
55131         * nss/nss_db/db-alias.c: Removed.
55132         * nss/nss_db/dummy-db.h: Removed.
55134 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55136         * nss/makedb.c: Rewritten to not use database library.
55137         * nss/Makefile: Update to build new makedb program.
55139 2011-06-14  Andreas Jaeger  <aj@suse.de>
55141         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55142         memset declaration.
55144 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55147         tmpbuf.
55149 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55151         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55152         * elf/Makefile ($(objpfx)ld.so): Likewise.
55154         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55155         Don't list ld.so twice in dependencies.
55157         * posix/bug-regex31.c: Include <stdlib.h>.
55159         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55161         * nis/nss_compat/compat-spwd.c
55162         (getspent_next_nss_netgr): Remove unused variable.
55163         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55165         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55166         nonmembers" output to use the right array.
55168         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55170         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55172         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55173         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55174         * catgets/gencat.c (read_input_file): Likewise.
55175         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55177         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55178         variable definition inside #if's controlling its use.
55180         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55182         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55184         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55186         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55187         unreachable code.
55189         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55191         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55192         * configure: Regenerated.
55194         * Makerules: Revert last change.
55195         * elf/Makefile: Likewise.
55197 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55199         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55200         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55201         (reloc-link): Likewise.
55203 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55205         * elf/Makefile: Add rules to build pldd.
55206         * elf/pldd.c: New file.
55207         * elf/pldd-xx.c: New file.
55209 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55211         * version.h: Update for 2.15 development version.
55213 2011-06-07  David S. Miller  <davem@davemloft.net>
55215         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55216         ifuncs.
55217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55218         elf_machine_lazy_rel): Likewise.
55219         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55221         elf_machine_lazy_rel): Likewise.
55222         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55223         dl_hwcap via passed in argument.
55224         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55225         Likewise.
55227 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55229         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55231 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55233         [BZ #12849]
55234         * manual/fdl-1.1.texi: New file, verbatim from:
55235         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55236         * manual/lgpl-2.1.texi: New file, verbatim from:
55237         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55238         * manual/Makefile (licenses): New variable, list those new file names.
55239         (texis): Use it.
55240         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55242         * manual/fdl.texi: File removed.
55243         * manual/lesser.texi: File removed.
55244         * manual/libc.texinfo (Copying, Documentation License):
55245         Use new @include file names, put @appendix directive before @include.
55247 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55249         [BZ #12841]
55250         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55251         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55252         (mq_open): Add __NTH.
55254 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55257         Assume Intel Core i3/i5/i7 processor if AVX is available.
55259 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55262         typo.
55264 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55266         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55267         memory.  Use alloca_account.  Fix memory leak when retrying.
55269 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55271         * version.h (RELEASE): Bump for 2.14 release.
55272         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55274         * config.make.in (RANLIB): Remove entry.
55276 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55278         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55279         (libc.pot): Work around missing support for .ksh extension in xgettext.
55281         [BZ #12684]
55282         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55283         if both request failed.
55284         (send_dg): In case of server errors clear resplen or *resplen2.
55286         [BZ #12454]
55287         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55288         when there are multiple maps.
55289         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55290         (_dl_fini): Remove test here.
55292         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55294 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55296         [BZ #12350]
55297         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55298         bit from old_res_options.
55299         (gaih_inet): Likewise.
55301         [BZ #11099]
55302         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55303         as signed.
55305         * resolv/res_init.c (res_setoptions): Make the code more compact.
55307         [BZ #11558]
55308         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55309         set RES_USEVC.
55311         [BZ #11634]
55312         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55314         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55316         [BZ #11781]
55317         * malloc/malloc.h: Declare malloc hook variables as volatile.
55319         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55320         in last patch.
55322         [BZ #11799]
55323         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55324         raise in the comment.
55325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55327         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55329 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55331         [BZ #12811]
55332         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55333         grow the buffers more if it already has to be sufficient.
55334         (build_wcs_upper_buffer): Likewise.
55335         * posix/regexec.c (check_matching): Likewise.
55336         (clean_state_log_if_needed): Likewise.
55337         (extend_buffers): Don't enlarge buffers beyond size of the input
55338         buffer.
55339         Patches mostly by Emil Wojak <emil@wojak.eu>.
55340         * posix/bug-regex32.c: New file.
55341         * posix/Makefile (tests): Add bug-regex32.
55343         * locale/findlocale.c (_nl_find_locale): Return right away if
55344         _nl_explode_name failed.
55345         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55347         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55349         * debug/xtrace.sh: Unify messages.
55350         * malloc/memusage.sh: Likewise.
55352         [BZ #12813]
55353         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55354         time symbol from vDSO.  Substitute with vsyscall if not available.
55355         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55356         __vdso_time.
55358         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55359         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55360         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55361         Add sendmmsg and internal_sendmmsg.
55362         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55363         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55364         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55366         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55367         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55368         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55370 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55372         [BZ #12813]
55373         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55374         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55375         available.
55376         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55377         __vdso_getcpu.
55379         [BZ #12814]
55380         * iconvdata/Makefile (tests): Add bug-iconv9.
55381         * iconvdata/bug-iconv9.c: New file.
55383 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55385         [BZ #12814]
55386         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55388 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55390         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55391         (struct user_regs_struct): Change intcs field back to cs.
55393 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55395         * po/ja.po: Update from translation team.
55397 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55399         [BZ #12795]
55400         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55401         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55403 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55405         * stdlib/longlong.h: Update from GCC.
55407 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55409         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55410         parameter name.
55411         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55412         Add parameter name.
55413         (__sysconf): Pass it down.
55415 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55417         [BZ #12671]
55418         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55419         some situations.
55420         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55421         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55422         add in in __libc_use_alloca calls.  Adjust callers.
55423         (glob): Use malloc in some situations.
55425         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55426         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55427         pltexit.
55429 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55431         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55432         and CLOCK_BOOTTIME_ALARM.
55434         [BZ #12782]
55435         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55436         is returned.
55438         * string/_strerror.c (__strerror_r): Print negative errors as signed
55439         numbers.
55441         [BZ #12777]
55442         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55443         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55444         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55446         * configure.in: Fix typo in redirection and correct removal of test
55447         files in two cases.
55449         [BZ #12788]
55450         * locale/setlocale.c (new_composite_name): Fix test to check for
55451         identical name of all categories.
55453         [BZ #12792]
55454         * libio/filedoalloc.c (local_isatty): New function.
55455         (_IO_file_doallocate): Use local_isatty.
55456         * stdio-common/perror.c (perror): In case a new stream is used
55457         forward the stream error.
55458         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55459         error flag.
55461 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55463         [BZ #11869]
55464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55465         alloca.
55466         * include/alloca.h (extend_alloca_account): Define.
55468         [BZ #11857]
55469         * posix/regex.h: Fix comments with documentation of user-accessible
55470         fields after compilation and describe correct free'ing of pattern
55471         after re_compile_pattern.
55472         Patch by Reuben Thomas <rrt@sc3d.org>.
55474 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55476         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55477         and -mno-altivec to prevent the compiler from using Altivec and/or
55478         VSX instructions when the corresponding registers are not available.
55480 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55482         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55484 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55486         * libio/freopen.c (freopen): Use __dup2, not dup2.
55487         * libio/freopen64.c (freopen64): Likewise.
55489 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55491         [BZ #12775]
55492         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55493         * math/Makefile (tests): Add test-powl.
55494         (CFLAGS-test-powl.c): Define.
55495         * math/test-powl.c: New file.
55497 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55499         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55501 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55503         [BZ #11837]
55504         * iconvdata/gb18030.c: Update to GB18020-2005.
55506 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55508         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55509         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55510         Patch by Aharon Robbins <arnold@skeeve.com>.
55512         [BZ #11892]
55513         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55514         on the stack.
55516         [BZ #11895]
55517         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55518         through underflows.
55520         [BZ #12766]
55521         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55522         point to strings before performing equality test for error_one_per_line
55523         mode.
55525         [BZ #11697]
55526         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55528         [BZ #11820]
55529         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55530         (struct user_fpregs_struct): Avoid __uint*_t types.
55532         [BZ #6420]
55533         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55534         symbol info.  Use it instead of calling _dl_addr locally.
55535         (lock_and_info): New function.
55536         (tr_freehook): Call lock_and_info and pass symbol info as additional
55537         parameter to tr_where.
55538         (tr_mallochook): Likewise.
55539         (tr_reallochook): Likewise.
55540         (tr_memalignhook): Likewise.
55542         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55543         used and couldn't be at all thread-safe.
55545 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55547         * libio/freopen.c (freopen): Don't close old file descriptor
55548         before the new one is opened.  Instead dup the new file descriptor
55549         to the old one after the new stream is created.
55550         * libio/freopen64.c (freopen64): Likewise.
55551         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55552         * libio/fileops.c (_IO_new_file_close_it): Handle new
55553         _IO_FLAGS2_NOCLOSE flag.
55554         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55555         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55556         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55557         _IO_FLAGS2_NOCLOSE flag.
55558         * include/unistd.h: Add hidden_proto for dup3.
55559         Define __have_dup3.
55560         * io/dup3.c: Define hidden symbol.
55561         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55563         [BZ #7101]
55564         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55565         when an incomplete long option is used.
55566         * posix/tst-getopt_long1.c: New file.
55567         * posix/Makefile (tests): Add tst-getopt_long1.
55569         [BZ #10138]
55570         * scripts/config.guess: Update from autoconf-2.68.
55571         * scripts/config.sub: Likewise.
55573         [BZ #10157]
55574         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55575         tests into ...
55576         (has_cpuclock): ...this.  New function.
55577         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55578         macro here based on has_cpuclock code.
55580         [BZ #10149]
55581         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55582         First byte (not low byte) is now always NUL.
55583         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55585         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55586         Use non-cancelable interfaces.
55588         [BZ #9809]
55589         * locale/iso-639.def: Add entry for Sorani.
55591         [BZ #11901]
55592         * include/stdlib.h: Move include protection to the right place.
55593         Define abort_msg_s.  Declare __abort_msg with it.
55594         * stdlib/abort.c (__abort_msg): Adjust type.
55595         * assert/assert.c (__assert_fail_base): New function.  Majority
55596         of code from __assert_fail.  Allocate memory for __abort_msg with
55597         mmap.
55598         (__assert_fail): Now call __assert_fail_base.
55599         * assert/assert-perr.c: Remove bulk of implementation.  Use
55600         __assert_fail_base.
55601         * include/assert.hL Declare __assert_fail_base.
55602         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55603         mmap.
55604         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55606 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55608         [BZ #11952]
55609         [BZ #12453]
55610         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55611         until all modules are registered in the DTV.
55612         * elf/Makefile: Add rules to build and run tst-tls19.
55613         * elf/tst-tls19.c: New file.
55614         * elf/tst-tls19mod1.c: New file.
55615         * elf/tst-tls19mod2.c: New file.
55616         * elf/tst-tls19mod3.c: New file.
55617         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55619         [BZ #12083]
55620         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55621         correctly.
55623         [BZ #12601]
55624         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55625         two-byte sequence errors.
55626         * iconvdata/Makefile (tests): Add bug-iconv8.
55627         * iconvdata/bug-iconv8.c: New file.
55629         [BZ #12626]
55630         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55631         buf2 definition.
55633         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55635         [BZ #12432]
55636         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55637         (dummy_getcfa): New function.
55638         (init): Get _Unwind_GetCFA address, use dummy if not found.
55639         (backtrace_helper): In recursion check, also check whether CFA changes.
55640         (__backtrace): Completely initialize arg.
55642         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55643         storing incomplete byte sequence in state object.  Avoid testing for
55644         guaranteed too small input if we know there is enough data available.
55646 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55648         * Makeconfig (+link-pie): Indent.
55649         * Rules (binaries-pie): Define if $(have-fpie) and
55650         $(build-shared).
55651         (binaries-shared): Also filter out $(binaries-pie).
55652         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55653         * nscd/Makefile (others-pie): Add nscd.
55654         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55655         ($(objpfx)nscd): Remove command override.
55656         * login/Makefile (others-pie): Add pt_chown.
55657         ($(objpfx)pt_chown): Remove command override.
55658         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55659         remove command overrides.
55661 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55663         * libio/tst_putwc.c: Fix error messages.
55665         [BZ #12724]
55666         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55667         currently writing and seek to current position when not.
55668         * libio/Makefile (tests): Add bug-fclose1.
55669         * libio/bug-fclose1.c: New file.
55671 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55673         [BZ #12511]
55674         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55675         don't set DF_1_NODELETE here.
55676         (do_lookup_x): When entering new entry test for copy relocation
55677         and if necessary set DF_1_NODELETE flag.
55678         * elf/tst-unique4.cc: New file.
55679         * elf/tst-unique4.h: New file.
55680         * elf/tst-unique4lib.cc: New file.
55681         * elf/Makefile: Add rules to build and run tst-unique4.
55682         Patch by Piotr Bury <pbury@goahead.com>.
55684 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55686         [BZ #12052]
55687         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55689         [BZ #12625]
55690         * misc/mntent_r.c (addmntent): Flush the stream after the output
55692         [BZ #12393]
55693         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55694         (is_trusted_path_normalize): Skip initial colon.  Append slash
55695         to empty buffer.  Duplicate is_trusted_path code but allow
55696         constructed patch to be prefix.
55697         (is_dst): Allow $ORIGIN followed by /.
55698         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55699         Correct testing of result of is_trusted_path_normalize
55700         (decompose_rpath): Fix warning.
55702 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55704         [BZ #11257]
55705         * grp/initgroups.c (internal_getgrouplist): When we found the service
55706         list through the initgroups entry in nsswitch.conf do not always
55707         continue on a successful lookup.  Don't always use the
55708         __nss_group_database value if it is set.
55709         * nss/nsswitch.conf (initgroups): Change action for successful db
55710         lookup to continue for compatibility.
55712 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55714         [BZ #11532]
55715         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55716         and CP774 modules.
55717         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55718         and CP774 modules.
55719         * iconvdata/tst-tables.sh: Likewise.
55720         * iconvdata/cp770.c: New file.
55721         * iconvdata/cp771.c: New file.
55722         * iconvdata/cp772.c: New file.
55723         * iconvdata/cp773.c: New file.
55724         * iconvdata/cp774.c: New file.
55725         * iconvdata/testdata/CP770: New file.
55726         * iconvdata/testdata/CP770..UTF8: New file.
55727         * iconvdata/testdata/CP771: New file.
55728         * iconvdata/testdata/CP771..UTF8: New file.
55729         * iconvdata/testdata/CP772: New file.
55730         * iconvdata/testdata/CP772..UTF8: New file.
55731         * iconvdata/testdata/CP773: New file.
55732         * iconvdata/testdata/CP773..UTF8: New file.
55733         * iconvdata/testdata/CP774: New file.
55734         * iconvdata/testdata/CP774..UTF8: New file.
55736         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55737         END CHARMAP line.
55738         * iconvdata/gen-8bit-gap.sh: Likewise.
55739         * iconvdata/gen-8bit.sh: Likewise.
55741         * locale/iso-639.def: Add ary entry.
55743         [BZ #11258]
55744         * locale/C-translit.h.in: Add U20A1 transliteration.
55746         [BZ #12178]
55747         * locale/iso-639.def: Add wae entry.
55748         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55750         [BZ #12545]
55751         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55752         for n.
55754         [BZ #12711]
55755         * locale/C-translit.h.in: Add entry for U20B9.
55756         Patch by pravin.d.s@gmail.com.
55758 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55760         [BZ #12713]
55761         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55762         ENAMETOOLONG use generic getcwd.
55763         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55764         in rtld.  Use *stat64.
55765         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55766         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55767         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55768         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55769         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55770         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55771         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55772         __fstatat64 macros.
55773         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55774         * dirent/rewinddir.c: Add libc_hidden_def.
55775         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55776         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55778         * include/dirent.h (__alloc_dir): Add flags parameter.
55779         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55780         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55781         __alloc_dir.
55782         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55783         from fdopendir if O_CLOEXEC is already set.
55785 2011-03-15  Alan Modra  <amodra@gmail.com>
55787         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55788         l_tls_firstbyte_offset non-zero.  Save padding offset in
55789         l_tls_firstbyte_offset for later use.
55790         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55791         freeing static tls block.
55793 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55795         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55796         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55797         being defined by the kernel headers.
55799 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55801         [BZ #12734]
55802         * resolv/resolv.h: Define RES_NOTLDQUERY.
55803         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55804         no-tld-query and set RES_NOTLDQUERY.
55805         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55806         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55807         modern BIND to search name as TLD unless forbidden.
55809 2011-05-07  Petr Baudis  <pasky@suse.cz>
55810             Ulrich Drepper  <drepper@gmail.com>
55812         [BZ #12393]
55813         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55814         (is_trusted_path): ...to here.
55815         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55816         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55817         using is_trusted_path_normalize() in setuid scripts.
55819 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55821         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55822         __BEGIN/__END_DECLS.
55824 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55826         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55827         NSS_STATUS_NOTFOUND if no record was found.
55829 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55831         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55832         (headers-not-in-tirpc): Remove rpc/netdb.h
55833         * resolv/netdb.h: Revert last change.
55835 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55837         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55838         circular dependency between libgcc.a and libc.a.
55840 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55842         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55843         * nis/Makefile: Don't install rpcsvc/*.
55844         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55845         instead of <rpc/types.h>.
55846         (MAXHOSTNAMELEN): Define.
55848 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55850         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55852 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55854         [BZ #12714]
55855         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55856         gethostbyname4_r when IPv6 results are possible.
55858 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55860         [BZ #12723]
55861         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55862         _PC_PIPE_BUF handling.
55864 2011-04-30  Bruno Haible  <bruno@clisp.org>
55866         [BZ #12717]
55867         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55868         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55869         to 'int'.
55870         * inet/getnameinfo.c (getnameinfo): Likewise.
55872 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55874         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55875         to groups setting in database lookup.
55876         * nss/nsswitch.conf: Add initgroups entry.
55878 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55880         [BZ #12685]
55881         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55882         mode string.
55883         Patch by Eric Blake <eblake@redhat.com>.
55885 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55887         * sunrpc/Makefile (need-export-routines): Add svc_run.
55888         (routines): Remove svc_run.
55889         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55890         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55891         * sunrpc/svc_run.c (svc_run): Likewise.
55892         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55894 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55896         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55897         problem in reallocation in last patch.
55899 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55901         * sunrpc/Makefile: Move inclusion of Rules.
55903 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55905         * nss/nss_files/files-initgroups.c: New file.
55906         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55907         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55908         _nss_files_initgroups_dyn.
55910 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55912         * elf/elf.h (R_ARM_IRELATIVE): Define.
55914 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55916         * po/ru.po: Update from translation team.
55918 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55920         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55921         dependencies.
55923 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55925         [BZ #12653]
55926         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55927         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55928         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55929         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55930         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55932 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55934         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55935         differing bytes.
55936         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55937         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55938         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55940 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55942         [BZ #12420]
55943         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55944         storing it.
55945         * stdlib/bug-getcontext.c: New file.
55946         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55948 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55950         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55951         instructions into .machine "z9-109".
55952         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55953         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55955 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55957         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55958         between environment variables and auxiliary vector.
55960 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55962         * Makefile: Add rules to build linkobj/libc.so.
55963         * include/libc-symbols.h: Define libc_hidden_nolink.
55964         * include/rpc/auth.h: Mark functions which are to be hidden.
55965         * include/rpc/auth_des.h: Likewise.
55966         * include/rpc/auth_unix.h: Likewise.
55967         * include/rpc/clnt.h: Likewise.
55968         * include/rpc/des_crypt.h: Likewise.
55969         * include/rpc/key_prot.h: Likewise.
55970         * include/rpc/pmap_clnt.h: Likewise.
55971         * include/rpc/pmap_prot.h: Likewise.
55972         * include/rpc/pmap_rmt.h: Likewise.
55973         * include/rpc/rpc_msg.h: Likewise.
55974         * include/rpc/svc.h: Likewise.
55975         * include/rpc/svc_auth.h: Likewise.
55976         * include/rpc/xdr.h: Likewise.
55977         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55978         * nss/Makefile: Likewise.
55979         * sunrpc/Makefile: Don't install headers.  Build library with normal
55980         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55981         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55982         for the compat linking library.  Remove use of INTDEF/INTUSE.
55983         * sunrpc/auth_none.c: Likewise.
55984         * sunrpc/auth_unix.c: Likewise.
55985         * sunrpc/authdes_prot.c: Likewise.
55986         * sunrpc/authuxprot.c: Likewise.
55987         * sunrpc/clnt_gen.c: Likewise.
55988         * sunrpc/clnt_perr.c: Likewise.
55989         * sunrpc/clnt_raw.c: Likewise.
55990         * sunrpc/clnt_simp.c: Likewise.
55991         * sunrpc/clnt_tcp.c: Likewise.
55992         * sunrpc/clnt_udp.c: Likewise.
55993         * sunrpc/clnt_unix.c: Likewise.
55994         * sunrpc/des_crypt.c: Likewise.
55995         * sunrpc/des_soft.c: Likewise.
55996         * sunrpc/get_myaddr.c: Likewise.
55997         * sunrpc/key_call.c: Likewise.
55998         * sunrpc/key_prot.c: Likewise.
55999         * sunrpc/netname.c: Likewise.
56000         * sunrpc/pm_getmaps.c: Likewise.
56001         * sunrpc/pm_getport.c: Likewise.
56002         * sunrpc/pmap_clnt.c: Likewise.
56003         * sunrpc/pmap_prot.c: Likewise.
56004         * sunrpc/pmap_prot2.c: Likewise.
56005         * sunrpc/pmap_rmt.c: Likewise.
56006         * sunrpc/publickey.c: Likewise.
56007         * sunrpc/rpc_cmsg.c: Likewise.
56008         * sunrpc/rpc_common.c: Likewise.
56009         * sunrpc/rpc_dtable.c: Likewise.
56010         * sunrpc/rpc_prot.c: Likewise.
56011         * sunrpc/rpc_thread.c: Likewise.
56012         * sunrpc/rtime.c: Likewise.
56013         * sunrpc/svc.c: Likewise.
56014         * sunrpc/svc_auth.c: Likewise.
56015         * sunrpc/svc_authux.c: Likewise.
56016         * sunrpc/svc_raw.c: Likewise.
56017         * sunrpc/svc_run.c: Likewise.
56018         * sunrpc/svc_simple.c: Likewise.
56019         * sunrpc/svc_tcp.c: Likewise.
56020         * sunrpc/svc_udp.c: Likewise.
56021         * sunrpc/svc_unix.c: Likewise.
56022         * sunrpc/svcauth_des.c: Likewise.
56023         * sunrpc/xcrypt.c: Likewise.
56024         * sunrpc/xdr.c: Likewise.
56025         * sunrpc/xdr_array.c: Likewise.
56026         * sunrpc/xdr_float.c: Likewise.
56027         * sunrpc/xdr_intXX_t.c: Likewise.
56028         * sunrpc/xdr_mem.c: Likewise.
56029         * sunrpc/xdr_rec.c: Likewise.
56030         * sunrpc/xdr_ref.c: Likewise.
56031         * sunrpc/xdr_sizeof.c: Likewise.
56032         * sunrpc/xdr_stdio.c: Likewise.
56034 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
56036         [BZ #12650]
56037         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56038         * sysdeps/ia64/dl-tls.h: Likewise.
56039         * sysdeps/powerpc/dl-tls.h: Likewise.
56040         * sysdeps/s390/dl-tls.h: Likewise.
56041         * sysdeps/sh/dl-tls.h: Likewise.
56042         * sysdeps/sparc/dl-tls.h: Likewise.
56043         * sysdeps/x86_64/dl-tls.h: Likewise.
56044         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56046 2011-03-14  Andreas Schwab  <schwab@redhat.com>
56048         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56049         rpath element also skip the following colon.
56050         (expand_dynamic_string_token): Add is_path parameter and pass
56051         down to DL_DST_REQUIRED and _dl_dst_substitute.
56052         (decompose_rpath): Call expand_dynamic_string_token with
56053         non-zero is_path.  Ignore empty rpaths.
56054         (_dl_map_object_from_fd): Call expand_dynamic_string_token
56055         with zero is_path.
56057 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
56059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56060         Make cancelable.
56062 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
56064         [BZ #12655]
56065         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56066         Patch by Filipe David Manana <fdmanana@apache.org>.
56068 2011-04-07  Andreas Schwab  <schwab@redhat.com>
56070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56071         Maintain aligned stack.
56072         (CHECK_RSP): Remove unused macro.
56074 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
56076         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56079 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
56081         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56083         * include/features.h: Mention __USE_XOPEN2K8 in comment.
56085 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
56087         [BZ #12518]
56088         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56089         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56090         * sysdeps/x86_64/memmove.c: New file.
56091         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56092         (memcpy): Renamed to ...
56093         (__new_memcpy): This.
56094         (memcpy): Provide GLIBC_2_14 memcpy.
56095         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56096         (memcpy): Provide GLIBC_2_2_5 memcpy.
56098 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56100         [BZ #12631]
56101         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56103 2011-03-30  Andreas Schwab  <schwab@redhat.com>
56105         * misc/syncfs.c: New file.
56106         * misc/Makefile (routines): Add syncfs.
56107         * posix/unistd.h: Declare syncfs.
56108         * sysdeps/unix/syscalls.list: Add syncfs.
56110 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56112         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56113         open_by_handle_at.
56114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56115         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56116         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56117         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56118         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56119         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56120         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56122 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56124         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56126         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56132         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56133         sync_file_range.c with -fexceptions.
56134         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56135         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56136         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56137         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56138         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56139         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56141         sync_file_range as cancellation point
56142         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56143         now a wrapper around __call_sync_file_range with cancellation handling.
56144         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56145         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56146         function name to __call_sync_file_range.
56147         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56148         Add call_sync_file_range.
56150 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56153         bits/timex.h.
56155 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56157         * iconv/iconv.h: Fix typo in comment.
56158         * io/fcntl.h: Likewise.
56159         * libio/stdio.h: Likewise.
56160         * posix/spawn.h: Likewise.
56161         * posix/unistd.h: Likewise.
56162         * stdlib/stdlib.h: Likewise.
56163         * time/time.h: Likewise.
56164         * wcsmbs/wchar.h: Likewise.
56166         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56167         open_by_handle): Add.
56168         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56169         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56170         Augment a few comments.
56171         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56173         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56175         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56176         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56177         open_by_handle.
56179         * io/fcntl.h (AT_EMPTY_PATH): Define.
56181 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56183         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56184         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56185         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56186         to...
56187         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56188         * Versions.def: Add GLIBC_2.14.
56189         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56190         Export.
56192 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56194         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56195         round counter.
56196         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56198 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56200         [BZ #12597]
56201         * string/test-strncmp.c (do_page_test): New function.
56202         (check2): Likewise.
56203         (test_main): Call check2.
56204         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56206 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56208         [BZ #12587]
56209         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56210         Handle cache information in CPU leaf 4.
56211         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56213 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56215         [BZ #12583]
56216         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56217         character representation.
56218         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56220 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56222         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56223         END(__isnan) to END(__isnanf) to match function entry point/label
56224         EALIGN(__isnanf,...).
56226 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56228         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56230 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56232         [BZ #12510]
56233         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56234         copy from the symbol referenced in the relocation to initialize the
56235         used variable.
56236         Patch by Piotr Bury <pbury@goahead.com>.
56237         * elf/Makefile: Add rules to build and tst-unique3.
56238         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56239         * elf/tst-unique3.cc: New file.
56240         * elf/tst-unique3.h: New file.
56241         * elf/tst-unique3lib.cc: New file.
56242         * elf/tst-unique3lib2.cc: New file.
56244         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56246 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56248         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56249         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56250         to _start.
56252 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56254         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56255         to-be-loaded object along a path to loader is ld.so.
56257 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56258             Ulrich Drepper  <drepper@gmail.com>
56260         * sysdeps/x86_64/memset.S: After aligning destination, code
56261         branches to different locations depending on the value of
56262         misalignment, when multiarch is enabled. Fix this.
56264 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56266         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56267         Set _x86_64_preferred_memory_instruction for AMD processsors.
56268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56269         Set bit_Prefer_SSE_for_memop for AMD processors.
56271 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56273         * libio/fmemopen.c (fmemopen): Optimize a bit.
56275 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56277         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56279 2011-03-03  Roland McGrath  <roland@redhat.com>
56281         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56283 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56285         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56286         __bzero_ultra1 instead of __memset_ultra1.
56288 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56289             Ulrich Drepper  <drepper@gmail.com>
56291         [BZ #12509]
56292         * include/link.h (struct link_map): Add l_orig_initfini.
56293         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56294         returning unsuccessfully.
56295         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56296         close of a file loaded at startup, restore the original l_initfini
56297         list.
56298         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56299         list, store the pointer.
56300         * elf/Makefile ($(objpfx)noload-mem): New rule.
56301         (noload-ENV): Define.
56302         (tests): Add $(objpfx)noload-mem.
56303         * elf/noload.c: Include <memcheck.h>.
56304         (main): Call mtrace.  Close all opened handles.
56306 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56308         [BZ #12454]
56309         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56310         dependencies are missing.
56312 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56314         Fix __if_freereq crash: Unlike the generic version which uses free,
56315         Hurd needs munmap.
56316         * sysdeps/mach/hurd/ifreq.h: New file.
56318 2011-01-27  Petr Baudis  <pasky@suse.cz>
56319             Ulrich Drepper  <drepper@gmail.com>
56321         [BZ 12445]#
56322         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56323         to extend_alloca().
56324         * stdio-common/bug23.c: New file.
56325         * stdio-common/Makefile (tests): Add bug23.
56327 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56328             Ulrich Drepper  <drepper@gmail.com>
56330         [BZ #12489]
56331         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56332         before performing relro protection.  At old place add assertion
56333         to make sure nothing changed.
56335 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56336             Glauber de Oliveira Costa  <glommer@gmail.com>
56338         * elf/elf.h: Add new ARM TLS relocs.
56340 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56343         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56344         cast from r3.
56345         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56346         'tests' variable.
56347         * sysdeps/wordsize-64/tst-writev.c: New file.
56349 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56351         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56352         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56353         insns in _dl_start to prevent a TOC reference before relocs are
56354         resolved.
56356 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56358         [BZ #12469]
56359         * Makeconfig: Remove RANLIB definition.
56360         * Makerules: Don't use RANLIB.
56361         * aclocal.m4: Remove ranlib test.
56362         * configure.in: No need to check for ranlib.
56363         * elf/rtld-Rules: Don't use RANLIB.
56365 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56367         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56368         protection macro.
56369         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56370         inclusion protection macro.
56372         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56373         SIGRTMIN and SIGRTMAX and print information in that case only when
56374         SIGRTMIN is defined.
56376 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56378         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56379         arginfo fn returning -1.
56381         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56382         and thousands string is zero terminated.
56384 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56387         sysdeps/unix/sysv/linux/bits/socket.h.
56389 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56391         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56392         (__CPU_COUNT): Remove old macros.
56393         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56394         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56395         (__CPU_ALLOC, __CPU_FREE): Add macros.
56396         (__sched_cpualloc, __sched_cpufree): Add declarations.
56398 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56400         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56401         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56402         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56403         (readdhstai): Return value of addhstaiX call.
56404         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56405         (addgrbyX): Return value returned by cache_addgr.
56406         (readdgrbyname): Return value returned by addgrbyX.
56407         (readdgrbygid): Likewise.
56408         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56409         (addpwbyX): Return value returned by cache_addpw.
56410         (readdpwbyname): Return value returned by addhstbyX.
56411         (readdpwbyuid): Likewise.
56412         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56413         (addservbyX): Return value returned by cache_addserv.
56414         (readdservbyname): Return value returned by addservbyX:
56415         (readdservbyport): Likewise.
56416         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56417         (addhstbyX): Return value returned by cache_addhst.
56418         (readdhstbyname): Return value returned by addhstbyX.
56419         (readdhstbyaddr): Likewise.
56420         (readdhstbynamev6): Likewise.
56421         (readdhstbyaddrv6): Likewise.
56422         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56423         (readdinitgroups): Return value returned by addinitgroupsX.
56424         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56425         (prune_cache): Keep track of timeout value of re-added entries.
56426         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56427         * nscd/nscd.h: Adjust prototypes of readd* functions.
56429 2011-02-04  Roland McGrath  <roland@redhat.com>
56431         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56432         (nis_stats): Likewise.
56433         * nis/nis_modify.c (nis_modify): Likewise.
56434         * nis/nis_remove.c (nis_remove): Likewise.
56435         * nis/nis_add.c (nis_add): Likewise.
56437         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56439         * posix/fnmatch_loop.c: Add some consts.
56441         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56443 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56445         [BZ #12460]
56446         * config.make.in (config-cflags-novzeroupper): Define.
56447         * configure.in: Substitute libc_cv_cc_novzeroupper.
56448         * elf/Makefile (AVX-CFLAGS): Define.
56449         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56450         (CFLAGS-tst-auditmod4a.c): Likewise.
56451         (CFLAGS-tst-auditmod4b.c): Likewise.
56452         (CFLAGS-tst-auditmod6b.c): Likewise.
56453         (CFLAGS-tst-auditmod6c.c): Likewise.
56454         (CFLAGS-tst-auditmod7b.c): Likewise.
56455         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56457 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56459         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56460         function to the callback.
56461         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56463 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56465         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56466         of errno.
56468 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56470         [BZ #11724]
56471         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56472         of constructors.
56473         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56474         of destructors.
56475         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56477         [BZ #11724]
56478         * elf/Makefile: Add rules to build and run new test.
56479         * elf/tst-initorder.c: New file.
56480         * elf/tst-initorder.exp: New file.
56481         * elf/tst-initordera1.c: New file.
56482         * elf/tst-initordera2.c: New file.
56483         * elf/tst-initordera3.c: New file.
56484         * elf/tst-initordera4.c: New file.
56485         * elf/tst-initorderb1.c: New file.
56486         * elf/tst-initorderb2.c: New file.
56487         * elf/tst-order-a1.c: New file.
56488         * elf/tst-order-a2.c: New file.
56489         * elf/tst-order-a3.c: New file.
56490         * elf/tst-order-a4.c: New file.
56491         * elf/tst-order-b1.c: New file.
56492         * elf/tst-order-b2.c: New file.
56493         * elf/tst-order-main.c: New file.
56494         New test case by George Gensure <werkt0@gmail.com>.
56496 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56499         decoding ACE if AI_CANONIDN.
56501 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56503         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56505 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56507         * version.h (RELEASE): Bump for 2.13 release.
56508         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56510         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56512         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56513         MADV_NOHUGEPAGE.
56514         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56515         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56516         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56517         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56519         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56521         * posix/getconf.c: Update copyright year.
56522         * catgets/gencat.c: Likewise.
56523         * csu/version.c: Likewise.
56524         * debug/catchsegv.sh: Likewise.
56525         * debug/xtrace.sh: Likewise.
56526         * elf/ldconfig.c: Likewise.
56527         * elf/ldd.bash.in: Likewise.
56528         * elf/sprof.c (print_version): Likewise.
56529         * iconv/iconv_prog.c: Likewise.
56530         * iconv/iconvconfig.c: Likewise.
56531         * locale/programs/locale.c: Likewise.
56532         * locale/programs/localedef.c: Likewise.
56533         * malloc/memusage.sh: Likewise.
56534         * malloc/mtrace.pl: Likewise.
56535         * nscd/nscd.c (print_version): Likewise.
56536         * nss/getent.c: Likewise.
56538         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56539         PF_CAIF, and PF_ALG.
56540         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56542 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56544         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56545         (modules-names): Use them.
56546         (ifunc-test-modules, ifunc-pie-tests): Define.
56547         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56548         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56549         (test-extras): Likewise.
56550         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56551         $(compile-command.c).
56552         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56553         (all-built-dso): Define.
56554         (check-textrel.out, check-execstack.out): Depend on it.
56556         * configure.in: Don't override --enable-multi-arch.
56558 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56560         [BZ #6812]
56561         * nscd/hstcache.c (tryagain): Define.
56562         (cache_addhst): Return tryagain not notfound for temporary errors.
56563         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56564         failed.
56566 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56568         [BZ #10563]
56569         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56570         to make the syscall.
56571         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56573         [BZ #12378]
56574         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56575         and fall back to matching as normal character if the string ends before
56576         the matching ']' is found.  This is what POSIX requires.
56577         * posix/testfnm.c: Adjust test result.
56578         * posix/globtest.sh: Adjust test result.  Add new test.
56579         * posix/tst-fnmatch.input: Likewise.
56580         * posix/tst-fnmatch2.c: Add new test.
56582 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56584         * elf/Makefile (check-execstack): Revert last change.  Depend on
56585         check-execstack.h.
56586         (check-execstack.h): New target.
56587         (generated): Add check-execstack.h.
56588         * elf/check-execstack.c: Include "check-execstack.h".
56589         (main): Revert last change.
56590         (handle_file): Return zero if GNU_STACK is absent and
56591         DEFAULT_STACK_PERMS doesn't include PF_X.
56593 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56595         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56596         in child fails because the descriptor is already closed.
56597         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56598         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56599         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56601         [BZ #12397]
56602         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56603         syscall.
56605         [BZ #10484]
56606         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56607         temporary buffer used to handle multi lookups locally.
56608         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56610 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56612         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56613         loader is ld.so.
56615 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56617         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56618         alignment for SSE2.
56620 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56622         [BZ #12394]
56623         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56624         characters.  When rounding increased number of integer digits recompute
56625         number of groups.
56626         * stdio-common/tst-grouping.c: New file.
56627         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56629 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56631         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56632         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56634         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56635         void.
56636         * bits/select.h: Likewise.
56638 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56640         * po/ja.po: Update from translation team.
56642 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56644         [BZ #11155]
56645         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56646         implementation just like for lxstat, fxstatat, et al.
56648 2010-12-27  Jim Meyering  <meyering@redhat.com>
56650         [BZ #12348]
56651         * posix/regexec.c (build_trtable): Return failure indication upon
56652         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56654 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56656         [BZ #12201]
56657         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56658         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56659         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56660         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56662         [BZ #12207]
56663         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56665         [BZ #12204]
56666         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56667         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56669 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56671         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56672         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56673         script has SORT_BY_INIT_PRIORITY.
56674         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56675         NO_CTORS_DTORS_SECTIONS is defined.
56676         * elf/soinit.c: Likewise.
56677         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56678         NO_CTORS_DTORS_SECTIONS is defined.
56679         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56680         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56681         * sysdeps/sh/init-first.c: Likewise.
56682         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56684 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56686         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56687         always use the slow path.
56689 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56691         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56692         similar rule which adds the sysdep directories to the header search in
56693         order to pick up the correct platform stackinfo.h.
56694         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56695         perform test if it is, otherwise return successfully without testing.
56696         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56697         DEFAULT_STACK_PERMS define in stackinfo.h.
56698         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56699         defined in stackinfo.h.
56700         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56701         DEFAULT_STACK_PERMS defined in stackinfo.h.
56702         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56703         * sysdeps/ia64/stackinfo.h: Likewise.
56704         * sysdeps/s390/stackinfo.h: Likewise.
56705         * sysdeps/sh/stackinfo.h: Likewise.
56706         * sysdeps/sparc/stackinfo.h: Likewise.
56707         * sysdeps/x86_64/stackinfo.h: Likewise.
56708         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56709         PF_X for powerpc64.  Retain PF_X for powerpc32.
56711 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56713         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56714         accurately.
56715         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56716         GETDENTS_64BIT_ALIGNED.
56718 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56720         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56722 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56724         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56725         _GNU_SOURCE.
56727         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56728         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56729         Remove __restrict.
56730         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56731         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56733 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56735         [BZ #11655]
56736         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56737         are initialized.
56739 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56741         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56743 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56745         * po/it.po: Update from translation team.
56747 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56749         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56750         unused codes.
56752 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56754         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56756 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56758         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56759         specially.
56760         (gaih_getanswer_slice): Likewise.
56762 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56766 2010-05-31  Petr Baudis  <pasky@suse.cz>
56768         [BZ #11149]
56769         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56770         silently even in the chroot mode.
56772 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56774         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56775         last patch a bit.  Pretty printing
56777 2010-05-31  Petr Baudis <pasky@suse.cz>
56779         [BZ #10085]
56780         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56781         initialization of skip_initgroups_dyn.
56783 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56785         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56786         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56788 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56790         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56792 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56794         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56795         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56796         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56797         ($(objpfx)tst-fnmatch-mem): New rule.
56798         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56799         * posix/tst-fnmatch.c (main): Call mtrace.
56801 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56804         Support Intel processor model 6 and model 0x2c.
56806 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56808         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56809           signed comparison.
56811 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56813         [BZ #12205]
56814         * string/test-strncasecmp.c (check_result): New function.
56815         (do_one_test): Use it.
56816         (check1): New function.
56817         (test_main): Use it.
56818         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56819         Support strcasecmp and strncasecmp.
56821 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56823         [BZ #12194]
56824         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56825         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56827 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56829         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56830         IFUNC support.
56831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56832         memset-x86-64.
56833         * sysdeps/x86_64/multiarch/bzero.S: New file.
56834         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56835         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56836         * sysdeps/x86_64/multiarch/memset.S: New file.
56837         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56839         Set bit_Prefer_SSE_for_memop for Intel processors.
56840         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56841         Define.
56842         (index_Prefer_SSE_for_memop): Define.
56843         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56845 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56847         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56848         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56850 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56852         [BZ #12191]
56853         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56854         (__x86_64_raw_data_cache_size_half): Likewise.
56855         (__x86_64_raw_shared_cache_size): Likewise.
56856         (__x86_64_raw_shared_cache_size_half): Likewise.
56858         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56859         (__x86_64_raw_data_cache_size_half): Likewise.
56860         (__x86_64_raw_shared_cache_size): Likewise.
56861         (__x86_64_raw_shared_cache_size_half): Likewise.
56862         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56863         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56864         and __x86_64_raw_shared_cache_size_half.  Round
56865         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56866         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56867         to multiple of 256 bytes.
56869 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56871         [BZ #12167]
56872         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56873         of inacessible symlinks.  Verify result of symlink before returning it.
56874         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56875         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56877 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56879         * math/math.h (isinf): Fix typo in comment.
56881 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56883         * po/da.po: Update from translation team.
56885 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56887         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56888         is added to the list.
56890 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56891             Ulrich Drepper  <drepper@gmail.com>
56893         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56894         the global list here.  Move code to...
56895         (_dl_add_to_namespace_list): ...here.  New function.
56896         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56897         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56898         * elf/dl-load.c (lose): Don't remove the element from the list.
56899         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56900         (_dl_map_object): Likewise.
56902 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56904         [BZ #12159]
56905         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56906         into all bytes of SSE register.
56907         Patch by Richard Li <richardpku@gmail.com>.
56909 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56911         [BZ #12140]
56912         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56913         perturbing.
56915 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56917         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56918         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56919         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56920         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56922         submachine.
56923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56925 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56927         * include/dlfcn.h (__RTLD_SECURE): Define.
56928         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56929         mode & __RTLD_SECURE instead.
56930         (open_path): Rename preloaded parameter to secure.
56931         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56932         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56933         * elf/dl-deps.c (openaux): Likewise.
56934         * elf/rtld.c (struct map_args): Remove is_preloaded.
56935         (map_doit): Don't use it.
56936         (dl_main): Likewise.
56937         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56938         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56940 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56942         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56943         (sysd-rules-targets): Remove duplicates.
56944         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56945         rtld-%.$o dependency.
56947 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56949         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56950         _dl_map_object do it.
56952 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56954         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56955         fast fma builtins, define the macros in the C99 standard.
56956         (FP_FAST_FMAF): Likewise.
56957         (FP_FAST_FMAL): Likewise.
56958         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56960         * bits/mathdef.h: Update copyright year.
56961         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56963 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56965         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56966         builtins, define the macros in the C99 standard.
56967         (FP_FAST_FMAF): Likewise.
56968         (FP_FAST_FMAL): Likewise.
56969         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56970         multiply/add.
56971         (FP_FAST_FMAF): Likewise.
56973 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56975         [BZ #3268]
56976         * math/libm-test.inc (fma_test): Some new testcases.
56977         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56978         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56979         y and infinite z.  Do multiplication by C already in long double.
56980         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56982         y and infinite z.  Do bitwise or of inexact bit into u.d.
56983         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56984         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56985         * sysdeps/i386/fpu/s_fma.S: Removed.
56986         * sysdeps/i386/fpu/s_fmal.S: Removed.
56988 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56990         [BZ #3268]
56991         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56993         computation is not scheduled after fetestexcept.  Fix value
56994         of minimum denormal long double.
56996 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56998         [BZ #3268]
56999         * math/libm-test.inc (fma_test): Add some more tests.
57000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57001         correctly.
57003 2010-10-15  Andreas Schwab  <schwab@redhat.com>
57005         * scripts/data/localplt-s390-linux-gnu.data: New file.
57006         * scripts/data/localplt-s390x-linux-gnu.data: New file.
57008 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
57010         [BZ #3268]
57011         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57012         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57013         instead of dbl-64.
57014         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57015         inlines.
57016         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57017         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57018         if one of x and y is very large and the other is subnormal.
57019         * sysdeps/s390/fpu/s_fmaf.c: New file.
57020         * sysdeps/s390/fpu/s_fma.c: New file.
57021         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57022         * sysdeps/powerpc/fpu/s_fma.S: New file.
57023         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57024         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57025         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57027 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
57029         [BZ #3268]
57030         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57031         fma tests.
57032         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57033         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57034         * sysdeps/i386/i686/multiarch/s_fma.c: Include
57035         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57036         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57037         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57038         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57040 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
57042         [BZ #12078]
57043         * posix/regcomp.c (parse_branch): One more memory leak plugged.
57044         * posix/bug-regex31.input: Add test case.
57046 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57048         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57049         * posix/bug-regex31.input: New file.
57051         [BZ #12078]
57052         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57053         (parse_sub_exp): Fix last change, use postorder.
57055         * posix/bug-regex31.c: New file.
57056         * posix/Makefile: Add rules to build and run bug-regex31.
57058         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57060         [BZ #12078]
57061         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57063         [BZ #12108]
57064         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57065         to have entries in sys_siglist.
57067         [BZ #12093]
57068         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57069         be NULL.
57071 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
57073         [BZ #3268]
57074         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57075         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57076         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57077         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57078         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57079         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57080         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57081         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57082         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57083         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57084         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57085         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57086         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57087         * math/ftestexcept.c (fetestexcept): Likewise.
57088         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57089         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57090         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57091         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57092         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57093         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57094         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57096 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
57098         [BZ #12107]
57099         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57100         newline.
57102 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
57104         * string/bug-strstr1.c: New file.
57105         * string/Makefile: Add rules to build and run bug-strstr1.
57107 2010-10-05  Eric Blake  <eblake@redhat.com>
57109         [BZ #12092]
57110         * string/str-two-way.h (two_way_long_needle): Always clear memory
57111         when skipping input due to the shift table.
57113 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
57115         [BZ #12005]
57116         * malloc/mcheck.c: Handle large requests.
57118         [BZ #12077]
57119         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57120         for strncmp and strncasecmp.
57121         * string/stratcliff.c: Add tests for strcmp and strncmp.
57122         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57124 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
57126         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57127         __set_fpscr.
57129 2010-09-30  Andreas Jaeger  <aj@suse.de>
57131         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57132         (CGROUP_SUPER_MAGIC): Define.
57133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57134         Handle btrfs and cgroup file systems.
57135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57136         Likewise.
57138 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57140         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57141         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57143 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57145         [BZ #12067]
57146         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57147         trying to locate the ELF header.
57149 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57151         [BZ #11611]
57152         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57153         Mask out sign-bit copies when constructing f_fsid.
57155 2010-09-24  Petr Baudis <pasky@suse.cz>
57157         * debug/stack_chk_fail_local.c: Add missing licence exception.
57158         * debug/warning-nop.c: Likewise.
57160 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57162         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57163         implementing getdents64 using getdents syscall, set d_type if
57164         __ASSUME_GETDENTS32_D_TYPE.
57166 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57168         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57169         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57171 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57173         [BZ #12037]
57174         * posix/unistd.h: Undo change of feature selection for ftruncate from
57175         2010-01-11.
57177 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57179         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57180         detection.
57182 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57184         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57185         fanotify_mark.
57186         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57188 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57190         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57191         variables after CHECK_SP call.
57192         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57194 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57195             Ulrich Drepper  <drepper@redhat.com>
57197         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57198         re-relocationg ld.so.
57199         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57200         _dl_init_paths call.
57201         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57202         here anymore.
57204 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57206         * resolv/res_init.c (__res_vinit): Count the default server we added.
57208 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57209             Ulrich Drepper  <drepper@redhat.com>
57211         [BZ #11968]
57212         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57213         (____longjmp_chk): Use %ebx for saving value across system call.
57214         Add unwind info.
57216 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57218         * manual/Makefile: Don't mix pattern rules with normal rules.
57220 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57222         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57223         operation.
57224         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57225         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57226         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57227         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57228         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57229         Likewise.
57231 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57233         [BZ #11979]
57234         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57235         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57237 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57239         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57240         * sysdeps/x86_64/addmul_1.S: Likewise.
57241         * sysdeps/x86_64/lshift.S: Likewise.
57242         * sysdeps/x86_64/mul_1.S: Likewise.
57243         * sysdeps/x86_64/rshift.S: Likewise.
57244         * sysdeps/x86_64/sub_n.S: Likewise.
57245         * sysdeps/x86_64/submul_1.S: Likewise.
57247 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57249         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57250         Define __sched_param instead of SCHED_* and sched_param when
57251         <bits/sched.h> is included with __need_schedparam defined.
57252         * bits/sched.h [__need_schedparam]
57253         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57254         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57255         (__defined_schedparam): Define to 1.
57256         (__sched_param): New structure, identical to sched_param.
57257         (__need_schedparam): Undefine.
57259 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57261         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57262         (epoll_create1): Declare.
57264         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57266 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57268         [BZ #7066]
57269         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57270         shifting retval into place.
57272 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57274         * nis/rpcsvc/nis.h: Update copyright notice.
57275         * nis/rpcsvc/nis.x: Likewise.
57276         * nis/rpcsvc/nis_callback.h: Likewise.
57277         * nis/rpcsvc/nis_callback.x: Likewise.
57278         * nis/rpcsvc/nis_object.x: Likewise.
57279         * nis/rpcsvc/nis_tags.h: Likewise.
57280         * nis/rpcsvc/yp.h: Likewise.
57281         * nis/rpcsvc/yp.x: Likewise.
57282         * nis/rpcsvc/ypupd.h: Likewise.
57283         * nis/yp_xdr.c: Likewise.
57284         * nis/ypupdate_xdr.c: Likewise.
57286         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57287         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57288         (pmap_getport): Use __libc_rpc_getport.
57289         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57290         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57291         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57293 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57296         fanotify_mark.
57298 2010-08-27  Roland McGrath  <roland@redhat.com>
57300         * sysdeps/i386/i686/multiarch/Makefile
57301         (CFLAGS-varshift.c): New variable.
57303 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57305         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57306         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57308         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57310         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57312 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57314         * sysdeps/x86_64/strlen.S: Unroll the loop.
57315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57316         strlen-sse2 strlen-sse2-bsf.
57317         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57318         __strlen_no_bsf if bit_Slow_BSF is set.
57319         (__strlen_sse42): Removed.
57320         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57321         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57323 2010-08-25  Roland McGrath  <roland@redhat.com>
57325         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57326         * sysdeps/x86_64/multiarch/varshift.c: New file.
57327         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57328         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57329         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57330         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57332 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57335         strlen-sse2 strlen-sse2-bsf.
57336         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57337         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57338         (__strlen_sse2): Removed.
57339         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57340         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57341         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57342         bit_Slow_BSF for Atom.
57343         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57344         (index_Slow_BSF): Define.
57345         (HAS_SLOW_BSF): Define.
57347 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57349         [BZ #10851]
57350         * resolv/res_init.c (__res_vinit): When no server address at all
57351         is given default to loopback.
57353 2010-08-24  Roland McGrath  <roland@redhat.com>
57355         * configure.in: Remove config-name.h generation.
57356         * configure: Regenerated.
57357         * config-name.in: File removed.
57358         * scripts/config-uname.sh: New file.
57359         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57360         ($(objdir)config-name.h): New target.
57362         * sunrpc/rpc_parse.h: Avoid nested comment.
57364 2010-08-24  Richard Henderson  <rth@redhat.com>
57365             Ulrich Drepper  <drepper@redhat.com>
57366             H.J. Lu  <hongjiu.lu@intel.com>
57368         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57370         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57371         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57372         _mm_alignr_epi8 with _mm_loadu_si128.
57373         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57374         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57375         (__m128i_shift_right): Removed.
57376         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57377         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57378         * sysdeps/x86_64/multiarch/varshift.h: New file.
57379         * sysdeps/x86_64/multiarch/varshift.S: New file.
57381 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57383         * configure.in: Move assembler checks to before sysdep dir checking.
57385 2010-08-20  Petr Baudis  <pasky@suse.cz>
57387         * LICENSES: Sync the sunrpc license.
57389 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57391         * sunrpc/auth_des.c: Update copyright notice once again.
57392         * sunrpc/auth_none.c: Likewise.
57393         * sunrpc/auth_unix.c: Likewise.
57394         * sunrpc/authdes_prot.c: Likewise.
57395         * sunrpc/authuxprot.c: Likewise.
57396         * sunrpc/bindrsvprt.c: Likewise.
57397         * sunrpc/clnt_gen.c: Likewise.
57398         * sunrpc/clnt_perr.c: Likewise.
57399         * sunrpc/clnt_raw.c: Likewise.
57400         * sunrpc/clnt_simp.c: Likewise.
57401         * sunrpc/clnt_tcp.c: Likewise.
57402         * sunrpc/clnt_udp.c: Likewise.
57403         * sunrpc/clnt_unix.c: Likewise.
57404         * sunrpc/des_crypt.c: Likewise.
57405         * sunrpc/des_soft.c: Likewise.
57406         * sunrpc/get_myaddr.c: Likewise.
57407         * sunrpc/getrpcport.c: Likewise.
57408         * sunrpc/key_call.c: Likewise.
57409         * sunrpc/key_prot.c: Likewise.
57410         * sunrpc/openchild.c: Likewise.
57411         * sunrpc/pm_getmaps.c: Likewise.
57412         * sunrpc/pm_getport.c: Likewise.
57413         * sunrpc/pmap_clnt.c: Likewise.
57414         * sunrpc/pmap_prot.c: Likewise.
57415         * sunrpc/pmap_prot2.c: Likewise.
57416         * sunrpc/pmap_rmt.c: Likewise.
57417         * sunrpc/rpc/auth.h: Likewise.
57418         * sunrpc/rpc/auth_unix.h: Likewise.
57419         * sunrpc/rpc/clnt.h: Likewise.
57420         * sunrpc/rpc/des_crypt.h: Likewise.
57421         * sunrpc/rpc/key_prot.h: Likewise.
57422         * sunrpc/rpc/netdb.h: Likewise.
57423         * sunrpc/rpc/pmap_clnt.h: Likewise.
57424         * sunrpc/rpc/pmap_prot.h: Likewise.
57425         * sunrpc/rpc/pmap_rmt.h: Likewise.
57426         * sunrpc/rpc/rpc.h: Likewise.
57427         * sunrpc/rpc/rpc_des.h: Likewise.
57428         * sunrpc/rpc/rpc_msg.h: Likewise.
57429         * sunrpc/rpc/svc.h: Likewise.
57430         * sunrpc/rpc/svc_auth.h: Likewise.
57431         * sunrpc/rpc/types.h: Likewise.
57432         * sunrpc/rpc/xdr.h: Likewise.
57433         * sunrpc/rpc_clntout.c: Likewise.
57434         * sunrpc/rpc_cmsg.c: Likewise.
57435         * sunrpc/rpc_common.c: Likewise.
57436         * sunrpc/rpc_cout.c: Likewise.
57437         * sunrpc/rpc_dtable.c: Likewise.
57438         * sunrpc/rpc_hout.c: Likewise.
57439         * sunrpc/rpc_main.c: Likewise.
57440         * sunrpc/rpc_parse.c: Likewise.
57441         * sunrpc/rpc_parse.h: Likewise.
57442         * sunrpc/rpc_prot.c: Likewise.
57443         * sunrpc/rpc_sample.c: Likewise.
57444         * sunrpc/rpc_scan.c: Likewise.
57445         * sunrpc/rpc_scan.h: Likewise.
57446         * sunrpc/rpc_svcout.c: Likewise.
57447         * sunrpc/rpc_tblout.c: Likewise.
57448         * sunrpc/rpc_util.c: Likewise.
57449         * sunrpc/rpc_util.h: Likewise.
57450         * sunrpc/rpcinfo.c: Likewise.
57451         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57452         * sunrpc/rpcsvc/key_prot.x: Likewise.
57453         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57454         * sunrpc/rpcsvc/mount.x: Likewise.
57455         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57456         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57457         * sunrpc/rpcsvc/rex.x: Likewise.
57458         * sunrpc/rpcsvc/rstat.x: Likewise.
57459         * sunrpc/rpcsvc/rusers.x: Likewise.
57460         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57461         * sunrpc/rpcsvc/spray.x: Likewise.
57462         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57463         * sunrpc/rtime.c: Likewise.
57464         * sunrpc/svc.c: Likewise.
57465         * sunrpc/svc_auth.c: Likewise.
57466         * sunrpc/svc_authux.c: Likewise.
57467         * sunrpc/svc_raw.c: Likewise.
57468         * sunrpc/svc_run.c: Likewise.
57469         * sunrpc/svc_simple.c: Likewise.
57470         * sunrpc/svc_tcp.c: Likewise.
57471         * sunrpc/svc_udp.c: Likewise.
57472         * sunrpc/svc_unix.c: Likewise.
57473         * sunrpc/svcauth_des.c: Likewise.
57474         * sunrpc/xcrypt.c: Likewise.
57475         * sunrpc/xdr.c: Likewise.
57476         * sunrpc/xdr_array.c: Likewise.
57477         * sunrpc/xdr_float.c: Likewise.
57478         * sunrpc/xdr_mem.c: Likewise.
57479         * sunrpc/xdr_rec.c: Likewise.
57480         * sunrpc/xdr_ref.c: Likewise.
57481         * sunrpc/xdr_sizeof.c: Likewise.
57482         * sunrpc/xdr_stdio.c: Likewise.
57484         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57485         handling.
57487 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57489         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57491 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57493         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57494         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57496         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57497         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57498         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57499         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57500         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57501         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57502         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57503         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57504         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57505         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57506         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57508 2010-07-26  Anton Blanchard  <anton@samba.org>
57510         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57511         * malloc/arena.c (heap_trim): Likewise.
57513 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57515         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57516         here.  Not...
57517         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57518         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57520 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57522         * sysdeps/i386/elf/Makefile: New file.
57524 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57526         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57527         from fanotify_init.
57528         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57529         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57531 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57533         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57534         of strncasecmp_l.
57535         * sysdeps/multiarch/strcmp.S: Likewise.
57537 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57539         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57540         strncase_l-nonascii.
57541         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57542         Add strncase_l-ssse3.
57543         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57544         * sysdeps/x86_64/strcmp.S: Likewise.
57545         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57546         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57547         * sysdeps/x86_64/strncase.S: New file.
57548         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57549         * sysdeps/x86_64/strncase_l.S: New file.
57550         * string/Makefile (strop-tests): Add strncasecmp.
57551         * string/test-strncasecmp.c: New file.
57553         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57554         warning.
57556         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57557         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57559 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57561         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57563 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57565         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57566         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57567         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57569 2010-05-01  Alan Modra  <amodra@gmail.com>
57571         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57572         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57573         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57574         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57575         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57576         tidying.  Don't tail-call __sigjmp_save for static lib.
57577         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57578         save location.
57579         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57580         (CALL_MCOUNT): Add eh info, and nop after bl.
57581         (TAIL_CALL_SYSCALL_ERROR): New macro.
57582         (PSEUDO_RET): Use it.
57583         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57584         Correct save location of integer regs and cr.
57585         (_dl_profile_resolve): Correct cr save location.  Delete nops
57586         after bl when SHARED.  Reduce cfi size a little by better
57587         placement of cfi directives.
57588         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57589         make a stack frame.  Instead use parm save area as a temp.
57590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57591         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57593         Don't make a stack frame for parent, use parm save area.
57594         Increase child stack frame to 112 bytes.  Don't save unused reg,
57595         and adjust reg usage.  Set up cfi on error recovery and
57596         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57598         (__makecontext): Add dummy nop after jump to exit.
57599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57600         Use correct parm save area and cr save, reduce stack frame.
57601         Correct cfi for possible PSEUDO_RET frame setup.
57602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57603         Branch to local label emitted by PSEUDO_RET rather than
57604         __syscall_error.
57606 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57608         [BZ #11904]
57609         * locale/programs/locale.c (print_assignment): New function.
57610         (show_locale_vars): Use it.
57612 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57614         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57615         field.
57616         (struct statfs64): Likewise.
57617         (_STATFS_F_FLAGS): Define.
57618         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57619         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57620         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57621         (ST_VALID): Define locally.
57622         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57623         __statvfs_getflags, use the provided value.
57624         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57625         __ASSUME_STATFS_F_FLAGS.
57627         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57629         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57630         Add sys/fanotify.h.
57631         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57632         fanotify_mask for GLIBC_2.13.
57633         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57634         fanotify_init and fanotify_mark.
57635         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57636         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57638         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57639         Add prlimit.
57640         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57641         prlimit64 for GLIBC_2.13.
57642         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57643         prlimit64.
57644         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57645         syscall.
57646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57647         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57648         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57649         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57651         add prlimit alias.
57652         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57654         [BZ #11903]
57655         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57656         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57658         * nss/Makefile: Add rules to build and run tst-nss-test1.
57659         * shlib-versions: Add entry for libnss_test1.
57660         * nss/nss_test1.c: New file.
57661         * nss/tst-nss-test1.c: New file.
57663         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57664         (__nss_configure_lookup): Set appropriate entry in
57665         __nss_configure_lookup to true.
57666         * nss/nsswitch.h: Define enum with indeces of databases in
57667         databases and __nss_database_custom arrays.  Declare
57668         __nss_database_custom.
57669         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57670         to avoid using nscd when custom rules are installed.
57671         * nss/getXXbyYY_r.c: Likewise.
57672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57674         * nss/nss_files/files-parse.c: Whitespace fixes.
57676 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57678         [BZ #11883]
57679         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57680         * posix/fnmatch_loop.c: Likewise.
57682 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57684         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57685         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57686         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57687         * Versions.def [GLIBC_2.13]: Add.
57689 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57691         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57692         Also fail if tpwd after pwuid call is NULL.
57694 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57696         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57697         when converting to ms.
57699 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57701         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57702         EOPNOTSUPP errors with ENOTTY.
57703         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57704         EOPNOTSUPP errors with ENOTTY.
57706 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57708         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57709         Add strcasecmp_l-ssse3.
57710         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57711         strcasecmp.
57712         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57713         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57714         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57716 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57718         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57720         * string/Makefile (strop-tests): Add strcasecmp.
57721         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57722         strcasecmp_l-nonascii.
57723         (gen-as-const-headers): Add locale-defines.sym.
57724         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57725         * sysdeps/x86_64/strcasecmp.S: New file.
57726         * sysdeps/x86_64/strcasecmp_l.S: New file.
57727         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57728         * sysdeps/x86_64/locale-defines.sym: New file.
57729         * string/test-strcasecmp.c: New file.
57731         * string/test-strcasestr.c: Test both ends of the range of characters.
57732         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57734 2010-07-29  Roland McGrath  <roland@redhat.com>
57736         [BZ #11856]
57737         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57739 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57741         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57742         for ld.so.
57744 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57746         * manual/memory.texi (Malloc Tunable Parameters): Document
57747         M_PERTURB.
57749 2010-07-26  Roland McGrath  <roland@redhat.com>
57751         [BZ #11840]
57752         * configure.in (-fgnu89-inline check): Set and substitute
57753         gnu89_inline, not libc_cv_gnu89_inline.
57754         * configure: Regenerated.
57755         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57757 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57759         * string/test-strnlen.c: New file.
57760         * string/Makefile (strop-tests): Add strnlen.
57761         * string/tester.c (test_strnlen): Add a few more test cases.
57762         * string/tst-strlen.c: Better error reporting.
57764         * sysdeps/x86_64/strnlen.S: New file.
57766 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57768         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57769         lower-latency instructions.
57771 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57773         * string/test-strcasestr.c: New file.
57774         * string/test-strstr.c: New file.
57775         * string/Makefile (strop-tests): Add strstr and strcasestr.
57776         * string/str-two-way.h: Don't undefine MAX.
57777         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57779 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57781         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57782         strcasestr-nonascii.
57783         (CFLAGS-strcasestr-nonascii.c): Define.
57784         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57785         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57786         Remove unused attribute.
57788 2010-07-20  Roland McGrath  <roland@redhat.com>
57790         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57791         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57792         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57793         like LD_HWCAP_MASK can disable hwcaps.
57795 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57797         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57799 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57801         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57802         call in strcasestr.
57803         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57804         __strcasestr_sse42_nonascii.
57805         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57806         strcasestr-nonascii.c.
57807         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57809 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57811         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57812         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57813         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57814         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57816 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57818         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57819         fcntl.
57821 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57823         [BZ #11577]
57824         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57825         dl_signal_cerror.
57827 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57830         _PC_PIPE_BUF using F_GETPIPE_SZ.
57832 2010-07-05  Roland McGrath  <roland@redhat.com>
57834         * manual/arith.texi (Rounding Functions): Fix rint description
57835         implicit in round description.
57837 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57839         * elf/Makefile: Fix linking for a few tests to make recent linker
57840         happy.
57842 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57844         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57845         $(common-objpfx)libc_nonshared.a.
57847 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57849         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57850         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57851         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57852         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57853         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57855         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57856         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57871         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57872         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57873         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57874         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57875         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57876         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57877         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57878         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57879         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57880         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57881         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57882         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57898 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57900         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57901         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57902         * string/memmove.c (memmove): Renamed to ...
57903         (MEMMOVE): ...this.  Default to memmove.
57904         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57905         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57906         (END_CHK): Define.
57907         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57908         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57909         mempcpy-ssse3-back memmove-ssse3-back.
57910         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57911         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57912         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57913         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57914         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57915         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57916         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57917         * sysdeps/x86_64/multiarch/memmove.c: New file.
57918         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57919         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57920         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57921         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57922         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57923         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57924         Define.
57925         (index_Fast_Copy_Backward): Define.
57926         (HAS_ARCH_FEATURE): Define.
57927         (HAS_FAST_REP_STRING): Define.
57928         (HAS_FAST_COPY_BACKWARD): Define.
57930 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57932         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57933         Restore proper fallback handling.
57935 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57937         [BZ #11701]
57938         * posix/group_member.c (__group_member): Correct checking loop.
57940         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57941         OOM in getpwuid_r correctly.  Return error number when the caller
57942         should return, otherwise -1.
57943         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57944         call returning > 0 value.
57945         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57947 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57949         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57950         libc_nonshared.a from targets in modules-names.
57952 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57954         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57955         requires it.
57957 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57959         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57960         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57961         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57962         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57964 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57966         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57968 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57970         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57971         and F_GETPIPE_SZ.
57972         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57973         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57974         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57976         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57977         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57979 2010-06-14  Roland McGrath  <roland@redhat.com>
57981         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57983 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57985         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57986         __REDIRECT followed by __THROW.
57987         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57988         * posix/getopt.h (getopt): Likewise.
57990 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57992         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57993         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57994         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57995         in AT_FLAGS.
57996         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57997         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57999 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
58001         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58003 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
58005         [BZ #11640]
58006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58007         Properly check family and model.
58009 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
58011         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58013 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
58015         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58017 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
58019         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58020         symbol reference.
58022 2010-05-19  Andreas Schwab  <schwab@redhat.com>
58024         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58025         symbol reference.
58027 2010-05-21  Andreas Schwab  <schwab@redhat.com>
58029         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58030         and internal_recvmmsg.
58031         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58032         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58034         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58036         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58037         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58038         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58040 2010-05-20  Andreas Schwab  <schwab@redhat.com>
58042         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58044 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
58046         POWER7 optimizations.
58047         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58048         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58050 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
58052         * version.h: Update for 2.13 development version.
58054 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
58056         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58057         exceptions.  Return 0.
58059 2010-05-07  Roland McGrath  <roland@redhat.com>
58061         * elf/ldconfig.c (main): Add a const.
58063 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
58065         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58066         (args_options): Add no-idn option.
58067         (ahosts_keys_int): Add idn_flags to ai_flags.
58068         (parse_option): Handle 'i' option to clear idn_flags.
58070         * malloc/malloc.c (_int_free): Possible race in the most recently
58071         added check.  Only act on the data if no current modification
58072         happened.
58074 See ChangeLog.17 for earlier changes.